We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest. Update Here
Stay in the loop with the latest from Microchip. Update your profile while you are at it. Update Here
Complete your profile to access more resources. Update Here

MPLAB® Code Coverage

Embedded Test Coverage With MPLAB Code Coverage


Measure how well your code is tested using MPLAB Code Coverage. This tool is available in all MPLAB XC Compilers and is fully integrated into MPLAB X IDE. Visual coverage tools help you quickly identify tested and untested code, and archivable reports make it easy to document and share results, which helps build confidence in your application testing process without hassle.

With minimal impact to code size and execution speed, testing can be completed in a single execution pass. Powerful, intuitive tools permit quick navigation of coverage results within MPLAB X IDE for smooth transitions between test suite development and analysis. Summary views offer configurable dashboards of critical results, and custom reports can be generated in HTML and CSV formats with selectable content to meet your specific quality certification needs. 

MPLAB Code Coverage requires MPLAB X IDE v5.25 or higher and one of the following MPLAB XC Compiler versions or higher:

MPLAB XC8 v2.10

MPLAB XC-DSC v3.00

MPLAB XC32 v2.30

Functional Safety Support


MPLAB Code Coverage is supported by the functional safety versions of the MPLAB XC Compiler family, including:

• MPLAB XC8

• MPLAB XC-DSC

• MPLAB XC32

The TÜV SÜD-assessed functional safety documentation package includes MPLAB Code Coverage Functional Safety documentation for supported compiler releases. Refer to the compiler product pages for current version information.

Live Chat

Need Help?

Privacy Policy