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

Software Defect Prediction Based on Deep Representation Learning of Source Code From Contextual Syntax and Semantic Graph

计算机科学 源代码 自然语言处理 语法 人工智能 图形 抽象语法 抽象语法树 程序设计语言 控制流程图 深度学习 语义学(计算机科学) 理论计算机科学
作者
Ahmed Abdu,Zhengjun Zhai,Hakim A. Abdo,Redhwan Algabri
出处
期刊:IEEE Transactions on Reliability [Institute of Electrical and Electronics Engineers]
卷期号:73 (2): 820-834 被引量:27
标识
DOI:10.1109/tr.2024.3354965
摘要

Software defect prediction approaches play an essential role in the software development life cycle to help developers predict defects early, thus, preventing wasted time and effort. Defect prediction techniques based on semantic features have recently gained success over approaches based on traditional features. Existing semantic features-based defect prediction approaches use a single source code representation. Most studies focus on contextual syntax represented by abstract syntax trees, and some studies use a control flow graph to represent code graphs. However, a single representation is still limited for predicting defects that call multiple functions and have a high probability of false positives. To close the gap between source code representations on software defect prediction, we propose a defect prediction model based on multiple source code representations. The proposed model is a deep hierarchical convolutional neural network (DH-CNN). The syntax features extracted from abstract syntax trees using Word2vec are fed into syntax-level DH-CNN, and the semantic-graph features extracted from the control flow graph and data dependence graph using Node2vec are fed into semantic-level DH-CNN. In addition, the proposed model includes a gated merging mechanism that combines DH-CNN outputs to estimate the combination ratio of both types of features. Experimental results indicate that DH-CNN outperforms existing methods under cross-project and within-project scenarios.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
4秒前
小小孟德斯鸠完成签到,获得积分10
7秒前
隐形曼青应助简单冷之采纳,获得10
11秒前
天天完成签到 ,获得积分10
16秒前
GingerF应助悦耳谷蓝采纳,获得50
19秒前
飞天大南瓜完成签到,获得积分10
35秒前
36秒前
37秒前
FashionBoy应助dxannie采纳,获得10
38秒前
简单冷之发布了新的文献求助10
41秒前
sf完成签到,获得积分10
42秒前
42秒前
42秒前
小透明发布了新的文献求助10
43秒前
123完成签到,获得积分10
44秒前
46秒前
余额发布了新的文献求助10
47秒前
端庄西牛发布了新的文献求助10
48秒前
49秒前
尘香如故完成签到 ,获得积分10
51秒前
优雅的大白菜完成签到 ,获得积分10
52秒前
hewd3发布了新的文献求助10
52秒前
传奇3应助简单冷之采纳,获得10
53秒前
谦让的慕凝完成签到 ,获得积分10
55秒前
顶顶顶发布了新的文献求助10
55秒前
郑糖糖糖完成签到 ,获得积分10
1分钟前
丘比特应助Solar_Parsifal采纳,获得10
1分钟前
1分钟前
Agoni完成签到,获得积分10
1分钟前
陌小千完成签到,获得积分10
1分钟前
daggeraxe完成签到 ,获得积分10
1分钟前
1分钟前
小透明发布了新的文献求助20
1分钟前
我是老大应助端庄西牛采纳,获得10
1分钟前
脑洞疼应助酷酷的大米采纳,获得30
1分钟前
陌小千发布了新的文献求助10
1分钟前
1分钟前
1分钟前
郑糖糖完成签到 ,获得积分10
1分钟前
高分求助中
GL 2 A method for assessing the in-place cleanability of food processing equipment, Fourth Edition, December 2023 3000
Annie Ernaux: De la perte au corps glorieux 600
Writing Systems 500
Understanding Modeling and Simulation of Polymerization Reactions 400
Invited Discussant 63O and 64O 400
A revision of Limenitis helmanni and its related species (Nymphalidae) from Central and South China 400
Direct and Iterative Linear System Solvers 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6825409
求助须知:如何正确求助?哪些是违规求助? 8537766
关于积分的说明 18170322
捐赠科研通 6162198
什么是DOI,文献DOI怎么找? 3034864
关于科研通互助平台的介绍 2016387
邀请新用户注册赠送积分活动 2011807