Prioritizing code clone detection results for clone management

Prioritizing code clone detection results for clone management
复制标题

优先考虑代码克隆检测结果以进行克隆管理

DOI:
10.1109/iwsc.2013.6613039
复制
发表时间:
2013
期刊:
2013 7th International Workshop on Software Clones (IWSC)
影响因子:
--
通讯作者:
Himanshu K. Singh
Himanshu K. Singh
中科院分区:
--
文献类型:
--
作者:
D. Radhika;Shrinath Gupta;Himanshu K. Singh

文献摘要

被引文献

相似文献

通过工具进行克隆检测是软件行业的常见做法。与克隆检测相关的是代码克隆管理,这包括对克隆检测工具所报告的大量克隆进行明智的管理决策,随着代码库规模的增大,这项任务更具挑战性。为了实现并简化代码克隆管理流程,我们讨论了有助于对克隆结果进行优先级排序的各种标准。我们从维护开销、代码质量和重构成本等因素的角度考虑克隆的影响。优先级排序标准基于工业代码需遵循软件质量标准的要求。本文试图提供一种分析和确定克隆优先级以确定修复顺序的系统方法。该方法目前正在西门子公司亚洲澳大利亚技术开发中心(CT DC AA)的一些项目中使用;本文介绍了其中一个项目的案例研究。
Clone detection through tools is a common practice in the software industry. Associated with clone detection is code clone management, which includes taking informed decisions for management of the large sets of clones as reported by the clone detection tools, a task that gets more challenging with larger code bases. In order to enable and ease the process of code clone management, we discuss various criteria that help in prioritizing the clone results. We consider the impact of clones with respect to factors of maintenance overhead, code quality, and refactoring cost. The criteria for prioritization are based on the need for industrial code to adhere to software quality standards. This paper attempts to provide a systematic approach for analyzing and prioritizing clones to determine the order of fixing. This methodology is currently being used in some of the Siemens Corporate Technology Development Center Asia Australia (CT DC AA) projects; a case study of one such project is presented in this paper.