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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
杰行天下完成签到,获得积分10
刚刚
认真的皮皮虾完成签到,获得积分10
3秒前
QIU完成签到 ,获得积分10
8秒前
xiaxia42完成签到 ,获得积分0
9秒前
14秒前
高高完成签到,获得积分10
15秒前
wushengdeyu完成签到 ,获得积分10
16秒前
Liangstar完成签到 ,获得积分10
18秒前
知行合一完成签到,获得积分10
27秒前
Waiting完成签到 ,获得积分10
28秒前
Jackcaosky完成签到 ,获得积分10
29秒前
璐璐完成签到 ,获得积分10
29秒前
33秒前
蓝色花生豆完成签到,获得积分10
34秒前
是玥玥啊完成签到,获得积分10
34秒前
薄荷心完成签到 ,获得积分10
37秒前
shjyang发布了新的文献求助10
38秒前
苗条白枫完成签到 ,获得积分10
40秒前
CrsCrsCrs完成签到,获得积分10
40秒前
hml123完成签到,获得积分10
41秒前
众行绘研完成签到 ,获得积分10
41秒前
Henry完成签到,获得积分10
43秒前
keke完成签到,获得积分10
45秒前
48秒前
gushaohua007完成签到 ,获得积分10
48秒前
云曦完成签到 ,获得积分10
49秒前
Zhao发布了新的文献求助10
53秒前
郑欢欢完成签到 ,获得积分10
54秒前
乐正怡完成签到 ,获得积分0
54秒前
ergatoid完成签到,获得积分10
59秒前
lzhgoashore完成签到,获得积分10
1分钟前
腼腆的山兰完成签到 ,获得积分10
1分钟前
chensiying完成签到 ,获得积分10
1分钟前
外向可冥完成签到,获得积分10
1分钟前
甜心椰奶莓莓完成签到 ,获得积分10
1分钟前
程志强完成签到 ,获得积分10
1分钟前
1分钟前
五档张诊人完成签到,获得积分10
1分钟前
糖宝完成签到 ,获得积分0
1分钟前
风中的修杰完成签到 ,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Effects of Two Weeks of Red Light Therapy on Choroidal Thickness and Axial Length in Young Adults 700
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
The Neuroscience of Language 400
Common Foundations of American and East Asian Modernisation: From Alexander Hamilton to Junichero Koizumi 400
Too Much of Two Good Things: Investment Protection and Environmental Protection in International Law 260
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7673500
求助须知:如何正确求助?哪些是违规求助? 9239963
关于积分的说明 19903234
捐赠科研通 7243068
什么是DOI,文献DOI怎么找? 3285574
关于科研通互助平台的介绍 2443668
邀请新用户注册赠送积分活动 2287849