Software Metrics

Metrics are very important for seeing trends over time

Useful Metrics

  • code coverage %
  • tags (TODO, FIXME) in the code base
  • avg lines / method
  • avg lines / class
  • number of requirements
  • number of open defects
  • number of closed defects/requirements this iteration
  • lines of code


  • Run automated as part of a build
  • Commercial tools (unless these are really awesome, I'm not likely to be too interested)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License