Abstract
Software quality is the fundamental requirement for a user, academia person, software developing organizations and researchers. In this paper a model for object-oriented Software Bug Prediction System (SBPS) has been developed. This model is capable of predicting the existence of bugs in a class if found, during software validation using metrics. The designed model forecasts the occurrences of bugs in a class when any new system is tested on it. For this experiment some open source similar types of defect datasets (projects) have been collected from Promise Software Engineering Repository. Some of these datasets have been selected for prediction of bugs, of which a few are not involved in model construction. First of all, we have formulated some hypotheses corresponding to each and every metric, and from metrics validation based on hypothesis basis finally 14 best suitable metrics have been selected for model creation. The Logistic Regression Classifier provides good accuracy among all classifiers. The proposed model is trained and tested on each of the validated dataset, including validated Combined Dataset separately too. The performance measure (accuracy) is computed in each case and finally it is found that the model provides overall averaged accuracy of 76.27%.
Similar content being viewed by others
References
The Rotarian 1991 Rotary International, vol. 159, No.4, ISSN 0035-838X, https://books.google.co.in/books?id=eDIEAAAAMBAJ
Singh Y, Kaur A and Malhotra R 2009 Software fault proneness prediction using support vector machine. In: Proceedings of the World Congress on Engineering, vol. 1
Kan S H 2003 Metrics and models in software engineering, 2nd ed. Pearson Education
Wellman B 1998 Doing it ourselves: the SPSS manual as sociology’s most influential recent book. USA: University of Massachusetts Press, pp. 71–78, ISBN 978-1-55849-153-3
Chidamber S R and Kemerer C F 1991 Towards a metric suite for object-oriented design. In: OOPSLA ‘91 Conference Proceedings on Object-oriented Programming Systems, Languages, and Applications, New York, USA: ACM
Chidamber S R and Kemerer C F 1994 A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20(6)
Emam K E, Benlarbi S, Goel N and Rai S N 2001 The confounding effect of class size on the validity of object-oriented metrics. IEEE Trans. Softw. Eng. 27(7)
Gursaran and Roy G 2001 On the applicability of Weyuker Property 9 to object-oriented structural inheritance complexity metrics. IEEE Trans. Softw. Eng. 27(4)
Brito A F and Carapuca R 1994 Candidate metrics for object-oriented software within a taxonomy framework. J. Syst. Softw. 26: 87–96
Jureczko M and Madeyski L 2006 A review of process metrics in defect prediction studies. In: Proceedings of the ACM/SIGSOFT International Symposium on Software Testing and Analysis, ISSTA, USA, July 17–20
Jin C, Jin S W, Ye J M and Zhang Q G 2009 Quality prediction model of object oriented software systems using computational intelligence. In: Proceedings of the IEEE 2 nd International Conference on power Electronics and Intelligent Transportation system
Jureczko M and Madeyski L 2010 Towards identifying software project clusters with regard to defect prediction. In: Proceedings of the 6 th International Conference on Predictive Models in Software Engineering (Promise-10), Timisoara, Romania. New York, USA: ACM http://doi.acm.org/10.1145/1868328.1868342
Catal C 2011 Software fault prediction: a literature reviews and current trends. Proc. Expert Syst. Appl. 38: 4626–4636
Okutan A and Yildz O T 2014 Software defect prediction using Bayesian Networks. Empirical Softw. Eng. 19: 154–181
Henderson-Sellers B 1996 Object-oriented metrics measures of complexity. Prentice Hall
Witten I H and Frank E 1999 Data mining: practical machine learning tools and techniques with Java implementations. Morgan Kaufmann. http://www.cs.waikato.ac.nz/ml/weka/
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Gupta, D.L., Saxena, K. Software bug prediction using object-oriented metrics. Sādhanā 42, 655–669 (2017). https://doi.org/10.1007/s12046-017-0629-5
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12046-017-0629-5