Home

Awesome

sonar-d-plugin

SonarQube plugin for the D programming language

Installation

Requirements

Instructions

Use

<ul> <li>Create a file called "sonar-project.properties" in your D project's root directory, following the directions <a href="http://docs.codehaus.org/display/SONAR/Analyzing+with+SonarQube+Runner">here</a>. For example: <pre>sonar.projectKey=dscanner sonar.projectName=D Scanner sonar.projectVersion=1.0 sonar.sourceEncoding=UTF-8 sonar.sources=.</pre> </li> <li>Execute dscanner to create a report file. <code>dscanner --report . > dscanner-report.json</code>. Make sure that dscanner-report.json is in the directory specified by "sonar.sources".</li> <li>Run <code>sonar-runner</code> in this directory to upload analysis results to the SonarQube server.</li> </ul>