LOGIN
Sign In or Register
Avatar
Not Registered Yet?

Join Now! It's FREE. Get full access and benefit from this site

Reset My password - Remind Me My username

Username
Password
Remember me

Know About SonarJava! Is it replacement for Checkstyle, PMD, FindBugs?

Know About SonarJava! Is it replacement for Checkstyle, PMD, FindBugs?
SonarJava has a great coverage of well-established quality standards. The SonarJava capability is available in Eclipse and IntelliJ for developers (SonarLint) as well as throughout the development chain for automated code review with on-premise SonarQube or on-line SonarCloud.
 
SonarJava is a code analyzer for Java projects. Information about the SonarJava features is available below;
 
Why SonarJava?
SonarQube is currently on the way to deprecate PMD, Checkstyle and Findbugs and use their own technology to analyze Java code (called SonarJava). They do it, because they don't want to spend their time fixing, upgrading (or waiting on it) those libraries (e.g. for Java 8), which for example uses outdated libraries. Well at least since SonarQube 6.3+ it seems to be that Findbugs is (at the moment) no longer supported as a plugin.
 

Features
409+ rules (including 103+ bug detection, 273 Code Smells, 33 Vulerabilities)
Metrics (complexity, number of lines etc.)
Import of test coverage reports
Custom rules
 
SonarJava is being used in the following...
SonarQube
SonarCloud
SonarLint for Eclipse 
SonarLint for Intellij IDEA
 
Supported versions, frameworks and special analyses...
Java language versions through 8
Frameworks Struts, Spring, Hibernate
Native integration with Maven, Gradle, and Ant
 
Metrics
Code Coverage by Tests: SonarJava supports the import of JaCoCo and Cobertura test coverage reports.
 
Custom Rules
SonarJava supports custom rules written in Java.
 
Reference
https://github.com/SonarSource/sonar-java
https://www.sonarsource.com/products/codeanalyzers/sonarjava.html
https://docs.sonarqube.org/display/PLUG/SonarJava
 
Rate this item
(3 votes)
Rajesh Kumar

.

Total, Over 12 years of extensive experience in the Software Configuration Management domain having depth knowledge of DevOps, Continuous Integration and Delivery, Configuration Management, Build and Installer, Release Management and Application Management.