.NET tools, components, libraries and add-ins sign in | create your account  
Stimulsoft Reports.Web
Advertise here! Contact us to know the options
Tool

StyleCop

 Home Page Home Page
Categories:
Author: Microsoft
Latest version: 4.3
Description: StyleCop, also known as Source Analysis, analyzes C# source code to enforce a set of best practice style and consistency rules.

Source Analysis is similar in many ways to FxCop, but FxCop performs its analysis on compiled binaries, while Source Analysis analyzes the source code directly. For this reason, FxCop focuses more on the design of the code, while Source Analysis focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop.

Source Analysis comes with a set of default rules analyzers covering approximately 200 best practice rules. These rules are full compatible with the default layout settings in Visual Studio 2005 and Visual Studio 2008.

Specifically, these rules cover the following, in no particular order:
- Layout of elements, statements, expressions, and query clauses
- Placement of curly brackets, parenthesis, square brackets, etc
- Spacing around keywords and operator symbols
- Line spacing
- Placement of method parameters within method declarations or method calls
- Standard ordering of elements within a class
- Formatting of documentation within element headers and file headers
- Naming of elements, fields and variables
- Use of the built-in types
- Use of access modifiers
- Allowed contents of files
- Debugging text

After installation, Source Analysis can be run from within the Visual Studio IDE, and can also be integrated into MSBuild-based command line builds.
Added: 2008-05-23
Updated: 2008-08-21
Attributes: Built for .NET 2[BuilfForDotNet2] Add-in[AddIn] Free or free version available[FreeVersionAvailable]
Ad
Stimulsoft Reports.Web
Advertise here! Contact us to know the options
Advertise here! Contact us to know the options
Web site previews powered by WebSnapr
Hosted by WebHost4Life.com - Please use this Sponsor ID: madgeek - Thanks!
part of the metaSapiens network: metaSapiens | .NET Jobs | Fabrice's weblog | .NET tools | Java tools | Dynamics AX tools | LINQ book | MapShares | BD indépendante