Rafael Enriquez
Rafael Enriquez

Reputation: 333

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!

Upvotes: 1

Views: 1958

Answers (3)

Patrick from NDepend team
Patrick from NDepend team

Reputation: 13842

Why would you parse NDepend result while NDepend can warn live right into Visual Studio if a CQL rule is violated?

Upvotes: 0

Nicole Calinoiu
Nicole Calinoiu

Reputation: 21002

Visual Studio Code Analysis (the paid version of FxCop that is integrated into some editions of Visual Studio) includes rules for the same set of code metrics exposed by the Visual Studio Code Metrics functionality. These rules are customizable, so you can adjust their threshold values for warning and error conditions if you so desire.

Upvotes: 0

Related Questions