A way to find a class with too much responsibility is through the efferent coupling measure, also referred to as fan out complexity.
找到带有太多责任的类的一个方法就是通过传出耦合度量方法,亦指扇出复杂度。
Fan out complexity assigns a 1 to every class the analyzed class is dependent on.
扇出复杂度给被分析的类所依附的每一个类赋值1。
Fan out complexity assigns a 1 to every class the analyzed class is dependent on.
扇出复杂度给被分析的类所依附的每一个类赋值1。
应用推荐