Cross-project clone consistent-defect prediction via transfer-learning method

克隆(Java方法) 计算机科学 一致性(知识库) 杠杆(统计) 软件维护 构造(python库) 软件工程 软件 软件开发 机器学习 源代码 学习迁移 软件错误 数据挖掘 人工智能 程序设计语言 DNA 遗传学 生物
作者
Wenchao Jiang,Shaojian Qiu,Tiancai Liang,Fanlong Zhang
出处
期刊:Information Sciences [Elsevier BV]
卷期号:635: 138-150 被引量:12
标识
DOI:10.1016/j.ins.2023.03.118
摘要

Code clones are comparable code snippets that are introduced into software by developers in order to increase software development productivity. A change to code clone may result in a consistent-defect if the developers forget to verify the consistency of the code after the change. To reduce such change-related maintenance costs, researchers have proposed a number of methods for predicting clone consistency in advance. Unfortunately, the effectiveness of these cross-project models is unsatisfactory, and performing such predictions with insufficient data remains a challenge. Meanwhile, cross-project defect prediction via transfer learning method is prevalent in the software engineering community. Consequently, we first construct an empirical study to explore whether transfer-learning techniques could well be utilized for clone cross-project consistent-defect prediction in the initial stages of software development. In this paper, we employ transfer-learning techniques to predict clone consistency at both the time of clone creating and clone changing in order to avoid clone consistent-defects and maintenance. We conduct an experiment on open-source projects to evaluate the effectiveness of various transfer-learning methods. Our investigation demonstrates that transfer-learning techniques have a beneficial impact on predicting cross-project clone consistent-defect, and that the size of the dataset also has a positive effect on prediction. In order to promote software safety and security, we recommend that developers leverage transfer-learning to enhance the capability for clone cross-project consistent-defect prediction early in the software development phase.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
万能图书馆应助彭蓬采纳,获得10
1秒前
1秒前
wxyes完成签到,获得积分20
2秒前
三人水明完成签到,获得积分10
2秒前
深情安青应助chen采纳,获得10
2秒前
酷酷蓝天完成签到,获得积分10
2秒前
2秒前
泪水打湿鲜肉包完成签到,获得积分10
2秒前
哈基米应助范欣雨采纳,获得20
2秒前
小陶子完成签到,获得积分10
3秒前
包容小刺猬完成签到 ,获得积分10
3秒前
YunJieheng完成签到,获得积分10
3秒前
星月完成签到,获得积分10
3秒前
脑洞疼应助Meiyu采纳,获得10
3秒前
ZZ发布了新的文献求助10
4秒前
4秒前
笑点低的凝阳完成签到,获得积分10
4秒前
夏咲咏发布了新的文献求助10
5秒前
wangjing11完成签到,获得积分10
5秒前
青芒果发布了新的文献求助10
5秒前
5秒前
博士早日毕业完成签到,获得积分10
5秒前
humengli完成签到 ,获得积分10
6秒前
所所应助ccc采纳,获得10
6秒前
田様应助三人水明采纳,获得10
7秒前
octopus完成签到,获得积分20
7秒前
687完成签到,获得积分10
7秒前
酷酷蓝天发布了新的文献求助10
8秒前
研友_VZG7GZ应助暮葵采纳,获得30
8秒前
CodeCraft应助wuaiyou采纳,获得10
8秒前
Fa完成签到,获得积分10
8秒前
激动的大山完成签到,获得积分10
8秒前
宗友绿发布了新的文献求助10
8秒前
烨然发布了新的文献求助20
9秒前
nchenhao完成签到,获得积分10
9秒前
LaTeXer应助卡卡采纳,获得50
10秒前
sss完成签到,获得积分10
10秒前
陈鑫完成签到,获得积分10
11秒前
科研欢发布了新的文献求助10
11秒前
东东完成签到,获得积分10
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Solid-Liquid Interfaces 600
A study of torsion fracture tests 510
Vertebrate Palaeontology, 5th Edition 500
Narrative Method and Narrative form in Masaccio's Tribute Money 500
Aircraft Engine Design, Third Edition 500
Neonatal and Pediatric ECMO Simulation Scenarios 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 4755216
求助须知:如何正确求助?哪些是违规求助? 4098875
关于积分的说明 12681344
捐赠科研通 3812718
什么是DOI,文献DOI怎么找? 2104761
邀请新用户注册赠送积分活动 1129787
关于科研通互助平台的介绍 1007660