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 条
  • [31] Fine-grained Gesture Recognition Using WiFi
    Tan, Sheng
    Yang, Jie
    2016 IEEE CONFERENCE ON COMPUTER COMMUNICATIONS WORKSHOPS (INFOCOM WKSHPS), 2016,
  • [32] Fine-Grained Cryptography
    Degwekar, Akshay
    Vaikuntanathan, Vinod
    Vasudevan, Prashant Nalini
    ADVANCES IN CRYPTOLOGY (CRYPTO 2016), PT III, 2016, 9816 : 533 - 562
  • [33] Fine-Grained Change Detection of Misaligned Scenes with Varied Illuminations
    Feng, Wei
    Tian, Fei-Peng
    Zhang, Qian
    Zhang, Nan
    Wan, Liang
    Sun, Jizhou
    2015 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2015, : 1260 - 1268
  • [34] VTML for fine-grained change tracking in editing structured documents
    Bendix, L
    Vitali, F
    SYSTEM CONFIGURATION MANAGEMENT, 1999, 1675 : 139 - 156
  • [35] Active Recurrence of Lighting Condition for Fine-Grained Change Detection
    Zhang, Qian
    Feng, Wei
    Wan, Liang
    Tian, Fei-Peng
    Tan, Ping
    PROCEEDINGS OF THE TWENTY-SEVENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2018, : 4972 - 4978
  • [36] Diff/TS: A Tool for Fine-Grained Structural Change Analysis
    Hashimoto, Masatomo
    Mori, Akira
    FIFTEENTH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2008, : 279 - 288
  • [37] Fine-Grained Recording of Student Programming Sessions to Improve Teaching and Time Estimations
    Toll, Daniel
    Olsson, Tobias
    Ericsson, Morgan
    Wingkvist, Anna
    INTERNATIONAL JOURNAL OF ENGINEERING EDUCATION, 2016, 32 (03) : 1069 - 1077
  • [38] Change distilling:: Tree differencing for fine-grained source code change extraction
    Fluri, Beat
    Wuersch, Michael
    Pinzger, Martin
    Gall, Harald C.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2007, 33 (11) : 725 - 743
  • [39] Towards Fine-Grained Recognition: Joint Learning for Object Detection and Fine-Grained Classification
    Wang, Qiaosong
    Rasmussen, Christopher
    ADVANCES IN VISUAL COMPUTING, ISVC 2019, PT II, 2019, 11845 : 332 - 344
  • [40] Fine-Grained DVFS Using On-Chip Regulators
    Eyerman, Stijn
    Eeckhout, Lieven
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2011, 8 (01)