arrow
返回

Code smell detection by exploiting parameter tuning techniques for sustainable software evolution

delete2025-09-01
delete0
PRE
AI
S
Shrasti Mourya
V
V. B. Singh *
DOI:10.1007/s13198-025-02951-wdelete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
可持续发展软件涉及有效技术,以在系统复杂性增长时保持代码质量。当前技术可能难以处理不平衡数据,或在检测不良代码特征方面不可靠。然而,据我们所知,关于该领域的研究文献表明,参数调优对机器学习模型的影响并不显著。为解决这些挑战,我们通过实验对所有可能的22种特征选择技术、14种不平衡处理方法的组合进行了研究,应用于AdaBoost分类器,并采用5种参数调优技术,利用7种性能指标对3种不良代码特征(God Class、Feature Envy、Long Method)进行评估,考虑了标准的不良代码特征数据集。共生成并评估了4620个模型,以确定哪些组合在检测上述不良代码特征方面表现最佳。具体而言,909个模型在检测Feature Envy时的准确率超过57.88%,533个模型在检测God Class时的准确率超过80.84%,而1,001个模型在检测Long Method时的准确率超过76.40%。通过优化AdaBoost分类器以适应不同的特征选择、不平衡处理和参数调优场景,我们提供了一个可复现的框架,用于改进代码质量评估并支持可持续的软件开发实践。
Keyword:
Code smells
Code smell detection
Machine learning algorithms
Parameter tuning
Software quality
Software sustainability
Software evolution

期刊

I
International Journal of System Assurance Engineering and Management
IF:
1.4
论文数:
370
被引数:
3.0K

机构

暂无机构信息
引用论文

引用论文

Automatic detection of Long Method and God Class code smells through neural source code embeddings
err2022-10-01
err25
errOAAI
errKovacevic, Aleksandar; Slivka, Jelena; Vidakovic, Dragan; Grujic, Katarina-Glorija; Luburic, Nikola; Prokic, Simona; Sladic, Goran
err分享
err收藏
Code Smell Detection Using Ensemble Machine Learning Algorithms
err2022-10-13
err0
errOAAI
errSeema Dewangan; Rajwant Singh Rao; Alok Mishra; Manjari Gupta
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容