This link has been bookmarked by 59 people . It was first bookmarked on 01 Jul 2006, by craig hancock.
-
28 Jul 14
-
12 Jun 14
-
28 Apr 14
-
30 Apr 13
-
08 Oct 12
-
Finding
-
increase coverage
-
quantitative measure of code coverage
-
quality of your set of tests, not the quality of the actual product
-
requires recompiling
-
You must choose from a range of measurement methods.
-
Coverage analysis is one of many testing techniques; you should not rely on it alone.
-
test program behavior against the apparent intention of the source code
-
structural testing technique
-
functional testing
-
test program behavior against a requirements specification.
-
also called path testing
-
The U.S. Department of Transportation Federal Aviation Administration (FAA) has formal requirements for structural coverage in the certification of safety-critical airborne systems [DO-178B].
-
each executable statement is encountered.
-
if,for, andswitchare covered if the expression controlling the flow is covered as well as all the contained statements. -
applied directly to object code
-
In fact, if
conditionever evaluates false, this code fails. -
Statement coverage does not report whether loops reach their termination condition - only whether the loop body was executed. With C, C++, and Java, this limitation affects loops that contain
breakstatements. -
a sequence of 10 non-branching statements
-
only one test case.
-
Basic block coverage
-
fundamental assumptions is that faults are related to control flow, not computations.
-
Boolean expressions
-
evaluated to both true and false.
-
coverage of
switch-statement cases -
exception handlers
-
points of entry and exit
-
FAA definition
-
all Boolean expressions to evaluate to both true and false
-
simplicity without the problems of statement coverage.
-
This metric could consider the control structure completely exercised without a call to
function1.
-
-
09 Apr 12
-
03 Jan 12
-
23 Nov 11
-
19 Nov 11
-
17 May 11
W.W. WebsterThis paper gives a complete description of code coverage analysis (test coverage analysis), a software testing technique.
-
14 Nov 10
-
04 Jun 10
-
07 Apr 10
-
04 Dec 09
-
25 Mar 09
-
16 Dec 08
-
24 Jul 08
-
14 Jun 08
Mairon CroesFrom site: "This paper gives a complete description of code coverage analysis (test coverage analysis), a software testing technique."
-
06 May 08
-
29 Apr 08
-
11 Jan 08
-
08 Jan 08
-
16 Oct 07
-
11 Jan 07
-
02 Jan 07
-
07 Sep 06
-
09 Jul 06
-
12 May 06
-
08 Feb 06
-
04 Oct 05
-
03 Oct 05
-
Code Coverage Analysis This paper gives a complete description of code coverage analysis (test coverage analysis), a software testing technique.
-
-
17 May 05
-
23 Feb 05
-
04 Oct 04
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.