Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Advanced search

Combine Function Call Coverage with Other Coverage Types

Last updated: 2019-11-11

VectorCAST 2019 SP3 allows the user to combine Function Call coverage with the following coverage types. Only coverage types with Statement coverage are supported:

  • Statement coverage
  • Statement+Branch coverage
  • Statement+MC/DC coverage

To combine coverage, first instrument for Statement, Statement+Branch, or Statement+MC/DC coverage.

Choose Tools | Options and click the Coverage tab. Then click the Options tab and the Instrumentation Options sub-tab if it is not selected.

Select the Instrument for function call coverage option and click the OK button.

Next, instrument for Statement, Statement + Branch, or Statement + MC/DC coverage.


Coverage must be re-instrumented after enabling this option to view the combined coverage.

clicast -lc option VCAST_ENABLE_FUNCTION_CALL_COVERAGE True | False
When this option is enabled, additional instrumentation will be added to provide function call coverage in the metrics reports. Only coverage types with statement coverage are currently supported. The default value is False.

Once the option is applied, VectorCAST instruments for the selected coverage type combination:

  • Statement + Function Call coverage
  • Statement + Branch + Function Call coverage
  • Statement + MC/DC + Function Call coverage

Function Call coverage status is displayed in the Test Case Tree in the Environment View. Hovering over the status bar displays a tool tip showing the status.

In the Coverage Viewer, the percentage of Function Call coverage is shown on the top bar of the viewer. Function call coverage is indicated in the viewer through the use of brackets [ ], with an asterisk to indicate a function call has been covered. Coverage By Analysis (CBA) is supported.

A column for Function Call coverage is included in the Metrics Report when combined coverage is applied.

A column for Function Call coverage is included in the Code Coverage Summary when combined coverage is applied.

The Aggregate Report also displays Function Call coverage.

Article Options
Views: 175