Skip to main content

Research Repository

Advanced Search

Error-type -A novel set of software metrics for software fault prediction

Phung, Khoa; Ogunshile, Emmanuel; Aydin, Mehmet

Error-type -A novel set of software metrics for software fault prediction Thumbnail


Khoa Phung

Profile Image

Dr Mehmet Aydin
Senior Lecturer in Networks and Mobile Computing


In software development, identifying software faults is an important task. The presence of faults not only reduces the quality of the software, but also increases the cost of development life cycle. Fault identification can be performed by analysing the characteristics of the buggy source codes from the past and predict the present ones based on the same characteristics using statistical or machine learning models. Many studies have been conducted to predict the fault proneness of software systems. However, most of them provide either inadequate or insufficient information and thus make the fault prediction task difficult. In this paper, we present a novel set of software metrics called Error-type software metrics, which provides prediction models with information about patterns of different types of Java runtime error. Particular, in this study, the ESM values consist of information of three common Java runtime errors which are Index Out Of Bounds Exception, Null Pointer Exception, and Class Cast Exception. Also, we propose a methodology for modelling, extracting, and evaluating error patterns from software modules using Stream X-Machine (a formal modelling method) and machine learning techniques. The experimental results showed that the proposed Error-type software metrics could significantly improve the performances of machine learning models in fault-proneness prediction.


Phung, K., Ogunshile, E., & Aydin, M. (2023). Error-type -A novel set of software metrics for software fault prediction. IEEE Access, 11, 30562-30574.

Journal Article Type Article
Acceptance Date Mar 23, 2023
Online Publication Date Mar 27, 2023
Publication Date Mar 27, 2023
Deposit Date Mar 24, 2023
Publicly Available Date Apr 3, 2023
Journal IEEE Access
Electronic ISSN 2169-3536
Publisher Institute of Electrical and Electronics Engineers (IEEE)
Peer Reviewed Peer Reviewed
Volume 11
Pages 30562-30574
Keywords Error type prediction; Machine learning; Software fault prediction; Software metrics; Stream X-Machine
Public URL
Publisher URL


You might also like

Downloadable Citations