Dynamic coupling measures for object-oriented software

被引:17
|
作者
Arisholm, E [1 ]
机构
[1] Simula Res Lab, N-1325 Lysaker, Norway
关键词
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
相关论文
共 50 条
  • [21] Debugging of object-oriented software
    Law, RCH
    Maguire, RB
    [J]. SEKE '96: THE 8TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, PROCEEDINGS, 1996, : 77 - 84
  • [22] Thresholds for object-oriented measures
    Benlarbi, S
    El Emam, K
    Goel, N
    Rai, S
    [J]. 11TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2000, : 24 - 37
  • [23] OBJECT-ORIENTED SOFTWARE TECHNOLOGY
    DEUTSCH, LP
    [J]. COMPUTER, 1991, 24 (09) : 112 - 113
  • [24] OBJECT-ORIENTED SOFTWARE TESTING
    BINDER, RV
    [J]. COMMUNICATIONS OF THE ACM, 1994, 37 (09) : 28 - 29
  • [25] MAINTAINING OBJECT-ORIENTED SOFTWARE
    WILDE, N
    MATTHEWS, P
    HUITT, R
    [J]. IEEE SOFTWARE, 1993, 10 (01) : 75 - 80
  • [26] Slicing object-oriented software
    Larsen, L
    Harrold, MJ
    [J]. PROCEEDINGS OF THE 18TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 1996, : 495 - 505
  • [27] A scheme for dynamic detection of concurrent execution of object-oriented software
    Chen, HY
    Sun, YX
    Tse, TH
    [J]. 2003 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-5, CONFERENCE PROCEEDINGS, 2003, : 4828 - 4833
  • [28] Incremental construction of dynamic models for object-oriented software systems
    Systa, Tarja
    [J]. JOOP - Journal of Object-Oriented Programming, 2000, 13 (05): : 18 - 27
  • [29] Incremental construction of dynamic models for object-oriented software systems
    Systä, T
    [J]. JOOP-JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 2000, 13 (05): : 18 - 27
  • [30] Applying intelligent data analysis to coupling relationships in object-oriented software
    Counsell, S
    Liu, XH
    Najjar, R
    Swift, S
    Tucker, A
    [J]. ADVANCES IN INTELLIGENT DATA ANALYSIS V, 2003, 2810 : 440 - 450