Skip to main content
Top
Published in: Software Quality Journal 1/2023

06-09-2022

A decision analysis approach for selecting software defect prediction method in the early phases

Authors: Rana Özakıncı, Ayça Kolukısa Tarhan

Published in: Software Quality Journal | Issue 1/2023

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

One of the most important quality indicators of a software product is its defect rates. In this regard and also with the proliferation in methods and tools supporting prediction in software engineering, the interest in software defect prediction (SDP) is increasing. Eventually, it becomes important for stakeholders to build the desired SDP model as early as possible and use it throughout the software development lifecycle. We aim to present a two-phase decision analysis approach, which is structured using decision tree and multi-criteria decision analysis (MCDA), in order to select the best-fit SDP method. To do this, we specify and use criteria to evaluate SDP methods according to the dataset characteristics and stakeholder needs that are elicited via a questionnaire in the early phases of the development lifecycle. We systematically determine the alternatives to be evaluated in the decision analysis and the criteria that may have an impact on the decision. In doing so, we conduct two different expert opinion studies to formulate the decision analysis. We also present case studies with selected SDP methods using public datasets, and investigate the trustworthiness of the proposed approach. The most convenient methods proposed by the decision analysis are naïve Bayes (NB), decision tree (DT), and fuzzy logic for the case studies. It is inferred that the results of the decision analysis are consistent with the results of the empirical evidence that we present. The presented approach could be useful in helping software practitioners decide which SDP method is advantageous by revealing their specific requirements for the software projects and associated defect data. While our results provide guidance for future research on the context of early software defect prediction (ESDP), further studies on real software projects are necessary in order to expand knowledge prior to having decisions that are more reliable.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literature
go back to reference Abts, C., Clark, B., Devnani-Chulani, S., Horowitz, E., Madachy, R., Reifer, D., et al. (1998). Cocomo II model definition manual. Abts, C., Clark, B., Devnani-Chulani, S., Horowitz, E., Madachy, R., Reifer, D., et al. (1998). Cocomo II model definition manual.
go back to reference Baker, D., Bridges, D., Hunter, R., Johnson, G., Krupa, J., Murphy, J., & Sorenson, K. (2001). Guidebook to decision-making methods. USA. Baker, D., Bridges, D., Hunter, R., Johnson, G., Krupa, J., Murphy, J., & Sorenson, K. (2001). Guidebook to decision-making methods. USA.
go back to reference Balogun, A. O., Bajeh, A. O., Orie, V. A., & Yusuf-asaju, A. W. (2018). Software defect prediction using ensemble learning: An ANP based evaluation method. Journal of Engineering and Technology, 3(2), 50–55. Balogun, A. O., Bajeh, A. O., Orie, V. A., & Yusuf-asaju, A. W. (2018). Software defect prediction using ensemble learning: An ANP based evaluation method. Journal of Engineering and Technology, 3(2), 50–55.
go back to reference Boehm, B., & Basili, V. R. (2001). Software defect reduction top 10 List. Computer, 10(1109/2), 962984. Boehm, B., & Basili, V. R. (2001). Software defect reduction top 10 List. Computer, 10(1109/2), 962984.
go back to reference Demšar, J. (2006). Statistical comparisons of classifiers over multiple data sets. Journal of Machine Learning Research, 7, 1–30.MathSciNetMATH Demšar, J. (2006). Statistical comparisons of classifiers over multiple data sets. Journal of Machine Learning Research, 7, 1–30.MathSciNetMATH
go back to reference Dodgson, J., Spackman, M., Pearman, A., Phillips, L., Dodgson, J., Spackman, M., et al. (2009). Multi-criteria analysis: a manual. London: Department for Communities and Local Government. http://eprints.lse.ac.uk/12761/. (Accessed 3 Jan 2020). Dodgson, J., Spackman, M., Pearman, A., Phillips, L., Dodgson, J., Spackman, M., et al. (2009). Multi-criteria analysis: a manual. London: Department for Communities and Local Government. http://​eprints.​lse.​ac.​uk/​12761/​. (Accessed 3 Jan 2020).
go back to reference Fenton, N., Neil, M., Marsh, W., Hearty, P., Radliński, Ł., & Krause, P. (2007). Project data incorporating qualitative factors for improved software defect prediction. In Third International Workshop on Predictor Models in Software Engineering. Fenton, N., Neil, M., Marsh, W., Hearty, P., Radliński, Ł., & Krause, P. (2007). Project data incorporating qualitative factors for improved software defect prediction. In Third International Workshop on Predictor Models in Software Engineering.
go back to reference Frank, E., Mark A., H., & Ian H., W. (2016). The WEKA workbench. Online Appendix for “Data Mining: Practical Machine Learning Tools and Techniques.” Morgan Kaufmann, Fourth Edition. Frank, E., Mark A., H., & Ian H., W. (2016). The WEKA workbench. Online Appendix for “Data Mining: Practical Machine Learning Tools and Techniques.” Morgan Kaufmann, Fourth Edition.
go back to reference Fulop, J. (2005). Introduction to decision making methods. Laboratory of Operations Research and Decision Systems: Computer and Automation Institute. Fulop, J. (2005). Introduction to decision making methods. Laboratory of Operations Research and Decision Systems: Computer and Automation Institute.
go back to reference Ghotra, B., McIntosh, S., & Hassan, A. E. (2015). Revisiting the impact of classification techniques on the performance of defect prediction models. In Proceedings - International Conference on Software Engineering (Vol. 1, pp. 789–800). IEEE Computer Society. https://doi.org/10.1109/ICSE.2015.91 Ghotra, B., McIntosh, S., & Hassan, A. E. (2015). Revisiting the impact of classification techniques on the performance of defect prediction models. In Proceedings - International Conference on Software Engineering (Vol. 1, pp. 789–800). IEEE Computer Society. https://​doi.​org/​10.​1109/​ICSE.​2015.​91
go back to reference Goh, W. A. (2010). Applying multi-criteria decision analysis for software quality assessment methods (Master’s Thesis). Blekinge Institute of Technology, Sweden. Goh, W. A. (2010). Applying multi-criteria decision analysis for software quality assessment methods (Master’s Thesis). Blekinge Institute of Technology, Sweden.
go back to reference Iqbal, A., Aftab, S., Ali, U., Nawaz, Z., Sana, L., Ahmad, M., & Husen, A. (2019). Performance analysis of machine learning techniques on software defect prediction using NASA datasets. International Journal of Advanced Computer Science and Applications, 10(5), 300–308. https://doi.org/10.14569/ijacsa.2019.0100538 Iqbal, A., Aftab, S., Ali, U., Nawaz, Z., Sana, L., Ahmad, M., & Husen, A. (2019). Performance analysis of machine learning techniques on software defect prediction using NASA datasets. International Journal of Advanced Computer Science and Applications, 10(5), 300–308. https://​doi.​org/​10.​14569/​ijacsa.​2019.​0100538
go back to reference Jones, C., & Bonsignour, O. (2011). The Economics of Software Quality (1st ed.). Addison-Wesley Professional. Jones, C., & Bonsignour, O. (2011). The Economics of Software Quality (1st ed.). Addison-Wesley Professional.
go back to reference Klir, G. J., & Yuan, B. (1995). Fuzzy sets and fuzzy logic : theory and applications. Prentice Hall PTR. Klir, G. J., & Yuan, B. (1995). Fuzzy sets and fuzzy logic : theory and applications. Prentice Hall PTR.
go back to reference MATLAB. (2016). Fuzzy logic toolbox 2.2.23 version 9.0.0.341360 (R2016a). Natick, Massachusetts: The Mathworks Inc. MATLAB. (2016). Fuzzy logic toolbox 2.2.23 version 9.0.0.341360 (R2016a). Natick, Massachusetts: The Mathworks Inc.
go back to reference Minitab. (2017). Statistical software, version 18.1. Minitab Incorporation, State College. Minitab. (2017). Statistical software, version 18.1. Minitab Incorporation, State College.
go back to reference Özakıncı, R., & Tarhan, A. (2019). An evaluation approach for selecting suitable defect prediction method at early phases. In Proceedings - 45th Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2019 (pp. 199–203). Institute of Electrical and Electronics Engineers Inc. https://doi.org/10.1109/SEAA.2019.00040 Özakıncı, R., & Tarhan, A. (2019). An evaluation approach for selecting suitable defect prediction method at early phases. In Proceedings - 45th Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2019 (pp. 199–203). Institute of Electrical and Electronics Engineers Inc. https://​doi.​org/​10.​1109/​SEAA.​2019.​00040
go back to reference Sandhu, P. S., Lata, S., & Grewal, D. K. (2012). Neural network approach for software defect prediction based on quantitative and qualitative factors. International Journal of Computer Theory and Engineering, 4(2), 298–303.CrossRef Sandhu, P. S., Lata, S., & Grewal, D. K. (2012). Neural network approach for software defect prediction based on quantitative and qualitative factors. International Journal of Computer Theory and Engineering, 4(2), 298–303.CrossRef
go back to reference Shepperd, M., Song, Q., Sun, Z., & Mair, C. (2013a). NASA MDP dataset. A backup site of NASA defect datasets that were originally published by Shepperd et al. (2013a). Shepperd, M., Song, Q., Sun, Z., & Mair, C. (2013a). NASA MDP dataset. A backup site of NASA defect datasets that were originally published by Shepperd et al. (2013a).
go back to reference Song, Q., Jia, Z., Shepperd, M., Ying, S., & Liu, J. (2011). A general software defect-proneness prediction framework. IEEE Transactions on Software Engineering, 37(3), 356–370.CrossRef Song, Q., Jia, Z., Shepperd, M., Ying, S., & Liu, J. (2011). A general software defect-proneness prediction framework. IEEE Transactions on Software Engineering, 37(3), 356–370.CrossRef
go back to reference Wahono, R. S. (2015). A systematic literature review of software defect prediction: Research trends, datasets, methods and frameworks. Journal of Software Engineering, 1, 1–16. Wahono, R. S. (2015). A systematic literature review of software defect prediction: Research trends, datasets, methods and frameworks. Journal of Software Engineering, 1, 1–16.
go back to reference Wahyudin, D., Ramler, R., & Biffl, S. (2008). A framework for defect prediction in specific software project contexts. In Proceedings of the Third IFIP TC 2 Central and East European conference on Software engineering techniques (pp. 261–274). Brno, Czech Republic: Springer-Verlag Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-22386-0_20 Wahyudin, D., Ramler, R., & Biffl, S. (2008). A framework for defect prediction in specific software project contexts. In Proceedings of the Third IFIP TC 2 Central and East European conference on Software engineering techniques (pp. 261–274). Brno, Czech Republic: Springer-Verlag Berlin, Heidelberg. https://​doi.​org/​10.​1007/​978-3-642-22386-0_​20
go back to reference Witten, I. H., Frank, E., & Hall, M. A. (2011). Data mining: Pratical machine learning tool and tecniques (3rd ed.). Morgan Kaufmann Publishers Inc. Witten, I. H., Frank, E., & Hall, M. A. (2011). Data mining: Pratical machine learning tool and tecniques (3rd ed.). Morgan Kaufmann Publishers Inc.
go back to reference Wu, W. (2015). Extension of analytic hierarchy model for high-efficiency clustering in software defect prediction. International Journal of Management Science., 2(2), 13–20. Wu, W. (2015). Extension of analytic hierarchy model for high-efficiency clustering in software defect prediction. International Journal of Management Science., 2(2), 13–20.
go back to reference Yadav, D. K., Chaturvedi, S. K., & Misra, R. B. (2012). Early software defects prediction using fuzzy logic. International Journal of Performability Engineering, 8(4), 399–408. Yadav, D. K., Chaturvedi, S. K., & Misra, R. B. (2012). Early software defects prediction using fuzzy logic. International Journal of Performability Engineering, 8(4), 399–408.
go back to reference Yin, R. K. (2017). Case study research and applications: Design and methods (6th ed.). Thousand Oaks, California: SAGE Publications, Inc. Yin, R. K. (2017). Case study research and applications: Design and methods (6th ed.). Thousand Oaks, California: SAGE Publications, Inc.
go back to reference Zhou, Y., Fenton, N., Neil, M., & Zhu, C. (2013). Incorporating expert judgement into bayesian network machine learning. In Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence (pp. 3249–3250). Zhou, Y., Fenton, N., Neil, M., & Zhu, C. (2013). Incorporating expert judgement into bayesian network machine learning. In Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence (pp. 3249–3250).
Metadata
Title
A decision analysis approach for selecting software defect prediction method in the early phases
Authors
Rana Özakıncı
Ayça Kolukısa Tarhan
Publication date
06-09-2022
Publisher
Springer US
Published in
Software Quality Journal / Issue 1/2023
Print ISSN: 0963-9314
Electronic ISSN: 1573-1367
DOI
https://doi.org/10.1007/s11219-022-09595-0

Other articles of this Issue 1/2023

Software Quality Journal 1/2023 Go to the issue

Premium Partner