IEEE Transactions on Software Engineering · 2006 · 448 citations · 21 references
ArchitectureDesignComputer-aided DesignDesign AutomationDesign OptimizationDesign HierarchyDesign ProcessDesign RepresentationGraph AlgorithmsGraph MiningSoftware DesignDesign Pattern RepresentationDesign PatternsGraph-based Design RepresentationGraph-based Pattern RecognitionInheritance Hierarchies
Design pattern identification is crucial for reengineering, yet current methods struggle with modified patterns, large search spaces, and extending to new patterns. This work proposes a design‑pattern detection method that scores similarity between graph vertices. The algorithm reduces graph size by exploiting inheritance hierarchies and, without pattern‑specific heuristics, can detect both standard and modified patterns. Experiments on three open‑source projects show the method accurately and efficiently recognizes modified patterns.
The identification of design patterns as part of the reengineering process can convey important information to the designer. However, existing pattern detection methodologies generally have problems in dealing with one or more of the following issues: identification of modified pattern versions, search space explosion for large systems and extensibility to novel patterns. In this paper, a design pattern detection methodology is proposed that is based on similarity scoring between graph vertices. Due to the nature of the underlying graph algorithm, this approach has the ability to also recognize patterns that are modified from their standard representation. Moreover, the approach exploits the fact that patterns reside in one or more inheritance hierarchies, reducing the size of the graphs to which the algorithm is applied. Finally, the algorithm does not rely on any pattern-specific heuristic, facilitating the extension to novel design structures. Evaluation on three open-source projects demonstrated the accuracy and the efficiency of the proposed method
21
Authoritative sources in a hyperlinked environment
Jon Kleinberg · Journal of the ACM · 1999 · 9.1K citations · Full text
An Algorithm for Subgraph Isomorphism
J. R. Ullmann · Journal of the ACM · 1976 · 2.3K citations · Full text
Refactoring improving the design of existing code
Mauricio A. Saca · 2017 · 2.1K citations