Top "Sonarqube" questions

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

GC overhead Limit exceeded while running sonar runner

I am getting OutOfMemoryException while performing sonar analysis on my project. Below is the stack trace: 14:55:55.433 DEBUG - Release semaphore …

java memory-management garbage-collection sonarqube findbugs
Sonarqube scanner report upload error 500

When every I create a new project with SonarQube project properties, I get this error: 04:13:57.939 DEBUG: Upload report 04:14:11.533 DEBUG: POST 500 …

sonarqube sonarqube-scan
How to skip a sub module in a sonar analysis in a multi module java project

I have a multi module Maven project. I need to exclude one of the sub module from sonar anlaysis. I …

sonarqube sonarqube-5.0
Reduce Cyclomatic Complexity of Switch Statement - Sonar

I want to reduce cyclomatic complexity of my switch case my code is : public String getCalenderName() { switch (type) { case COUNTRY: …

java switch-statement sonarqube cyclomatic-complexity
How can we ignore some SonarQube rules in Java?

We recently started using SonarQube. We have found some rules that are suggested by SonarQube but we want to ignore …

java sonarqube rules sonar-runner sonarqube-scan
SonarQube jenkins asks for login and password

I am trying to anaylse my maven project through jenkins pipeline. I have configured my SonarQube server instance in global …

sonarqube sonarqube5.1
SonarQube Findbugs "needs sources to be compiled"

I am trying to get SonarQube findbugs working, but when I try to run it I get the error: "Findbugs …

java sonarqube findbugs
findbugs is objecting to anonymous inner class

This code: Set<Map.Entry<String, SSGSession>> theSet = new TreeSet<Map.Entry<String, SSGSession&…

java findbugs sonarqube
What is "projectkey" in sonar-project.properties file

What is the "projectkey" in sonar-project.properties file? sonar.projectKey= sonar.projectVersion=1.0 sonar.projectName= How to decide the projectkey? I …

sonarqube sonar-runner
JaCoCo coverage is missing

I've been working on this for hours, and every solution I've tried that I've found online makes no difference. I …

maven sonarqube jacoco maven-surefire-plugin jacoco-maven-plugin