Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
  • product video
product primary image

MPLAB Code Coverage

Part Number: SW006026-COV

Summary:

The MPLAB Code Coverage Tool is an easy way to measure code coverage. Simply enable the feature in MPLAB X Integrated Development Envinronment (IDE), build, program, test your application and read the Microcontroller (MCU). The MPLAB Code Coverage tool quickly displays which lines of code have executed and which ones have not. Unlike other solutions, it runs untethered and self-contained so no

View More
Documents and Software
Overview
Features
Additional Resources
Related Tools

Additional resources data currently not available.

Documents and Software

Product Features

    Runs Untethered
    • No bulky cables or fragile wires
    • No hardware modifications needed

    Minimal Impact to Program Memory and Execution Speed
    • Adds <1% typically to code size
    • Full analysis can be done in a single execution pass

    Fully Integrated into MPLAB X IDE
    • Source code lines highlighted to show which lines executed or not
    • Navigation tools quickly move between files and functions

    Configurable Summary View
    • Dashboards quickly indicate key metrics
    • Sortable, collapsible list of statement and instruction coverage
    • Coverage percentage
    • Number of executed and total lines

    Custom Reports
    • Output source files view and summary view information
    • User-selectable content
    • Multiple output formats; HTML or CSV

    MPLAB XC Compiler Compatible
    • One license works for any MPLAB XC Compiler, with or without an MPLAB XC PRO license
    • Available as a workstation license

    Cost Effective
    • Better performance, simpler solution at a fraction the cost of competitor offerings
    • Perpetual license with free version upgrades

Summary

The MPLAB Code Coverage Tool is an easy way to measure code coverage. Simply enable the feature in MPLAB X Integrated Development Envinronment (IDE), build, program, test your application and read the Microcontroller (MCU). The MPLAB Code Coverage tool quickly displays which lines of code have executed and which ones have not. Unlike other solutions, it runs untethered and self-contained so no need to add clumsy cabling or fragile wires. With minimal impact to code size (<1%) and execution speed, testing can be completed in a single execution pass, avoiding expensive test hardware with a larger MCU. 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. Custom reports can be generated in HTML and CSV formats with selectable content to meet your specific quality certification needs. MPLAB Code Coverage builds confidence in your application testing process without the hassle.

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

System Requirements