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

Formal Definition and Automatic Generation of Semantic Metrics: An Empirical Study on Bug Prediction

Hu, Ting; Mo, Ran*; Xiong, Pu; Li, Zengyang; Feng, Qiong南京理工大学
21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM)2021DOI: 10.1109/SCAM52516.2021.00020
9阅读
引用收藏
分享

摘要

Bug prediction is helpful for facilitating bug fixes and improving the efficiency in software development and maintenance. In the past decades, researchers have proposed numerous studies on bug prediction by using code metrics. However, most of the existing studies use syntax-based metrics, there exists little work building bug prediction models with semantic metrics from source code. In this paper, we propose a new model, semantic dependency graph (SDG), to represent semantic relationships among source files. Based on the SDG, we formally define a suite of semantic metrics reflecting semantic characteristics of a project's source files. Moreover, we create a tool to automate the generation of our proposed SDG-based metrics. Through our experimental studies, we have demonstrated that the SDG-based semantic metrics are effective for building bug prediction models, and the SDG-based metrics outperform traditional syntactic metrics on bug prediction. In addition, models using the SDG-based metrics could achieve a better prediction performance than two state-of-the-art models that learn semantic features automatically. Finally, we have also presented that our approach is applicable in practice in terms of execution time and space.

学科与关键词

关键词
Semantic Code MetricsSemantic DependencyBug Prediction
相关
加载中…
  • Semantic Feature Learning via Dual Sequences for Defect Prediction
    Lin, Junhao; Lu, Lu*IEEE Access, 2021, 9: 13112-13124.被引 15
  • 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
  • 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.
查看全部 →

会议信息

会议名称
21st IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM)
会议日期
2021-09-27 至 2021
论文集名
IEEE 21ST INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2021)
发表日期
2021
起止页码
92-102
DOI
10.1109/SCAM52516.2021.00020
资助标注
National Natural Science Foundation of China [62002129]; Hubei Provincial Natural Science Foundation of China [2020CFB473]; Fundamental Research Funds for the Central Universities [CCNU19TD003]
收录
ISTP

作者

  • H

    Hu, Ting (第一作者)

    cent china normal univ

  • M

    Mo, Ran (通讯)

    cent china normal univ

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

    Xiong, Pu

    cent china normal univ

  • L

    Li, Zengyang

    cent china normal univ

  • F

    Feng, Qiong

    nanjing univ sci & technol

登录解锁更多功能

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

产品服务

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

服务支持

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

联系方式

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

关注或下载科研之友

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

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

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