StyleCop (plugin)

Description

StyleCop is a C# code analysis tool. Its XML output is imported to generate findings.

For more details, refer to https://stylecop.codeplex.com/.

Note

Note that this data provider is not supported on Linux. On windows, this data provider requires an extra download to extract the StyleCop binary in <SQUORE_HOME>/addons/tools/StyleCop_auto/ and .NET framework 3.5 to be installed on your machine (run Net.SF.StyleCopCmd.Console.exe manually once to install .NET automatically). For more information, refer to the Installation and Administration Guide's Third-Party Plugins and Applications section.

Usage

StyleCop (plugin) has the following options:

  • Solution ( sln ) Specify the path to the .sln file to analyse. Leave empty to analyse all .sln found in the source repository.​

The full command line syntax for StyleCop (plugin) is:

-d "type=StyleCop_auto,sln=[text]"