首页> 外国专利> Intelligent code difference processing using code clone detection

Intelligent code difference processing using code clone detection

机译:使用代码克隆检测的智能代码差异处理

摘要

The subject disclosure relates to systems and methods for intelligent code differencing employing code clone detection technology. A large, complex source code change (e.g., moving and renaming functions across source files) may involve edits in multiple source files. As such, developers and/or code reviewers may have a difficult time identifying the large and complex changes, and determining which changes are most significant, using existing code differencing tools. Using code clone detection technology, different types of changes, either across source files or inside a particular source file may be determined. The changes can be categorized as new, duplicated, and deleted code snippets or functions, and moved, renamed or modified functions. For changes categorized as duplicated or modified, further categorization by the level of importance of the change can be made. For example, the change can be trivial, minor or significant. Visualization of the changes further provides intuitive understanding of the changes.
机译:本公开涉及使用代码克隆检测技术的用于智能代码区分的系统和方法。大型,复杂的源代码更改(例如,跨源文件移动和重命名功能)可能涉及对多个源文件的编辑。这样,开发人员和/或代码检查者可能很难使用现有的代码区分工具来识别大型和复杂的更改,以及确定哪些更改最重要。使用代码克隆检测技术,可以确定跨源文件或特定源文件内部的不同类型的更改。更改可以分类为新的,重复的和删除的代码段或函数,以及移动,重命名或修改的函数。对于归类为重复或修改的更改,可以按更改的重要性级别进行进一步分类。例如,更改可能是微不足道的,次要的或重大的。更改的可视化进一步提供了对更改的直观了解。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号