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

“Function” as Coverage Type

Last updated: 2019-12-06

A new coverage type, Function coverage, is available in VectorCAST version 2019 SP1. Its implementation is lightweight, making it especially suitable for customers using ISO-26262 Industry mode.

Function coverage type is supported only for C/C++ Unit Test and System Testing environments. A subprogram is considered covered 100% in Function coverage if it is entered during test execution, and 0% if it is not.


Due to the addition of this new coverage type, the configuration option VCAST_DISPLAY_FUNCTION_COVERAGE has no effect when used with the Function coverage type.

In the environment script, this coverage type is written as:


clicast -e <unit test env> TOols COVer FUNCTION
clicast -e <cover env> [-u <unit>] COVer INstrument FUNCTION

When using Function coverage with a vcshell database, use one of these commands after creating the database and setting the compiler template:

For Stub None (Object Files) environments:

vcutil parse --instrument function

For parallel instrumentation of a Cover environment:

vcutil instrument --coverage_type function

Article Options
Views: 149