Message-ID: <1228867964.26545.1408525547961.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_26544_517682223.1408525547961" ------=_Part_26544_517682223.1408525547961 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Java plugin is used to monitor the quality of Java within SonarQube.=
With additional plugins= , you can activate rules from Checkstyle, Fi= ndBugs, PMD, Clirr, and fb-contrib. However, we highly recommend that y= ou limit your Quality Profiles<= /a> to from the SonarQube engine because we believe they are faster, m= ore accurate (fewer false positives and false negatives), and more usable (= they have better descriptions, etc). Read this blog post for more deta= ils.
If your Quality Profile contains rules from the SonarQube engine or Find= Bugs rules, then byte code will be required by the analysis. This Java= Ecosystem is able to analyse any kind of java source files whatever is the= version of Java they comply to.
By default the Java plugin is provided with SonarQube. You can upda= te it from the Update Center&n= bsp;or download the latest release from this page header. Don't forget to c= heck the upgrade notes.
To run an analysis of your Java project, you can use the following analyzers:
Note that you must provide both source code and compiled byte code if th= e Quality Profile in use contains either SonarQube-native rules, or FindBug= s rules.
To deal with unit tests and code coverage, see Code Coverage by Unit T= ests for Java Project tutorial.
To deal with integration tests and code coverage, see Code Cove= rage by Integration Tests for Java Project tutorial.
It is no longer possible to let SonarQube drive the execution of the uni= t tests. You now have to generate the JUnit and code coverage (JaCoCo or Cobertura or = Clover) reports prior to the SonarQube analysis and then feed SonarQube= with those reports.
All the valuable rules from PMD and Checkstyle were rewritten based on o= ur own SSLR technology. These rule= s are now available in the SonarQube repository. Deprecated rules from PMD = and Checkstyle are flagged as so and their replacement is stated in the rul= e description:
sonar.surefire.reportsPathhas been removed = and replaced by