Cobertura
In short
Cobertura is a code coverage tool used in Java development to measure how much of a program's source code is executed during testing.
In plain words
It tracks which lines of code your tests actually touch. This helps developers see if they have missed testing important parts of their software.
A simple example
If you write a function with an 'if' statement but only test the 'true' path, Cobertura will show that the 'else' path was never run.
Why it matters
It helps ensure software is reliable by highlighting untested gaps. High coverage reduces the risk of hidden bugs appearing in production.
Easy to mix up
Do not confuse it with general software coverage, which might refer to market share or network signal strength.