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 条
  • [1] Self-Admitted Technical Debt Removal and Refactoring Actions: Co-Occurrence or More?
    Iammarino, Martina
    Zampetti, Fiorella
    Aversano, Lerina
    Di Penta, Massimiliano
    [J]. 2019 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2019), 2019, : 186 - 190
  • [2] An Empirical Study On the Removal of Self-Admitted Technical Debt
    Maldonado, Everton da S.
    Abdalkareem, Rabe
    Shihab, Emad
    Serebrenik, Alexander
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, : 238 - 248
  • [3] An empirical study on self-admitted technical debt in Dockerfiles
    Azuma, Hideaki
    Matsumoto, Shinsuke
    Kamei, Yasutaka
    Kusumoto, Shinji
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (02)
  • [4] An empirical study on self-admitted technical debt in Dockerfiles
    Hideaki Azuma
    Shinsuke Matsumoto
    Yasutaka Kamei
    Shinji Kusumoto
    [J]. Empirical Software Engineering, 2022, 27
  • [5] Self-Admitted Technical Debt and comments' polarity: an empirical study
    Cassee, Nathan
    Zampetti, Fiorella
    Novielli, Nicole
    Serebrenik, Alexander
    Di Penta, Massimiliano
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (06)
  • [6] Self-Admitted Technical Debt and comments’ polarity: an empirical study
    Nathan Cassee
    Fiorella Zampetti
    Nicole Novielli
    Alexander Serebrenik
    Massimiliano Di Penta
    [J]. Empirical Software Engineering, 2022, 27
  • [7] An Exploratory Study on the Occurrence of Self-Admitted Technical Debt in Android Apps
    Wilder, Gregory, II
    Miyamoto, Riley
    Watson, Samuel
    Kazman, Rick
    Peruma, Anthony
    [J]. 2023 ACM/IEEE INTERNATIONAL CONFERENCE ON TECHNICAL DEBT, TECHDEBT, 2023, : 1 - 10
  • [8] A Large-Scale Empirical Study on Self-Admitted Technical Debt
    Bavota, Gabriele
    Russo, Barbara
    [J]. 13TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2016), 2016, : 315 - 326
  • [9] An empirical study on self-admitted technical debt in modern code review
    Kashiwa, Yutaro
    Nishikawa, Ryoma
    Kamei, Yasutaka
    Kondo, Masanari
    Shihab, Emad
    Sato, Ryosuke
    Ubayashi, Naoyasu
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 146
  • [10] An Exploratory Study on Self-Admitted Technical Debt
    Potdar, Aniket
    Shihab, Emad
    [J]. 2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 91 - 100