sonarqube Questions
4
Solved
I'm trying to integrate my maven project with SonarQube but when I try to run
mvn sonar:sonar -Dsonar.host.url=http://localhost:9000 -X
I'm getting this error
[DEBUG] 13:09:55.647 Create: /User...
Basrhin asked 4/12, 2019 at 6:0
6
Solved
I have a gitlab-ci integration that require a sonar analysis and if the quality gates pass, to build a docker image.
Is this possible using gitlab-ci ?
Nerve asked 20/5, 2017 at 13:28
2
Solved
We have a large application and we have added the TODO rule to SonarQube quality gates that throws errors when TODO comments are found.
This encourages developers to remove TODO comments, which is ...
2
I'm having random problems during my build process in TeamCity. I've got two configurations: First for Rebuild + Unit test. Second as artifact dependency, with SonarQube analyzer. When Teamcity is ...
0
I have the below code, which is a button tag inside that I have a icon inside tag
( previously I added tag to show the icon, but then had to change to because there was a SonarQube code smell issue...
Hispanicize asked 29/8 at 19:25
4
Solved
We use gradle 3.3 and jacoco tool verson 0.7.6.201602180812.
We have a gradle multi-project like this:
parent
prod1
prod2
prod3
int-test
We use unit-tests testing the project sources and ja...
Rust asked 2/1, 2017 at 15:58
2
Solved
Our SonarQube often raises the following issue (Code Smell) on our code: "Parameter names used into ArgumentException should match an existing one". Here is the rule that triggers this issue.
An e...
2
Solved
I have integrated SonarQube and Checkmarx SAST and SCA into the Azure DevOps build pipeline. I am able to see both the SonarQube and Checkmarx reports without any issues.
I have the following...
Dustindustman asked 20/5, 2022 at 6:15
2
I am running the sonar scanner for my project with (-Dsonar.sourceEncoding=UTF-8) but I am getting the following error.
INFO: SonarQube Scanner 3.2.0.1227
INFO: SonarQube server 8.9.7
INFO: Default...
Grosmark asked 3/5, 2022 at 12:44
5
I use jacoco for coverage report. When I look at the jacoco report, coverage seems to be good. But in Sonarqube, the coverage is low because it says that @Dataannotation from lombok is not cover by...
Pyrites asked 8/8, 2017 at 13:0
7
Solved
After upgrading my POMs to sonar-maven-plugin:2.7 the configuration does not work any more. My configuration in settings.xml is like this:
<profile>
<id>sonar</id>
<properti...
Blemish asked 23/10, 2015 at 7:31
5
Solved
I am using sonarqube from command line. I have a local server (sonarqube 64) on my windows 7 (x86-64). I successfully installed and I can open the web host http://localhost:9000/. but I cannot logi...
Obadias asked 19/7, 2017 at 14:2
6
Solved
I'm trying to install SonarQube : i ve followed those steps :
Setting up SOnarQube Tuto : here
To summarize it :
Downloading Sonar and moving it to /opt/sonar
adding those coonfig steps to /opt...
Edmanda asked 9/12, 2017 at 17:17
2
I'm adding SonarQube to existing TFS 2018 builds. I was following the directions for downloading Community Edition 7.4 located here https://docs.sonarqube.org/display/SCAN/Install+the+SonarScanner+...
Zoroaster asked 27/11, 2018 at 22:28
5
I want to have a clean project. So I used Sonar to detect potential defects, ...
On the below method, Sonar asks to : Use try-with-resources or close this "Connection" in a "finally" clause..
pri...
4
I'm trying to run SonarQube on a project in java. I configured the sonar properties file and placed it in the project directory. On running the sonar.bat there is an error that asks to define the m...
Adali asked 29/9, 2014 at 4:55
3
Solved
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=./utility/Excel/**
Biliary asked 24/8, 2016 at 6:9
7
I am using SonarQube 5.6.3. How can I create a SonarQube analysis details report as a PDF form, an excel report, or an html formatted report?
No plugin seems to be available for this.
I was unabl...
Gehman asked 12/1, 2017 at 10:26
7
In my application I have a ApplicationConstants.java class that serve for String Constants used in the application.
I have public static final String PASSWORD = "password" as one of the constant. S...
5
Solved
Is there any way to disable certain metrics from selected packages in Sonar? I use Sonar to analyze my project and in Entity and DTO packages I have some code that is equal - the same field ID with...
Darleen asked 18/6, 2012 at 8:22
9
sonarqube 5.5
several Java projects, all have permission set to anyone can execute analysis.
use mvn sonar:sonar to run analysis
Other projects work fine without error.
One project was found to n...
Nolasco asked 20/7, 2016 at 19:13
9
Solved
I am working on fixing issues caught by sonar on a very old Java project(8 years old approximately ).
It is a huge project with a lot of faulty code that is caught by sonar.
Although they are...
Parsee asked 11/12, 2013 at 13:6
4
I am getting a lot code smells from lombok generated code in Sonar. F.E.:
Method Dto.hashCode() stores return result in local before immediately returning it
Dto.equals(Object)
is excessi...
1
After implementing logging functionality in a microservice, I sent the code thought a SonarQube code-check. SonarQube keeps warning me about a safety issues regarding loggers. I tried several thing...
Lavernalaverne asked 11/6, 2020 at 9:23
5
Solved
We recently started using SonarQube. We have found some rules that are suggested by SonarQube but we want to ignore them or give them a low priority and even configure the time suggested by SonarQu...
Minnie asked 23/8, 2016 at 19:26
1 Next >
© 2022 - 2024 — McMap. All rights reserved.