Fault Prediction with Static Software Metrics in Evolving Software: A Case Study in Apache Ant

Han, Xue and Yan, Gongjun (2022) Fault Prediction with Static Software Metrics in Evolving Software: A Case Study in Apache Ant. Journal of Computer and Communications, 10 (02). pp. 33-45. ISSN 2327-5219

[thumbnail of jcc_2022022416081822.pdf] Text
jcc_2022022416081822.pdf - Published Version

Download (4MB)

Abstract

Software testing is an integral part of software development. Not only that testing exists in each software iteration cycle, but it also consumes a considerable amount of resources. While resources such as machinery and manpower are often restricted, it is crucial to decide where and how much effort to put into testing. One way to address this problem is to identify which components of the subject under the test are more error-prone and thus demand more testing efforts. Recent development in machine learning techniques shows promising potential to predict faults in different components of a software system. This work conducts an empirical study to explore the feasibility of using static software metrics to predict software faults. We apply four machine learning techniques to construct fault prediction models from the PROMISE data set and evaluate the effectiveness of using static software metrics to build fault prediction models in four continuous versions of Apache Ant. The empirical results show that the combined software metrics generate the least misclassification errors. The fault prediction results vary significantly among different machine learning techniques and data set. Overall, fault prediction models built with the support vector machine (SVM) have the lowest misclassification errors.

Item Type: Article
Subjects: East Asian Archive > Computer Science
Depositing User: Unnamed user with email support@eastasianarchive.com
Date Deposited: 01 May 2023 07:20
Last Modified: 12 Aug 2025 05:33
URI: http://authors.go2articles.com/id/eprint/620

Actions (login required)

View Item
View Item