StyleCop
From Wikipedia, the free encyclopedia
StyleCop is an open source static code analysis tool from Microsoft that checks C# code for conformance to StyleCop's recommended coding styles and a subset of Microsoft's .NET Framework Design Guidelines. StyleCop analyzes the source code, allowing it to enforce a different set of rules from FxCop[1][2]. The rules are classified into the following categories:
- Documentation
- Layout
- Maintainability
- Naming
- Ordering
- Readability
- Spacing
StyleCop includes both GUI and command line versions of the tool. It is possible to create new rules to be used.
StyleCop was re-released as an open source project in April 2010 at http://stylecop.codeplex.com.
[edit] References
- ^ Patton, Tony (June 24, 2011). "Maintain code consistency with Microsoft StyleCop". Blogs / Software Engineer. TechRepublic. http://www.techrepublic.com/blog/programming-and-development/maintain-code-consistency-with-microsoft-stylecop/4328. Retrieved December 10, 2011.
- ^ Chinery, Clive (July 30, 2009). "8 More Useful Tools for ASP.NET". ASP .Net. Server-Side Magazine. http://www.serversidemagazine.com/asp-net/8-more-useful-tools-for-asp-net/. Retrieved December 10, 2011.
[edit] See also
[edit] External links
- StyleCop homepage
- StyleCop blog
- StyleCop For ReSharper. A third party tool which integrates StyleCop into the ReSharper toolset.
- StyleCop CLI: Command-line interface to StyleCop source code analyzers.