Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Use the Coverage tool to provide code coverage when testing applications

by Retired ‎02-16-2010 11:07 AM - edited ‎02-18-2010 11:06 AM (1,849 Views)


This article applies to the BlackBerry® Java™ Development Environment (JDE).


The BlackBerry JDE 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.

For more information on using this tool, see the appropriate BlackBerry Java Development Environment Developer Guide.

Additional Information

For more information, see the coverage_pane.gif and source_code_coverage.gif files

by Developer
on ‎05-31-2011 02:09 AM



link are not working..


Could you update the Link?

Users Online
Currently online: 9 members 2,254 guests
Please welcome our newest community members: