Method Level Detection and Removal of Code Clones in C and Java Programs using Refactoring
暂无分享,去创建一个
Clone detection and refactoring is the major role in software maintenance and evaluation. A well-known bad code smell in refactoring and software maintenances is duplicated code, or code clones. A code clone is a code fragment that is identical or similar to another. Unjustified code clones increase code size, make maintenance and comprehension more difficult, and also indicate design problems such as lack of encapsulation or abstraction. This paper proposes to automatically detecting code clones in c/java programs, underlying a collection of refactoring to support user-controlled automatic clone removal, and examines their application in substantial case studies. Both the clone detector and the refactoring will be done using new refactoring methods.
[1] Martin Fowler,et al. Refactoring - Improving the Design of Existing Code , 1999, Addison Wesley object technology series.
[2] Eytan Adar,et al. GUESS: a language and interface for graph exploration , 2006, CHI.
[3] R. Agrawal. Mining sequencial patterns , 1995 .
[4] Huiqing Li,et al. Clone detection and removal for Erlang/OTP within a refactoring environment , 2009, PEPM '09.