1991
DOI: 10.1002/spe.4380211007
|View full text |Cite
|
Sign up to set email alerts
|

Path testing of computer programs with loops using a tool for simple loop patterns

Abstract: The purpose of this paper is to present a method for testing computer programs with iteration loops. Given such programs, we have shown that for classes of program paths, identified as sequences of simple loop paths, there is a characterizing function called a simple loop pattern. The key idea of simple loop patterns is that these special functions form a base set which can represent any path computation in the given program. A software tool called SILOP has been developed to automatically generate these simpl… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
8
0

Year Published

1997
1997
2013
2013

Publication Types

Select...
4
2
1

Relationship

0
7

Authors

Journals

citations
Cited by 16 publications
(8 citation statements)
references
References 5 publications
(6 reference statements)
0
8
0
Order By: Relevance
“…However, at any point in time, users can obviously choose values of L that provide an appropriate tradeoff between required reliability and testing effort. Alternatively, a technique for deciding how many loop iterations are required [18,26] could be used.…”
Section: Analysis Of the Partition Methodsmentioning
confidence: 99%
See 1 more Smart Citation
“…However, at any point in time, users can obviously choose values of L that provide an appropriate tradeoff between required reliability and testing effort. Alternatively, a technique for deciding how many loop iterations are required [18,26] could be used.…”
Section: Analysis Of the Partition Methodsmentioning
confidence: 99%
“…When the output variables are linear functions of the inputs, White and Wiszniewski [17,18] have shown that one can infer an upper bound for the number of test cases that are required to test the loop contents, irrespective of the number of iterations. However, in a more general case, a decision must be 49 made as to which paths to follow: for instance, the loop can be traversed zero times, once and twice as suggested by Girgis [19].…”
Section: Loop Handlingmentioning
confidence: 99%
“…The baseline path count is 114. One way of computing this path count is to divide the control flow graphs into sections: the control flow graph before node 6 (contains nodes 1-5), the control flow graph representing the loop at node 6 (contains nodes [6][7][8][9][10][11][12][13][14][15][16][17][18][19][20], and the control flow graph representing the loop after node 6 (contains nodes [21][22][23][24][25]. There are two paths from node 1 to 6.…”
Section: Definitionsmentioning
confidence: 99%
“…In the worst case, the number of paths decreased by one or two orders of magnitude. This occurred in eight functions (13,15,16,18,19,21,22,28). In five of these functions (15,16,19,21,22), there is a significant number of paths outside the loops and relatively few paths within the loops.…”
Section: Loop-separate Path Count Comparisonmentioning
confidence: 99%
“…It should be noted, first, that although we can often obtain finite applicability by using the feasible version, this may cause the undecidability problem; that is, we may not be able to decide whether a test set satisfies a given adequacy criterion. For example, whether a statement in a program is feasible is undecidable [Weyuker 1979a;Weyuker 1979b;White 1991]. Therefore, when a test set does not cover all the statements in a program, we may not be able to decide whether a statement not covered by the test data is dead code.…”
Section: Test Coverage and Adequacymentioning
confidence: 99%