Code Coverage
The µVision3 debugger provides a code coverage function that marks the code that has been executed. In the debug window, lines of code that have been executed are marked green in the left column. You can use this feature when you test your embedded application to determine the sections of code that have not yet been exercised.

The Code Coverage dialog provides information and statistics. You can output this information in the Output Window – Command page using the COVERAGE debug command.
Related Knowledgebase Articles