A Quantitative Investigation of the Acceptable Risk Levels of Object-Oriented Metrics in Open-Source Systems

被引:80
作者
Shatnawi, Raed [1 ]
机构
[1] Jordan Univ Sci & Technol, Software Engn Dept, Irbid 22110, Jordan
关键词
Object-oriented programming; product metrics; CK metrics; threshold values; open-source software; EMPIRICAL VALIDATION; SOFTWARE QUALITY; INHERITANCE; THRESHOLD; SUITE;
D O I
10.1109/TSE.2010.9
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Object-oriented metrics have been validated empirically as measures of design complexity. These metrics can be used to mitigate potential problems in the software complexity. However, there are few studies that were conducted to formulate the guidelines, represented as threshold values, to interpret the complexity of the software design using metrics. Classes can be clustered into low and high risk levels using threshold values. In this paper, we use a statistical model, derived from the logistic regression, to identify threshold values for the Chidamber and Kemerer (CK) metrics. The methodology is validated empirically on a large open-source system-the Eclipse project. The empirical results indicate that the CK metrics have threshold effects at various risk levels. We have validated the use of these thresholds on the next release of the Eclipse project-Version 2.1-using decision trees. In addition, the selected threshold values were more accurate than those were selected based on either intuitive perspectives or on data distribution parameters. Furthermore, the proposed model can be exploited to find the risk level for an arbitrary threshold value. These findings suggest that there is a relationship between risk levels and object-oriented metrics and that risk levels can be used to identify threshold effects.
引用
收藏
页码:216 / 225
页数:10
相关论文
共 47 条
[1]  
ABREU FBE, 1994, J SYST SOFTWARE, V26, P87, DOI 10.1016/0164-1212(94)90099-X
[2]   Empirical analysis for investigating the effect of object-oriented metrics on fault proneness: A replicated case study [J].
Aggarwal, K.K. ;
Singh, Yogesh ;
Kaur, Arvinder ;
Malhotra, Ruchika .
Software Process Improvement and Practice, 2009, 14 (01) :39-62
[3]   A validation of object-oriented design metrics as quality indicators [J].
Basili, VR ;
Briand, LC ;
Melo, WL .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (10) :751-761
[4]  
Bender R, 1999, BIOMETRICAL J, V41, P305, DOI 10.1002/(SICI)1521-4036(199906)41:3<305::AID-BIMJ305>3.0.CO
[5]  
2-Y
[6]   Thresholds for object-oriented measures [J].
Benlarbi, S ;
El Emam, K ;
Goel, N ;
Rai, S .
11TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2000, :24-37
[7]   Exploring the relationships between design measures and software quality in object-oriented systems [J].
Briand, LC ;
Wüst, J ;
Daly, JW ;
Porter, DV .
JOURNAL OF SYSTEMS AND SOFTWARE, 2000, 51 (03) :245-273
[8]   A unified framework for coupling measurement in object-oriented systems [J].
Briand, LC ;
Daly, JW ;
Wüst, JK .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1999, 25 (01) :91-121
[9]  
Briand P, 2001, ELECTRON COMMUN PROB, V6, P1
[10]   An empirical view of inheritance [J].
Cartwright, M .
INFORMATION AND SOFTWARE TECHNOLOGY, 1998, 40 (14) :795-799