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

Fine-Grained Software Defect Prediction Based on the Method-Call Sequence

Yang, Fengyu*; Huang, Yaxuan; Xu, Haoming; Xiao, Peng; Zheng, Wei南昌航空大学; 南京航空航天大学
Computational Intelligence and Neuroscience2022-8-3DOI: 10.1155/2022/4311548
1被引5阅读
引用收藏
分享

摘要

Currently, software defect-prediction technology is being extensively researched in the design of metrics. However, the research objects are mainly limited to coarse-grained entities such as classes, files, and packages, and there is a wide range of defects that are difficult to predict in actual situations. To further explore the information between sequences of method calls and to learn the code semantics and syntactic structure between methods, we generated a method-call sequence that retains the code context structure information and the token sequence representing semantic information. We embedded the token sequence into the method-call sequence and encoded it into a fixed-length real-valued vector. We then built a defect-prediction model based on the transformer, which maps the code-vector representation containing the method-call sequences to a low-dimensional vector space to generate semantic features and syntactic structure features and also predicts the defect density of the method-call sequence. We conducted experiments on 10 open-source projects using the ELFF dataset. The experimental results show that the method-call sequence-level prediction effect is better than the class-level effect, and the prediction results are more stable than those of the method level. The mean absolute error (MAE) value of our approach was 8% lower than that of the other deep-learning methods.

学科与关键词

关键词
FEATURES
相关
加载中…
  • A Method-Level Defect Prediction Approach Based on Structural Features of Method-Calling Network
    Yang, Fengyu; Xu, Haoming*; Xiao, Peng; Zhong, Fa; Zeng, GuangdongIEEE Access, 2023, 11: 7933-7946.被引 1
  • Semantic Feature Learning via Dual Sequences for Defect Prediction
    Lin, Junhao; Lu, Lu*IEEE Access, 2021, 9: 13112-13124.被引 15
  • Software defect prediction via LSTM
    Deng, Jiehan; Lu, Lu*; Qiu, ShaojianIET Software, 2020, 14(4): 443-450.被引 23
查看全部 →

发表信息

论文状态
公开发表
期刊
Computational Intelligence and Neuroscience
发表日期
2022-08-03
卷期
第 2022 卷
页码
4311548
DOI
10.1155/2022/4311548
语言
ENGLISH
期刊等级
4区
成果收录
SCIE
资助标注
Key Research and Development Programme of Jiangxi Province; National Natural Science Foundation of China; [20202BBEL53002]; [61762067]

作者

  • Y

    Yang, Fengyu (通讯) (第一作者)

    nanchang hangkong univ · nanjing univ aeronaut & astronaut

  • H

    Huang, Yaxuan

    nanchang hangkong univ

查看全部 5 位作者收起作者
  • X

    Xu, Haoming

    nanchang hangkong univ

  • X

    Xiao, Peng

    nanchang hangkong univ

  • Z

    Zheng, Wei

    nanchang hangkong univ

登录解锁更多功能

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

产品服务

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

服务支持

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

联系方式

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

关注或下载科研之友

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

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

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