Must-share information (formatted with Markdown):
- Sonarqube 7.9.1
I’m using this API
to get sonarqube stats for a file so I can group the stats.
Sometimes files don’t include the ncloc parameter but return a valid coverage value.
The files this occurs on are definitely source files and not generated files.
Is this a bug?
p.s. asking for generated_ncloc return 0 for that value as expected. But ncloc is missing…
p.p.s. hmm…asking for “lines” returns a number. The file has no comments…this is probably a bug IMHO. I can use lines if ncloc is null/missing.
p.p.p.s., our internal Sonarqube supports noticed the reason why…Kotlin files w/ trailing commas aren’t supported in Sonarqube 7.9.1