Software defect prediction employing BiLSTM and BERT-based semantic feature

计算机科学 软件错误 利用 安全性令牌 软件 源代码 人工智能 机器学习 编码(集合论) 特征(语言学) 数据挖掘 突出 节点(物理) 语义鸿沟
作者
Md Nasir Uddin,Bixin Li,Zafar Ali,Pavlos Kefalas,Inayat Khan,Islam Zada
出处
期刊:Soft Computing [Springer Nature]
标识
DOI:10.1007/s00500-022-06830-5
摘要

Recent years, software defect prediction systems are becoming quite popular since they improve software reliability by identifying the potential bugs in the code. Several models were introduced in literature that aim to support the developers. Unfortunately, these models consider the manually constructed code features and input into machine learning-based classifiers. Moreover, these baseline approaches ignore the semantic and contextual information of the source code. With this paper we present a software defect prediction model that address all these issues. The model employs bidirectional long-short term memory network (BiLSTM) and BERT-based semantic feature (SDP-BB) that captures the semantic features of code to predict defects in the corresponding software. In particular, it utilizes the BiLSTM to exploit contextual information from the embedded token vectors learned through BERT model. Moreover, it utilizes an attention mechanism to capture salient features of the nodes. This is done through a data augmentation technique for generating more training data. We evaluated our approach against state-of-the-art models using ten open-source projects in terms of F1-score in fault prediction. The experiments evaluated the performance of full-token and AST-node data processing methods conducting the length of coverage on each project from 50 to 90% in both within-project defect prediction (WPDP) and cross-project defect prediction (CPDP) experiments. The results indicate that the proposed method outperforms competing models.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
2秒前
Jessie Li发布了新的文献求助10
2秒前
3秒前
NexusExplorer应助syx采纳,获得10
3秒前
LIU完成签到,获得积分10
3秒前
鸢北发布了新的文献求助10
4秒前
哭泣的翠丝完成签到,获得积分10
5秒前
阔达水之发布了新的文献求助10
5秒前
6秒前
tackhwa发布了新的文献求助10
6秒前
Yuan完成签到,获得积分10
6秒前
让让完成签到,获得积分10
6秒前
冷艳怜烟完成签到,获得积分10
6秒前
JunHan完成签到,获得积分10
7秒前
科研通AI6.1应助yun采纳,获得30
9秒前
让让发布了新的文献求助10
9秒前
10秒前
缥缈的忆梅关注了科研通微信公众号
10秒前
12秒前
wtc完成签到,获得积分10
12秒前
Jessie Li完成签到,获得积分10
12秒前
李健应助不说再见采纳,获得10
14秒前
丁一完成签到,获得积分10
14秒前
摩卡完成签到,获得积分10
14秒前
zxyhb完成签到,获得积分10
15秒前
syx发布了新的文献求助10
15秒前
tackhwa完成签到,获得积分10
17秒前
17秒前
ethereal完成签到,获得积分10
17秒前
18秒前
OMR123完成签到,获得积分10
18秒前
阔达水之完成签到,获得积分10
18秒前
懵懂的晓曼完成签到,获得积分10
18秒前
mh完成签到,获得积分20
19秒前
20秒前
20秒前
20秒前
22秒前
星辰大海应助科研通管家采纳,获得10
22秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Kinesiophobia : a new view of chronic pain behavior 3000
Les Mantodea de guyane 2500
Molecular Biology of Cancer: Mechanisms, Targets, and Therapeutics 2000
Signals, Systems, and Signal Processing 510
Discrete-Time Signals and Systems 510
Brittle Fracture in Welded Ships 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5945097
求助须知:如何正确求助?哪些是违规求助? 7097126
关于积分的说明 15898393
捐赠科研通 5077084
什么是DOI,文献DOI怎么找? 2730270
邀请新用户注册赠送积分活动 1690179
关于科研通互助平台的介绍 1614549