Showing Code Coverage Using the MPLAB® X IDE Simulator Webinar | Videos
Showing Code Coverage Using the MPLAB® X IDE Simulator Webinar
When testing a program, it is important that all parts of your code have been tested. Statements, expressions within statements, or assembly sequences generated from C source that have not been executed during testing could have side effects that might disrupt the operation of your code once it is released. The MPLAB X IDE simulator has a code coverage tool that can complement your testing regime by showing you which parts of your program have not been executed.
http://www.microchip.com/mplab/mplab-x-ide