Comprehending Object-Oriented Software Frameworks API Through Dynamic Analysis

Abbas Heydarnoori, David R. Cheriton, Thiago Tonelli Bartolomei, Krzysztof Czarnecki · 2007

AbstractA common practice followed by many application developers is to use existing framework appli-cations as a guide to understand how to implement a framework-provided concept of interest. Un-fortunately, flnding the code that implements the concept of interest might be very di–cult since thecode might be scattered across and tangled with code implementing other concepts. To address thisissue, this report presents an approach called FUDA ( Framework API Understanding through DynamicAnalysis ). The main idea of this approach is to extract implementation recipes of a given concept fromruntime information collected when that concept is invoked in a number of difierent sample applica-tions. For this purpose, we introduce a novel dynamic slicing approach named concept trace slicing and combine it with clustering and data mining techniques. The experimental evaluation of FUDAsuggests that this approach is efiective in producing useful implementation recipes for a given conceptwith few false positives and false negatives.

Read the paper · More papers on PaperTik