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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
nn完成签到,获得积分10
1秒前
3秒前
生动幼菱发布了新的文献求助10
3秒前
PGao发布了新的文献求助10
4秒前
5秒前
6秒前
Mason完成签到,获得积分10
6秒前
CipherSage应助网名还没想好采纳,获得10
6秒前
施文涛完成签到,获得积分10
7秒前
小马甲应助妩媚的觅珍采纳,获得30
8秒前
小xy完成签到,获得积分10
9秒前
庞振桓应助陈嘟嘟采纳,获得10
10秒前
mirutio发布了新的文献求助10
10秒前
11秒前
11秒前
何晴安发布了新的文献求助10
12秒前
美好斓发布了新的文献求助10
12秒前
14秒前
liuzhuohao应助meng采纳,获得10
15秒前
15秒前
小郭完成签到 ,获得积分10
16秒前
17秒前
17秒前
阿豪发布了新的文献求助10
18秒前
tupos完成签到,获得积分10
20秒前
小米_M发布了新的文献求助10
20秒前
李爱国应助生动幼菱采纳,获得10
20秒前
pyh发布了新的文献求助10
22秒前
小北发布了新的文献求助10
24秒前
才染完成签到,获得积分20
24秒前
闯天涯完成签到,获得积分10
26秒前
烂漫依琴完成签到,获得积分10
26秒前
小太阳发布了新的文献求助10
27秒前
roy_chiang发布了新的文献求助10
27秒前
合适的致远完成签到,获得积分10
27秒前
李爱国应助科研通管家采纳,获得10
27秒前
我是老大应助科研通管家采纳,获得10
27秒前
28秒前
乐乐应助科研通管家采纳,获得10
28秒前
orixero应助科研通管家采纳,获得10
28秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Nondestructive Testing Handbook: Vol. 4, Thermal and Infrared Testing (IR), 4th ed 800
作者名:Kristopher P. Plain,悉尼大学的,目前只能查到其四篇论文,想找到其博士论文 590
Évora na Idade Média 555
Soil mites of the family Rhagidiidae (Actinedida: Eupodoidea). Morphology, Systematics, Ecology 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Radical Reactions 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7364966
求助须知:如何正确求助?哪些是违规求助? 8973771
关于积分的说明 19075958
捐赠科研通 7009599
什么是DOI,文献DOI怎么找? 3223894
关于科研通互助平台的介绍 2387666
邀请新用户注册赠送积分活动 2204726