Super nested block method to minimize coverage testing overhead
Abstract
A method for determining the number and location of instrumentation probes to be inserted into a program is disclosed. The method advantageously inserts the minimum number of probes that are required to obtain execution coverage for every node in the program's control-flow graph. In addition, the method requires only one bit to store each probe and does not require the assignment of weights to arcs or nodes of the control-flow graph. In the illustrative embodiment, the nodes of a control-flow graph are partitioned into non-empty sets, where each non-empty set corresponds to a super nested block of the program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: while a control-flow graph for a program is generated via a processor: determining a subset of nodes of the control-flow graph by solving a minimum-cut maximum-flow problem; partitioning the control-flow graph into subgraphs that correspond to child nodes of the subset of nodes; and determining a respective partition of each of the subgraphs; partitioning the program into a plurality of blocks of code based on the respective partition, wherein: (1) for any two consecutive lines of code within any block belonging to the plurality of blocks, when a first line of the two cons
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Adam Betts and Guillem Bernat, "Tree-Based WCET Analysis on Instrumentation Point Graphs", Real-Times Systems Research Group, University of York, Apr. 24, 2006.
- Definition of "Basic block," Wikipedia website, 3 pages, http://en.wikipedia.org/wiki/Basic-block.
- Hanlai et al., Extended Control Flow Graph Based Performance Optimization Using Scratch-Pad Memory, Mar. 2005, 2 pages.
- J. Jenny Li, David M. Weiss, and Howell Yee, "An Automatically-Generated Run-Time Instrumenter to Reduce Coverage Testing Overhead", Proceedings of the 3rd International Workshop on Automation of Software Test (AST'08), pp. 49-56, 2008.
- Mustafa M. Tikir and Jeffrey K. Hollingsworth, "Efficient Online Computation of Statement Coverage", Computer Science Department, University of Maryland, College Park, MD, Nov. 2005.