arrow
Return

Smell-Aware Bug Classification

delete2024-01-01
delete1
delete
OA
AI
K
Khyber
S
Sikandar Ali *
F
Fazli Wahid
S
Samad Baseer
A
Ahmed Alkhayyat
A
Akram M. Al-Radaei *
DOI:10.1109/ACCESS.2023.3335175delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Code smell indicates inadequacies in design and implementation choices. Code smells harm software maintainability including effects on components' bug proneness and code quality has been demonstrated in previous studies. This study aims to investigate the importance of code smell metrics in prediction models for detecting bug-prone code modules. For improvement of the bug prediction model, in this study, smell-based metrics of code have been used. For the training of our model, we employed 14 different open-source projects from the PROMISE repository. Every project file consists of source code as well as smell code metrics and was written in Java. We examined different evaluation metrics such as F1_score, accuracy, precision, recall, the area under the receiver operating characteristic curve, and the area under the precision-recall curve of the five methods within the version, within the project, and across the projects. We classify the code components as buggy or non-buggy using Naive Bayes, Random Forest (RF), Support Vector Machine (SVM), Logistic Regression, and k-Nearest Neighbor classifiers. RF and SVM have given better results within the version as well as within the project.
Keywords:
Code smell
source code
smell-aware
bugs classification

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

I
Islamic University College
Scholars:
664
Papers: 885
Citations: 4
U
University of Engineering and Technology Peshawar
Scholars:
843
Papers: 712
Citations: 1.3K
Cited Papers

Cited Papers

errShare
errSave
Spatial patterns of the semi-aquatic rodentNectomys squamipesin Atlantic forest streams
err2015-08-06
err0
errOAAI
errDaniela Oliveira Lima; Gabriela Medeiros Pinho; Fernando A. S. Fernandez
errShare
errSave
Diseases and Molecular Diagnostics: A Step Closer to Precision Medicine
err2017-08-22
err0
errOAAI
errShailendra Dwivedi; Purvi Purohit; Radhieka Misra; Puneet Pareek; Apul Goel; Sanjay Khattri; Kamlesh Kumar Pant; Sanjeev Misra; Praveen Sharma
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Chemical composition and biological activity of peat deposits of oligotrophic bog
err2018-08-15
err0
errOAAI
errEkaterina Vladimirovna Porokhina; Margarita Alexandrovna Sergeeva; Olga Alexandrovna Golubina
errShare
errSave
On the Properties of WC/SiC Multilayers
err2018-04-06
err0
errOAAI
errMauro Prasciolu; Saša Bajt
errShare
errSave
Expanding automotive electronic systems
err2002-01-01
err0
PREAI
errG. Leen; D. Heffernan
errShare
errSave
researcher View more