Questions tagged [sonarqube-scan]

SonarQube Scanners run the analyzers on code. Use this tag for questions related to any of the scanners: SonarQube Scanner for CLI, Maven, Gradle, Jenkins, etc.

1464 questions
-1
votes
1 answer

failed to connect to 127.0.0.1:9000. connection refused

I have concourse , sonarqube server running inside containers and when i am trying to connect to sonarqube server using concourse, it is showing me error i.e SonarQube server [http://localhost:9000] can not be reached
Devanshu
  • 33
  • 1
  • 7
-1
votes
1 answer

Why am i getting Sonarqube 'License Corrupted' error?

I am getting 'License for vbnet is corrupted' error, while running analysis on vb.net project . Can you please help why am i getting this error ?
Raq
  • 433
  • 1
  • 7
  • 20
-1
votes
1 answer

How to setup project level permissions in sonar

Sonar Server 6.7.1. I have following queries wrt how permission works in SonarQube 1. How to enable window NT authentication on sonar portal. I believe by default it is open to everybody, no authentication. Using sonar admin account I can create…
Atul Sureka
  • 3,085
  • 7
  • 39
  • 64
-1
votes
1 answer

How to check array visit may out of bounds using sonarqube?

How to check array may out of bounds using sonarqube ? There is nothing about this in existing rules. Custom rule ? I want to find array visit without index check. Noncompliant Code Example String[] spiltResults = chatString.split(ch); result =…
JasonW
  • 495
  • 1
  • 5
  • 14
-1
votes
1 answer

how to get bug count from every file of the project in sonarqube

if anybody knows please give me sql query or idea, I am not able to find common thing for getting bug count from projects_measures and projects table.
Ankit Patel
  • 31
  • 1
  • 6
-1
votes
1 answer

sonarqube:SonarQube Scanner 2.3 for Visual Studio 2017 Builds

one of our feature teams who is using SonarQube since long and they are now getting issues when they upgrade to VS 2017,To support SonarQube for scanning in VSTS build, we need the task updated with SonarQube 2.3 or higher to support along with VS…
-1
votes
1 answer

how to install SonarQube Scanner for MSBuild?

this one seems trivial, but when I try to follow the Link at Step 3 here: https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+MSBuild (Download the latest version of the SonarQube Scanner for MSBuild), I land on the same…
Tim
  • 17
  • 1
  • 3
-1
votes
1 answer

Sonar integration tests againts java classpath jars

I´m having a module C which contains a jar files from modudle A and B I´m running a java process with CP java -cp A.jar B.jar Main.class and I´m running some integration tests. Then a jacoco-it.exec file it´s created in C module, but I´´m afraid…
paul
  • 12,873
  • 23
  • 91
  • 153
-1
votes
1 answer

In SonarQube I cannot view code after running the agent

After running sonar scanner I cannot see source code of git repository. The project and scan completes successfully. Are additional configuration parameters required other than in the configuration where the git repository is located to see the…
MacroService
  • 77
  • 3
  • 8
-1
votes
2 answers

SonarQube: Coverage on New Code not calculated for RTC

I originally sent a question about incremental code coverage not working. The coverage was not being calculated and I found out I need to enable the SCM integration for that (i.e. uploading the results straight from Maven locally was not enough). I…
MisterStrickland
  • 947
  • 1
  • 15
  • 35
-1
votes
1 answer

How static code analysis works

I am new to SonarQube. I have few questions on SonarQube-DevOps implementation: When to use SonarQube in DevOps. Before build gets started or after build? Will SonarQube Static Code Analysis be performed on Java files or on class files?
vishwa
  • 1
-1
votes
1 answer

Sonar runner execution Failure

I'm running SonarQube analysis in preview mode, and i get the error below. However, when I run the full analysis it is successfully completed. Anyone know how to fix this? SonarQube: 4.5.6 Sonar Runner: 2.4 ERROR: Error during Sonar runner…
Anudeep
  • 21
  • 1
  • 5
-1
votes
1 answer

Error during SonarQube Scanner execution

I'm running sonar-runner inside my project folder I have put and configured the sonar-runner.properties in my project as well. But still the execution Sonar failed. Any idea as to what could be the problem ? If project configuration…
Vijay Anand
  • 1
  • 1
  • 1
  • 3
-2
votes
1 answer

SonarQube: Remove the extra characters before the open tag

I have this code in my file index.phtml. This code is a part of a page:

blablablablablablablabla blabla blabla

fatma_wings
  • 113
  • 1
  • 15
-2
votes
1 answer

Sonar scanner failing with sonar.binaries and sonar.libraries are not supported

My Sonarqube scanner is throwing below error, I am using Sonarqube-5.6.6, Sonar Plugin 2.3 and Jenkins version is 1.625 & Java 8. Kindly help me understand what the error is pointing to and how to fix the issue. Failed to execute goal…
1 2 3
97
98