Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 93 Next »

The C# plugins ecosystem is a set of Sonar plugins used to monitor the quality of .NET software written in the C# language.

Below are the main steps to quickly get started.

You will find the links to the rest of the documentation at the end of this page.

 

Live example

Icon

If you want to see a live example of the capabilities of the C# plugins ecosystem, you can have a look at the analysis of the MyBatis.Net project on Nemo.

 

 

NameC# Plugins Ecosystem
Latest version2.0 ( 13 November 2012 )
Requires Sonar version2.11 or higher ( check version compatibility )
Downloadhttp://repository.codehaus.org/org/codehaus/sonar-plugins/sonar-runner/2.0/sonar-runner-2.0.zip
LicenseGNU LGPL 3
DevelopersFabrice Bellingard (Twitter) and Alexandre Victoor (Twitter)
Issue trackerhttp://jira.codehaus.org/browse/SONARPLUGINS/component/14640
Sourceshttps://github.com/SonarCommunity/sonar-dotnet

 

 

Name

C# Plugins Ecosystem

Authors

Fabrice Bellingard (Twitter) and Alexandre Victoor (Twitter)

Jira

http://jira.codehaus.org/browse/SONARDOTNT

Latest Version

2.0 (November 13th, 2012)
(check version compatibility )

Requires Sonar

3.0 or higher

License

GNU LGPL 3

Sources

https://github.com/SonarCommunity/sonar-dotnet

Download

CSharpPluginsEcosystem-2.0.zip

1. Install

  1. Check the requirements
  2. Installation and Upgrade
  3. Install the C# plugins
    • Download the ZIP file of the C# Plugins Ecosystem distribution (top right of this page).
    • Copy all the desired plugins of the C# plugins ecosystem in Sonar plugins extension folder.
  4. Install the tools required by the selected C# plugins
    • For instance, Gallio or FxCop
    • Gendarme and StyleCop do not necessarily need to be installed
  5. Check the prerequisites, mainly:
    • Your .NET solution must be compiled

2. Configure

  1. Create a Sonar file for your solution
    • A very simple one can be:

    • Place it in the same folder as the Solution file (".sln")
  2. If you don't want to use the default settings of a plugin, you can override them
  3. You can also use the sample application available from GitHub. Both config flavors are available in this sample. You can choose to use the sonar-project.properties file (recommended) or the maven pom.xml file.

3. Run!

  1. Launch the analysis...
    • Assuming you installed the Sonar Runner, this is as simple as:

  2. ...and check the results!
    • Once the analysis is completed, just open your favorite web browser (http://localhost:9000 if you installed the standalone version)
    • Enjoy!

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

To go further...

Change Log

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

 

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

 

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

 

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

 

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

 

com.atlassian.confluence.macro.MacroExecutionException: JIRA project does not exist or you do not have permission to view it.

  • No labels