Circumventing Refactoring Masking using Fine-Grained Change Recording

被引:7
|
作者
Soetens, Quinten David [1 ]
Perez, Javier [1 ]
Demeyer, Serge [1 ]
Zaidman, Andy [2 ]
机构
[1] Univ Antwerp, Antwerp, Belgium
[2] Delft Univ Technol, Delft, Netherlands
关键词
Refactoring Reconstruction; Refactoring Masking; Fine Grained Changes; Software Evolution;
D O I
10.1145/2804360.2804362
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Today, refactoring reconstruction techniques are snapshot based: they compare two revisions from a source code management system and calculate the shortest path of edit operations to go from the one to the other. An inherent risk with snapshot-based approaches is that a refactoring may be concealed by later edit operations acting on the same source code entity, a phenomenon we call refactoring masking. In this paper, we performed an experiment to find out at which point refactoring masking occurs and confirmed that a snapshot-based technique misses refactorings when several edit operations are performed on the same source code entity. We present a way of reconstructing refactorings using fine grained changes that are recorded live from an integrated development environment and demonstrate on two cases PMD and Cruisecontrol that our approach is more accurate in a significant number of situations than the state-of-the-art snapshot-based technique RefFinder.
引用
收藏
页码:9 / 18
页数:10
相关论文
共 50 条
  • [21] ChangeMacroRecorder: Accurate Recording of Fine-Grained Textual Changes of Source Code
    Maruyama, Katsuhisa
    Hayashi, Shinpei
    Omori, Takayuki
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2020, E103D (11): : 2262 - 2277
  • [22] ChangeMacroRecorder: Accurate Recording of Fine-Grained Textual Changes of Source Code∗
    Maruyama K.
    Hayashi S.
    Omori T.
    IEICE Transactions on Information and Systems, 2020, E103D (11) : 2262 - 2277
  • [23] Leveraging Fine-Grained Labels to Regularize Fine-Grained Visual Classification
    Wu, Junfeng
    Yao, Li
    Liu, Bin
    Ding, Zheyuan
    PROCEEDINGS OF THE 11TH INTERNATIONAL CONFERENCE ON COMPUTER MODELING AND SIMULATION (ICCMS 2019) AND 8TH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND APPLICATIONS (ICICA 2019), 2019, : 133 - 136
  • [24] Fine-grained failover using connection migration
    Snoeren, AC
    Andersen, DG
    Balakrishnan, H
    USENIX ASSOCIATION PROCEEDINGS OF THE 3RD USENIX SYMPOSIUM ON INTERNET TECHNOLOGIES AND SYSTEMS, 2001, : 221 - 232
  • [25] Extracting Sentiments by Using Fine-Grained Mining
    Gobi Natesan
    Rathinavelu Arumugam
    Wireless Personal Communications, 2021, 121 : 1879 - 1890
  • [26] Fine-Grained Timing Using Genetic Programming
    White, David R.
    Tapiador, Juan M. E.
    Hernandez-Castro, Julio Cesar
    Clark, John A.
    GENETIC PROGRAMMING, PROCEEDINGS, 2010, 6021 : 325 - +
  • [27] Extracting Sentiments by Using Fine-Grained Mining
    Natesan, Gobi
    Arumugam, Rathinavelu
    WIRELESS PERSONAL COMMUNICATIONS, 2021, 121 (03) : 1879 - 1890
  • [28] FINE-GRAINED MONOLITH
    Louw, Michael
    ARCHITECTURE SOUTH AFRICA, 2019, (96): : 48 - 49
  • [29] Is fine-grained viable?
    Aaldering, M
    EDN, 1997, 42 (02) : 28 - 28
  • [30] Fine-Grained Explanations Using Markov Logic
    Al Farabi, Khan Mohammad
    Sarkhel, Somdeb
    Dey, Sanorita
    Venugopal, Deepak
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, ECML PKDD 2019, PT II, 2020, 11907 : 614 - 629