Parasoft
 
 
 
 
 
 
 
 

Contents  Previous  Next  Index

The Coverage Statistics Tab


When the Dynamic Analysis tab is activated, the Coverage Statistics tab appears at the bottom of the C++Test GUI. This tab guides you through the coverage statistics generated from the current test context in the Dynamic Analysis tab.

Coverage statistics listed include percentages for:

  • Line Coverage
  • Basic Block Coverage
  • Path Coverage. As shown in the following graphic, additional information is shown when unexpected paths are encountered. This is for informational purposes only and does not influence the overall Path coverage percentage.
  • Decision (Branch) Coverage
  • Modified Condition/Decision Coverage (MC/DC)
  • Condition Coverage

For a complete description of these statistics, see Monitoring Test Coverage.

The color bars next to the coverage statistics indicate the percent range for coverage obtained:

  • Green indicates over 80% coverage
  • Yellow indicates between 40% and 80% coverage
  • Red indicates less than 40% coverage

Note: The actual percentages shown for these different coverage statistics vary according to whether you have the entire project, a file, a class, or a method or function highlighted in the Dynamic Analysis window.

It is also important to note that modifying the test case tree filter settings in the Dynamic Analysis tab directly influences the information displayed in the coverage statistics tab. Coverage information is based upon displayed test cases only; unavailable test cases cannot be considered coverage creators. A further influence on the statistics shown in this tab is the setting chosen in the Coverage> Coverage Source menu option. See the The Menu Bar and Monitoring Test Coverage for more information on setting the coverage source option.


Contents  Previous  Next  Index

 
        Copyright © 1996-2002 Parasoft    T: (888) 305-0041    E: info@parasoft.com