A Provenance-Centric Approach to Code Smell Reduction using Human-in-Loop Approach

Code smells are early warning signs of software development whose detection and timely resolution is essential for long-term software quality. Conventional methods used for detecting smells fail to complete the task because they do not consider the evolution of code over time. To overcome this issue this paper suggests a provenance-driven approach to integrate human-in-the-loop approach in code smell detection. The study begins by collecting provenance data from software version control systems. This data includes history of code changes, decisions and developer feedback. Secondly, the automated tools like PMD and FindBugs are used to detect code smells. The results generated by these tools are reviewed and validated by developers to refine the findings. The process works in form of a feedback loop which bring continuous improvement in the method. The system analyzes the provenance data to understand the context of smells and identify the reason behind smell emergence. Finally, we generate refactoring suggestions based on this analysis. To evaluate the performance the proposed method is compared with SonarQube, Checkstyle, PMD and FindBugs using various metrices. Results show that the proposed approach reduces false positives by 30% and increases the detection of complex smells by 25% boosting software maintainability.

Authors

Institutions

Publication Details

Published
2025-03-14
DOI
https://doi.org/10.1109/icict64582.2025.00011
Primary Topic
Scientific Computing and Data Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Provenance-Centric Approach to Code Smell Reduction using Human-in-Loop Approach

Ateeq Ur Rehman, Ryan Alturki, Nabeela Awan, Fazlullah Khan
2 links
Scientific Computing and Data Management
article

A Provenance-Centric Approach to Code Smell Reduction using Human-in-Loop Approach

Ateeq Ur Rehman, Ryan Alturki, Nabeela Awan, Fazlullah Khan
article en

Abstract

Code smells are early warning signs of software development whose detection and timely resolution is essential for long-term software quality. Conventional methods used for detecting smells fail to complete the task because they do not consider the evolution of code over time. To overcome this issue this paper suggests a provenance-driven approach to integrate human-in-the-loop approach in code smell detection. The study begins by collecting provenance data from software version control systems. This data includes history of code changes, decisions and developer feedback. Secondly, the automated tools like PMD and FindBugs are used to detect code smells. The results generated by these tools are reviewed and validated by developers to refine the findings. The process works in form of a feedback loop which bring continuous improvement in the method. The system analyzes the provenance data to understand the context of smells and identify the reason behind smell emergence. Finally, we generate refactoring suggestions based on this analysis. To evaluate the performance the proposed method is compared with SonarQube, Checkstyle, PMD and FindBugs using various metrices. Results show that the proposed approach reduces false positives by 30% and increases the detection of complex smells by 25% boosting software maintainability.

Abdul Wali Khan University Mardan (PK), University of Staffordshire (GB), Umm al-Qura University (SA), Australian Institute of Business (AU)
Openalex Percentile: Top 84%
Scientific Computing and Data Management
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.