ScholarMate
English简体中文繁體中文
客服热线:400-1616-289
登录注册
期刊论文

Software defect prediction via LSTM

Deng, Jiehan; Lu, Lu*; Qiu, Shaojian
IET Software2020-8DOI: 10.1049/iet-sen.2019.0149
23被引15阅读
引用收藏
分享

摘要

Software quality plays an important role in the software lifecycle. Traditional software defect prediction approaches mainly focused on using hand-crafted features to detect defects. However, like human languages, programming languages contain rich semantic and structural information, and the cause of defective code is closely related to its context. Failing to catch this significant information, the performance of traditional approaches is far from satisfactory. In this study, the authors leveraged a long short-term memory (LSTM) network to automatically learn the semantic and contextual features from the source code. Specifically, they first extract the program's Abstract Syntax Trees (ASTs), which is made up of AST nodes, and then evaluate what and how much information they can preserve for several node types. They traverse the AST of each file and fed them into the LSTM network to automatically the semantic and contextual features of the program, which is then used to determine whether the file is defective. Experimental results on several opensource projects showed that the proposed LSTM method is superior to the state-of-the-art methods.

学科与关键词

关键词
feature extractionlearning (artificial intelligence)public domain softwareprogram diagnosticsprogram debuggingsoftware qualityrecurrent neural netstrees (mathematics)program abstract syntax treesAST node sequencesemantic featurescontextual featuresLSTMsoftware lifecyclesoftware defect prediction approachesmachine learning techniquesprogramming languageshuman languagesstructural informationdefective codelong short-term memory networkopen source projects
相关
加载中…
  • Defect Prediction via LSTM Based on Sequence and Tree Structure
    Zhou, Xuan*; Lu, Lu20th IEEE International Conference on Software Quality, Reliability, and Security (QRS), Macau, PEOPLES R CHINA, 2020-12-11 To 2020-12-14.被引 6
  • Semantic Feature Learning via Dual Sequences for Defect Prediction
    Lin, Junhao; Lu, Lu*IEEE Access, 2021, 9: 13112-13124.被引 15
  • Software Defect Prediction via GIN with Hybrid Graphical Features
    Wang, Xuanye; Lu, Lu*; Wang, Boye; Shang, Yudong; Yang, Hao22nd IEEE International Conference on Software Quality, Reliability and Security (QRS), Guangzhou, PEOPLES R CHINA, 2022-12-05 To 2022-12-09.
查看全部 →

发表信息

论文状态
公开发表
期刊
IET Software
发表日期
2020-08
卷期
第 14 卷, 第 4 期
页码
443-450
DOI
10.1049/iet-sen.2019.0149
语言
ENGLISH
期刊收录
NSL.SCIE
期刊等级
4区
成果收录
SCIE
资助标注
National Nature Science Foundation of China [61370103]; Guangdong Province Application Major Fund [2015B010131013]; Guangzhou Produce Research Fund [201902020004]

作者

  • D

    Deng, Jiehan (第一作者)

  • L

    Lu, Lu (通讯)

查看全部 3 位作者收起作者
  • Q

    Qiu, Shaojian

登录解锁更多功能

  • 收藏这篇,随时在“我的 · 收藏”找回
  • 认领你的成果,生成推广素材
  • 关注作者获取最新成果
  • 加入项目组、协同写作
注册 / 登录

产品服务

  • 科研之友
  • 创新城
  • 科创云

服务支持

  • 帮助中心
  • 隐私政策
  • 服务条款

联系方式

在线客服:【】
客服热线:400-1616-289
电子邮箱:support@scholarmate.com

关注或下载科研之友

微信二维码
微信公众号
客户端下载二维码
下载客户端
科研成果科研人员科研机构科研动态爱瑞思软件

©2026 深圳市科研之友网络服务有限公司

公安备案图标粤公网安备 44030502000213
粤ICP备 16046710 号粤B2-20110417