Method for analyzing and presenting test execution flows of programs
First Claim
1. A computer implemented method for analyzing test coverage data of a program in a computer, comprising the steps of:
- generating a flowgraph representing program components of the program and possible execution flows through the program components;
collecting test coverage data while executing the program;
determining executed and unexecuted program components on the flowgraph using the collected test coverage data; and
presenting a list of unexecuted program components according to a decreasing order of a number of unexecuted instructions reachable from each unexecuted program component.
4 Assignments
0 Petitions
Accused Products
Abstract
A computer implemented method analyzes an execution of a program. The method partitions the program into program components such as basic blocks and procedures. A source or executable representation of the program is instrumented to collect test coverage data. In addition, a flow graph representing the program components is generated. The program is then executed to collect test coverage data. Using the test coverage data and the flow graph, the program is partitioned into executed and unexecuted components. The number of instructions in each unexecuted program component is counted. Thus, a list of the unexecuted program components can be presented according to a decreasing order of the number of unexecuted instructions in the unexecuted program components.
103 Citations
15 Claims
-
1. A computer implemented method for analyzing test coverage data of a program in a computer, comprising the steps of:
-
generating a flowgraph representing program components of the program and possible execution flows through the program components; collecting test coverage data while executing the program; determining executed and unexecuted program components on the flowgraph using the collected test coverage data; and presenting a list of unexecuted program components according to a decreasing order of a number of unexecuted instructions reachable from each unexecuted program component. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
Specification