亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

A DQN-based agent for automatic software refactoring

重构代码 计算机科学 技术债务 过程(计算) 软件 软件维护 依赖关系(UML) 软件工程 基于搜索的软件工程 软件系统 软件开发 软件开发过程 程序设计语言
作者
Hamidreza Ahmadi,Mehrdad Ashtiani,Mohammad Abdollahi Azgomi,Raana Saheb-Nassagh
出处
期刊:Information & Software Technology [Elsevier BV]
卷期号:147: 106893-106893 被引量:4
标识
DOI:10.1016/j.infsof.2022.106893
摘要

Nowadays, technical debt has become a very important issue in software project management. The main mechanism to repay this debt is through refactoring. Refactoring software projects usually comes at a high cost. As a result, researchers have always looked for ways to minimize this cost, and a good potential candidate to reduce the cost of a process is to automate it. One of the automatic software refactoring methods that recently has received a lot of attention is based on search-based software engineering (SBSE) methods. Although because of comprehensiveness and versatility SBSE is considered an appropriate method for automatic refactoring, it has its downsides, the most important of which are the uncertainty of the results and the exponential execution time. In this research, a solution is proposed inspired by search-based refactoring while taking advantage of exploitation in reinforcement learning techniques. This work aims to solve the uncertainty problems and execution time for large programs. In the proposed approach, the problem of uncertainty is solved by targeting the selection of refactoring actions used in the search-based approach. Also, due to the reduction of the dependency between the choice of the appropriate refactoring and its execution time, the time problem in large software refactoring has been greatly improved. Amongst the performed evaluations and specifically for the refactoring of the largest case study, the proposed approach managed to increase the accuracy to more than twice of the SBSE refactoring approaches, while reducing the execution time of refactoring by more than 98%. The results of the tests show that with increasing the volume and size of the software, the performance of the proposed approach also improves compared to the methods based on SBSE, both in terms of reducing technical debt and speeding up the refactoring process.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
5秒前
李爱国应助阳光的豆芽采纳,获得10
16秒前
flyinthesky完成签到,获得积分10
25秒前
ninomae完成签到 ,获得积分10
28秒前
张晓祁完成签到,获得积分10
46秒前
Jlu完成签到,获得积分10
56秒前
yueying完成签到,获得积分10
57秒前
1分钟前
米其林完成签到,获得积分10
1分钟前
1分钟前
venom发布了新的文献求助10
1分钟前
和谐的芷文完成签到 ,获得积分10
1分钟前
venom完成签到,获得积分10
1分钟前
fan完成签到 ,获得积分10
1分钟前
1分钟前
1分钟前
2分钟前
2分钟前
Liyyy完成签到 ,获得积分10
2分钟前
曾昊天发布了新的文献求助10
2分钟前
GingerF应助科研通管家采纳,获得50
2分钟前
曾昊天完成签到,获得积分10
2分钟前
2分钟前
优秀棒棒糖完成签到 ,获得积分10
2分钟前
2分钟前
2分钟前
2分钟前
柒月流火发布了新的文献求助10
2分钟前
量子星尘发布了新的文献求助10
2分钟前
今天记得来完成签到 ,获得积分10
3分钟前
3分钟前
天雨流芳完成签到 ,获得积分10
3分钟前
3分钟前
3分钟前
Sssun17发布了新的文献求助30
3分钟前
CodeCraft应助Sssun17采纳,获得30
3分钟前
3分钟前
万邦德完成签到,获得积分10
3分钟前
3分钟前
soni发布了新的文献求助10
3分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Fermented Coffee Market 2000
合成生物食品制造技术导则,团体标准,编号:T/CITS 396-2025 1000
The Leucovorin Guide for Parents: Understanding Autism’s Folate 1000
Pipeline and riser loss of containment 2001 - 2020 (PARLOC 2020) 1000
Critical Thinking: Tools for Taking Charge of Your Learning and Your Life 4th Edition 500
Comparing natural with chemical additive production 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 5244922
求助须知:如何正确求助?哪些是违规求助? 4410639
关于积分的说明 13728268
捐赠科研通 4280674
什么是DOI,文献DOI怎么找? 2348739
邀请新用户注册赠送积分活动 1345875
关于科研通互助平台的介绍 1304481