Quickly detecting relevant program invariants
Michael D. Enst, Adam Czeisler, William G. Griswold et al. · Proceedings/Proceedings - International Conference on Software Engineering · 2000
Explicitly stated program invariants can help programmers by characterizing certain aspects of program execution and identifying program properties that must be preserved when modifying code. Unfortunately, these invariants are usually absent from code. Previous work showed how to dynamically detect invariants from program traces by looking for patterns in and relationships among variable values. A prototype implementation, Daikon, accurately recovered invariants from formally-specified programs, and the invariants it detected in other programs assisted programmers in a software evolution task. However, Daikon suffered from reporting too many invariants, many of which were not useful, and also failed to report some desired invariants.
Cited by 255 works. doi:10.1145/337180.337240 Open-access PDF
Authors
References
- Automatic information organization and retrieval
- The Science of Programming
- Dynamically discovering likely program invariants to support program evolution
- Experiments on the effectiveness of dataflow- and control-flow-based test adequacy criteria
- Software Reliability Models: Assumptions, Limitations, and Applicability
- Data Structures and Algorithm Analysis in C
- Experiments on the effectiveness of dataflow- and control-flow-based test adequacy criteria
- Dynamically discovering likely program invariants to support program evolution
- Lackwit
- Empirical studies of a safe regression test selection technique