Top "Sonarqube" questions

SonarQube is the open source platform, to continuously inspect code quality of applications.

SonarQube: Invoke method(s) only conditionally

The following part of code raises a major bug at SonarQube : "Invoke method(s) only conditionally." How am I supposed …

java logging sonarqube
What is the difference between afferent couplings and efferent couplings of a class?

Code quality metric tool like Sonar does provide the ability to drill down to a class and find out the …

oop sonarqube code-metrics coupling
Error in SonarQube when launching svn blame

I recently upgraded my SonarQube server from 4.5.2 to 5.0.1, then to 5.1 (see edit below). Suddenly, the analysis of a multi-module Maven …

maven svn sonarqube sonarqube-5.0 sonarqube5.1
sonarqube + lombok = false positives

import lombok.Data; @Data public class Filter { private Operator operator; private Object value; private String property; private PropertyType propertyType; } For …

sonarqube lombok
Sonarqube authorization - how to authorize with sonar-maven-plugin when sonar.forceAuthentication is enabled

I've got sonarqube 6.5 with default configs. When sonar.forceAuthentication flag is set to false, I can create and analyse project …

sonarqube authorization sonar-runner sonarqube-scan runner
Directory excluding in sonar-project.properties file doesn't work (for me)

I have excluded the directory in my project properties but sonar doesn't exclude it. Can anyone help me to find …

sonarqube sonar-runner
<sonar.exclusions> in pom.xml (Maven multi-module project) works locally but not on company server

I'm using <sonar.exclusions> in pom.xml to exclude certain packages for unit test code coverage. I have …

java maven jenkins sonarqube
What does the "leak period" mean in sonarQube?

I'm new in SonarQube I started reading documentation but a lot of time a found "The leak period" but I …

java sonarqube sonar-runner
NOSONAR tag to ignore an invalid issue still shows as an issue

I have the below method which is showing a sonar issue saying the method is not used anywhere. @Provides @ObjectMapperAnnotation …

java sonarqube guice sonarqube5.1 sonarqube-scan
sonar maven plugin build error, SonarQube version: null

My jenkins builds just started to fail with this message: [INFO] --- sonar-maven-plugin:2.7:sonar (default-cli) @ cividas-core-web --- [INFO] artifact com.…

maven jenkins sonarqube sonar-maven-plugin