清晨好,您是今天最早来到科研通的研友!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您科研之路漫漫前行!

Calibrating Deep Learning-based Code Smell Detection using Human Feedback

代码气味 计算机科学 编码(集合论) 基线(sea) 背景(考古学) 深度学习 人工智能 容器(类型理论) 软件 软件质量 机器学习 人机交互 软件开发 工程类 程序设计语言 机械工程 古生物学 海洋学 集合(抽象数据类型) 生物 地质学
作者
Himesh Nanadani,Mootez Saad,Tushar Sharma
标识
DOI:10.1109/scam59687.2023.00015
摘要

Code smells are inherently subjective in nature. Software developers may have different opinions and perspectives on smelly code. While many attempts have been made to use deep learning-based models for code smell detection, they fail to consider each developer's subjective perspective while detecting smells. Ignoring this aspect defies the purpose of using deep learning-based smell detection methods because the models are not customized to the developer's context. This paper proposes a method that considers human feedback to account for such subjectivity. Towards this, we created a plugin for IntelliJ IDEA and developed a container-based web-server to offer services of our baseline deep learning model. The setup allowed developers to see code smells within the IDE and provide feedback. Using this setup, we conducted a controlled experiment with 14 participants divided into experimental and control groups. In the first round of our experiment, we show code smells predicted using the baseline deep learning model and collect feedback from the participants. In the second round, we fine-tune the model based on the experimental group's feedback and reevaluate its performance before and after adjustment. Our results show that using such calibration improves the performance of the smell detection model by 15.49% in F1 score on average across the participants of the experimental group. Our work carries implications for both researchers and practitioners. Practitioners can apply our approach to enhance the quality of their code in day-to-day development activities, aligning it with their own code smell definitions. Furthermore, software engineering researchers can leverage this study to adopt analogous approaches for addressing similar issues, including code review.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
tianshanfeihe完成签到 ,获得积分10
4秒前
7秒前
coolplex完成签到 ,获得积分10
8秒前
拜月教猪完成签到,获得积分10
9秒前
拜月教猪发布了新的文献求助10
12秒前
我是老大应助科研通管家采纳,获得10
21秒前
坚强的铅笔完成签到 ,获得积分10
34秒前
bookgg完成签到 ,获得积分10
40秒前
量子星尘发布了新的文献求助30
48秒前
55秒前
陈好好完成签到 ,获得积分10
1分钟前
林药师完成签到,获得积分10
1分钟前
sailingluwl完成签到,获得积分10
1分钟前
Eri_SCI完成签到 ,获得积分10
1分钟前
尘染完成签到 ,获得积分10
1分钟前
DaYongDan完成签到 ,获得积分10
1分钟前
AOTUMAN完成签到,获得积分10
1分钟前
奋斗雅香完成签到 ,获得积分10
1分钟前
zsfxqq完成签到 ,获得积分10
2分钟前
领导范儿应助方俊驰采纳,获得10
2分钟前
charih完成签到 ,获得积分10
2分钟前
2分钟前
Akim应助cc采纳,获得10
2分钟前
方俊驰发布了新的文献求助10
2分钟前
nini完成签到,获得积分10
2分钟前
2分钟前
冬1完成签到 ,获得积分10
2分钟前
2分钟前
2分钟前
wayne完成签到 ,获得积分10
2分钟前
cc发布了新的文献求助10
2分钟前
苗条的一一完成签到,获得积分10
2分钟前
2分钟前
量子星尘发布了新的文献求助10
2分钟前
2分钟前
fjhsg25完成签到,获得积分20
2分钟前
个性仙人掌完成签到 ,获得积分10
3分钟前
孤独剑完成签到 ,获得积分10
3分钟前
celia完成签到 ,获得积分10
3分钟前
3分钟前
高分求助中
【提示信息,请勿应助】关于scihub 10000
A new approach to the extrapolation of accelerated life test data 1000
Coking simulation aids on-stream time 450
北师大毕业论文 基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 390
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
Robot-supported joining of reinforcement textiles with one-sided sewing heads 360
Novel Preparation of Chitin Nanocrystals by H2SO4 and H3PO4 Hydrolysis Followed by High-Pressure Water Jet Treatments 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4015509
求助须知:如何正确求助?哪些是违规求助? 3555418
关于积分的说明 11318049
捐赠科研通 3288665
什么是DOI,文献DOI怎么找? 1812284
邀请新用户注册赠送积分活动 887882
科研通“疑难数据库(出版商)”最低求助积分说明 812012