An empirical study on the co-occurrence between refactoring actions and Self-Admitted Technical Debt removal

被引:16
|
作者
Iammarino, Martina [1 ]
Zampetti, Fiorella [2 ]
Aversano, Lerina [2 ]
Di Penta, Massimiliano [1 ]
机构
[1] Univ Sannio, Benevento, Italy
[2] Univ Sannio, Dept Engn, Benevento, Italy
关键词
Self-Admitted Technical Debt; Software refactoring; Software quality; QUALITY; IMPACT; SMELLS;
D O I
10.1016/j.jss.2021.110976
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Technical Debt (TD) concerns the lack of an adequate solution in a software project, from its design to the source code. Its admittance through source code comments, issues, or commit messages is referred to as Self-Admitted Technical Debt (SATD). Previous research has studied SATD from different perspectives, including its distribution, impact on software quality, and removal. In this paper, we investigate the relationship between refactoring and SATD removal. By leveraging a dataset of SATD and their removals in four open-source projects and by using an automated refactoring detection tool, we study the co-occurrence of refactoring and SATD removals. Results of the study indicate that refactoring is more likely to co-occur with SATD removals than with other commits, however, in most cases, they belong to different quality improvement activities performed at the same time. Moreover, if looking closely at refactoring actions co-occurring with SATD removal in the same code entities, a relationship between these activities can be found. Finally, we found how both source code quality metrics and SATD removals play a statistically significant role in the likelihood that the commit applies a refactoring action. (C) 2021 Elsevier Inc. All rights reserved.
引用
收藏
页数:10
相关论文
共 50 条
  • [11] Automatically Learning Patterns for Self-Admitted Technical Debt Removal
    Zampetti, Fiorella
    Serebrenik, Alexander
    Di Penta, Massimiliano
    [J]. PROCEEDINGS OF THE 2020 IEEE 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER '20), 2020, : 355 - 366
  • [12] A survey of self-admitted technical debt
    Sierra, Giancarlo
    Shihab, Emad
    Kamei, Yasutaka
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 152 : 70 - 82
  • [13] On the Relationship between Self-Admitted Technical Debt Removals and Technical Debt Measures
    Aversano, Lerina
    Iammarino, Martina
    Carapella, Mimmo
    Del Vecchio, Andrea
    Nardi, Laura
    [J]. ALGORITHMS, 2020, 13 (07)
  • [14] Was Self-Admitted Technical Debt Removal a real Removal? An In-Depth Perspective
    Zampetti, Fiorella
    Serebrenik, Alexander
    Di Penta, Massimiliano
    [J]. 2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, : 526 - 536
  • [15] FIXME: synchronize with database! An empirical study of data access self-admitted technical debt
    Biruk Asmare Muse
    Csaba Nagy
    Anthony Cleve
    Foutse Khomh
    Giuliano Antoniol
    [J]. Empirical Software Engineering, 2022, 27
  • [16] FIXME: synchronize with database! An empirical study of data access self-admitted technical debt
    Muse, Biruk Asmare
    Nagy, Csaba
    Cleve, Anthony
    Khomh, Foutse
    Antoniol, Giuliano
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [17] 23 Shades of Self-Admitted Technical Debt: An Empirical Study on Machine Learning Software
    OBrien, David
    Biswas, Sumon
    Imtiaz, Sayem
    Abdalkareem, Rabe
    Shihab, Emad
    Rajan, Hridesh
    [J]. PROCEEDINGS OF THE 30TH ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2022, 2022, : 734 - 746
  • [18] Self-Admitted Technical Debt in R Packages: An Exploratory Study
    Vidoni, Melina
    [J]. 2021 IEEE/ACM 18TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2021), 2021, : 179 - 189
  • [19] On the documentation of self-admitted technical debt in issues
    Xavier, Laerte
    Montandon, Joao Eduardo
    Ferreira, Fabio
    Brito, Rodrigo
    Valente, Marco Tulio
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (07)
  • [20] On the documentation of self-admitted technical debt in issues
    Laerte Xavier
    João Eduardo Montandon
    Fabio Ferreira
    Rodrigo Brito
    Marco Tulio Valente
    [J]. Empirical Software Engineering, 2022, 27