Title of article
Identification of design motifs with pattern matching algorithms
Author/Authors
Kaczor، نويسنده , , Olivier and Guéhéneuc، نويسنده , , Yann-Gaël and Hamel، نويسنده , , Sylvie، نويسنده ,
Issue Information
ماهنامه با شماره پیاپی سال 2010
Pages
17
From page
152
To page
168
Abstract
Design patterns are important in software maintenance because they help in understanding and re-engineering systems. They propose design motifs, solutions to recurring design problems. The identification of occurrences of design motifs in large systems consists of identifying classes whose structure and organization match exactly or approximately the structure and organization of classes as suggested by the motif. We adapt two classical approximate string matching algorithms based on automata simulation and bit-vector processing to efficiently identify exact and approximate occurrences of motifs. We then carry out two case studies to show the performance, precision, and recall of our algorithms. In the first case study, we assess the performance of our algorithms on seven medium-to-large systems. In the second case study, we compare our approach with three existing approaches (an explanation-based constraint approach, a metric-enhanced explanation-based constraint approach, and a similarity scoring approach) by applying the algorithms on three small-to-medium size systems, JHotDraw, Juzzle, and QuickUML. Our studies show that approximate string matching based on bit-vector processing provides efficient algorithms to identify design motifs.
Keywords
Automata simulation , experimental validation , bit-vector , Design motifs , design patterns , Identification of occurrences
Journal title
Information and Software Technology
Serial Year
2010
Journal title
Information and Software Technology
Record number
2374564
Link To Document