StyleCop
Page Module:Infobox/styles.css has no content.
| StyleCop | |
|---|---|
| [[Programmer|Original authorTemplate:Pluralize from text]] | Microsoft |
| [[Programmer|DeveloperTemplate:Pluralize from text]] | Jason Allor, Andy Reeves, Chris Dahlberg |
| Written in | C# |
| Engine | Page Template:Plainlist/styles.css has no content.Template:EditAtWikidata |
| Operating system | Microsoft Windows |
| Platform | .NET Framework |
| Type | Static code analysis tool |
| License | Microsoft Public Licence |
| Website | github |
| Repository | github |
Script error: No such module "Check for conflicting parameters".
StyleCop is an open-source static code analysis tool from Microsoft[1] 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).[2][3] 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 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 on CodePlex.
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 to GitHub 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]
See also
Lua error in mw.title.lua at line 404: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
References
Page Template:Reflist/styles.css has no content.
- ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- ^ https://stylecop.codeplex.com/ StyleCop (old CodePlex site)
- ^ https://api.github.com/repos/StyleCop/StyleCop GitHub API response for StyleCop repository
- ^ https://web.archive.org/web/20171226050423/http://stylecop.codeplex.com/SourceControl/list/changesets archive.org retrieval of StyleCop on CodePlex source history
- ^ https://marketplace.visualstudio.com/items?itemName=ChrisDahlberg.StyleCop StyleCop - Visual Studio Marketplace
- ^ https://github.com/StyleCop/StyleCop#considerations StyleCop repository on GitHub
External links
- Script error: No such module "Official website".
- Legacy Microsoft-hosted StyleCop blog (2010)