Most voted "sonarqube" questions
11 questions
Sort by count of
-
3
votes2
answers2488
viewsTest coverage using Sonar
I wonder if anyone there has ever used the Sonar to do coverage analysis of tests, I have the following problem, I have two projects. Project A: It is implemented my tests using Selenium + Testng…
testing integration continuous-integration selenium sonarqubeasked 10 years, 3 months ago guilhermeNatan 33 -
3
votes2
answers384
viewsCode Review at compilation time
I need to do an automatic Code Review on my codes. We used the Jenkins that triggers the compilation with some other validations every day, but at non-commercial times. As the project is very…
-
3
votes1
answer136
viewsRefactoring Sonarqube code
What could I do to improve this code? Sonarqube indicates that I should refactor this code, but does not present any suggestions: var dados = Set.Where(s => s.Id > 0); if (filtro.IdSolicitacao…
-
1
votes0
answers174
viewsSonarlint bind Sonarqube
I have Sonarqube in version 6.2 installed on a server. On my computer I have Eclipse Neon.2 Release (4.6.2) installed. Through Eclipse Marketplace, I installed Sonarlint 2.6.0 in Eclipse. In the…
-
1
votes2
answers75
viewsSonar: Validate changes from a given date
I use Git integrated with Team Foundation Server. The idea is to place Sonar as a step in TFS to stop the build as per the established rule. I need to know if it is possible for Sonar to apply the…
-
1
votes1
answer136
viewsSonar + Maven + Jenkins integration
Good morning, everyone, I am setting up an integration server using Jenkins + Maven + Sonar Quebe, but I have the following scenario: 1 - If junit tests fail, Maven stops deploying the application.…
-
1
votes1
answer45
viewsRead timed out when running Sonarscanner using Jenkins
During the execution of an analysis of the Sonarscanner integrated into the Jenkins, the following message is required on console output: INFO: EXECUTION FAILURE INFO:…
-
0
votes0
answers133
viewsSonar-Runner does not use files
I installed the local sonar in my Ubuntu and I’m trying to raise some figures for it. I set up the sonar-project properties. as follows: sonar.projectKey=your:project-key sonar.projectName=Project…
-
0
votes0
answers38
viewsBundleconfig Class Registerbundles method without absolute paths or fixed Uris
If I am here it is because I have not been able to find at the moment something exact or that satisfies my problem. Let me explain: I’m using the SONARQUBE or just SONAR for code evaluation, error…
-
0
votes2
answers39
viewsHow to solve Sonarqube’s criticism: Read of unwritten field Connector
In my class in the method findRecursosMensagem() Sonarqube makes a criticism, but I did not understand what should be corrected. Could help me understand what must be done? public class…
-
-1
votes1
answer19
viewsWhen and how to use @Value Spring Boot?
Hello! I am doing the validation of vulnerabilities pointed out by Sonarqube in an API, and Sonar presented the following problem for the variables and objects: With the following suggestion for…