Refactoring-Aware Block Tracking in Commit History

被引:0
|
作者
Hasan, Mohammed Tayeeb [1 ]
Tsantalis, Nikolaos [1 ]
Alikhanifard, Pouria [1 ]
机构
[1] Concordia Univ, Dept Comp Sci & Software Engn, Montreal, PQ H3G 1M8, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Codes; History; Software; Accuracy; Containers; Computer bugs; Source coding; Software engineering; !text type='Java']Java[!/text; Target tracking; Commit change history; refactoring-aware source code tracking; change oracle;
D O I
10.1109/TSE.2024.3484586
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Tracking the change history of statements in the commits of a project repository is in many cases useful for supporting various software maintenance, comprehension, and evolution tasks. A high level of accuracy can facilitate the adoption of code tracking tools by developers and researchers. To this end, we propose CodeTracker, a refactoring-aware tool that can generate the commit change history for code blocks. To evaluate its accuracy, we created an oracle with the change history of 1,280 code blocks found within 200 methods from 20 popular open-source project repositories. Moreover, we created a baseline based on the current state-of-the-art Abstract Syntax Tree diff tool, namely GumTree 3.0, in order to compare the accuracy and execution time. Our experiments have shown that CodeTracker has a considerably higher precision/recall and faster execution time than the GumTree-based baseline, and can extract the complete change history of a code block with a precision and recall of 99.5% within 3.6 seconds on average.
引用
收藏
页码:3330 / 3350
页数:21
相关论文
共 50 条
  • [31] EARMO: An Energy-Aware Refactoring Approach for Mobile Apps
    Morales, Rodrigo
    Saborido, Ruben
    Khomh, Foutse
    Chicano, Francisco
    Antoniol, Giuliano
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 59 - 59
  • [32] Feature Block-Aware Correlation Filters for Real-Time UAV Tracking
    Zhang, Hong
    Li, Yan
    Liu, Hanyang
    Yuan, Ding
    Yang, Yifan
    IEEE SIGNAL PROCESSING LETTERS, 2024, 31 : 840 - 844
  • [33] INTO CLEANNESS LEAPING: THE VERTIGINOUS URGE TO COMMIT HISTORY
    Runia, Eelco
    HISTORY AND THEORY, 2010, 49 (01) : 1 - 20
  • [34] Cache-based Optimization for Block Commit of Hyperledger Fabric
    Xu, Qinqi
    Lin, Yimin
    Jiang, Qingshan
    Zhang, Mengqiu
    20TH IEEE INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOPS (ICDMW 2020), 2020, : 902 - 906
  • [35] Security-Aware Refactoring Alerting its Impact on Code Vulnerabilities
    Maruyajna, Katsuhisa
    Tokoda, Kensuke
    APSEC 2008:15TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2008, : 445 - +
  • [36] Stability Aware Software Refactoring Using Hybrid Search Based Techniques
    Vimaladevi, M.
    Zayaraz, G.
    2017 INTERNATIONAL CONFERENCE ON TECHNICAL ADVANCEMENTS IN COMPUTERS AND COMMUNICATIONS (ICTACC), 2017, : 32 - 35
  • [37] Towards a Difference Detection Algorithm aware of Refactoring-related Changes
    Silva, Fernanda
    Borel, Eraldo
    Lopes, Evandro
    Murta, Leonardo
    2014 28TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING (SBES 2014), 2014, : 111 - +
  • [38] Conflict-aware optimal scheduling of prioritised code clone refactoring
    Zibran, Minhaz Fahim
    Roy, Chanchal Kumar
    IET SOFTWARE, 2013, 7 (03) : 167 - 186
  • [39] KADEL: Knowledge-Aware Denoising Learning for Commit Message Generation
    Tao, Wei
    Zhou, Yucheng
    Wang, Yanlin
    Zhang, Hongyu
    Wang, Haofen
    Zhang, Wenqiang
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (05)
  • [40] A Scalable and Efficient Approach for Compiling and Analyzing Commit History
    Behnamghader, Pooyan
    Meemeng, Patavee
    Fostiropoulos, Iordanis
    Huang, Di
    Srisopha, Kamonphop
    Boehm, Barry
    PROCEEDINGS OF THE 12TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM 2018), 2018,