Coverage Rules of SonarQube

coverage
(Eliézer Martinez) #1

Hi,

I would like to know the rules that are used to calculate the coverage and how to increase the percentage of coverage.
Thank you.

(G Ann Campbell) #2

Hi,

That’s related to the coverage engine you use. Research in that context/community would be more fruitful.

Broadly, the answer is to write more tests. I’m sure you’re looking for a more nuanced answer, but it’s a broad topic, and also one that’s best researched elsewhere.

 
Ann