Search code examples
visual-studiocode-analysiscode-metricsndepend

visual studio code analysis/metrics tools


I just downloaded a trial version of NDepend. What I'm looking for is a tool that helps in standardization of code. Not only in style of braces, spaces, naming conventions, etc, but also in cohesion & complexity.

Is anybody using it that can tell me if I can integrate cohesion & complexity into the build errors (in example, if complexity is greater > n, then error)??? I want to know if this is integrated with the tool before I start writing my own xml reader to parse the NDepend results.

I know some version of Visual Studio 2008 have these metrics, but NDepened seems to have it independently of visual studio versions. Is there another tool that you would recommend???

thanks!


Solution

  • stylecop - http://code.msdn.microsoft.com/sourceanalysis

    fxcop - http://msdn.microsoft.com/en-us/library/bb429476%28VS.80%29.aspx