Sonarqube support for cross platform mobile app

400 views
Skip to first unread message

tushar jain

unread,
May 3, 2016, 9:04:47 AM5/3/16
to SonarQube
Hi, 

I am trying to integrate cross platform app to sonarqube dashboard. App is developed using angular ionic framework.

We are trying to get Static Code Analysis report as well as Code Coverage report for the same app on sonarqube dashboard

We are using "karma", "jasmine" and "istanbul" for generating code coverage report for .js files in project. And "gulp" is used as a task runner.

It generates code coverage report on local project directory in html format and now we want to integrate it on Sonarqube dashboard with other properties like static code analysis, complexity, duplicate code etc

When I try adding sonar-properties to my project, it gives quality checks but always display 0.0% coverage.

If I add, "sonar.sources=www/js" in sonar.properties, it starts giving coverage on dashboard but in this case it doesn't provide code analysis and other reports like duplication and complexity.

Please guide me with sample example or any property I have to add in configuration.

Regards,
Tushar Jain





   

Teryk Bellahsene

unread,
May 11, 2016, 7:33:32 AM5/11/16
to tushar jain, SonarQube
Hi,

Did you have a look at the Generic Test Coverage plugin? It might help to handle code coverage.

HTH,

Teryk Bellahsene | SonarSource
Software Developer
http://sonarsource.com

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/c0b7b0f1-ece3-4874-8e13-2e038b3d40c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages