首页    期刊浏览 2024年11月08日 星期五
登录注册

文章基本信息

  • 标题:A Novel Approach Towards Code Clone Detection and Redesigning
  • 本地全文:下载
  • 作者:Girija Gupta ; Indu Singh
  • 期刊名称:International Journal of Advanced Research In Computer Science and Software Engineering
  • 印刷版ISSN:2277-6451
  • 电子版ISSN:2277-128X
  • 出版年度:2013
  • 卷号:3
  • 期号:9
  • 出版社:S.S. Mishra
  • 摘要:Software systems are getting more complex as the system grows where maintaining such system is a primary concern for the software industry. Code clone is one of the factors making software maintenance more difficult. The copy of code fragments and then reuse by pasting with or without minor modifications or adaptations and this type of reuse approach of existing code is called code cloning and the pasted code fragment (with or without modifications) is called a clone of the original. Code clones are common activities in software development. The major risk of cloning is that it risks the maintenance process. Cloning is basically the means of software reuse and software reuse is the basic need of today's en vironment.That is why code cloning has been extensively used in large software industries. So to detect clones and refactor them is a major concern. Clones are considered harmful for software maintenance and evolution because it increases the complexity. Moreover, too much cloning increases the system size and often indicates design problems. Detection of clones decreases software maintenance cost and increases understandability of the system. Many approaches have been developed to detect clones and the most common among all is text based comparison and token based techniques. Though these techniques are efficient but they take lot of time and are expensive too and the tree based and AST based techniques are very complex to deal with. The aim of the proposed work is to design and implement a Code Clone Detector tool to detect clones. The novel aspect of the work is done by using metric based approach on Java source codes. For calculating metrics Java byte code is used and after that source code refactoring is done inorder to reduce code clones
  • 关键词:Code clone;Clone detection; metric calculation;redesigning;class metric;function metric
国家哲学社会科学文献中心版权所有