Design pattern detection, or rather the detection of structures that match design patterns, is useful for reverse engineering, program comprehension and for design recovery as well as for re-documenting object-oriented systems. Finding design patterns inside the code gives hints to software engineers about the methodologies adopted and the problems found during its design phases, and helps the engineers to evolve and maintain the system. In this paper, we present the results provided by four different design pattern detection tools on the analysis of JHotDraw 6.0b1, a well-known Java GUI framework. We show that the tools generally provide different results, even while evaluating the same system. From this observation, we introduce an approach based on micro structures detection that aims to discard the false positives from the detected results, hence improving the precision of the analyzed tools results. For this purpose we exploit a set of micro structures called design pattern clues, which give useful hints for the detection of design patterns
ARCELLI FONTANA, F., Zanoni, M., Maggioni, S. (2011). Using Design Pattern Clues to Improve the Precision of Design Pattern Detection Tools. JOURNAL OF OBJECT TECHNOLOGY, 10(1), 1-31 [10.5381/jot.2011.10.1.a4].
Using Design Pattern Clues to Improve the Precision of Design Pattern Detection Tools
ARCELLI FONTANA, FRANCESCA;ZANONI, MARCO;
2011
Abstract
Design pattern detection, or rather the detection of structures that match design patterns, is useful for reverse engineering, program comprehension and for design recovery as well as for re-documenting object-oriented systems. Finding design patterns inside the code gives hints to software engineers about the methodologies adopted and the problems found during its design phases, and helps the engineers to evolve and maintain the system. In this paper, we present the results provided by four different design pattern detection tools on the analysis of JHotDraw 6.0b1, a well-known Java GUI framework. We show that the tools generally provide different results, even while evaluating the same system. From this observation, we introduce an approach based on micro structures detection that aims to discard the false positives from the detected results, hence improving the precision of the analyzed tools results. For this purpose we exploit a set of micro structures called design pattern clues, which give useful hints for the detection of design patternsFile | Dimensione | Formato | |
---|---|---|---|
2011-JOT.pdf
Solo gestori archivio
Descrizione: articolo
Dimensione
806.48 kB
Formato
Adobe PDF
|
806.48 kB | Adobe PDF | Visualizza/Apri Richiedi una copia |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.