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 条
  • [1] Detecting and visualizing refactorings from software archives
    Görg, C
    Weissgerber, P
    [J]. 13TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2005, : 205 - 214
  • [2] Extracting new metrics from Version Control System for the comparison of software developers
    de Moura, Marcello H. D.
    do Nascimento, Hugo A. D.
    Rosa, Thierson C.
    [J]. 2014 28TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING (SBES 2014), 2014, : 41 - +
  • [3] RefDiff: Detecting Refactorings in Version Histories
    Silva, Danilo
    Valente, Marco Tulio
    [J]. 2017 IEEE/ACM 14TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2017), 2017, : 269 - 279
  • [4] Extracting information from newspaper archives in Africa
    Zeni, M.
    Weldemariam, K.
    [J]. IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 2017, 61 (06)
  • [5] On the Impact of Refactorings on Software Attack Surface
    Edward, Estomii
    Nyamawe, Ally S.
    Elisa, Noe
    [J]. IEEE ACCESS, 2024, 12 : 128570 - 128584
  • [6] A study of refactorings during software change tasks
    Eilertsen, Anna M.
    Murphy, Gail C.
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (01)
  • [7] Extracting and visualizing knowledge from film and video archives
    Wactlar, HD
    [J]. JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2002, 8 (06) : 602 - 612
  • [8] Recommending Refactorings to Reverse Software Architecture Erosion
    Terra, Ricardo
    Valente, Marco Tulio
    Czarnecki, Krzysztof
    Bigonha, Roberto S.
    [J]. 2012 16TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2012, : 335 - 340
  • [9] Conflict-aware schedule of software refactorings
    Liu, H.
    Li, G.
    Ma, Z. Y.
    Shao, W. Z.
    [J]. IET SOFTWARE, 2008, 2 (05) : 446 - 460
  • [10] Toward extracting analytical science metrics from the RSC archives
    Chalk, Stuart
    Williams, Antony
    Tkachenko, Valery
    Batchelor, Colin
    [J]. ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2014, 248