The Community for Technology Leaders
2013 20th Working Conference on Reverse Engineering (WCRE) (1999)
Atlanta, Georgia
Oct. 6, 1999 to Oct. 8, 1999
ISSN: 1095-1350
ISBN: 0-7695-0303-9
pp: 326
Bruno Lague , Bell Canada
Ettore Merlo , Ecole Polytechnique de Montreal
Michel Dagenais , Ecole Polytechnique de Montreal
Magdalena Balazinska , Ecole Polytechnique de Montreal
Kostas Kontogiannis , University of Waterloo
Code duplication, plausibly caused by copying source code and slightly modifying it, is often observed in large systems. Clone detection and documentation have been investigated by several researchers in the past years. Recently, research focus has shifted towards the investigation of software and process restructuring actions based on clone detection.This paper presents a new redesign approach developed for Java software systems. The approach factorizes the common parts of cloned methods and parameterizes their differences using the strategy design pattern. The new entities created by such transformations are also decoupled from the original contexts of their use thus facilitating reuse and increasing maintainability. The applicability and automation of the technique presented in the paper have been verified by partially redesigning JDK 1.1.5.
software redesign, software reengineering, clone detection, design patterns
Bruno Lague, Ettore Merlo, Michel Dagenais, Magdalena Balazinska, Kostas Kontogiannis, "Partial Redesign of Java Software Systems Based on Clone Analysis", 2013 20th Working Conference on Reverse Engineering (WCRE), vol. 00, no. , pp. 326, 1999, doi:10.1109/WCRE.1999.806971
100 ms
(Ver 3.3 (11022016))