Coverage Rules of SonarQube


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


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.