Khoa Phung
Error-type -A novel set of software metrics for software fault prediction
Phung, Khoa; Ogunshile, Emmanuel; Aydin, Mehmet
Authors
Dr Emmanuel Ogunshile Emmanuel.Ogunshile@uwe.ac.uk
Programme Leader for BSc(Hons) Data Science & PhD Director of Studies
Dr Mehmet Aydin Mehmet.Aydin@uwe.ac.uk
Senior Lecturer in Networks and Mobile Computing
Abstract
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.
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 |
DOI | https://doi.org/10.1109/ACCESS.2023.3262411 |
Keywords | Error type prediction; Machine learning; Software fault prediction; Software metrics; Stream X-Machine |
Public URL | https://uwe-repository.worktribe.com/output/10580885 |
Publisher URL | https://ieeexplore.ieee.org/document/10082922 |
Files
rror-type -A novel set of software metrics for software fault prediction
(4.6 Mb)
PDF
Licence
http://creativecommons.org/licenses/by-nc-nd/4.0/
Publisher Licence URL
http://creativecommons.org/licenses/by-nc-nd/4.0/
You might also like
An algorithm for implementing a minimal stream X-Machine model to test the correctness of a system
(2020)
Presentation / Conference Contribution
Covid-19 Care – A mobile application to help connect volunteers and vulnerable people in the community during the Covid-19 lockdown
(2020)
Presentation / Conference Contribution
Modeling diseases with Stream X Machine
(2021)
Presentation / Conference Contribution