Mining design patterns from C++ source code
Z. Balanyi, Rudolf Ferenć · International Conference on Software Maintenance · 2004
Design patterns are micro architectures that have proved to be reliable, easy-to implement and robust. There is a need in science and industry for recognizing these patterns. We present a new method for discovering design patterns in the source code. This method provides a precise specification of how the patterns work by describing basic structural information like inheritance, composition, aggregation and association, and as an indispensable part, by defining call delegation, object creation and operation overriding. We introduce a new XML-based language, the Design Pattern Markup Language (DPML), which provides an easy way for the users to modify pattern descriptions to suit their needs, or even to define their own patterns or just classes in certain relations they wish to find. We tested our method on four open-source systems, and found it effective in discovering design pattern instances.
Cited by 111 works. doi:10.1109/icsm.2003.1235436
Authors
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- LEDA: a platform for combinatorial and geometric computing
- Design recovery by automated search for structural design patterns in object-oriented software
- Columbus - reverse engineering tool and schema for C++
- Design reverse-engineering and automated design-pattern detection in Smalltalk
- Using metrics to identify design patterns in object-oriented software
- LEDA, a Platform for Combinatorial and Geometric Computing
- Data exchange with the columbus schema for c++
- Recognizing design patterns in C++ programs with integration of Columbus and Maisa