Dynamic coupling measures for object-oriented software

被引:17
作者
Arisholm, E [1 ]
机构
[1] Simula Res Lab, N-1325 Lysaker, Norway
来源
EIGHTH IEEE SYMPOSIUM ON SOFTWARE METRICS, PROCEEDINGS | 2002年
关键词
D O I
10.1109/METRIC.2002.1011323
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The relationships between coupling and external quality factors of object-oriented software have been studied extensively for the past few years. For example, several studies have identified clear empirical relationships between class-level coupling and the fault-proneness of the classes. A common way to quantify the coupling is through static code analysis. However, the resulting static coupling measures only capture certain underlying dimensions of coupling. Other dependencies regarding the dynamic behavior of software can only be inferred from run-time information. For example, due to inheritance and polymorphism, it is not always possible to determine the actual receiver and sender classes (i.e., the objects) from static code analysis. This paper describes how several dimensions of dynamic coupling can be calculated by tracing the flow of messages between objects at run-time. As a first evaluation of the proposed dynamic coupling measures, fairly accurate prediction models of the change proneness of classes have been developed using change data from nine maintenance releases of a large SmallTalk system. Preliminary results suggest that dynamic coupling may also be useful for developing prediction models and tools supporting change impact analysis. At present, work on developing a dynamic coupling tracer and ripple-effect prediction models for Java programs is underway.
引用
收藏
页码:33 / 42
页数:10
相关论文
共 34 条
[1]   Evaluating the impact of Object-Oriented design on software quality [J].
Abreu, FBE ;
Melo, W .
PROCEEDINGS OF THE 3RD INTERNATIONAL SOFTWARE METRICS SYMPOSIUM, 1996, :90-99
[2]  
ABREU FBE, 1995, ECOOPS 95 WORKSH MET
[3]  
Ajrnal Chaumun M., 2000, Proceedings of the Fourth European Conference on Software Maintenance and Reengineering, P45, DOI 10.1109/CSMR.2000.827305
[4]  
[Anonymous], 1999, EMPIRICAL SOFTWARE E
[5]   Assessing the changeability of two object-oriented design alternatives - A controlled experiment [J].
Arisholm E. ;
Sjøberg D.I.K. ;
Jørgensen M. .
Empirical Software Engineering, 2001, 6 (3) :231-277
[6]   Towards a framework for empirical assessment of changeability decay [J].
Arisholm, E ;
Sjoberg, DIK .
JOURNAL OF SYSTEMS AND SOFTWARE, 2000, 53 (01) :3-14
[7]  
ARISHOLM E, 2001, THESIS U OLSO
[8]   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
[9]  
BENLARBI S, 1999, 21 INT C SOFTW ENG I, P334
[10]  
BRATTHALL L, 2001, PROFES 2001 3 INT C