Enhancing Bug-Inducing Commit Identification: A Fine-Grained Semantic Analysis Approach

被引:0
|
作者
Tang, Lingxiao [1 ,2 ]
Ni, Chao [1 ]
Huang, Qiao [3 ]
Bao, Lingfeng [1 ,2 ]
机构
[1] Zhejiang Univ, State Key Lab Blockchain & Data Secur, Hangzhou 310007, Peoples R China
[2] Hangzhou High Tech Zone Binjiang Blockchain & Data, Hangzhou 310052, Peoples R China
[3] Zhejiang Gongshang Univ, Sch Comp Sci & Technol, Hangzhou 310018, Peoples R China
基金
美国国家科学基金会;
关键词
Computer bugs; Noise; Software algorithms; Semantics; Reliability; Buildings; Process control; Nickel; Linux; Chaos; SZZ algorithm; data flow analysis; control flow analysis;
D O I
10.1109/TSE.2024.3468296
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The SZZ algorithm and its variants have been extensively utilized for identifying bug-inducing commits based on bug-fixing commits. However, these algorithms face challenges when there are no deletion lines in the bug-fixing commit. Previous studies have attempted to address this issue by tracing back all lines in the block that encapsulates the added lines. However, this method is too coarse-grained and suffers from low precision. To address this issue, we propose a novel method in this paper called Sem-SZZ, which is based on fine-grained semantic analysis. Initially, we observe that a significant number of bug-inducing commits can be identified by tracing back the unmodified lines near added lines, resulting in improved precision and F1-score. Building on this observation, we conduct a more fine-grained semantic analysis. We begin by performing program slicing to extract the program part near the added lines. Subsequently, we compare the program's states between the previous version and the current version, focusing on data flow and control flow differences based on the extracted program part. Finally, we extract statements contributing to the bug based on these differences and utilize them to locate bug-inducing commits. We also extend our approach to fit the scenario where the bug-fixing commits contain deleted lines. Experimental results demonstrate that Sem-SZZ outperforms the state-of-the-art methods in identifying bug-inducing commits, regardless of whether the bug-fixing commit contains deleted lines.
引用
收藏
页码:3037 / 3052
页数:16
相关论文
共 50 条
  • [31] INDIVIDUATING ACTIONS - THE FINE-GRAINED APPROACH
    MCCANN, HJ
    CANADIAN JOURNAL OF PHILOSOPHY, 1983, 13 (04) : 493 - 512
  • [32] Fine-Grained Metrics for Point Cloud Semantic Segmentation
    Lu, Zhuheng
    Wu, Ting
    Dai, Yuewei
    Li, Weiqing
    Su, Zhiyong
    PATTERN RECOGNITION AND COMPUTER VISION, PRCV 2024, PT XI, 2025, 15041 : 232 - 245
  • [33] Domain Adaptative Semantic Segmentation by Fine-Grained Alignment
    Li, Zhixin
    Li, Wei
    Zhang, Jia
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING - ICANN 2022, PT IV, 2022, 13532 : 383 - 394
  • [34] Fine-Grained Recognition With Learnable Semantic Data Augmentation
    Pu, Yifan
    Han, Yizeng
    Wang, Yulin
    Feng, Junlan
    Deng, Chao
    Huang, Gao
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2024, 33 : 3130 - 3144
  • [35] Semantic Clustering for Robust Fine-Grained Scene Recognition
    George, Marian
    Dixit, Mandar
    Zogg, Gabor
    Vasconcelos, Nuno
    COMPUTER VISION - ECCV 2016, PT I, 2016, 9905 : 783 - 798
  • [36] Semantic interaction learning for fine-grained vehicle recognition
    Zhang, Jingjing
    Lei, Jingsheng
    Yang, Shengying
    Yang, Xinqi
    COMPUTER ANIMATION AND VIRTUAL WORLDS, 2022, 33 (01)
  • [37] Discriminative semantic region selection for fine-grained recognition
    Zhang, Chunjie
    Wang, Da-Han
    Li, Haisheng
    JOURNAL OF VISUAL COMMUNICATION AND IMAGE REPRESENTATION, 2021, 77
  • [38] Combining Code Context and Fine-grained Code Difference for Commit Message Generation
    Xu, Shengbin
    Yao, Yuan
    Xu, Feng
    Gu, Tianxiao
    Tong, Hanghang
    13TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2022, 2022, : 242 - 251
  • [39] Fine-Grained Re-Execution for Efficient Batched Commit of Distributed Transactions
    Dong, Zhiyuan
    Wang, Zhaoguo
    Zhang, Xiaodong
    Xu, Xian
    Zhao, Changgeng
    Chen, Haibo
    Panda, Aurojit
    Li, Jinyang
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2023, 16 (08): : 1930 - 1943
  • [40] TALS: A Framework For Text Analysis, Fine-Grained Annotation, Localisation and Semantic Segmentation
    Jaradat, Shatha
    Dokoohaki, Nima
    Wara, Ummul
    Goswami, Mallu
    Hammar, Kim
    Matskin, Mihhail
    2019 IEEE 43RD ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 2, 2019, : 201 - 206