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...
We are trying to make a SonarQube code coverage report for our angular application. We have used Karma to generate a code coverage report and import it into SonarQube analyzer.   The SonarQube already has C# coverage for our project, now we want to a...
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, and we get a bunch of...
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...
What is the difference between coverage_exclusions vs exclusions in sonar? example:  "sonar": {     "exclusions": "gulpfile.js, ...",     "coverage_exclusions": "gulpfile.js, ..., server/models/*.js",     "...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.