IEEE Transactions on Software Engineering · 2008 · 77 citations · 36 references
ComputingComputer ScienceData MiningFormal MethodsProgramming LanguagesApplication Programming InterfacesData-flow AnalysisStatic AnalysisStatic Code AnalysisTemporal Data MiningTemporal LogicEvent Sequence MiningInterprocedural AnalysisSpecification MiningTemporal Sequence MiningTemporal Specifications
We present a novel approach to client-side mining of temporal API specifications based on static analysis. Specifically, we present an interprocedural analysis over a combined domain that abstracts both aliasing and event sequences for individual objects. The analysis uses a new family of automata-based abstractions to represent unbounded event sequences, designed to disambiguate distinct usage patterns and merge similar usage patterns. Additionally, our approach includes an algorithm that summarizes abstract traces based on automata clusters, and effectively rules out spurious behaviors. We show experimental results mining specifications from a number of Java clients and APIs. The results indicate that effective static analysis for client-side mining requires fairly precise treatment of aliasing and abstract event sequences. Based on the results, we conclude that static client-side specification mining shows promise as a complement or alternative to dynamic approaches.
36
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Language identification in the limit
Eric Gold · Information and Control · 1967 · 3.6K citations
Precise interprocedural dataflow analysis via graph reachability
Thomas Reps, Susan Horwitz, Mooly Sagiv · 1995 · 1.2K citations
Program Analysis and Specialization for the C Programming Language
Lars Ole Andersen, Peter Lee · 2005 · 920 citations