|Latest version||2.01 ( 13 November 2012 8 April 2013 )|
|Requires Sonar SonarQube version||3.0 or higher ( check version compatibility )|
|License||GNU LGPL 3|
|Developers||Fabrice Bellingard (Twitter) and Alexandre Victoor (Twitter)|
If you want to see a live example of the capabilities of the C# plugins ecosystemEcosystem, you can have a look at the analysis of the MyBatis.Net project on Nemo. You can also check and the C# and VB.NET solution on Nemo to see how Sonar can analyse multi-language .NET solutions..
This page documents versions 2.1 and lower of the C# plugin. For greater versions, browse this page.
Description / Features
The C# Plugins Ecosystem is a set of Sonar plugins used to monitor the quality of .NET software written in C#.
Note that , since version 2.0, multi-language .NET Solutions solutions (C# + VB.NET) can be analyzed by Sonar. See documentation and project samples.
See with the SonarQube platform.
- Your C# codebase must be developed with Visual Studio and thus contain a ".sln" file (.NET solution).
Supported versions are:
Up to 5.0
2.0, 3.5, 4.0 and 4.5
3, 4 and 5
Tested with VS 2008, VS 2010 and VS 2012 ".sln" files
Follow the C# Ecosystem Installation Guide.
Running a Sonar analysis
Running an Analysis
To help you get started, a project sample is available on github. It provides both flavors (Sonar Runner and Maven).
For more details on how to run a Sonar analysis on a C# solution, see the detailed documentation page.
Each plugin defines its own properties that are documented on the below pages:
FAQ and Troubleshooting
To Go Further...
Browse the detailed documentation page on how to run an analysis of a C# solution.
To Go Further
- Metric definitions
- Extending C# coding rules
- C# and SQALE
- Support of preprocessing instructions by the parser
- Branch coverage support
- Rules engine built on the squid parser
- Design metrics such as LCOM4
- Mutation testing using OpenMutate