The Community for Technology Leaders
Green Image
Issue No. 05 - Sept.-Oct. (2008 vol. 34)
ISSN: 0098-5589
pp: 667-684
Yann-Gaël Guéhéneuc , University Montreal, Montreal
Giuliano Antoniol , Ecole Polytechnique de Montreal, Montreal
Design patterns are important in object-oriented programming because they offer design motifs, elegant solutions to recurrent design problems, which improve the quality of software systems. Design motifs facilitate system maintenance by helping to understand design and implementation. However, after implementation, design motifs are spread throughout the source code and are thus not directly available to maintainers. We present DeMIMA, an approach to identify semi-automatically micro-architectures that are similar to design motifs in source code and to ensure the traceability of these micro-architectures between implementation and design. DeMIMA consists of three layers: two layers to recover an abstract model of the source code, including binary class relationships, and a third layer to identify design patterns in the abstract model. We apply DeMIMA to five open-source systems and, on average, we observe 34% precision for the considered 12 design motifs. Through the use of explanation-based constraint programming, DeMIMA ensures 100% recall on the five systems. We also apply DeMIMA on 33 industrial components.
Object-Oriented Programming, Patterns

G. Antoniol and Y. Guéhéneuc, "DeMIMA: A Multilayered Approach for Design Pattern Identification," in IEEE Transactions on Software Engineering, vol. 34, no. , pp. 667-684, 2008.
88 ms
(Ver 3.3 (11022016))