Publication | Closed Access
Mining object behavior with ADABU
186
Citations
11
References
2006
Year
Unknown Venue
Artificial IntelligenceSoftware MaintenanceEngineeringMachine LearningVerificationPattern DiscoverySoftware EngineeringPattern MiningObject OrientationSoftware AnalysisFormal VerificationData ScienceData MiningPattern RecognitionCompilersProgramming Language TheoryObject BehaviorNormal BehaviorKnowledge DiscoveryCorrect Program BehaviorAbstract InterpretationComputer ScienceStatic Program AnalysisSoftware DesignProgram AnalysisAutomated ReasoningSoftware TestingFormal MethodsObject-oriented ProgrammingSystem SoftwareObject Modeling
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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1