• DocumentCode
    2578223
  • Title

    Inferring Repository File Structure Modifications Using Nearest-Neighbor Clone Detection

  • Author

    Lavoie, Thierry ; Khomh, Foutse ; Merlo, Ettore ; Zou, Ying

  • Author_Institution
    Dept. de Genie Inf. et Logiciel, Ecole Polytech. de Montreal, Montreal, QC, Canada
  • fYear
    2012
  • fDate
    15-18 Oct. 2012
  • Firstpage
    325
  • Lastpage
    334
  • Abstract
    During the re-engineering of legacy software systems, a good knowledge of the history of past modifications on the system is important to recover the design of the system and transfer its functionalities. In the absence of a reliable revision history, development teams often rely on system experts to identify hidden history and recover software design. In this paper, we propose a new technique to infer the history of repository file modifications of a software system using only past released versions of the system. The proposed technique relies on nearest-neighbor clone detection using the Manhattan distance. We performed an empirical evaluation of the technique using Tomcat, JHotDraw and Adempiere SVN information as our oracle of file operations, and obtained an average precision of 97% and an average recall of 98%. Our evaluation also highlighted the phenomena of implicit Moves, which are, Moves between a system´s versions, that are not recorded in the SVN repository. In the absence of revision history and software experts, development teams can make use of the proposed technique during the re-engineering of their legacy systems.
  • Keywords
    file organisation; software maintenance; systems re-engineering; Adempiere SVN information; JHotDraw; Manhattan distance; SVN repository; Tomcat; implicit Moves; legacy software systems; legacy systems re-engineering; nearest-neighbor clone detection; repository file structure modification inference; revision history; software design; software experts; Cloning; History; Measurement; Reliability; Software systems; Vectors; Legacy systems; Nearest-Neighbor; Software clones; Software evolution; Software repository; Software similarity;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Reverse Engineering (WCRE), 2012 19th Working Conference on
  • Conference_Location
    Kingston, ON
  • ISSN
    1095-1350
  • Print_ISBN
    978-1-4673-4536-1
  • Type

    conf

  • DOI
    10.1109/WCRE.2012.42
  • Filename
    6385128