An Ontology-Enabled Approach for the Detection of Software Design Smells

Software evolution and bad smells have been widely studied over past two decades, occurring at architecture, design, implementation, and requirement levels. Design smells, which result from poor software design or violations of best programming practices, often seep into the implementation stage, causing hindrances for writing cleaner and maintainable code. Detecting design smells at design stage significantly reduces their proliferation to implementation stage. This paper introduces an innovative Ontology based Detection of Design Smell (ODDS) approach for detecting software design smells at the design level. We analyzed 4,820 classes and 27,563 methods across various Java projects, proposing new design-level metrics and axioms tailored for identifying 10 design smells. Our approach also identified that some design smells serve as precursors to the occurrence of other design smells. Unlike existing approaches that rely on source code metrics for detecting architectural and design smells, our method emphasizes using metrics, corresponding to the specific level of granularity—architectural, design, and code. Our methodology facilitates research community by early detection during the design phase, ensures design consistency by supporting automated reasoning, and reducing propagation of design smells in to implementation phase. This highlights the importance of clear and understandable designs to facilitate refactoring and minimize design smells. The efficacy of our approach is validated through its application to open-source software projects, giving precision and recall of 0.92, 0.91 and demonstrating significant potential in enhancing the detection and management of design smells.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3590267
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Ontology-Enabled Approach for the Detection of Software Design Smells

Sabiyyah Sabir, Yunyoung Nam, Naoufel Kraïem, Ghulam Rasool et al.
IEEE Access
Software Engineering Research
article

An Ontology-Enabled Approach for the Detection of Software Design Smells

Sabiyyah Sabir, Yunyoung Nam, Naoufel Kraïem, Ghulam Rasool, T. Umer
article en

Abstract

Software evolution and bad smells have been widely studied over past two decades, occurring at architecture, design, implementation, and requirement levels. Design smells, which result from poor software design or violations of best programming practices, often seep into the implementation stage, causing hindrances for writing cleaner and maintainable code. Detecting design smells at design stage significantly reduces their proliferation to implementation stage. This paper introduces an innovative Ontology based Detection of Design Smell (ODDS) approach for detecting software design smells at the design level. We analyzed 4,820 classes and 27,563 methods across various Java projects, proposing new design-level metrics and axioms tailored for identifying 10 design smells. Our approach also identified that some design smells serve as precursors to the occurrence of other design smells. Unlike existing approaches that rely on source code metrics for detecting architectural and design smells, our method emphasizes using metrics, corresponding to the specific level of granularity—architectural, design, and code. Our methodology facilitates research community by early detection during the design phase, ensures design consistency by supporting automated reasoning, and reducing propagation of design smells in to implementation phase. This highlights the importance of clear and understandable designs to facilitate refactoring and minimize design smells. The efficacy of our approach is validated through its application to open-source software projects, giving precision and recall of 0.92, 0.91 and demonstrating significant potential in enhancing the detection and management of design smells.

IEEE AccessVol. 13
COMSATS University Islamabad (PK), Soonchunhyang University (KR), King Khalid University (SA)
National Research Foundation of Korea, Deanship of Scientific Research, King Saud University
Openalex Percentile: Top 73%
Software Engineering Research
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.