Publication | Closed Access
Design Pattern Detection Using Similarity Scoring
444
Citations
21
References
2006
Year
EngineeringStructural Pattern RecognitionArchitectural PatternPattern DiscoverySoftware EngineeringSystem-level DesignSearch Space ExplosionSoftware AnalysisData MiningSoftware Design PatternDesign PatternsDesign Space ExplorationDesignKnowledge DiscoveryComputer EngineeringComputer ScienceSoftware DesignArchitectural DesignGraph TheoryProgram AnalysisSoftware TestingModified Pattern VersionsBusiness
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
| Year | Citations | |
|---|---|---|
Page 1
Page 1