ACM Home Page
Please provide us with feedback. Feedback
Dominators, super blocks, and program coverage
Full text PdfPdf (988 KB)
Source Annual Symposium on Principles of Programming Languages archive
Proceedings of the 21st ACM SIGPLAN-SIGACT symposium on Principles of programming languages table of contents
Portland, Oregon, United States
Pages: 25 - 34  
Year of Publication: 1994
ISBN:0-89791-636-0
Author
Hiralal Agrawal  Bellcore, Morristown, NJ
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 5,   Downloads (12 Months): 41,   Citation Count: 23
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/174675.175935
What is a DOI?

ABSTRACT

In this paper we present techniques to find subsets of nodes of a flowgraph that satisfy the following property: A test set that exercises all nodes in a subset exercises all nodes in the flowgraph. Analogous techniques to find subsets of edges are also proposed. These techniques may be used to significantly reduce the cost of coverage testing of programs. A notion of a super block consisting of one or more basic blocks in that super block must be exercised by the same input. Dominator relationships among super blocks are used to identify a subset of the super blocks whose coverage implies that of all super blocks and, in turn, that of all basic blocks. Experiments with eight systems in the range of 1-75K lines of code show that, on the average, test cases targeted to cover just 29% of the basic blocks and 32% of the branches ensure 100% block and branch coverage, respectively.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
4
 
5
 
6
 
7
S. L. Graham, P. B. Kessler, and M. K. McKusick. An execution profiler for modular programs. Software Practice and Experience, 13:671-685, 1983.
8
9
 
10
J. R. Horgan and S. L. London. ATAC: A data flow coverage testing tool for C. In Proceedings of the Symposium on Assessment of Quality Software Development Tools, pages 2-10. IEEE Computer Society Press, May 1992.
 
11
D. E. Knuth and F. R. Stevenson. Optimal measurement points for program frequency counts. BIT, 13:313-322, 1973.
12
13
 
14
 
15
R. L. Probert. Optimal insertion of software probes in well-delimited programs. IEEE Transactions on Software Engineering, SE-8(1):34-42, Jan. 1982.
16
 
17
C. V. Ramamoorthy, K. H. Kim, and W. T. Chert. Optimal placement of software monitors aiding systematic testing. IEEE Transactions on Software Engineering, SE-1(4):403-411, Dec. 1975.

CITED BY  23


REVIEW

"Peter A. Bigot : Reviewer"

Complete testing of a software system requires that each component within it be exercised by at least one input in a test suite. The author presents a program analysis that extends the dominator relation of flowgraphs to yield a un  more...