At the moment the duplication metric for JavaScript Code in SonarQube code is defined as followed:  “There should be at least 100 successive and duplicated tokens. Those tokens should be spread at least on 10 lines of code.”   Is there a way to c...
I am trying to access SonarQube API through Fetch but it doesn't seem to be responding with any results. It just resolves with an opaque token.  Let me share what I have done so far:  fetch("http://localhost:9000/api/issues/search?pageSize=50...
I would like to disable a block of code(say a function) in a file for analysis by SonarQube... Any suggestions on how to do that..   I found something for java here --> Turning Sonar off for certain code...
We have a Jenkins job that contains a bunch of javascript files. We build our project via grunt, and at the end of the build we run JSCover to run our unit tests and collect code coverage.  It all works.  We get a nice LCOV file.  We now want to uplo...
Initial post  I use several tools for my Continuous Integration :   Maven 3.0.4 Sonar 3.3 Sonar Web Plugin 1.2 Sonar Javascript Plugin 1.1 Jenkins 1.486   Everything works fine for Java projects and XML projects.  I'm having trouble with Javascri...
I'm using SonarQube for my angularJS app.  I'm having issues because Sonar detects that my controller, which is a function, has a number of lines too important (more than 100) and a number of parameters (more than 7) too important also.  As c...
The image above shows the SonarQube coverage for one of my folders, but if you take the average of the percentages of all files in that folder, it will amount to 49%, yet SonarQube will display 31.4%. If not by taking averages, how does SonarQube c...
I am working on a requirement where we need to generate issues reports and export them in excel. The number of issues that are generated in the project exceed the limit of 10,000 records that are allowed by sonarqube API. I want to get all the issues...
In my project there is sonar scanner which is analyzing only *.js files (probably there is such configuration or so on). Also I have istanbul code coverage which generates a perfect lcov file with the results.   This lcov file has references to *.ts...
I am trying to analyse My MVC Project to sonar-Qube.   My Sonar-Qube version is 5.3 & MSBuild runner version is 1.1. My Visual Studio Version is 2013  The MVC project is new and only contains code that comes default when you create the project. a...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.