Home > User Support > CoverageMaster winAMS FAQ

CoverageMaster winAMS FAQ

Coverage Measurement

102_02: How are the C0, C1 and MC/DC coverage rates calculated?

Question:

How are the C0, C1 and MC/DC coverage rates calculated?

Answer:

Each coverage rate is calculated as below.

C0: Statement Coverage
Number of lines run / Number of lines to be run * 100(%)

C1: Branch Coverage
Number of branches run / Number of branches to be run * 100(%)

MC/DC: Modified Condition Decision Coverage
Number of conditions that meet MC/DC criterion / Number of conditions in decisions * 100(%)

Additional details can be found in the CoverageMaster winAMS Help manual by searching for "Coverage Rate Calculation".

In addition to the Help manual, the following PDF installed with the tool file provides additional details regarding MC/DC coverage measurement.
C:\WinAMS\IF_Builder\help\Method for measuring MCDC with GAIO’s Test Tool.pdf

 

Related Technical Tips Search

Other technical tips in GAIO's web site can be searched for using the links below.

Search key word link: Coverage Rate
Technical Tips Google Search

 

Information Links