Design Pattern Detection from Java Software

T. Feng, W. Li, J. Zhang, and M. Xu (PRC)


Design pattern, reverse engineering and programming understanding


Identification of design patterns from source code is one of the most promising methods for improving software maintainability and reusing design experience. In this paper, an approach of detecting design patterns from Java source code is presented. Concretely, the method of specifying design patterns and the mechanism of defining a source information model are provided. Through matching pattern description and source information model, an algorithm for detecting pattern instances from legacy system is illustrated with examples. Especially, the container problem coming across in design pattern detection is identified and resolved through our approach. Finally, the results of applying our approach are analyzed and further optimizing steps are discussed according to the relation between design patterns and design pattern instances.

Important Links:

Go Back