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 条
  • [41] Compositional Symbolic Execution using Fine-Grained Summaries
    Lin, Yude
    Miller, Tim
    Sondergaard, Harald
    2015 24TH AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC 2015), 2015, : 213 - 222
  • [42] Android Malware Detection Using Fine-Grained Features
    Jiang, Xu
    Mao, Baolei
    Guan, Jun
    Huang, Xingli
    SCIENTIFIC PROGRAMMING, 2020, 2020
  • [43] Entity Retrieval Using Fine-Grained Entity Aspects
    Chatterjee, Shubham
    Dietz, Laura
    SIGIR '21 - PROCEEDINGS OF THE 44TH INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL, 2021, : 1662 - 1666
  • [44] Accelerating RSA with Fine-Grained Parallelism Using GPU
    Yang, Yang
    Guan, Zhi
    Sun, Huiping
    Chen, Zhong
    INFORMATION SECURITY PRACTICE AND EXPERIENCE, ISPEC 2015, 2015, 9065 : 454 - 468
  • [45] Improving Document Classification Using Fine-Grained Weights
    Song, Soo-Hwan
    Lee, Chang-Hwan
    CURRENT APPROACHES IN APPLIED ARTIFICIAL INTELLIGENCE, 2015, 9101 : 488 - 492
  • [46] Fine-Grained Fault Tolerance using Device Checkpoints
    Kadav, Asim
    Renzelmann, Matthew J.
    Swift, Michael M.
    ACM SIGPLAN NOTICES, 2013, 48 (04) : 473 - 484
  • [47] Fine-grained access control for GridFTP using SecPAL
    Humphrey, Marty
    Park, Sang-Min
    Feng, Jun
    Beekwilder, Nonn
    Wassor, Glenn
    Hogg, Jason
    LaMacchia, Brian
    Dillaway, Blair
    2007 8TH IEEE/ACM INTERNATIONAL CONFERENCE ON GRID COMPUTING, 2007, : 185 - +
  • [48] Fine-grained Action Recognition using Attribute Vectors
    Yenduri, Sravani
    Perveen, Nazil
    Chalavadi, Vishnu
    Mohan, C. Krishna
    PROCEEDINGS OF THE 17TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER VISION, IMAGING AND COMPUTER GRAPHICS THEORY AND APPLICATIONS (VISAPP), VOL 5, 2022, : 134 - 143
  • [49] TECHNIQUE FOR USING FINE-GRAINED SOIL IN REINFORCED EARTH
    SRIDHARAN, A
    MURTHY, BRS
    BINDUMADHAVA
    REVANASIDDAPPA, K
    JOURNAL OF GEOTECHNICAL ENGINEERING-ASCE, 1991, 117 (08): : 1174 - 1190
  • [50] Fine-grained action recognition using dynamic kernels
    Yenduri, Sravani
    Perveen, Nazil
    Chalavadi, Vishnu
    Mohan, Krishna C.
    PATTERN RECOGNITION, 2022, 122