Tips on a tool to measure code quality?

Posted by Cristi Diaconescu on Stack Overflow See other posts from Stack Overflow or by Cristi Diaconescu
Published on 2009-04-16T07:15:59Z Indexed on 2010/04/21 5:33 UTC
Read the original article Hit count: 585

I'm looking for a tool that can provide code quality metrics.
For instance it could report

  • very long functions (spaghetti code)
  • very complex classes (which could contain do-it-all code)
  • ...

While we're on the (subjective:-) subject of code quality, what other code metrics would you suggest?

I'm targetting C#/.NET code, but I'm sure this could extend to most programming languages.

© Stack Overflow or respective owner

Related posts about code-quality

Related posts about code-metrics