Pages

Sunday, February 1, 2009

Code Analysis in .Net

FxCop is a free static code analysis tool from Microsoft that checks .NET managed code assemblies for conformance to Microsoft's .NET Framework Design Guidelines. Unlike the Lint programming tool for the C programming language, FxCop analyzes the compiled object code, not the original source code. It uses MSIL parsing, and callgraph analysis to inspect assemblies for more than 200 defects in the following areas:

Correctness
Library design
Localization
Naming conventions
Performance
Security
FxCop includes both GUI and command line versions of the tool. Microsoft Visual Studio 2005 and Visual Studio 2008 Team System Development Editions both include a "Code Analysis" feature based on FxCop.

No comments: