Sciweavers

IWPC
2009
IEEE

Standing on the shoulders of giants - A data fusion approach to design pattern detection

14 years 7 months ago
Standing on the shoulders of giants - A data fusion approach to design pattern detection
Identification of design patterns can deliver important information to designers. Therefore, automated design pattern detection (DPD) is highly desirable when it comes to understanding unknown code. In this paper, we present the results of evaluating five existing DPD tools on various Java projects. These results motivate our proposal of a novel DPD approach based on data fusion. It combines design pattern candidate sets coming from different tools implementing different DPD techniques. We show that a design pattern can be a witness for the existence of another pattern. Our approach is able (1) to provide correct diagnostics even if the inputs from the evaluated tools were partly wrong and (2) to detect patterns instances not identified by the individual tools. For the Decorator, Visitor and Observer pattern, the witness-based approach yields better precision and recall than provided by any single tool. In particular, it detects 24 out of 30 instances of these patterns missed in ou...
Günter Kniesel, Alexander Binun
Added 24 May 2010
Updated 24 May 2010
Type Conference
Year 2009
Where IWPC
Authors Günter Kniesel, Alexander Binun
Comments (0)