henbeibi

Tuesday, September 26, 2006

ソフトウェアメトリクス解説(004)

Weighted Methods Per Class(WMC)

This metric is the sum of complexities of methods defined in a class. It therefore represents the complexity of a class as a whole and this measure can be used to indicate the development and maintenance effort for the class.

Classes with a large Weighted Methods Per Class value can often be refactored into two or more classes.

あるクラスのメソッドの重さ(複雑さの総和)を 計測します。WMCが高いほど、複雑であり、メンテナンスのコストが かかることを示唆します。

Labels:

0 Comments:

Post a Comment

<< Home