Work-in-Progress: Python Code Critiquer, a Machine Learning Approach DOI
Laura Albrant,

Pradnya Pendse,

Daniel Masker

et al.

2021 IEEE Frontiers in Education Conference (FIE), Journal Year: 2023, Volume and Issue: unknown, P. 1 - 6

Published: Oct. 18, 2023

This research is part of a larger development project that working on multi-programming language code critiquer called WebTA. The WebTA code-critiquing software designed to be used in courses for novice programmers, e.g., CS1 first engineering course. authors report component the makes initial steps towards automating identification common student mistakes, or antipatterns code. Antipatterns can errors, inefficiencies, incorrect style choices works aimed at Python and uses machine learning algorithm, Random Forests, identify stylistic antipattern crowded operators.

Language: Английский

A study of dealing class imbalance problem with machine learning methods for code smell severity detection using PCA-based feature selection technique DOI Creative Commons

Rajwant Singh Rao,

Seema Dewangan,

Alok Mishra

et al.

Scientific Reports, Journal Year: 2023, Volume and Issue: 13(1)

Published: Sept. 27, 2023

Abstract Detecting code smells may be highly helpful for reducing maintenance costs and raising source quality. Code facilitate developers or researchers to understand several types of design flaws. with high severity can cause significant problems the software challenges system's maintainability. It is quite essential assess detected in software, as it prioritizes refactoring efforts. The class imbalance problem also further enhances difficulties smell detection. In this study, four datasets (Data class, God Feature envy, Long method) are selected detect severity. work, an effort made address issue imbalance, which, Synthetic Minority Oversampling Technique (SMOTE) balancing technique applied. Each dataset's relevant features chosen using a feature selection based on principal component analysis. determined five machine learning techniques: K-nearest neighbor, Random forest, Decision tree, Multi-layer Perceptron, Logistic Regression. This study obtained 0.99 accuracy score forest tree approach method smell. model's performance compared its three other measurements (Precision, Recall, F-measure) estimate classification models. impact presented without applying SMOTE. results promising beneficial paving way studies area.

Language: Английский

Citations

19

Severity Classification of Code Smells Using Machine-Learning Methods DOI

Seema Dewangan,

Rajwant Singh Rao,

Sripriya Roy Chowdhuri

et al.

SN Computer Science, Journal Year: 2023, Volume and Issue: 4(5)

Published: July 29, 2023

Language: Английский

Citations

14

FedCSD: A Federated Learning Based Approach for Code-Smell Detection DOI Creative Commons
Sadi Alawadi, Khalid Alkharabsheh, Fahed Alkhabbas

et al.

IEEE Access, Journal Year: 2024, Volume and Issue: 12, P. 44888 - 44904

Published: Jan. 1, 2024

Software quality is critical, as low quality, or "Code smell," increases technical debt and maintenance costs. There a timely need for collaborative model that detects manages code smells by learning from diverse distributed data sources while respecting privacy providing scalable solution continuously integrating new patterns practices in management. However, the current literature still missing such capabilities. This paper addresses previous challenges proposing Federated Learning Code Smell Detection (FedCSD) approach, specifically targeting "God Class," to enable organizations train ML models safeguarding collaboratively. We conduct experiments using manually validated datasets detect analyze smell scenarios validate our approach. Experiment 1, centralized training experiment, revealed varying accuracies across datasets, with dataset two achieving lowest accuracy (92.30%) one three highest (98.90% 99.5%, respectively). 2, focusing on cross-evaluation, showed significant drop (lowest: 63.80%) when fewer were present dataset, reflecting debt. 3 involved splitting 10 companies, resulting global of 98.34%, comparable model's accuracy. The application federated techniques demonstrates promising performance improvements code-smell detection, benefiting both software developers researchers.

Language: Английский

Citations

5

Ensemble methods with feature selection and data balancing for improved code smells classification performance DOI Creative Commons
Pravin Singh Yadav,

Rajwant Singh Rao,

Alok Mishra

et al.

Engineering Applications of Artificial Intelligence, Journal Year: 2024, Volume and Issue: 139, P. 109527 - 109527

Published: Oct. 28, 2024

Language: Английский

Citations

4

Using word embedding and convolution neural network for bug triaging by considering design flaws DOI
Reza Sepahvand, Reza Akbari, Behnaz Jamasb

et al.

Science of Computer Programming, Journal Year: 2023, Volume and Issue: 228, P. 102945 - 102945

Published: March 27, 2023

Language: Английский

Citations

10

Alleviating class imbalance in Feature Envy prediction: An oversampling technique based on code entity attributes DOI
Jiamin Guo, Yangyang Zhao, Tao Zheng

et al.

Information and Software Technology, Journal Year: 2025, Volume and Issue: 180, P. 107673 - 107673

Published: Jan. 15, 2025

Language: Английский

Citations

0

Code Smell Detection Using Deep Learning Models to Enhance the Software Quality DOI

Usha Kiran,

Neelamadhab Padhy,

Rasmita Panigrahi

et al.

Communications in computer and information science, Journal Year: 2025, Volume and Issue: unknown, P. 31 - 43

Published: Jan. 1, 2025

Language: Английский

Citations

0

A Semisupervised Learning Approach for Code Smell Detection DOI
Ishita Kheria, Dhruv Gada, Ruhina Karani

et al.

SN Computer Science, Journal Year: 2025, Volume and Issue: 6(2)

Published: Feb. 6, 2025

Language: Английский

Citations

0

An Empirical Study on Feature Extraction Using Ensemble Deep Learning for Code Smell Detection DOI
Ruchika Malhotra, Bhawna Jain,

Marouane Kessentini

et al.

Smart innovation, systems and technologies, Journal Year: 2025, Volume and Issue: unknown, P. 573 - 585

Published: Jan. 1, 2025

Language: Английский

Citations

0

Data preprocessing for machine learning based code smell detection: A systematic literature review DOI
Fábio do Rosario Santos, Ricardo Choren Noya

Information and Software Technology, Journal Year: 2025, Volume and Issue: unknown, P. 107752 - 107752

Published: April 1, 2025

Language: Английский

Citations

0