Advanced Clone-Analysis to Support Object-Oriented System Refactoring

  • Authors:
  • Magdalena Balazinska;Ettore Merlo;Michel Dagenais;Bruno Lagüe;Kostas Kontogiannis

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • WCRE '00 Proceedings of the Seventh Working Conference on Reverse Engineering (WCRE'00)
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Programmers often use manual source code copy and modification as an easy means for functionality reuse. Nevertheless, such practice produces duplicated pieces of code or clones whose consistent maintenance might be difficult to achieve. It also creates implicit links between classes sharing functionality. Clones are therefore good candidates for system redesign. This paper presents a novel approach for computer-aided clone-based object-oriented system refactoring. The approach is based on an advanced clone analysis, which focuses on the extraction of clone differences and their interpretation in terms of programming language entities. It also focuses on the study of contextual dependencies of cloned methods. The clone analysis has been applied to JDK 1.1.5, a large-scale system of 150 KLOC.