It seems like the browser you are using has JavaScript disabled. As a result, the site will not function properly. We really want you to enable it so you may experience our site as we intended it. If you have no idea what we are talking about or if you need help, visit http://www.enable-javascript.com×
This website uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Find out more on our cookie page.×

Oops, it seems like you're using an old browser that we do not fully support. If you're able to, please upgrade your browser here.×
This website uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Find out more on our cookie page.×

Project name and amount of coverage (for example, ccov102_factor [86.67%])

File

File name and amount of coverage (for example, ccov102_factor.c [86.67%])

Function

Function name and amount of coverage (for example, main [100%])

The Momentics
IDE uses several icons in this view:

Icon

Icon Color

Meaning

White

No coverage

Yellow

Partial coverage

Green

Full (100%) coverage

(cell is highlighted)

Out-of-date source file

x

Red

An error marker to indicate some type of error (for
example, a data file was not found, or an error reading data or notes
files occurred).

The Momentics
IDE also adds a coverage markup icon () to indicate source markup in the editor. For more information, see Examine data line-by-line.

To reduce the size of the hierarchical tree, you can click .

Code Coverage Properties view

The Properties view shows a summary of the code coverage for a project,
file, or function that you select in the Code Coverage Sessions view. This view tells you how
many lines were covered, not covered, and so on.

Code Coverage Report view

The Code Coverage Report view provides a summary of your session in an XML
file. This view lets you drill down into your project and see the coverage for individual
files and functions:

Generate a report

In the Code Coverage Report view, right-click a
session and select Generate Report.

By default, the Momentics
IDE displays reports in the Code Coverage Report view, but you can also
displays reports in an external browser. You can compare several reports at the same time by
using an external browser.

Change views

To toggle between viewing reports in the Code Coverage Report view and an
external browser:

On the Window menu, click
Preferences.

Expand General > Web Browser.

Select or clear the Use external Web
browser check box.

Click OK.

Save a report

In the Code Coverage Report view, right-click a
session and select Save As.

Refresh a report

In the title bar of the Code Coverage Report
view, click .

Print a report

In the title bar of the Code Coverage Report
view, click .

Set report options

By default, the report generated by the Momentics
IDE doesn't include the code coverage information from other included files.
You can set your report options to view this information.

On the Window menu, click Preferences.

Expand QNX > Code Coverage.

Select Show code coverage information from
included files.

Click OK.

Last modified: 2014-11-17

Got questions about leaving a comment? Get answers from our Disqus FAQ.

1. Choose your focus

This is the focus controller. Use this controller to choose your primary development approach (Cascades or Core).

By selecting a focus, you get to decide what content should be front and center on the site.

2. Download the tools

Before you start developing, you'll need to visit the Downloads tab. Here you'll find downloads for the BlackBerry 10 Native SDK, BlackBerry 10 Device Simulator, and some other useful tools.

3. Try the sample apps

Now featuring a filter control, the Sample apps tab allows you to search for samples by name or by feature.

Select either the Core or Cascades check boxes to display the samples relevant to your focus.

4. Educate yourself

The Documentation tab contains tons of examples, tutorials, and best practices to guide you along the path towards building an awesome app.

The documentation for your preferred focus always appears at the top of the left-hand navigation, but you can still access the rest of the documentation at the bottom.

5. Start developing

The Reference tab is where you'll find essential details about how to use our APIs.

You can use the left-hand navigation to choose how you would like to browse the reference: by module, by topic, or alphabetically. If you have an idea of what you are looking for, start typing it in the Filter box.