Enhancing software quality through comparative analysis of machine learning techniques for test case prioritization using object-oriented metrics

dc.contributor.authorKumari, M. K. M. N.
dc.contributor.authorWasalthilaka, W. V. S. K.
dc.date.accessioned2026-08-05T06:13:01Z
dc.date.issued2025
dc.description.abstractSoftware quality plays an important role in software engineering. Quality software depends heavily on software testing. Regression testing is essential to this process and ensures that recent changes do not affect existing features. However, regression testing is often time-consuming and resource-intensive. Test Case Prioritization (TCP) techniques can be used to optimize the regression testing process. This research focuses on leveraging machine learning techniques to improve TCP using object-oriented metrics like Coupling Between Objects (CBO), Weighted Methods per Class (WMC), Depth of Inheritance Tree (DIT), Number of Children (NOC), Response for a Class (RFC), Lack of Cohesion of Methods (LCOM), fanin, and fan-out. The dataset is divided into 70% of training and 30% of testing sets by using data preprocessing and feature selection methods. Then the trained models were evaluated using performance metrics such as accuracy, precision, recall, and f1-score. Different machine learning algorithms such as Decision Tree, Random Forest, Neural Networks, K-Nearest Neighbor (KNN), and Logistic Regression were compared using object-oriented metrics to identify the best approach. Among these algorithms, the decision tree algorithm outperformed other algorithms. Because of its ability to handle complex decision boundaries with minimal overfitting and achieved 71% accuracy. Finally developed the TCP framework using the Decision Tree algorithm. This framework automatically prioritizes test cases by code metric values to optimize testing efforts, detecting critical defects early while saving time and resources. This result highlighted their potential for greatly improving regression testing efficiency and software quality.
dc.identifier.urihttps://viduketha.nsf.gov.lk/handle/123456789/19761
dc.language.isoen
dc.publisherNational Engineering Research & Development Center of Sri Lanka
dc.subjectMachine Learning
dc.subjectObject-Oriented Metrics
dc.subjectSoftware Quality
dc.subjectTest Case Prioritization
dc.titleEnhancing software quality through comparative analysis of machine learning techniques for test case prioritization using object-oriented metrics
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
IERS2025 proceedings_NERDC-1-57-68.pdf
Size:
509.64 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed to upon submission
Description: