Reverse Engineering State and Strategy Design Patterns using Static Code Analysis

Khaled Abdelsalam, Amr A. Kamel · International Journal of Advanced Computer Science and Applications · 2018

This paper presents an approach to detect behavioral design patterns from source code using static analysis techniques. It depends on the concept of Code Property Graph and enriching graph with relationships and properties specific to Design Patterns, to simplify the process of Design Pattern detection. This approach used NoSQL graph database (Neo4j) and uses graph traversal language (Gremlin) for doing graph matching. Our approach, converts the tasks of design pattern detection to a graph matching task by representing Design Patterns in form of graph queries and running it on graph database.

Read the paper · More papers on PaperTik