Puneet Varma (Editor)

StyleCop

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Microsoft

Development status
  
Active

Developer(s)
  
andyr

Website
  
stylecop.codeplex.com

Stable release
  
4.7.55 / November 10, 2016; 4 months ago (2016-11-10)

License
  
Microsoft Public Licence

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 analyses the source code, allowing it to enforce a different set of rules from FxCop (which, instead of source code, checks .NET managed code assemblies). 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 .

    References

    StyleCop Wikipedia