CFP last date
20 January 2025
Reseach Article

Enhancing Software Defect Prediction with Ensemble Models based on Defect Relations Rule Learning

by Sareddy Shiva Reddy, Suresh Pabbojur
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 186 - Number 42
Year of Publication: 2024
Authors: Sareddy Shiva Reddy, Suresh Pabbojur
10.5120/ijca2024924029

Sareddy Shiva Reddy, Suresh Pabbojur . Enhancing Software Defect Prediction with Ensemble Models based on Defect Relations Rule Learning. International Journal of Computer Applications. 186, 42 ( Sep 2024), 7-14. DOI=10.5120/ijca2024924029

@article{ 10.5120/ijca2024924029,
author = { Sareddy Shiva Reddy, Suresh Pabbojur },
title = { Enhancing Software Defect Prediction with Ensemble Models based on Defect Relations Rule Learning },
journal = { International Journal of Computer Applications },
issue_date = { Sep 2024 },
volume = { 186 },
number = { 42 },
month = { Sep },
year = { 2024 },
issn = { 0975-8887 },
pages = { 7-14 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume186/number42/enhancing-software-defect-prediction-with-ensemble-models-based-on-defect-relations-rule-learning/ },
doi = { 10.5120/ijca2024924029 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-09-30T23:02:41+05:30
%A Sareddy Shiva Reddy
%A Suresh Pabbojur
%T Enhancing Software Defect Prediction with Ensemble Models based on Defect Relations Rule Learning
%J International Journal of Computer Applications
%@ 0975-8887
%V 186
%N 42
%P 7-14
%D 2024
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Software defect prediction (SDP) is a crucial aspect of software quality assurance, aiming to identify potential defects early in the development process to enhance reliability and reduce maintenance costs. This paper presents a defect relations rule learning (DRRL) to enhance the defect classification models. It discovers the rules based on the defect relation association and applies a rule-ranking mechanism to perform a two-stage prediction model for accurate defect prediction software modules. In the first stage Random Forest, Support Vector Machine, and Naïve Bayes — are employed to analyze their prediction accuracy. In the second stage, an Ensemble Voting Model (EVM) with classifiers prediction outcome for enhancing the accuracy and reliability of defect detection is proposed. The EVM was implemented and evaluated further to validate previous models for effectiveness. The EVM with the proposed DRRL exhibited superior performance of 99.2% accuracy for the CM11 dataset, 88.2% accuracy for the JM1 dataset, and 100% accuracy for the PC1 and PC4 datasets. These findings underscore the model's potential to significantly improve software defect prediction.

References
  1. Mohandas R., Southern M., O'Connell E., Hayes M., "A Survey of Incremental Deep Learning for Defect Detection in Manufacturing," Big Data and Cognitive Computing, vol. 8, no. 1, pp. 7, 2024.
  2. Kumar H., Saxena V., "Software Defect Prediction Using Hybrid Machine Learning Techniques: A Comparative Study," Journal of Software Engineering and Applications, vol. 17, pp. 155-171, 2024.
  3. Yuan Z., Liu C., Yu L., Zhang L., "ChangeChecker: A Tool for Defect Prediction in Source Code Changes Based on Incremental Learning Method," Proceedings of the 3rd International Conference on Computer Science and Network Technology, pp. 349-354, 2013.
  4. Wang S., Li Y., Mi W., Liu Y., "Software Defect Prediction Incremental Model Using Ensemble Learning," International Journal of Performability Engineering, vol. 16, no. 11, pp. 1771-1780, 2020.
  5. Bhandari I. S., Halliday M. J., Chaar J., Chillarenge R., Jones K., et al., "In Process Improvement through Defect Data Interpretation," IBM Systems Journal, vol. 33, no. 1, pp. 182-214, 1994.
  6. Thota M. K., Shajin F. H., Rajesh P., "Survey on Software Defect Prediction Techniques," International Journal of Applied Science and Engineering, vol. 17, pp. 331-344, 2020.
  7. Husin T. F., Pribadi M. R., Yohannes, "Implementation of Least Squares Support Vector Machines in Classification of Software Defect Prediction Data with Feature Selection," 9th International Conference on Electrical Engineering, Computer Science and Informatics, pp. 126-131, 2022.
  8. Richards J. A., "Supervised Classification Techniques," In Remote Sensing Digital Image Analysis, pp. 263-367, 2022.
  9. Odejide B. J., Bajeh A. O., Balogun A. O., Alanamu Z. O., Adewole K. S., Akintola A. G., Salihu S. A., "An Empirical Study on Data Sampling Methods in Addressing Class Imbalance Problem in Software Defect Prediction," in Proceedings of Computer Science, pp. 594-610, 2022.
  10. Wu X., Wang J., "Application of Bagging, Boosting and Stacking Ensemble and EasyEnsemble Methods for Landslide Susceptibility Mapping in the Three Gorges Reservoir Area of China," International Journal of Environmental Research and Public Health, vol. 20, no. 6, pp. 4977, 2023.
  11. Jiang F., Yu X., Gong D., Du J., "A Random Approximate Reduct-Based Ensemble Learning Approach and Its Application in Software Defect Prediction," Information Science, vol. 609, pp. 1147-1168, 2022.
  12. Chen H., Jing X.-Y., Zhou Y., Li B., Xu B., "Aligned Metric Representation Based Balanced Multiset Ensemble Learning for Heterogeneous Defect Prediction," Information and Software Technology, vol. 147, art. no. 106892, 2022.
  13. Balogun A. O., Bajeh A. O., Orie V. A., Yusuf-Asaju A. W., "Software Defect Prediction Using Ensemble Learning: An Analytic Network Process Based Evaluation Method," FUOYE Journal of Engineering and Technology, vol. 3, no. 2, pp. 50-55, 2018.
  14. Balogun A. O., Lafenwa-Balogun F. B., Mojeed H. A., Adeyemo V. E., Akande O. N., Akintola A. G., Bajeh A. O., Usman-Hamza F. E., "Synthetic Minority Over-sampling Technique-Based Homogeneous Ensemble Methods for Software Defect Prediction," in Computational Science and Its Applications, vol. 12254, pp. 615-631, 2020.
  15. Matloob F., Ghazal T. M., Taleb N., Aftab S., Ahmad M., Khan M. A., Soomro T. R., "Software Defect Prediction Using Ensemble Learning: A Systematic Literature Review," IEEE Access, vol. 9, pp. 98754-98771, 2021.
  16. Daoud M. S., Aftab S., Ahmad M., Khan M. A., Iqbal A., Abbas S., Iqbal M., Ihnaini B., "Machine Learning Empowered Software Defect Prediction System," Intelligent Automation and Soft Computing, vol. 31, no. 2, pp. 1287-1300, 2022.
  17. Aftab S., Abbas S., Ghazal T. M., Ahmad M., Hamadi H. A., Yeun C. Y., Khan M. A., "A Cloud-Based Software Defect Prediction System Using Data and Decision-Level Machine Learning Fusion," Mathematics, vol. 11, no. 3, pp. 632, 2023.
  18. Cetiner M., Sahingoz O. K., "A Comparative Analysis for Machine Learning Based Software Defect Prediction Systems," in Proceedings of the 11th International Conference on Computing, Communication and Networking Technologies, pp. 1-7, 2020.
  19. Rath S. K., Sahu M., Das S. P., Bisoy S. K., Sain M., "A Comparative Analysis of Support Vector Machines and Extreme Learning Machine Classification on Software Reliability Prediction Model," Electronics, vol. 11, no. 17, pp. 2707, 2022.
  20. Wang K., Liu L., Yuan C., Wang Z., "Software Defect Prediction Model Based on Least Absolute Shrinkage and Selection Operator-Support Vector Machines," Neural Computing and Applications, vol. 33, no. 14, pp. 8249-8259, 2021.
  21. Azam M., Nouman M., Rehman G. A., "Comparative Analysis of Machine Learning Techniques to Improve Software Defect Prediction," KIET Journal of Computing and Information Sciences, vol. 5, no. 2, 2022.
  22. Iqbal A., Aftab S., Ali U., Nawaz Z., Sana L., Ahmad M., Husen A., "Performance Analysis of Machine Learning Techniques on Software Defect Prediction Using NASA Datasets," International Journal of Advanced Computer Science and Applications, vol. 10, no. 5, 2019.
  23. Mohammadi M., Nucci D. D., Tamburri D. A., "Bayesian Meta-Analysis of Software Defect Prediction With Machine Learning," IEEE Transactions on Industrial Cyber-Physical Systems, vol. 1, pp. 147-156, 2023.
  24. Alsaeedi A., Khan M. Z., "Software Defect Prediction Using Supervised Machine Learning and Ensemble Techniques: A Comparative Study," Job Safety and Environmental Analysis, vol. 12, no. 5, pp. 85-100, 2019.
  25. Akimova E. N., Bersenev A. Y., Deikov A. A., Kobylkin K. S., Konygin A. V., Mezentsev I. P., Misilov V. E., "A Survey on Software Defect Prediction Using Deep Learning," Mathematics, vol. 9, art. no. 1180, 2021.
  26. Goyal S., "Effective Software Defect Prediction Using Support Vector Machines," International Journal of System Assurance Engineering and Management, vol. 13, pp. 681-696, 2022.
  27. Mehta S., Patnaik K. S., "Improved Prediction of Software Defects Using Ensemble Machine Learning Techniques," Neural Computing and Applications, vol. 33, no. 16, pp. 10551-10562, 2021.
  28. Wu X., Wang J., "Application of Bagging, Boosting and Stacking Ensemble and EasyEnsemble Methods for Landslide Susceptibility Mapping in the Three Gorges Reservoir Area of China," International Journal of Environmental Research and Public Health, vol. 20, no. 6, pp. 4977, 2023.
  29. Abbas S., Aftab S., Khan M. A., Ghazal T. M., Hamadi H. A., Yeun C. Y., "Data and Ensemble Machine Learning Fusion Based Intelligent Software Defect Prediction System," Computers, Materials & Continua, vol. 75, no. 3, pp. 6083-6100, 2023.
  30. Soe Y. N., Santosa P. I., Hartanto R., "Software Defect Prediction Using Random Forest Algorithm," in Proceedings of the 12th South East Asian Technical University Consortium, pp. 1-5, 2018.
  31. Cetiner M., Sahingoz O. K., "A Comparative Analysis for Machine Learning Based Software Defect Prediction Systems," in Proceedings of the 11th International Conference on Computing, Communication and Networking Technologies, pp. 1-7, 2020.
  32. Alsghaier H., Akour M., "Software Fault Prediction Using Particle Swarm Algorithm with Genetic Algorithm and Support Vector Machine Classifier," Software Practice and Experience, vol. 50, no. 4, pp. 407-427, 2020.
  33. Tua F. M., Sunindyo W. Danar, "Software Defect Prediction Using Software Metrics with Naïve Bayes and Rule Mining Association Methods," in Proceedings of the 5th International Conference on Science and Technology, pp. 1-5, 2019.
  34. Kim S. Y., Upneja A., "Majority Voting Ensemble with Decision Trees for Business Failure Prediction During Economic Downturns," Journal of Innovation and Knowledge, vol. 6, no. 2, pp. 112-123, 2021.
  35. Kaur I., Kaur A., "Comparative Analysis of Software Fault Prediction Using Various Categories of Classifiers," International Journal of System Assurance Engineering and Management, vol. 12, no. 3, pp. 520-535, 2021.
  36. PROMISE Software Engineering Repository, "http://promise.site.uottawa.ca/SERepository/datasets-page.html".
Index Terms

Computer Science
Information Sciences
Software Engineering
Defect Prediction
Machine Learning
Classification

Keywords

Software Defect Prediction Defect Relations Rule Machine Learning Ensemble Model