Weighted methods per class

WMC

Measure

-- complexity of an object
  • WMC(x) = \ifsli{\n}{} \sum_{m \e methods(x)} complexity(m)

Viewpoint --

the number of methods and the complexity of methods is an indicator of how much time and effort is required to develop and maintain objects
slide: Weighted methods per class