A metric suite

  • WMC -- weighted methods per class
  • DIN -- depth of inheritance
  • NOC -- number of children
  • CBO -- coupling between objects
  • RFC -- response for a class
  • LCO -- lack of cohesion

Object-oriented design

  • object definition -- WMC, DIN, NOC
  • attributes -- RFC, LCO
  • communication -- RFC, CBO

slide: A metric suite