Skip to content

SymphonyOSF/sonar-checkstyle

 
 

Repository files navigation

Sonar Checkstyle

Official announcement of project transfer - https://groups.google.com/d/topic/sonarqube/HXXxOWS_sOs/discussion

Description / Features

This plugin provides coding rules from Checkstyle.

Checkstyle Plugin Sonar Checkstyle Jdk
3.4-SNAPSHOT 5.6.4 7.4 1.8
3.3 5.6.4 7.3 1.8
3.2 5.6.4 7.2 1.8
3.1.2 5.6.4 7.1.2 1.8
3.1.1 5.6.4 7.1.1 1.8
3.1 5.6.4 7.1 1.8
2.4 4.5.2 6.12.1 1.7
2.3 4.5.1 6.4.1 1.7
2.2 4.5.1 6.1 1.6
2.1.1 3.6 5.6 1.6
2 3.6 5.6 1.6

Jdk version depends on checkstyle's and sonar's jdk version:

checkstyle:6.0 use jdk6, checkstyle:6.2 use jdk7, checkstyle:7.0 use jdk8.

sonar:3.6 used jdk6, sonar:4.5 use jdk6, sonar:5.6-latest use jdk8.

Usage

Dowload latest or required version from https://github.com/checkstyle/sonar-checkstyle/releases

Place it your sonar instance to "[YOUR_SONAR_PATH]/extensions/plugins", restart Sonar.

In the quality profile, activate some rules from Checkstyle and run an analysis on your project. checkstlye rules in sonar

Packages

No packages published

Languages

  • Java 59.9%
  • HTML 39.2%
  • Shell 0.9%