Refactoring Debt: Myth or Reality? An Exploratory Study on the Relationship Between Technical Debt and Refactoring

被引:2
|
作者
Peruma, Anthony [1 ]
AlOmar, Eman Abdullah [2 ]
Newman, Christian D. [1 ]
Mkaouer, Mohamed Wiem [1 ]
Ouni, Ali [3 ]
机构
[1] Rochester Inst Technol, Rochester, NY 14623 USA
[2] Stevens Inst Technol, Hoboken, NJ 07030 USA
[3] Univ Quebec, ETS Montreal, Montreal, PQ, Canada
关键词
D O I
10.1145/3524842.3528527
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
To meet project timelines or budget constraints, developers intentionally deviate from writing optimal code to feasible code in what is known as incurring Technical Debt (TD). Furthermore, as part of planning their correction, developers document these deficiencies as comments in the code (i.e., self-admitted technical debt or SATD). As a means of improving source code quality, developers often apply a series of refactoring operations to their codebase. In this study, we explore developers repaying this debt through refactoring operations by examining occurrences of SATD removal in the code of 76 open-source Java systems. Our findings show that TD payment usually occurs with refactoring activities and developers refactor their code to remove TD for specific reasons. We envision our findings supporting vendors in providing tools to better support developers in the automatic repayment of technical debt.
引用
收藏
页码:127 / 131
页数:5
相关论文
共 50 条
  • [41] On the Relationship between Refactoring Actions and Bugs: A Differentiated Replication
    Di Penta, Massimiliano
    Bavota, Gabriele
    Zampetti, Fiorella
    [J]. PROCEEDINGS OF THE 28TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '20), 2020, : 556 - 567
  • [42] An experimental investigation on the innate relationship between quality and refactoring
    Bavota, Gabriele
    De Lucia, Andrea
    Di Penta, Massimiliano
    Oliveto, Rocco
    Palomba, Fabio
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2015, 107 : 1 - 14
  • [43] Behind the scenes: On the relationship between developer experience and refactoring
    Alomar, Eman Abdullah
    Peruma, Anthony
    Mkaouer, Mohamed Wiem
    Newman, Christian D.
    Ouni, Ali
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (01)
  • [44] An experimental investigation on the innate relationship between quality and refactoring
    Free University of Bozen-Bolzano, Bolzano, Italy
    不详
    不详
    不详
    [J]. J Syst Software, (1-14):
  • [45] Supporting Proactive Refactoring: An Exploratory Study on Decaying Modules and Their Prediction
    Sae-Lim, Natthawute
    Hayashi, Shinpei
    Saeki, Motoshi
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2021, E104D (10): : 1601 - 1615
  • [46] On the impact of Continuous Integration on refactoring practice: An exploratory study on TravisTorrent
    Saidani, Islem
    Ouni, Ali
    Mkaouer, Mohamed Wiem
    Palomba, Fabio
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 138
  • [47] Exploring the Relationship between Perceptions of Agile Software Development and Technical Debt
    Baham, Corey
    [J]. AMCIS 2017 PROCEEDINGS, 2017,
  • [48] The Relationship Between Debt and Output
    Yun Jung Kim
    Jing Zhang
    [J]. IMF Economic Review, 2021, 69 : 230 - 257
  • [49] The Relationship Between Debt and Output
    Kim, Yun Jung
    Zhang, Jing
    [J]. IMF ECONOMIC REVIEW, 2021, 69 (01) : 230 - 257
  • [50] Looking for Peace of Mind? Manage your (Technical) Debt An Exploratory Field Study
    Ghanbari, Hadi
    Besker, Terese
    Martini, Antonio
    Bosch, Jan
    [J]. 11TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2017), 2017, : 384 - 393