Title :
A new structural coverage criterion for dynamic detection of program invariants
Author :
Gupta, Neelam ; Heidepriem, Zachary V.
Author_Institution :
Dept. of Comput. Sci., Arizona Univ., Tucson, AZ, USA
Abstract :
Dynamic detection of program invariants is emerging as an important research area with many challenging problems. Generating suitable test cases that support accurate detection of program invariants is crucial to the dynamic approach of program invariant detection. In this paper, we propose a new structural coverage criterion called invariant-coverage criterion for dynamic detection of program invariants. We also show how the invariant-coverage criterion can be used to improve the accuracy of dynamically detected invariants. We first used the Daikon tool to report likely program invariants using the branch coverage and all definition-use pair coverage test suites for several programs. We then generated invariant-coverage suites for these likely invariants. When Daikon was run with the invariant-coverage suites, several spurious invariants reported earlier by the branch coverage and definition-use pair coverage test suites were removed from the reported invariants. Our approach also produced more meaningful invariants than randomly generated test suites.
Keywords :
program diagnostics; program testing; software engineering; Daikon tool; branch coverage test suites; definition-use pair coverage test suites; dynamic analysis; dynamic detection; execution traces; invariant-coverage criterion; invariant-coverage suites; path testing; program invariants; structural coverage criterion; test data generation; Automatic testing; Computer science; Computerized monitoring; Programming; Runtime; Software engineering; Software testing;
Conference_Titel :
Automated Software Engineering, 2003. Proceedings. 18th IEEE International Conference on
Print_ISBN :
0-7695-2035-9
DOI :
10.1109/ASE.2003.1240294