Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
NameC# Ecosystem
Latest version2.0 ( 13 November 2012 )
Requires Sonar version3.0 or higher ( check version compatibility )
DownloadCSharpPluginsEcosystem-2.0.zip
LicenseGNU LGPL 3
DevelopersFabrice Bellingard (Twitter) and Alexandre Victoor (Twitter)
Issue trackerhttp://jira.codehaus.org/browse/SONARDOTNT
Sourceshttps://github.com/SonarCommunity/sonar-dotnet
Tip
titleLive example

If you want to see a live example of the capabilities of the C# Ecosystem, you can have a look at the analysis of the MyBatis.Net project on Nemo. You can also check the C# and VB.NET solution on Nemo to see how Sonar can analyse multi-language .NET solutions.

Description / Features

The C# 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 (C# + VB.NET) can be analyzed by Sonar. See documentation and project samples.

Installation

See the C# Ecosystem Installation Guide.

Usage

Running a Sonar analysis

To run a Sonar analysis on a C# solution, it is recommended to use the Sonar Runner. But Maven can also be used to trigger the 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.

Advanced Settings

Each plugin defines its own properties that are documented on the below pages:

  1. .Net Core
  2. C# Core
  3. .Net FxCop
  4. C# StyleCop
  5. .Net Gendarme
  6. .Net Gallio
  7. .Net NDeps

FAQ and Troubleshooting

To Go Further...

Roadmap

  • 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

Change Log

JIRA Issues
anonymoustrue
titleRelease 2.0
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARDOTNT+AND+fixVersion+%3D+%222.0%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.4
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARDOTNT+AND+fixVersion+%3D+%221.4%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.3
renderModestatic
width800
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARDOTNT+AND+fixVersion+%3D+%221.3%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.2
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARDOTNT+AND+fixVersion+%3D+%221.2%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.1
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARDOTNT+AND+fixVersion+%3D+%221.1%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.0
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARDOTNT+AND+fixVersion+%3D+%221.0%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000