Understanding the coverage tool
This is an introduction to the code coverage tool.
The coverage tool built in the runtime system allows you to collect information about source code execution.
With the coverage tool, you can:
- Identify dead code that is never executed, or make sure that important code is really executed.
- Find what lines of code are executed many times, to optimize your programs.
For each line of code, the tool reports the number of times it has been executed, if it has never been executed, or if it is not reachable at all.
Important: The output format of code coverage tool is for debug purpose only and can
change in next product releases.