An Empirical Study of Regression Bug Chains in Linux

被引:9
|
作者
Xiao, Guanping [1 ]
Zheng, Zheng [1 ]
Jiang, Bo [2 ]
Sui, Yulei [3 ,4 ]
机构
[1] Beihang Univ, Sch Automat Sci & Elect Engn, Beijing 100191, Peoples R China
[2] Beihang Univ, Sch Comp Sci & Engn, Beijing 100191, Peoples R China
[3] Univ Technol Sydney, Ctr Artificial Intelligence, Sydney, NSW 2007, Australia
[4] Univ Technol Sydney, Sch Software, Sydney, NSW 2007, Australia
基金
中国国家自然科学基金; 澳大利亚研究理事会;
关键词
Bipartite network; bug-fixing commit (BFC); bug-introducing commit (BIC); Linux; regression bug; regression bug chain (RBC);
D O I
10.1109/TR.2019.2902171
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Regression bugs are a type of bugs that cause a feature of software that worked correctly but stop working after a certain software commit. This paper presents a systematic study of regression bug chains, an important but unexplored phenomenon of regression bugs. Our paper is based on the observation that a commit c1, which fixes a regression bug b1, may accidentally introduce another regression bug b2. Likewise, commit c2 repairing b2 may cause another regression bug b3, resulting in a bug chain, i.e., b1 -> c1 -> b2 -> c2 -> b3. We have conducted a large-scale study by collecting 1579 regression bugs and 2630 commits from 57 Linux versions (from 2.6.12 to 4.9). The relationships between regression bugs and commits are modeled as a directed bipartite network. Our major contributions and findings are fourfold: 1) a novel concept of regression bug chains and their formulation; 2) compared to an isolated regression bug, a bug on a regression bug chain is muchmore difficult to repair, costing 2.4xmore fixing time, involving 1.3x more developers and 2.8x more comments; 3) 85.8% of bugs on the chains in Linux reside in Drivers, ACPI, Platform Specific/Hardware, and Power Management; and 4) 83% of the chains affect only a single Linux subsystem, while 68% of the chains propagate across Linux versions.
引用
收藏
页码:558 / 570
页数:13
相关论文
共 50 条
  • [31] An empirical study on how expert knowledge affects bug reports
    Rodeghero, Paige
    Huo, Da
    Ding, Tao
    McMillan, Collin
    Gethers, Malcom
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2016, 28 (07) : 542 - 564
  • [32] Inside Bug Report Templates: An Empirical Study on Bug Report Templates in Open-Source Software
    Zhang, Junwei
    Liu, Zhongxin
    Bao, Lingfeng
    Xing, Zhenchang
    Hu, Xing
    Xia, Xin
    PROCEEDINGS OF THE 15TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2024, 2024, : 125 - 134
  • [33] Empirical Evaluation of Bug Linking
    Bissyande, Tegawende F.
    Thung, Ferdian
    Wang, Shaowei
    Lo, David
    Jiang, Lingxiao
    Reveillere, Laurent
    PROCEEDINGS OF THE 17TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2013), 2013, : 89 - 98
  • [34] Antecedents of Resilient Supply Chains: An Empirical Study
    Dubey, Rameshwar
    Gunasekaran, Angappa
    Childe, Stephen J.
    Papadopoulos, Thanos
    Blome, Constantin
    Luo, Zongwei
    IEEE TRANSACTIONS ON ENGINEERING MANAGEMENT, 2019, 66 (01) : 8 - 19
  • [35] Vulnerability management in Linux distributions An empirical study on Debian and Fedora
    Lin, Jiahuei
    Zhang, Haoxiang
    Adams, Bram
    Hassan, Ahmed E.
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (02)
  • [36] Scaling Open Source Communities: An Empirical Study of the Linux Kernel
    Tan, Xin
    Zhou, Minghui
    Fitzgerald, Brian
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 1222 - 1234
  • [37] An Empirical Study of Rust-for-Linux: The Success, Dissatisfaction, and Compromise
    Li, Hongyu
    Guo, Liwei
    Yang, Yexuan
    Wang, Shangguang
    Xu, Mengwei
    PROCEEDINGS OF THE 2024 USENIX ANNUAL TECHNICAL CONFERENCE, ATC 2024, 2024, : 425 - 443
  • [38] Vulnerability management in Linux distributionsAn empirical study on Debian and Fedora
    Jiahuei Lin
    Haoxiang Zhang
    Bram Adams
    Ahmed E. Hassan
    Empirical Software Engineering, 2023, 28
  • [39] Are tweets useful in the bug fixing process? An empirical study on Firefox and Chrome
    El Mezouar, Mariam
    Zhang, Feng
    Zou, Ying
    EMPIRICAL SOFTWARE ENGINEERING, 2018, 23 (03) : 1704 - 1742
  • [40] An empirical study of PLAD regression using the bootstrap
    Athanassios Kondylis
    Joe Whittaker
    Computational Statistics, 2007, 22 : 307 - 321