Code Coverage
Code coverage marks code that has been executed. Code coverage helps to ensure you have thoroughly tested your application and helps you tune your testing strategy.
Lines with no code are marked with a grey checked block.
Unexecuted lines (instructions) are marked with a grey block.
Fully-executed lines (instructions) are marked with a green block.
Branches that have been taken are marked with a blue block.
Branches that have been skipped are marked with an orange block.
The next line to execute is marked with a yellow arrow.
The Code Coverage button on the toolbar toggles display of the Code Coverage dialog which shows you the percentage of instructions in your program that have executed.

You may save and restore coverage statistics for multiple debug sessions using the command line in the Output Window.
Note
- The Code Coverage feature is only availabe when using µVision Device Simulation.
It is not available when debugging in target hardware.