作者: M. Balazinska , E. Merlo , M. Dagenais , B. Lague , K. Kontogiannis
关键词: Source code 、 Software design pattern 、 Software maintenance 、 Software system 、 Java 、 Software 、 Computer science 、 Maintainability 、 Software engineering 、 Strategy pattern
摘要: Code duplication, plausibly caused by copying source code and slightly modifying it, is often observed in large systems. Clone detection documentation have been investigated several researchers past years. Recently, research focus has shifted towards the investigation of software process restructuring actions based on clone detection. The paper presents a new redesign approach developed for Java factorizes common parts cloned methods parameterizes their differences using strategy design pattern. entities created such transformations are also decoupled from original contexts use, thus facilitating reuse increasing maintainability. applicability automation technique presented verified partially redesigning JDK 1.1.5.