Do Developers Really Worry About Refactoring Re-test? An Empirical Study of Open-Source Systems

被引:2
|
作者
Counsell, Stev [1 ]
Swift, Stephen [1 ]
Arzoky, Mahir [1 ]
Destefanis, Giuseppe [2 ]
机构
[1] Brunel Univ, Dept Comp Sci, London, England
[2] Univ Hertfordshire, Dept Comp Sci, Hatfield, Herts, England
关键词
Refactoring; Test; Taxonomy; Metrics; Open-source;
D O I
10.1007/978-3-030-03673-7_12
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper, we explore the extent to which a set of over 12000 refactorings fell into one of four re-test categories defined by van Deursen and Moonen; the 'least disruptive' of the four categories contains refactorings requiring only minimal re-test. The 'most disruptive' category of refactorings on the other hand requires significant re-test effort. We used multiple versions of three open-source systems to answer one research question: Do developers prefer to undertake refactorings in the least disruptive categories or in the most disruptive? The simple answer is that they prefer to do both. We provide insights into these refactoring patterns across the systems and highlight a fundamental weakness with software metrics trying to capture the refactoring process.
引用
收藏
页码:159 / 166
页数:8
相关论文
共 19 条
  • [1] Refactoring Test Smells: A Perspective from Open-Source Developers
    Soares, Elvys
    Ribeiro, Marcio
    Amaral, Guilherme
    Gheyi, Rohit
    Fernandes, Leo
    Garcia, Alessandro
    Fonseca, Baldoino
    Santos, Andre
    [J]. PROCEEDINGS OF THE 5TH BRAZILIAN SYMPOSIUM ON SYSTEMATIC AND AUTOMATED SOFTWARE TESTING, SAST 2020, 2020, : 50 - 59
  • [2] The Evolution of Open-Source Blockchain Systems: An Empirical Study
    Cao, Jiawei
    Wang, Xingya
    Li, Zixin
    Gu, Qiqi
    Chen, Zhenyu
    [J]. 11TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE (INTERNETWARE 2019), 2019,
  • [3] Investigating Developers' Contributions to Test Smell Survivability: A Study of Open-Source Projects
    Campos, Denivan
    Martins, Luana
    Bezerra, Carla
    Machado, Ivan
    [J]. PROCEEDINGS OF THE 8TH BRAZILIAN SYMPOSIUM ON SYSTEMATIC AND AUTOMATED SOFT-WARE TESTING, SAST 2023, 2023, : 86 - 95
  • [4] An Empirical Study of Architectural Change in Open-Source Software Systems
    Le, Duc Minh
    Behnamghader, Pooyan
    Garcia, Joshua
    Link, Daniel
    Shahbazian, Arman
    Medvidovic, Nenad
    [J]. 12TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2015), 2015, : 235 - 245
  • [5] An Empirical Study of "Removed" Classes in Java']Java Open-Source Systems
    Mubarak, Asma
    Counsell, Steve
    Hierons, Robert M.
    [J]. ADVANCES TECHNIQUES IN COMPUTING SCIENCES AND SOFTWARE ENGINEERING, 2010, : 99 - 104
  • [6] Community-based production of open-source software: What do we know about the developers who participate?
    David, Paul A.
    Shapiro, Joseph S.
    [J]. INFORMATION ECONOMICS AND POLICY, 2008, 20 (04) : 364 - 398
  • [7] Technical debts and faults in open-source quantum software systems: An empirical study
    Openja, Moses
    Morovati, Mohammad Mehdi
    Le An
    Khomh, Foutse
    Abidi, Mouna
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 193
  • [8] Test Automation in Open-Source Android Apps: A Large-Scale Empirical Study
    Lin, Jun-Wei
    Salehnamadi, Navid
    Malek, Sam
    [J]. 2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 1078 - 1089
  • [9] How Do Open Source Software (OSS) Developers Practice and Perceive Requirements Engineering? An Empirical Study
    Kuriakose, Jaison
    Parsons, Jeffrey
    [J]. 2015 IEEE FIFTH INTERNATIONAL WORKSHOP ON EMPIRICAL REQUIREMENTS ENGINEERING (EMPIRE), 2015, : 49 - 56
  • [10] What Do Users Ask in Open-Source AI Repositories? An Empirical Study of GitHub Issues
    Yang, Zhou
    Wang, Chenyu
    Shi, Jieke
    Hoang, Thong
    Kochhar, Pavneet
    Lu, Qinghua
    Xing, Zhenchang
    Lo, David
    [J]. 2023 IEEE/ACM 20TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2023, : 79 - 91