【24h】

Refactoring Support Based on Code Clone Analysis

机译:基于代码克隆分析的重构支持

获取原文

摘要

Software maintenance is the most expensive activity in software development. Many software companies spent a large amount of cost to maintain the existing software systems. In perfective maintenance, refactoring has often been applied to the software to improve the understandability and complexity. One of the targets of refactoring is code clone. A code clone is a code fragment in a source code that is identical or similar to another. In an actual software development process, code clones are introduced because of various reasons such as reusing code by copy-and-paste and so on. Code clones are one of the factors that make software maintenance difficult. In this paper, we propose a method which removes code clones from object oriented software by using existing refactoring patterns, especially "Extract Method" and Pull Up Method. Then, we have implemented a refactoring supporting tool based on the proposed method. Finally, we have applied the tool to an open source program and actually perform refactoring.
机译:软件维护是软件开发中最昂贵的活动。许多软件公司花费了大量成本来维护现有的软件系统。在完善的维护中,重构经常应用于软件以提高可理解性和复杂性。重构目标之一是代码克隆。代码克隆是源代码中的代码片段,其与另一个代码相同或类似。在实际的软件开发过程中,由于诸如通过复制和粘贴等诸如重用代码等的各种原因而引入了代码克隆。代码克隆是使软件维护困难的因素之一。在本文中,我们提出了一种方法,该方法通过使用现有的重构模式,尤其是“提取方法”和提升方法,从面向对象的软件中删除代码克隆。然后,我们已经实现了基于所提出的方法的重构支持工具。最后,我们已将工具应用于开源程序,实际执行重构。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号