Reverse Engineering State and Strategy Design Patterns using Static Code Analysis

Abstract

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.

Authors and Affiliations

Khaled Abdelsalam Mohamed, Amr Kamel

Keywords

Related Articles

A new vehicle detection method 

This paper presents a new vehicle detection method from images acquired by cameras embedded in a moving vehicle. Given the sequence of images, the proposed algorithms should detect out all cars in realtime. Related to th...

Cryptography using Random Rc4 Stream Cipher on SMS for Android-Based Smartphones

Messages sent using the default Short Message Service (SMS) application have to pass the SMS Center (SMSC) to record the communication between the sender and recipient. Therefore, the message security is not guaranteed b...

An Approach of Self-Organizing Systems Based on Factor-Order Space

To explore new system self-organizing theory, it’s urgent to find a new method in the system science. This paper combines factor space theory with system non-optimum theory, applies it into the research of system self-or...

Self-organized Population Segmentation for Geosocial Network Neighborhood

Geosocial network neighborhood application allows user to share information and communicate with other people within a virtual neighborhood or community. A large and crowded neighbourhood will degrade social quality with...

New Artificial Immune System Approach Based on Monoclonal Principle for Job Recommendation

Finding the best solution for an optimization problem is a tedious task, specifically in the presence of enormously represented features. When we handle a problem such as job recommendations that have a diversity of thei...

Download PDF file
  • EP ID EP262071
  • DOI 10.14569/IJACSA.2018.090178
  • Views 88
  • Downloads 0

How To Cite

Khaled Abdelsalam Mohamed, Amr Kamel (2018). Reverse Engineering State and Strategy Design Patterns using Static Code Analysis. International Journal of Advanced Computer Science & Applications, 9(1), 568-576. https://europub.co.uk/articles/-A-262071