Test Adequacy Assessment
It is clear from the rightmost column in the table above that T is not
adequate with respect to the elementary data context coverage crite-
rion. Recall that T is adequate with respect to the MC/DC-coverage
criterion.
6.5 CONTROL FLOW VERSUS DATA FLOW
Adequacy criteria based on the flow of control aim at testing only a few
of the many, sometimes infinitely large, paths through a program. For ex-
ample, the block coverage criterion is satisfied when the paths traversed
have touched each block in the program under test. Data-flow-based
criteria has the same objective, that is these criteria assist in the selec-
tion of a few of the many paths through a program. For example, the
c-use coverage criterion is satisfied when the paths tra ...