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 use mocha to get unit tests results and istanbul to get code coverage. I'm using grunt to run these tasks. It works fine. I'm also using grunt-sonar-runnerplugin to import these result in sonar. Currently code coverage is imported but that...
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...
jsHint and cssLint can output their results in to standard xml (sjlint.xml and csslint.xml format) file.  Is there a way to display those results with sonar?  What I'm trying to do is to run a jenkins job that will run validations on java script...
We're using ESLint in our company in order to detect errors, that break the build and block the deploy, but we also have some other rules which trigger some warnings in our console.  We want to see those warnings in a timeline, so we'll be ab...
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...
I have a project to analyze which is only based on Angular framework. The main issue I have is that both source and test files are on the same directories, divided into features.  Here is an example of my structure:  +- client |   +- features |   |...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.