Sabaragamuwa University of Sri Lanka

Enhancing Software Quality through Comparative Analysis of Machine Learning Techniques for Test Case Prioritization using Object-Oriented Metrics

Show simple item record

dc.contributor.author Kumari, M.K.M.N.
dc.contributor.author Wasalthilaka, W.V.S.K
dc.date.accessioned 2025-12-12T10:22:15Z
dc.date.available 2025-12-12T10:22:15Z
dc.date.issued 2025-02-19
dc.identifier.citation Abstracts of the ComURS2025 Computing Undergraduate Research Symposium 2025, Faculty of Computing, Sabaragamuwa University of Sri Lanka. en_US
dc.identifier.isbn 978-624-5727-57-5
dc.identifier.uri http://repo.lib.sab.ac.lk:8080/xmlui/handle/susl/4974
dc.description.abstract Software quality plays an important role in software engineering by maintaining system reliability and ensuring efficiency. Achieving high-quality software mainly depends on software testing. Regression testing is important to this process, but it is very time-consuming and resource-intensive. Test case prioritization (TCP) techniques can optimize this process. It reduces test time and optimizes resource usage. Conventional TCP mechanisms, like coverage-based and risk-based prioritization, have limited ways of handling software structures. This study compared different machine learning algorithms like Decision Tree, Random Forest, Neural Networks, K-Nearest Neighbor, and Logistic Regression to identify the best technique for TCP using object-oriented metrics like Coupling Between Objects (CBO), Weighted Methods per Class (WMC), Depth of Inheritance Tree (DIT), Number of Children (NOC), and Lack of Cohesion in Methods (LCOM). Used a dataset from Zenodo, which includes 232,468 observations and 53 attributes for this research. Each observation in the dataset represents a software file, class, or method. The dataset is divided into training and testing sets using data preprocessing and feature selection methods. Models are trained using the training dataset and tested using the testing dataset. Then, the trained models were evaluated using performance metrics like accuracy, precision, recall, and F1-score. Finally, each model is compared using evaluated results to get the best-performing model. The decision tree outperformed others in TCP due to its ability to manage decision boundaries with minimal overfitting. It achieved 71% accuracy, reducing the execution time for testing by 32.5% and improving the detection of errors by 15.8% over the traditional methods. This result highlighted their huge potential to increase regression testing efficiency and software quality. en_US
dc.language.iso en en_US
dc.publisher Faculty of Computing, Sabaragamuwa University of Sri Lanka en_US
dc.subject Machine Learning en_US
dc.subject Object-Oriented Metrics en_US
dc.subject Software Quality en_US
dc.subject Test Case Prioritization en_US
dc.title Enhancing Software Quality through Comparative Analysis of Machine Learning Techniques for Test Case Prioritization using Object-Oriented Metrics en_US
dc.type Article en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Advanced Search

Browse

My Account