Runtime Analysis of Object-Oriented Designs for Predefined Design Pattern Detection: A Conceptual Validation Study

The process of Automatic Design Pattern Recovery (ADPR) aims to identify and document design patterns within software systems by analyzing code for recurring signatures indicative of predefined patterns. Despite the development of numerous techniques to address this challenge, the varying implementations of design patterns across different programming languages, combined with the lack of contextual analysis, hinder the effectiveness of these methods. Building on prior research, this paper introduces an innovative approach to ADPR that integrates structural and behavioral analysis of source code. This approach leverages the characteristic that design patterns tend to exhibit predictable behaviors as software architecture scales or when the behavior of its constituent objects is filtered. The core contribution of this work is the introduction of Behavio-Structural Sequences (BSS), which encapsulate key features for identifying the intrinsic nature of design patterns. These sequences are filtered based on architectural and behavioral properties, transformed into text strings, and classified using the Levenshtein distance metric. The proposed classifier is evaluated on a diverse set of source codes, achieving an 89% accuracy rate with a 0.09 miss rate.

Authors

Institutions

Publication Details

Journal
TEM Journal
Published
2025-05-27
DOI
https://doi.org/10.18421/tem142-14
Primary Topic
Manufacturing Process and Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Runtime Analysis of Object-Oriented Designs for Predefined Design Pattern Detection: A Conceptual Validation Study

Y. Amrani, Tarik Houichime
TEM Journal
Manufacturing Process and Optimization
article

Runtime Analysis of Object-Oriented Designs for Predefined Design Pattern Detection: A Conceptual Validation Study

Y. Amrani, Tarik Houichime
article en

Abstract

The process of Automatic Design Pattern Recovery (ADPR) aims to identify and document design patterns within software systems by analyzing code for recurring signatures indicative of predefined patterns. Despite the development of numerous techniques to address this challenge, the varying implementations of design patterns across different programming languages, combined with the lack of contextual analysis, hinder the effectiveness of these methods. Building on prior research, this paper introduces an innovative approach to ADPR that integrates structural and behavioral analysis of source code. This approach leverages the characteristic that design patterns tend to exhibit predictable behaviors as software architecture scales or when the behavior of its constituent objects is filtered. The core contribution of this work is the introduction of Behavio-Structural Sequences (BSS), which encapsulate key features for identifying the intrinsic nature of design patterns. These sequences are filtered based on architectural and behavioral properties, transformed into text strings, and classified using the Levenshtein distance metric. The proposed classifier is evaluated on a diverse set of source codes, achieving an 89% accuracy rate with a 0.09 miss rate.

TEM Journal
Mohammed V University (MA)
Openalex Percentile: Top 84%
Manufacturing Process and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Runtime Analysis of Object-Oriented Designs for Predefined Design Pattern Detection: A Conceptual Validation Study — Y. Amrani, Tarik Houichime · TEM Journal (2025) | TGRS Research Map | TGRS