Category "sonarqube"

Eclipse - Sonar S2629 possible false positive with new String

I'm using latest Eclipse and Sonar plugin In answer for logging there's the following line: log.debug("Request body: {}", new String(body, "UTF-8")); Which

SonarQube - how to run the code analysis again for a project after creating that project

I have created a project and run the code analysis. Later I did some changes in rules and tried to run the code analysis again. But in the UI of http://localhos

How to Code Quality on EXCEL VBA Code in SonarQube or Alternatives?

We've have codebase with VBA/EXCEL. Which SonarQube plugin can analyze VBA inside excel or outside as text file. We can copy VBA to .vba text file if this is po

How to configure sonar.coverage.jacoco.xmlReportPaths for JaCoCo/SonarQube?

SonarQube 7.7 shows the following warning for a Java project analysis: Property 'sonar.jacoco.reportPath' is deprecated (JaCoCo binary format). 'sonar.cover

How can I reduce cyclomatic complexity for the code to be acceptable by sonar

This function is not working as expected in the sonar

Sonarqube gives node.js error while running sonar-scanner

While running sonar-scanner via Jenkins, we are getting the following error message. Jenkins and Sonarqube have been installed in Window Server 2008 OS. I have

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 to fix this? if(us != null){ logger.

SonarQube server can not be reached at http://localhost:9000 with Sonarqube-4.5.1

I have recently setup Sonarqube-4.5.1 on my linux machine ( x86_64 x86_64 x86_64 GNU/Linux ). I am able to start sonar with ./sonar.sh start command. On checkin

SonarQube - how to deactivate inherited rule in quality profile?

Using SonarQube, we wish to create a new quality profile from an existing profile, but deactivate a couple of the rules. The GUI allows us to modify the severit

How can I get the value of inheritance class of other inheritance class in .NET Roslyn API?

Good day, I've been trying to get the value of inheritance class name of other inheritance class in Roslyn API. like below picture, when I'm scanning the 'Face

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 through command given below.

How to disable code coverage in sonarqube since 6.2

Since we updated to SonarQube 6.2 it seems code coverage plugin got merged in the core. It shows red flags everywhere and I can’t find how to turn it off,

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 problem? sonar.sources=./ sonar.exclusions=./u

android:exported needs to be explicitly specified after add SonarQube in build.gradle

I created a simple Hello World project in Android Studio as an example in Jenkins pipeline, it works but I want add SonarQube analysis, so I add follow lines in

SonarQube 3.7 with maven and Jenkins - Maven session does not declare a top level project

Context I'm currently having an issue with sonarqube 3.7 being run by maven via jenkins The project is setup as a maven multi-module project and jenkins is ru

SonnarQube's issue: change code to not construct the URL from user-controlled data

I facing a SonarQube bug and am not able to figure out whats the issue. SonnarQube's issue is, change this code to not construct the URL from user-controlled da