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 条
  • [1] Poster: BUGOSS: A Regression Bug Benchmark for Empirical Study of Regression Fuzzing Techniques
    Kim, Jeewoong
    Hong, Shin
    2023 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST, 2023, : 470 - 473
  • [2] Upstream bug management in Linux distributionsAn empirical study of Debian and Fedora practices
    Jiahuei Lin
    Haoxiang Zhang
    Bram Adams
    Ahmed E. Hassan
    Empirical Software Engineering, 2022, 27
  • [3] Upstream bug management in Linux distributions An empirical study of Debian and Fedora practices
    Lin, Jiahuei
    Zhang, Haoxiang
    Adams, Bram
    Hassan, Ahmed E.
    EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [4] An Empirical Study of Bug Bounty Programs
    Walshe, Thomas
    Simpson, Andrew
    PROCEEDINGS OF THE 2020 IEEE 2ND INTERNATIONAL WORKSHOP ON INTELLIGENT BUG FIXING (IBF '20), 2020, : 35 - 44
  • [5] An Empirical Study of the Bug Link Rate
    Li, Chenglin
    Zhao, Yangyang
    Yang, Yibiao
    2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2022, : 177 - 188
  • [6] An Empirical Study on Real Bug Fixes
    Zhong, Hao
    Su, Zhendong
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 913 - 923
  • [7] Empirical Study on Software Bug Prediction
    Rizwan, Syed
    Wang Tiantian
    Su Xiaohong
    Salahuddin
    2017 INTERNATIONAL CONFERENCE ON SOFTWARE AND E-BUSINESS (ICSEB 2017), 2015, : 55 - 59
  • [8] An Empirical Study of Bug Fixing Rate
    Zou, Weiqin
    Xia, Xin
    Zhang, Weiqiang
    Chen, Zhenyu
    Lo, David
    39TH ANNUAL IEEE COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC 2015), VOL 2, 2015, : 254 - 263
  • [9] An Empirical Study of Configuration Mismatches in Linux
    El-Sharkawy, Sascha
    Krafczyk, Adam
    Schmid, Klaus
    21ST INTERNATIONAL SYSTEMS & SOFTWARE PRODUCT LINE CONFERENCE (SPLC 2017), VOL 1, 2017, : 19 - 28
  • [10] An Empirical Study on Bug Assignment Automation Using Chinese Bug Data
    Lin, Zhongpeng
    Shu, Fengdi
    Yang, Ye
    Hu, Chenyong
    Wang, Qing
    ESEM: 2009 3RD INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, 2009, : 452 - 456