分析案例主要讨论两个指标,圈复杂度(cyclomatic complexity) 和传入耦合(afferent coupling), 介绍显示和理解这两个指标的一些工具,以及如何通过组合指标帮助发现设计特征。
基于36个网页-相关网页
(Ca)输入耦合度(Afferent Coupling):指处于该包的外部并依赖于该包内的类的类的数目。
基于32个网页-相关网页
afferent coupling
传入耦合
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Think of efferent coupling as the inverse of afferent coupling.
可以把传出耦合看作传入耦合的逆转。
youdao
Afferent coupling is harder to determine and much more valuable.
传入耦合比较难判断,但是更有价值。
Notice the Ca (afferent coupling) metric for this class, which has a value of 3.
注意这个类的Ca(传入耦合)指标,它的值为3。
应用推荐
模块上移
模块下移
不移动