Message-ID: <1653714218.89549.1397801097300.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_89548_932714753.1397801097300" ------=_Part_89548_932714753.1397801097300 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
|Lates= t version||2.1= strong> ( 25 march 2014 )|
|Requi= res SonarQube version||4.2= strong> or higher ( check version compatibi= lity )|
|Licen= se||GNU LGPL 3|
|Sourc= es||https://github.com/SonarSour= ce/sonar-java|
The Java Ecosystem is a set of plugins used to monitor the quality of Ja= va projects within SonarQube.
On top of the coding rules provided by the SonarQube engine, you can act= ivate rules from Checksty= le, FindBugs, = PMD, Clirr, and fb-contrib. However, we highly recommend that you limit your Quality Profiles to from = the SonarQube engine because we believe they are faster, more accurate (few= er false positives and false negatives), and more usable (they have better = descriptions, etc). Read this blog post for more details.
To run an analysis of your Java project, you can use the following analyzers:
must be located in the following director= y: [mySourceDirectory]/com/mycompany/mypackage/MyClass.java. = Otherwise you would get an error like below while running your analysis:
The default code coverage engine for unit tests can be set in Se= ttings > General Settings > Java > Code coverage plugin property.=
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.
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