A new structural coverage criterion for dynamic detection of program invariants
Authors:
- N. GuptaNGN. Gupta
- Z.V. HeidepriemZHZ.V. Heidepriem
- 23 January 2004
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 49-58
Abstract
Dynamic detection of program invariants is emerg- ing as an important research area with many challeng- ing problems. Generating suitable test cases that sup- port accurate detection of program invariants is cru- cial to the dynamic approach for invariant detection. In this paper, we propose a new structural coverage crite- rion called Invariant-coverage criterion for dynamic de- tection of program invariants. We also show how the invariant-coverage criterion can be used to improve the accuracy of dynamically detected invariants. We rst used the Daikon tool to report likely program invari- ants using the branch coverage and all denition-use pair coverage test suites for several programs. We then generated invariant-coverage suites for these likely in- variants. When Daikon was run with the invariant- coverage suites, several spurious invariants reported earlier by the branch coverage and denition-use pair coverage test suites were removed from the reported in- variants. Our approach also produced more meaningful invariants than randomly generated test suites.Keywords
This publication has 7 references indexed in Scilit:
- Improving test suites via operational abstraction2003
- A dynamic approach of test data generation2002
- Dynamically discovering likely program invariants to support program evolutionIEEE Transactions on Software Engineering, 2001
- Automated test data generation using an iterative relaxation method1998
- Automatic test data generation using constraint solving techniques1998
- Constraint-based automatic test data generationIEEE Transactions on Software Engineering, 1991
- Automated software test data generationIEEE Transactions on Software Engineering, 1990