Affiliation:
1. Department of Software Engineering, Bahria University, Islamabad, Pakistan
2. Department of Software Engineering, Capital University of Science & Technology, Islamabad, Pakistan
Abstract
Fault prediction is a necessity to deliver high-quality software. The absence of training data and mechanism to labeling a cluster faulty or fault-free is a topic of concern in software fault prediction (SFP). Inheritance is an important feature of object-oriented development, and its metrics measure the complexity, depth, and breadth of software. In this paper, we aim to experimentally validate how much inheritance metrics are helpful to classify unlabeled data sets besides conceiving a novel mechanism to label a cluster as faulty or fault-free. We have collected ten public data sets that have inheritance and C&K metrics. Then, these base datasets are further split into two datasets labeled as C&K with inheritance and the C&K dataset for evaluation. K-means clustering is applied, Euclidean formula to compute distances and then label clusters through the average mechanism. Finally, TPR, Recall, Precision, F1 measures, and ROC are computed to measure performance which showed an adequate impact of inheritance metrics in SFP specifically classifying unlabeled datasets and correct classification of instances. The experiment also reveals that the average mechanism is suitable to label clusters in SFP. The quality assurance practitioners can benefit from the utilization of metrics associated with inheritance for labeling datasets and clusters.
Reference76 articles.
1. Fault prediction by utilizing self-organizing map and threshold;Abaei,2013
2. Maintainability based risk assessment in adaptive maintenance context;Abdelmoez,2006
3. Quantifying software architectures: an analysis of change propagation probabilities;Abdelmoez,2005
4. Chidamber and kemerer object-oriented metrics suite;Aivosto,2018
5. Software defect prediction using heterogeneous ensemble classification based on segmented patterns;Alsawalqah;Applied Sciences,2020