Can We Avoid High Coupling?

被引:0
|
作者
Taube-Schock, Craig [1 ]
Walker, Robert J. [2 ]
Witten, Ian H. [1 ]
机构
[1] Univ Waikato, Hamilton, New Zealand
[2] Univ Calgary, Calgary, AB, Canada
来源
关键词
SOFTWARE; NETWORKS; SYSTEMS;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
It is considered good software design practice to organize source code into modules and to favour within-module connections (cohesion) over between-module connections (coupling), leading to the oft-repeated maxim "low coupling/high cohesion". Prior research into network theory and its application to software systems has found evidence that many important properties in real software systems exhibit approximately scale-free structure, including coupling; researchers have claimed that such scale-free structures are ubiquitous. This implies that high coupling must be unavoidable, statistically speaking, apparently contradicting standard ideas about software structure. We present a model that leads to the simple predictions that approximately scale-free structures ought to arise both for between-module connectivity and overall connectivity, and not as the result of poor design or optimization shortcuts. These predictions are borne out by our large-scale empirical study. Hence we conclude that high coupling is not avoidable-and that this is in fact quite reasonable.
引用
收藏
页码:204 / 228
页数:25
相关论文
共 50 条