Weighted Methods Per Class

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.

In this implementation, the measure of complexity of methods is McCabe's Cyclomatic Complexity.

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


This plugin is provided by State Of Flow