Mining object behavior with ADABU
Valentin Dallmeier, Christian Lindig, Andrzej Wasylkowski et al. · 2006
To learn what constitutes correct program behavior, one can start with normal behavior. We observe actual program executions to construct state machines that summarize object behavior. These state machines, called object behavior models, capture the relationships between two kinds of methods: mutators that change the state (such as add()) and inspectors that keep the state unchanged (such as isEmpty()): "A Vector object initially is in isEmpty() state; after add(), it goes into ¬isEmpty() state". Our ADABU prototype for JAVA has successfully mined models of undocumented behavior from the AspectJ compiler and the Columba email client; the models tend to be small and easily understandable.
Cited by 184 works. doi:10.1145/1138912.1138918
Authors
References
- An Overview of AspectJ
- Complexity of automaton identification from given data
- Dynamically discovering likely program invariants to support program evolution
- Discovering models of software processes from event-based data
- Mining specifications
- Scalable statistical bug isolation
- Scalable statistical bug isolation
- Automatic extraction of object-oriented component interfaces
- Mining Temporal Specifications for Error Detection
- Lightweight Defect Localization for Java