Code coverage analysis is the process of:
A) Finding areas of a program not exercised by a set of test cases,
B) Creating additional test cases to increase coverage, and
C) Determining a quantitative measure of code coverage, which is an indirect measure of quality.
D) Both A & B
E) All of above
An optional aspect of code coverage analysis is: Identifying redundant test cases that do not increase coverage.
Major benefit of ............... is that it is greatly able to isolate the portion of code, which could not be executed.
A) parameter coverage
B) condition coverage
C) statement coverage
D) loop coverage
Statement coverage does not report whether loops reach their termination condition - only whether the loop body was executed.
Statement coverage is also called line coverage.
With 100 percent branch coverage, every branch of every statement may or may not be executed.
Decision Coverage & Condition Coverage is one and same thing.
Multiple condition coverage reports whether every possible combination of conditions occurs. The test cases required for full multiple condition coverage of a decision are given by the logical operator ....... for the decision.
A) section table
B) data table
C) truth table
D) variable table
Path coverage drawbacks:
A) Number of possible paths that need to be supported by test procedures my be exceedingly exhaustive and beyond the scope of most test programs.
B) Path coverage is very time consuming and should be used for critical success functions only.
C) Path coverage in infinitely difficult.
D) Path coverage may have loopings.
A) This metric reports whether you invoked each function or procedure.
B) This metric reports whether you executed each loop body zero times, exactly once, and more than once (consecutively).
C) Both A & B
D) There is no such thing as Function Coverage
1)e, 2)a, 3) c, 4) a, 5)a, 6) b, 7)b, 8) c, 9)a,b 10) a