The Integrated Development Environment (IDE) for BlackBerry includes a Coverage tool that displays a summary of the lines of code that have been run during a debugging session. This is particularly useful when designing and running test cases, because the developer can see exactly what has been tested.
The coverage pane displays a hierarchical view of packages, classes, methods and the percentage of code that has been run in each area. Double-click a specific method to open the source code at this location. Green bars indicate that the source code was run, while red bars indicate that the source code was not run.
Refer to the BlackBerry JDE Developer Guide for more information on using this tool.