首页 | 本学科首页   官方微博 | 高级检索  
     


Renaming Detection
Authors:Guido Malpohl  James J. Hunt  Walter F. Tichy
Affiliation:(1) University of Karlsruhe, IPD, Am Fasanengarten 5, 76128 Karlsruhe, Germany;(2) aicas GmbH, Haid-und-Nev-StraBe 18, Karlsruhe, Germany, D-76131;(3) University of Karlsruhe, IPD, Am Fasanengarten 5, 76128 Karlsruhe, Germany
Abstract:Finding changed identifiers is important for understanding the difference between two versions of a program and for detecting and resolving conflicts while merging variants of a program together. Standard practice for differencing and merging relies on line based techniques that do not recognize renamed identifiers. The design and implementation of a tool to automatically detect renamed identifiers between two versions of a program is presented. The system uses an abstract representation of language constructs to enable language awareness without introducing language dependence. Modules for Java and Scheme have been written. The detector works with multiple file pairs, taking into account renamings that span several files. A case study is presented that demonstrates proof of concept. The detector is part of a suite of intelligent differencing and merging programs that exploit the static semantics of programming languages.
Keywords:merging  deltas  configuration management  static semantics
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号