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 条
[11]   An empirical investigation of an object-oriented software system [J].
Cartwright, M ;
Shepperd, M .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2000, 26 (08) :786-796
[12]  
CHAWLA N, 2003, P WORKSH LEARN IMB D, V2
[13]   A METRICS SUITE FOR OBJECT-ORIENTED DESIGN [J].
CHIDAMBER, SR ;
KEMERER, CF .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (06) :476-493
[14]   Managerial use of metrics for object-oriented software: An exploratory analysis [J].
Chidamber, SR ;
Darcy, DP ;
Kemerer, CF .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1998, 24 (08) :629-639
[15]  
Daly J., 1996, Empirical Software Engineering, V1, P109, DOI 10.1007/BF00368701
[16]   00 metrics in practice [J].
Darcy, DP ;
Kemerer, CF .
IEEE SOFTWARE, 2005, 22 (06) :17-19
[17]   The optimal class size for object-oriented software [J].
El Emam, K ;
Benlarbi, S ;
Goel, N ;
Melo, W ;
Lounis, H ;
Rai, SN .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (05) :494-509
[18]   The prediction of faulty classes using object-oriented design metrics [J].
El Emam, K ;
Melo, W ;
Machado, JC .
JOURNAL OF SYSTEMS AND SOFTWARE, 2001, 56 (01) :63-75
[19]   The confounding effect of class size on the validity of object-oriented metrics [J].
Emam, KE ;
Benlarbi, S ;
Goel, N ;
Rai, SN .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (07) :630-650
[20]   Applying design-metrics to object-oriented frameworks [J].
Erni, K ;
Lewerentz, C .
PROCEEDINGS OF THE 3RD INTERNATIONAL SOFTWARE METRICS SYMPOSIUM, 1996, :64-74