Extracting prehistories of software refactorings from version archives

被引:0
|
作者
Hayashi, Shinpei [1 ]
Saeki, Motoshi [1 ]
机构
[1] Tokyo Inst Technol, Dept Comp Sci, Meguro Ku, Tokyo 1528552, Japan
关键词
D O I
10.1007/978-3-540-78159-2_9
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper proposes an automated technique to extract prehistories of software refactorings from existing software version archives, which in turn a technique to discover knowledge for finding refactoring opportunities. We focus on two types of knowledge to extract: characteristic modification histories, and fluctuations of the values of complexity measures. First, we extract modified fragments of code by calculating the difference of the Abstract Syntax Trees in the programs picked up from an existing software repository. We also extract past cases of refactorings, and then we create traces of program elements by associating modified fragments with cases of refactorings for finding the structures that frequently occur. Extracted traces help us identify how and where to refactor programs, and it leads to improve the program design.
引用
收藏
页码:82 / 89
页数:8
相关论文
共 50 条
  • [21] Tales from the Code #1: The Effective Impact of Code Refactorings on Software Energy Consumption
    Ournani, Zakaria
    Rouvoy, Romain
    Rust, Pierre
    Penhoat, Joel
    [J]. PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2021, : 34 - 46
  • [22] Towards extracting event-centric collections from Web archives
    Gossen, Gerhard
    Risse, Thomas
    Demidova, Elena
    [J]. INTERNATIONAL JOURNAL ON DIGITAL LIBRARIES, 2020, 21 (01) : 31 - 45
  • [23] Towards extracting event-centric collections from Web archives
    Gerhard Gossen
    Thomas Risse
    Elena Demidova
    [J]. International Journal on Digital Libraries, 2020, 21 : 31 - 45
  • [24] A New Clone Group Mapping Algorithm for Extracting Clone Genealogy on Multi-Version Software
    Ci Meng
    Su Xiao-hong
    Wang Tian-tian
    Ma Pei-jun
    [J]. 2013 THIRD INTERNATIONAL CONFERENCE ON INSTRUMENTATION & MEASUREMENT, COMPUTER, COMMUNICATION AND CONTROL (IMCCC), 2013, : 848 - 853
  • [25] Effective software merging in the presence of object-oriented refactorings
    Dig, Danny
    Manzoor, Kashif
    Johnson, Ralph
    Nguyen, Tien N.
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2008, 34 (03) : 321 - 335
  • [26] Tools for extracting software structure from compiled programs
    Teoh, HS
    Wortman, DB
    [J]. 20TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2004, : 526 - 526
  • [27] Extracting models from source code in software modernization
    Javier Luis Cánovas Izquierdo
    Jesús García Molina
    [J]. Software & Systems Modeling, 2014, 13 : 713 - 734
  • [28] Extracting Development Organization from Open Source Software
    Han, Jongdae
    Wu, Chisu
    Lee, Byungjeong
    [J]. APSEC 09: SIXTEENTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2009, : 441 - +
  • [29] Extracting and Classifying Requirements from Software Engineering Contracts
    Sainani, Abhishek
    Anish, Preethu Rose
    Joshi, Vivek
    Ghaisas, Smita
    [J]. 2020 28TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE (RE'20), 2020, : 147 - 157
  • [30] PySE: Software for extracting sources from radio images
    Carbone, D.
    Garsden, H.
    Spreeuw, H.
    Swinbank, J. D.
    van der Horst, A. J.
    Rowlinson, A.
    Broderick, J. W.
    Rol, E.
    Law, C.
    Molenaar, G.
    Wijers, R. A. M. J.
    [J]. ASTRONOMY AND COMPUTING, 2018, 23 : 92 - 102