Automatic design pattern detection
Автоматическое обнаружение шаблонов проектирования
2004-03-23
SCID: 54.1/g6rjvk4r
Discuss with AI
Java analysis toolSwing librarySwingSetExamplechain of responsibility patterncomposite patterndesign pattern detectionmediator patternobserver patternpattern instance classificationstatic and dynamic analysesvisitor pattern
Figures from the paper
Abstract (AI)
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.
Key Findings
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.
Research Object
Design pattern instances in legacy Java code
Research Subject
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
Download PDF
Subscribe to digest