Benefits of static code analysis
code-analysis
Solution
There are all kinds of benefits:
- If there are anti-patterns in your code, you can be warned about it.
- There are certain metrics (such as McCabe's Cyclomatic Complexity) that tell useful things about source code.
- You can also get great stuff like call-graphs, and class diagrams from static analysis. Those are wonderful if you are attacking a new code base.
Take a look at SourceMonitor
Problem
What are the benefits of doing static code analysis on your source code? I was playing around with FxCop and I was wondering if there any benefits beyond making sure you are following the coding standards.