...
【24h】

Code Clone Analysis Method for Practical Refactoring Support

机译:实用重构支持的代码克隆分析方法

获取原文
获取原文并翻译 | 示例
           

摘要

Recently, code clone has been regarded as one of factors that make software maintenance more difficult. A code clone is a code fragment in a source code that is identical or similar to another. For example, if we modify a code fragment which has code clones, it is necessary to consider whether we have to modify each of its code clones. There are two ways of maintenance support for code clones. One is to comprehend and manage code clones, and the other is to remove them. For the former support, we have developed code clone analysis environment Gemini. For the latter support, several methods have proposed. But. it is difficult to apply them to industrial software because of various reasons such as high time complexity. In this paper, we propose a method that detects refactoring-oriented code clone in practical use time. And, we develop a characterization of code clones by some metrics, which suggest how to remove them. Then, we develop refactoring support tool Cancer. We expect Cancer can support software maintenance more effectively.
机译:最近,代码克隆已被视为使软件维护更加困难的因素之一。代码克隆是源代码中与另一个相同或相似的代码片段。例如,如果我们修改具有代码克隆的代码片段,则必须考虑是否必须修改其每个代码克隆。对代码克隆的维护支持有两种方法。一种是理解和管理代码克隆,另一种是删除它们。对于以前的支持,我们已经开发了代码克隆分析环境Gemini。对于后一种支持,提出了几种方法。但。由于时间复杂度高等各种原因,很难将它们应用于工业软件。在本文中,我们提出了一种在实际使用时间内检测面向重构的代码克隆的方法。并且,我们通过一些度量来开发代码克隆的特征,这建议了如何删除它们。然后,我们开发重构支持工具巨蟹座。我们期望癌症可以更有效地支持软件维护。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号