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

A Method-Level Defect Prediction Approach Based on Structural Features of Method-Calling Network

Yang, Fengyu; Xu, Haoming*; Xiao, Peng; Zhong, Fa; Zeng, Guangdong南昌航空大学
IEEE Access2023DOI: 10.1109/ACCESS.2023.3239266
1被引10阅读
引用收藏
分享

摘要

Software defect prediction models help testers find program modules that have a high probability of having defects. A method-calling network can express the dependencies between methods in a program. Existing approaches do not sufficiently utilize method-calling network to characterize the structural features between methods. To address this problem, in this study, it is proposed for the first time that the characteristics of methods in a program are obtained by analyzing the method-calling network, and a new approach is proposed for defect prediction at the method-level. Specifically in this study, the method-calling network of the program was first constructed and the network metrics of the method-calling network were obtained. Next, the new network embedding technique (node2vec) was used to automatically encode the method-calling network structure into a low-dimensional vector to obtain the network embedding metrics. Finally, they were combined with code metrics to construct defect prediction models. We evaluated our approaches on 13 open-source software systems. The experimental results show that the proposed method improved the values of area under the receiver operating characteristic curve by 2.5% to 6.7% and Matthews correlation coefficient by 13% to 178.4% compared to the baselines. Therefore the method-calling network contains rich structural features between methods, and the structural features extend the features used for method-level defect prediction and further improve the performance of defect prediction models.

学科与关键词

关键词
MeasurementSoftware engineeringCodesPredictive modelsObject oriented modelingFeature extractionEmbedded systemsSoftware defect predictionstructural featuresmethod-calling networknetwork embedding
相关
加载中…
  • Fine-Grained Software Defect Prediction Based on the Method-Call Sequence
    Yang, Fengyu*; Huang, Yaxuan; Xu, Haoming; Xiao, Peng; Zheng, WeiComputational Intelligence and Neuroscience, 2022, 2022: 4311548.被引 1
  • Software defect prediction via LSTM
    Deng, Jiehan; Lu, Lu*; Qiu, ShaojianIET Software, 2020, 14(4): 443-450.被引 23
  • An exploratory study of bug prediction at the method level
    Mo, Ran; Wei, Shaozhi; Feng, Qiong*; Li, ZengyangINFORMATION AND SOFTWARE TECHNOLOGY, 2022, 144: 106794.被引 6
查看全部 →

发表信息

论文状态
公开发表
期刊
IEEE Access
发表日期
2023
卷期
第 11 卷
页码
7933-7946
DOI
10.1109/ACCESS.2023.3239266
语言
ENGLISH
成果收录
SCIE
资助标注
Key Research and Development Program of Jiangxi Province, China [20202BBEL53002]; Natural Science Foundation of Jiangxi Province [20212BAB212009]

作者

  • Y

    Yang, Fengyu (第一作者)

    nanchang hangkong univ

  • X

    Xu, Haoming (通讯)

    nanchang hangkong univ

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

    Xiao, Peng

    nanchang hangkong univ

  • Z

    Zhong, Fa

    nanchang hangkong univ

  • Z

    Zeng, Guangdong

    nanchang hangkong univ

登录解锁更多功能

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

产品服务

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

服务支持

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

联系方式

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

关注或下载科研之友

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

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

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