Title :
Design Pattern Mining from Source Code for Reverse Engineering
Author :
Basu, N. ; Chatterjee, S. ; Chaki, N.
Author_Institution :
Salt Lake Electron. Complex, NUT Technol. Ltd., Kolkata
Abstract :
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. This paper aims toward development of a new method for discovering design patterns in the source codes. The 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 have tried to introduce a new XML-based language, the extensible pattern markup language XPML, 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. The proposed method is tested on four open-source systems, and is found to be effective in discovering design pattern instances.
Keywords :
XML; data mining; formal specification; inheritance; object-oriented programming; reverse engineering; software architecture; XML-based language; XPML; aggregation; association; call delegation; composition; design pattern discovery; design pattern mining; extensible pattern markup language; inheritance; object creation; operation overriding; pattern definition; pattern description modification; pattern recognition; reverse engineering; software microarchitecture; source code; structural information; Computer architecture; Computer science; Information technology; Markup languages; Pattern recognition; Reverse engineering; Software measurement; Software systems; Unified modeling language; XML; Design patterns; Reverse Engineering Engine; Unified Modeling Language (UML); XML;
Conference_Titel :
TENCON 2005 2005 IEEE Region 10
Conference_Location :
Melbourne, Qld.
Print_ISBN :
0-7803-9311-2
Electronic_ISBN :
0-7803-9312-0
DOI :
10.1109/TENCON.2005.301336