Fingerprinting Design Patterns. Gu�h�neuc, Y., Sahraoui, H., & Zaidi, F. In Stroulia, E. & de Lucia, A., editors, Proceedings of the 11<sup>th</sup> Working Conference on Reverse Engineering (WCRE), pages 172&ndash;181, November, 2004. IEEE CS Press. 10 pages.
Fingerprinting Design Patterns [pdf]Paper  abstract   bibtex   
Design patterns describe good solutions to common and recurring problems in program design. The solutions are design motifs which software engineers imitate and introduce in the architecture of their program. It is important to identify the design motifs used in a program architecture to understand solved design problems and to make informed changes to the program. The identification of micro-architectures similar to design motifs is difficult because of the large search space, i.e., the many possible combinations of classes. We propose an experimental study of classes playing roles in design motifs using metrics and a machine learning algorithm to fingerprint design motifs roles. Fingerprints are sets of metric values characterising classes playing a given role. We devise fingerprints experimentally using a repository of micro-architectures similar to design motifs. We show that fingerprints help in reducing the search space of micro-architectures similar to design motifs efficiently using the Composite design motif and the JHotDraw framework.

Downloads: 0