| StyleCop | |
|---|---|
| Original author | Microsoft |
| Developers | Jason Allor, Andy Reeves, Chris Dahlberg |
| Stable release | 5.0.6329.1 / April 30, 2017; 8 years ago (2017-04-30) |
| Written in | C# |
| Operating system | Microsoft Windows |
| Platform | .NET Framework |
| Type | Static code analysis tool |
| License | Microsoft Public Licence |
| Website | github |
| Repository | github |
StyleCop is anopen-sourcestatic code analysis tool fromMicrosoft[1] that checksC# code for conformance to StyleCop's recommended coding styles and a subset of Microsoft's .NET Framework Design Guidelines. StyleCop analyses thesource code, allowing it to enforce a different set of rules fromFxCop (which, instead of source code, checks.NETmanaged codeassemblies).[2][3] The rules are classified into the following categories:
StyleCop includes bothGUI and command-line versions of the tool. It is possible to add new rules to be applied.
StyleCop was originally developed by Jason Allor as a Microsoft internal tool, and was released externally as an open-source project in April 2010 onCodePlex.
StyleCop 4.7.55 (November 10, 2016) is compatible with Visual Studio 2008, 2010, 2012, 2013, and 2015.[4] (Microsoft Visual Studio Extension)
StyleCop began a move toGitHub in December 2014,[5] and the last change applied to the CodePlex edition was November 11, 2016.[6]
StyleCop 5.0.6329.1 (April 30, 2017) works with Visual Studio 2012, 2013, 2015, and 2017.[7] (Windows Installer)
Development is stopping. A named successor is StyleCopAnalyzers, for Visual Studio 2015 and later.[8]