A systematic analysis on machine learning classifiers with data pre-processing to detect anti-pattern from source code

<p>Automatic detection of anti-patterns from source code can reduce software maintenance costs massively. Nowadays, machine learning approaches are very commonly used to identify anti-patterns. Hence, it is very crucial to choose a classifier that can be useful for detecting anti-patterns. This work aims to help practitioners to choose a suitable classifier to detect anti-patterns. In this paper, we highlight 16 classifiers in four different categories to detect anti-patterns. Furthermore, the performance of these classifiers is identified with the data pre-processing (DPP) to detect four commonly occurring anti-patterns from the three commonly used open-source Java projects’ source code. The accuracy of Dagging classifiers is 98.4%. Kernel logistic regression (KLR) also performs well i.e., 97%. In the case of time complexity, naive Bayes (NB), decision trees (DT), support vector machines (SVM), library for support vector machines (LibSVM), logistic, and LightGBM (LB) have less time complexity to build a model in all the projects.</p>

Authors

Institutions

Publication Details

Journal
IAES International Journal of Artificial Intelligence
Published
2024-11-29
DOI
https://doi.org/10.11591/ijai.v14.i1.pp376-384
Citations
1
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.78

Funders

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

A systematic analysis on machine learning classifiers with data pre-processing to detect anti-pattern from source code

Md. Sazzadur Rahman, Afrina Khatun, A. S. M. Sanwar Hosen, Md. Shahidul Islam et al.
1 citations
IAES International Journal of Artificial Intelligence
Software Engineering Research
0.78
article

A systematic analysis on machine learning classifiers with data pre-processing to detect anti-pattern from source code

Md. Sazzadur Rahman, Afrina Khatun, A. S. M. Sanwar Hosen, Md. Shahidul Islam, Nazneen Akhter
article en
1 citations

Abstract

<p>Automatic detection of anti-patterns from source code can reduce software maintenance costs massively. Nowadays, machine learning approaches are very commonly used to identify anti-patterns. Hence, it is very crucial to choose a classifier that can be useful for detecting anti-patterns. This work aims to help practitioners to choose a suitable classifier to detect anti-patterns. In this paper, we highlight 16 classifiers in four different categories to detect anti-patterns. Furthermore, the performance of these classifiers is identified with the data pre-processing (DPP) to detect four commonly occurring anti-patterns from the three commonly used open-source Java projects’ source code. The accuracy of Dagging classifiers is 98.4%. Kernel logistic regression (KLR) also performs well i.e., 97%. In the case of time complexity, naive Bayes (NB), decision trees (DT), support vector machines (SVM), library for support vector machines (LibSVM), logistic, and LightGBM (LB) have less time complexity to build a model in all the projects.</p>

IAES International Journal of Artificial IntelligenceVol. 14(1)
Woosong University (KR), Bangladesh University of Professionals (BD)
Woosong University
Industry, innovation and infrastructure
Openalex Percentile: Top 19%
Software Engineering Research
0.78
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.

A systematic analysis on machine learning classifiers with data pre-processing to detect anti-pattern from source code — Md. Sazzadur Rahman, Afrina Khatun, et al. · IAES International Journal of Artificial Intelligence (2024) | TGRS Research Map | TGRS