Efficient Identification of Design Patterns with Bit-vector Algorithm. Kaczor, O., Gu�h�neuc, Y., & Hamel, S. In di Lucca, G. A. & Gold, N., editors, Proceedings of the 10<sup>th</sup> Conference on Software Maintenance and Reengineering (CSMR), pages 173–182, March, 2006. IEEE CS Press. 10 pages.
Efficient Identification of Design Patterns with Bit-vector Algorithm [pdf]Paper  abstract   bibtex   
Design patterns are important in software maintenance because they help in designing, in understanding, and in re-engineering programs. The identification of occurrences of a design pattern consists in identifying, in a program, classes which structure and organisation match—strictly or approximately—the structure and organisation of classes as suggested by the design pattern. We express the problem of design pattern identification with operations on finite sets of bit-vectors. We use the inherent parallelism of bit-wise operations to derive an efficient bit-vector algorithm that finds exact and approximate occurrences of design patterns in a program. We apply our algorithm on three small-to-medium size programs, \JHotDraw, \ygg@productJuzzle, and \ygg@productQuickUML, with the \ygg@patternAbstract Factory and \ygg@patternComposite design patterns and compare its performance and results with two existing constraint-based approaches.

Downloads: 0