groupe-sii / sonar-web-frontend-plugin

Sonar plugin to add metrics for web technologies (JS, CSS, HTML, SASS, AngularJS...)
Apache License 2.0
115 stars 26 forks source link

Does the plugin shows structure for TS projects? #33

Open bootrider opened 8 years ago

bootrider commented 8 years ago

I have a NETcore project that includes TypeScript modules. I was trying to get the stats from this projects and show them at sonarqube instance. I installed the plugin and execute the runner.

The plugin allows me to see the coverage, and issues in my TS code, but I am no able to see the the information regarding the structure.

aurelien-baudet commented 8 years ago

Hello,

It depends on the version of Sonar. With Sonar up to 4.5.7, it will show metrics on files. But since Sonar 5.x, the way to write plugins has totally changed. Sonar has made things more complicated for plugins. We can't anymore provide simple metrics on files (number of lines of code, number of lines of comments...), we have to provide a full language parsing. That's why we currently don't fully support Sonar 5.x.

We will update our plugin to make it work with Sonar 5.x

bootrider commented 8 years ago

I'm running sonar version 5.3