Automatic design pattern detection

Автоматическое обнаружение шаблонов проектирования
Dirk Heuzeroth, Thomas Höll, G. Hogstrom, Welf Löwe
2004-03-23

Java analysis toolSwing librarySwingSetExamplechain of responsibility patterncomposite patterndesign pattern detectionmediator patternobserver patternpattern instance classificationstatic and dynamic analysesvisitor pattern
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.
1
A Java analysis tool implementing the approach analyzes Java programs and was evaluated on its own codebase and the Java SwingSetExample using the Swing library.
2
Design patterns in legacy code can be detected by combining static and dynamic analyses without relying on coding or naming conventions.
3
Potential pattern instances are classified based on the evidence provided by the combined analyses.
4
The approach is demonstrated for observer, composite, mediator, chain of responsibility, and visitor patterns.

Design pattern instances in legacy Java code

Automatic detection and classification of design pattern instances using combined static and dynamic analyses independent of coding/naming conventions

Publication Details
Publication Date
2004-03-23
Journal
Publisher
ISSN
Access Type
Author Information
Authors
Dirk Heuzeroth
Thomas Höll
G. Hogstrom
Welf Löwe
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%