作者: M. Balazinska , E. Merlo , M. Dagenais , B. Lague , K. Kontogiannis
关键词:
摘要: Manual source code copy and modification is often used by programmers as an easy means for functionality reuse. Nevertheless, such practice produces duplicated pieces of or clones whose consistent maintenance might be difficult to achieve. It also creates implicit links between classes sharing a functionality. Clones are therefore good candidates system redesign. This paper presents novel approach computer-aided clone-based object-oriented refactoring. The based on advanced clone analysis which focuses the extraction differences their interpretation in terms programming language entities. study contextual dependencies cloned methods. has been applied JDK 1.1.5, large scale 150 KLOC.