Software bug prediction using object-oriented metrics

被引:17
作者
Gupta, Dharmendra Lal [1 ,2 ]
Saxena, Kavita [2 ]
机构
[1] Kamla Nehru Inst Technol, Dept Comp Sci & Engn, Sultanpur 228118, India
[2] Mewar Univ, Dept Comp Sci & Engn, Chittaurgarh 312901, India
来源
SADHANA-ACADEMY PROCEEDINGS IN ENGINEERING SCIENCES | 2017年 / 42卷 / 05期
基金
英国工程与自然科学研究理事会;
关键词
Software bug; metrics; correlation of metrics and bug; software bug prediction;
D O I
10.1007/s12046-017-0629-5
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
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%.
引用
收藏
页码:655 / 669
页数:15
相关论文
共 16 条
[1]  
ABREU FBE, 1994, J SYST SOFTWARE, V26, P87, DOI 10.1016/0164-1212(94)90099-X
[2]  
[Anonymous], 1991, ROTARIAN, V159
[3]   Software fault prediction: A literature review and current trends [J].
Catal, Cagatay .
EXPERT SYSTEMS WITH APPLICATIONS, 2011, 38 (04) :4626-4636
[4]  
Chidamber S. R., 1991, OOPSLA 91 C P OBJ OR
[5]  
CHIDAMBER SR, 1994, IEEE T SOFTW ENG, V20
[6]  
Emam K E, 2001, IEEE T SOFTW ENG, V27
[7]  
Frank E., 1999, Data Mining: Practical Machine Learning Tools and Techniques with Java Implementations
[8]  
Henderson-Sellers B., 1996, Object-Oriented Metrics, measures of complexity
[9]  
Jin C, 2009, P IEEE 2 INT C POW E
[10]  
Jureczko M, 2010, ACM INT C P SERIES, DOI [10.1145/1868328.1868342, DOI 10.1145/1868328.1868342]