通过进一步检查exception包并注意抽象到具体类的比率,可以派生出另一个度量:抽象性。
By further examining the exception package and noting the ratio of abstract to concrete classes, you can derive another metric: abstractness.
您知道怎么获取您想要的数据:在一定的包上下文环境中,返回包所拥有的成员(类)的度量。
You know how to get the data you need: given a package context, return the metrics for the owned members of that package that are classes.
监视系统的代码耦合度量有助于您掌握可破坏架构的常见趋势,即设计刚度、包熵和不必要的依赖性。
Monitoring your system's code coupling metrics will help you stay on top of common trends that can undermine its architecture, namely design rigidity, package entropy, and unwanted dependencies.
应用推荐