The Link between Dependency and Cochange: Empirical Evidence

被引:21
|
作者
Geipel, Markus Michael [1 ]
Schweitzer, Frank [1 ]
机构
[1] ETH, Chair Syst Design, CH-8032 Zurich, Switzerland
基金
瑞士国家科学基金会;
关键词
Modularity; class dependency; open source; SOFTWARE; PROPAGATION;
D O I
10.1109/TSE.2011.91
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We investigate the relationship between class dependency and change propagation (cochange) in software written in Java. On the one hand, we find a strong correlation between dependency and cochange. Furthermore, we provide empirical evidence for the propagation of change along paths of dependency. These findings support the often alleged role of dependencies as propagators of change. On the other hand, we find that approximately half of all dependencies are never involved in cochanges and that the vast majority of cochanges pertain to only a small percentage of dependencies. This means that inferring the cochange characteristics of a software architecture solely from its dependency structure results in a severely distorted approximation of cochange characteristics. Any metric which uses dependencies alone to pass judgment on the evolvability of a piece of Java software is thus unreliable. As a consequence, we suggest to always take both the change characteristics and the dependency structure into account when evaluating software architecture.
引用
收藏
页码:1432 / 1444
页数:13
相关论文
共 50 条