-
Book Overview & Buying
-
Table Of Contents
Sonar Code Quality Testing Essentials
By :
The coverage cloud component provides information in a quick and efficient way. Java classes are represented as tags a in tag cloud, while tag colors and font sizes correspond to different metrics depending on the selected mode: Quick wins or Top risk.
To view the coverage cloud, visit the dashboard of a project, click on the link Clouds from the menu on the left, and set the Color property to Coverage. The following screenshot shows the coverage cloud for the Apache Commons library. Mouse over a class to get metric values or click on its tag to open it in the Sonar source viewer.
![]() |
In Quick wins mode, the coverage cloud represents:
Font size: Total lines of code
Color: Code coverage ranging from red (0 percent) to blue (100 percent)
In Top risk mode, the coverage cloud represents:
Font size: Average complexity/method (absolute value)
Color: Code coverage ranging from red (0 percent) to blue (100 percent)
The...
Change the font size
Change margin width
Change background colour
