do you know NDEPEND ?

NDepend is a tool that simplifies managing a complex .NET code base. Architects and developers can analyze code structure, specify design rules, plan massive refactoring, do effective code reviews and master evolution by comparing different versions of the code. The result is better communication, improved quality, easier maintenance and faster development.

NDepend is a static analyzer that produce configurable reports to inform the team of potential problem. NDepend comes also with a rich client that let's dig into the architecture and the quality of the code. All this integrate with Visual Studio, Reflector and MSBuild.

Interactive graph and dependency matrix are provided to understand how the code is structured.  82 different code metrics are supported to measure the exact code quality, including lines of code, test coverage and complexity. NDepend can also compare 2 snapshot of the code base to browse the modifications done. Finally, NDepend comes with a SQL-like language that let's search in the code by Name, Size, Complexity, Coupling, Popularity, Coverage, Visibility, Mutability, Purity, Change and Coverage of Changes. This language let's also write rules that developers must follow, such as, make sure that code refactored since the last release is 100% covered by tests.

 more information :