The ultimate goal of sourceanalysis (stylecop) is to make everyone write elegantly and consistentlyCodeTherefore, these codes are highly readable.
Sourceanalysis (stylecop) is not a code formatting tool, but a code specification checking tool (Code review tool). It not only checks the code format, but also code specifications, including names and comments.
Sourceanalysis (stylecop) is designed to help the project team execute a series of commonly usedSource codeFormat specifications: These specifications are about how to develop elegant code with regular layout, easy to read, easy to maintain, and well-documented (help teams enforce a common set of best practices for layout, readability, maintainability, and documentation of C # source code ).
Sourceanalysis (stylecop) now contains about 200 best practice rules, which are consistent with the default code formatting rules in Visual Studio 2005 and Visual Studio 2008.
Sourceanalysis (stylecop) can be run as a plug-in of Visual Studio. In vs (my name is 2008), right-click a C # file and choose:
Http://www.oschina.net/p/stylecop