A comprehensive approach to the recovery of design pattern instances based on sub-patterns and method signatures
We present a comprehensive and elaborative approach for detecting ALL GoF patterns. We define 15 sub-patterns and identify their instances through subgraph discovery. We merge sub-pattern instances based on prime number composition and joint classes. We show the Structural Feature Models and Signature Templates for all GoF patterns. An extensive experiment was conducted with nine open sources and ALL GoF patterns.
design patterns sub-patterns method signature design pattern recovery graph mining