Static code analysis

About FxCop

About Code Metrics

Tips to interpret Code Metrics
Maintainability Index (50 or more)
Cyclomatic Complexity (keep less than 20)
Depth of Inheritance (should not exceed 6)
Class Coupling (threshold value more than 30 indicates potentially bad design)

Stylecop

Comments