Software defects estimation using metrics of early phases of software development life cycle

  • Chandan KumarEmail author
  • Dilip Kumar Yadav
Original Article


An estimation of software defects can be obtained in the later phase of software testing. However, with the aim of cost-effectiveness and timely management of resources, the software defects estimation in the early phases of software development life cycle (SDLC) is one of the major research areas. In this paper, a software defect estimation model is proposed using Bayesian belief network (BBN) and reliability relevant metrics of early phases of SDLC (e.g., requirement analysis, design and coding phases). The causal relationship of software metrics is modeled using BBN. The qualitative value of software metrics and expert assessment of software defects is used for developing the proposed model. The defects estimation accuracy of the proposed model is examined using qualitative data set of ten real software projects. The defects estimation results are compared with the existing model and found more accurate.


Software defect estimation Software metrics Causal relationship Qualitative data Bayesian belief network 


  1. Amasaki S, Takagi Y, Mizuno O, Kikuno T (2003) A bayesian belief network for assessing the likelihood of fault content. Proceedings of 14th international symposium on software reliability engineering (ISSRE), 215–226Google Scholar
  2. Catal C (2011) Software fault prediction: a literature review and current trends. Expert Syst Appl 38:4626–4636CrossRefGoogle Scholar
  3. Catal C, Diri B (2009) A systematic review of software fault predictions studies. Expert Syst Appl 36:7346–7354CrossRefGoogle Scholar
  4. Cheung L, Roshandel R, Medvidovic N, Golubchik L (2008) Early prediction of software component reliability. Proceedings of the 30th international conference on software engineering (ICSE), 111–120Google Scholar
  5. Chidamber SR, Kemerer CF (1991) A metrics suite for object oriented design. IEEE Trans Softw Eng 20:476–493CrossRefGoogle Scholar
  6. Chulani S, Boehm B, Steece B (1999) Bayesian analysis of empirical software engineering cost models. IEEE Trans Softw Eng 25:573–583CrossRefGoogle Scholar
  7. Cortellessa V, Singh H, Cukic B (2002) Early reliability assessment of UML based software models. Proceedings of the 3rd international work-shop on software and performance (WOSP), 302–309Google Scholar
  8. Danijel R, Marjan H, Richard T, Ales Z (2013) Software fault prediction metrics: a systematic literature review. Inf Softw Technol Inf Softw Techno 55:1397–1418CrossRefGoogle Scholar
  9. Dejaeger K, Verbraken T, Baesens B (2013) Toward comprehensible software fault prediction models using bayesian network classifiers. IEEE Trans Softw Eng 39:237–257CrossRefGoogle Scholar
  10. Fenton NE, Neil M (1996) Predicting software quality using Bayesian belief networks. Proceedings of 21st annual software engineering workshop, 217–230Google Scholar
  11. Fenton NE, Neil M (1999a) A critique of software defect prediction models. IEEE Trans Softw Eng 25:675–689CrossRefGoogle Scholar
  12. Fenton NE, Neil M (1999) Software metrics and risk, Proceedings of 2nd European software measurement conference (FESMA), 39–55Google Scholar
  13. Fenton NE, Krause P, Neil M (2002) Software measurement: uncertainty and causal modeling. IEEE Softw 19:116–122CrossRefGoogle Scholar
  14. Fenton NE, Neil M, March W, Hearty P, Marquez D, Krause P, Mishra R (2007) Predicting software defects in varying development lifecycles using bayesian nets. Inf Softw Technol 49:32–43CrossRefGoogle Scholar
  15. Fenton NE, Neil M, March W, Hearty P, Radlinski L, Krause P (2008) On the effectiveness of early life cycle defect prediction with Bayesian nets. Empir Softw Eng 13:499–537CrossRefGoogle Scholar
  16. Goel AL (1985) Software reliability models: assumptions limitations, and applicability. IEEE Trans Softw Eng 11:1411–1423CrossRefGoogle Scholar
  17. Jensen FV (1996) An introduction to bayesian networks. Springer-Verlag New York, Inc., Secaucus. ISBN 0387915028Google Scholar
  18. Kitchenham B (2010) What’s up with software metrics?—A preliminary mapping study. J Syst Softw 83:37–51CrossRefGoogle Scholar
  19. Kitchenham BA, Pickard LM, MacDonell SG, Shepperd MJ (2001) What accuracy statistics really measure. IEE Proc Softw 148:81–85CrossRefGoogle Scholar
  20. Li M, Smidts CS (2003) A ranking of software engineering measures based on expert opinion. IEEE Trans Softw Eng 29:811–824CrossRefGoogle Scholar
  21. Mohanta S, Vinod G, Ghosh AK, Mall R (2010) An approach for early prediction of software reliability. ACM SIGSOFT Softw Eng Notes 35:1–9CrossRefGoogle Scholar
  22. Mohanta S, Vinod G, Mall R (2011) A technique for early prediction of software reliability based on design metrics. Int J Syst Assur Eng Manag 2:261–281CrossRefGoogle Scholar
  23. Netica Version 4.16 (2010). Available at
  24. Okutan, Yıldız OT (2014) Software defect prediction using Bayesian networks. Empir Softw Eng 19:154–181CrossRefGoogle Scholar
  25. Pai Ganesh J, Dugan Joanne B (2007) Empirical analysis of software fault content and fault proneness using Bayesian methods. IEEE Trans Softw Eng 33:675–686CrossRefGoogle Scholar
  26. Pérez-Miñana E, Gras J-J (2006) Improving fault prediction using bayesian networks for the development of embedded software applications, software testing, verification & reliability—UKTest 2005: the Third U.K. Workshop Softw Test Res 16:157–174CrossRefGoogle Scholar
  27. Sandhu PS, Brar AS, Goel R, Kaur J, Anand S (2010) A model for early prediction of faults in software systems. Proceedings of 2nd international conference on computer and automation engineering (ICCAE), 281–285Google Scholar
  28. Saravana K, Mishra RB (2008). An enhanced model for early software reliability prediction using software engineering metrics. Proceedings of 2nd international conference on secure system integration and reliability improvement, 177–178Google Scholar
  29. Smidts C, Stutzke M, Stoddard RW (1998) Software reliability modeling: an approach to early reliability prediction. IEEE Trans Reliab 47:268–278CrossRefGoogle Scholar
  30. Stensrud E, Foss T, Kitchenham B, Myrtveit I (2002) An empirical validation of the relationship between the magnitude of relative error and project size. Proceedings of 8th IEEE symposium on software metrics, 3–12Google Scholar
  31. Tripathi R, Mall R (2005) Early stage software reliability and design assessment. Proceedings of the 12th Asia-Pacific software engineering conference (APSEC)Google Scholar
  32. Yadav DK, Charurvedi SK, Mishra RB (2012a) Early software defects prediction using fuzzy logic. Int J Perform Eng 8(4):399–408Google Scholar
  33. Yadav DK, Chaturvedi SK, Misra RB (2012) Forecasting time-between-failures of software using fuzzy time series approach. In: IEEE proceeding of North American fuzzy information processing society (NAFIPS), Berkley, USA, 6–8 August, pp 1–8Google Scholar
  34. Yadav HB, Yadav DK (2013) A fuzzy logic approach for software quality modeling. Proceedings of the second international conference on computing sciences (ICCS-2013), Lovely Professional University, Elsevier Publication, Punjab, India, 15–16 Nov pp. 32–39Google Scholar
  35. Yadav HB, Yadav DK (2014) A multistage model for defect prediction of software development life cycle using fuzzy logic. In: Proceedings of the third international conference on soft computing for problem solving (SOCPROS-2013), IIT Roorkee, 26–28 Dec 2013, Advances in Intelligent Systems and Computing, Vol 259. India, Springer India Publication, pp 661–671Google Scholar
  36. Zhang X, Pham H (2000) An analysis of factors affecting software reliability. J Syst Softw 50:43–56CrossRefGoogle Scholar
  37. Zhou Y et al. (2014) Bayesian network approach to multinomial parameter learning using data and expert judgments. International journal of approximate reasoning. (in press)

Copyright information

© The Society for Reliability Engineering, Quality and Operations Management (SREQOM), India and The Division of Operation and Maintenance, Lulea University of Technology, Sweden 2014

Authors and Affiliations

  1. 1.Department of Computer ApplicationsNational Institute of TechnologyJamshedpurIndia

Personalised recommendations