Test Coverage

What is it?

What percentage of a given class / file is covered by unit tests.

Why care?

Low coverage means that something isn't tested entirely.

Digging into the coverage data

Sonar has a list of packages and files and the percentage of covered code it contains. Clicking on one of the files will show you the places where coverage is not sufficient.

Learning more