Title :
Automatic design pattern detection
Author :
Heuzeroth, Dirk ; Holl, Thomas ; Högström, Gustav ; Löwe, Welf
Author_Institution :
Program Structures Group, Karlsruhe Univ., Germany
Abstract :
We detect design patterns in legacy code combining static and dynamic analyses. The analyses do not depend on coding or naming conventions. We classify potential pattern instances according to the evidence our analyses provide. We discuss our approach for the observer, composite, mediator, chain of responsibility and visitor patterns. Our Java analysis tool analyzes Java programs. We evaluate our approach by applying the tool on itself and on the Java SwingSetExample using the Swing library.
Keywords :
Java; reverse engineering; software architecture; Java SwingSetExample; Java analysis tool; Java programs; Swing library; automatic design pattern detection; chain of responsibility; coding; dynamic analysis; legacy code; naming conventions; static analysis; Computer architecture; Connectors; Java; Pattern analysis; Performance analysis; Scattering; Software libraries; Software performance; Software systems; Software tools;
Conference_Titel :
Program Comprehension, 2003. 11th IEEE International Workshop on
Print_ISBN :
0-7695-1883-4
DOI :
10.1109/WPC.2003.1199193