Keil Logo

COVERAGE Overview Report

The COVERAGE command displays coverage information for modules or functions in the Command window:

COVERAGE \\example\main.c\main

µVision shows coverage information for the specified module in the Command window.

Example output

\\example\main.c\main - 81% (43 of 53 instructions executed)
    1 condjump(s) or IT-block(s) not fully executed

This corresponds to the output of the Code Coverage window:

Code coverage report for main module

To get coverage information for branches, use the DETAILS option:

COVERAGE \\example\main.c\main DETAILS

Example output

\\example\main.c\main - 81% (43 of 53 instructions executed)
    1 condjump(s) or IT-block(s) not fully executed
         fully taken:  0x000006F6 DC37      BGT      0x00000768                 [line 7]
         fully taken:  0x00000716 D109      BNE      0x0000072C                 [line 8]
               taken:  0x0000074A D109      BNE      0x00000760                 [line 10]

For instruction level coverage information, use the ASM option.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.