arrow
返回

A Severity Assessment of Python Code Smells

delete2023-01-01
delete0
delete
OA
AI
A
Aakanshi Gupta
R
Rashmi Gandhi
N
Nishtha Jatana
D
Divya Jatain
S
Sandeep Kumar Panda *
J
Janjhyam Venkata Naga Ramesh
DOI:10.1109/ACCESS.2023.3327553delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Presence of code smells complicate the source code and can obstruct the development and functionality of the software project. As they represent improper behavior that might have an adverse effect on software maintenance, code smells are behavioral in nature. Python is widely used for various software engineering activities and tends tool to contain code smells that affect its quality. This study investigates five code smells diffused in 20 Python software comprising 10550 classes and analyses its severity index using metric distribution at the class level. Subsequently, a behavioral analysis has been conducted over the considered modification period (phases) for the code smell undergoing class change proneness. Furthermore, it helps to investigate the accurate multinomial classifier for mining the severity index. It witnesses the change in severity at the class level over the modification period by mapping its characteristics over various statistical functions and hypotheses. Our findings reveal that the Cognitive Complexity of code smell is the most severe one. The remaining four smells are centered around the moderate range, having an average severity index value. The results suggest that the J48 algorithm was the accurate multinomial classifier for classifying the severity of code smells with 92.98% accuracy in combination with the AdaBoost method. The findings of our empirical evaluation can be beneficial for the software developers to prioritize the code smells in the pre-refactoring phase and can help manage the code smells in forthcoming releases, subsequently saving ample time and resources spent in the development and maintenance of software projects.
Keyword:
Software maintenance
Internet of Things
Open source software
Green design
code smell severity
cognitive complexity code smell
class change proneness
open-source software
sustainable software

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

T
the icfai foundation for higher education (ifhe)
学者数:
297
论文数: 342
被引数: 0
M
maharaja surajmal institute of technology
学者数:
175
论文数: 149
被引数: 0
A
amity university noida
学者数:
3.6K
论文数: 2.8K
被引数: 6
学者 查看更多机构
引用论文

引用论文

Computerized Real-Time Analysis of Football Games
err2005-07-01
err0
PREAI
errM. Beetz; B. Kirchlechner; M. Lames
err分享
err收藏
err分享
err收藏
A large-scale empirical study on the lifecycle of code smell co-occurrences代码气味共现生命周期的大规模实证研究
err2018-07-01
err74
PREAI
errPalomba, Fabio; Bavota, Gabriele; Di Penta, Massimiliano; Fasano, Fausto; Oliveto, Rocco; De Lucia, Andrea
err分享
err收藏
Effects of thermal annealing on the charge localization characteristics of HfO2/Au/HfO2 stack
err2016-06-01
err0
PREAI
errXuan Feng; Shurong Dong; Hei Wong; Danqun Yu; K.L. Pey; K. Shubhakar; W.S. Lau
err分享
err收藏
学者 查看更多内容