Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
.ci
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

sonar-checkstyle vulnerabilities

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.

Compatibility matrix from Sonar team: https://docs.sonarqube.org/display/PLUG/Plugin+Version+Matrix

Compatibility matrix from checkstyle team:

Checkstyle Plugin Sonar min Sonar max Checkstyle Jdk
8.37 7.9 7.9+ 8.37 1.8
8.35 7.9 7.9+ 8.35 1.8
4.34 7.9 7.9+ 8.34 1.8
4.33 7.9 7.9+ 8.33 1.8
4.32 7.9 7.9+ 8.32 1.8
4.31 7.9 7.9+ 8.31 1.8
4.30 7.9 7.9+ 8.30 1.8
4.29 7.9 7.9+ 8.29 1.8
4.28 7.9 7.9+ 8.28 11
4.27 6.7 7.7+ 8.27 1.8
4.26 6.7 7.7+ 8.26 1.8
4.25 6.7 7.7+ 8.25 1.8
4.24 6.7 7.7+ 8.24 1.8
4.23 6.7 7.7+ 8.23 1.8
4.22 6.7 7.7+ 8.22 1.8
4.21 6.7 7.7+ 8.21 1.8
4.20 6.7 7.7+ 8.20 1.8
4.19 6.7 7.7+ 8.19 1.8
4.18 6.7 7.7+ 8.18 1.8
4.17 6.7 7.5 8.17 1.8
4.16 5.6.6 7.2 8.16 1.8
4.15 5.6.6 7.2 8.15 1.8
4.14 5.6.6 7.2 8.14 1.8
4.13 5.6.6 7.2 8.13 1.8
4.12 5.6.6 7.2 8.12 1.8
4.11 5.6.6 7.2 8.11 1.8
4.10.1 5.6.6 7.2 8.10.1 1.8
4.10 5.6.6 7.2 8.10 1.8
4.9 5.6.6 7.2 8.9 1.8
4.8 5.6.6 7.2 8.8 1.8
4.7 5.6.6 7.2 8.7 1.8
4.6 5.6.6 7.2 8.6 1.8
4.5 5.6.6 7.2 8.5 1.8
4.4 5.6.6 7.2 8.4 1.8
4.3 5.6.6 7.2 8.3 1.8
4.2 5.6.6 7.2 8.2 1.8
4.1 5.6.6 7.2 8.1 1.8
4.0 5.6.6 7.2 8.0 1.8
3.8 5.6.6 7.2 7.8.2 1.8
3.7 5.6.6 7.2 7.7 1.8
3.6.1 5.6.6 7.2 7.6.1 1.8
3.6 5.6.4 7.2 7.6 1.8
3.5.1 5.6.4 7.2 7.5.1 1.8
3.5 5.6.4 7.2 7.5 1.8
3.4 5.6.4 7.2 7.4 1.8
3.3 5.6.4 7.2 7.3 1.8
3.2 5.6.4 7.2 7.2 1.8
3.1.2 5.6.4 7.2 7.1.2 1.8
3.1.1 5.6.4 7.2 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-7.8 use jdk8, sonar:7.9-latest use jdk11.

Usage

Install it from Sonar Update Center: Sonar Update Center

or do it manually: Dowload latest or required version from https://github.com/checkstyle/sonar-checkstyle/releases . Place jar file to 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

You can’t perform that action at this time.