【24h】

Identifying Feature Clones: An Industrial Case Study

机译:识别特征克隆:工业案例研究

获取原文

摘要

During its software evolution, the original software system of our industrial partner was split into three variants. These have evolved over time, but retained a lot of common functionality. During strategical planning our industrial partner realized the need for consolidation of common code in a shared code base towards more efficient code maintenance and re-use. To support this agenda, a feature-clone identification approach was proposed, combining elements of feature location (to identify the relevant code in one system) and clone detection (to identify that common feature’s code across systems) techniques. In this work, this approach is used (via our prototype tool CoRA) to locate three features that were identified by the industrial partner for re-factoring, and is evaluated. The methodology, involving a system expert, was designed to evaluate the discrete parts of the approach in isolation: textual and static analyses of feature location, and clone detection. It was found that the approach can effectively identify features and their clones. The hybrid textual/static feature location part is effective even for a relative system novice, showing results comparable to more optimal system expert’s suggestions. Finally, more effective feature location increases the effectiveness of the clone detection part of the approach.11A preliminary version of this paper, explaining the motivation, approach and resultant tool was published in [1]. This paper extends that work with a discussion of the approach’s in-vivo empirical evaluation.
机译:在其软件演变过程中,我们的工业伙伴的原始软件系统分为三种变体。这些随着时间的推移而发展,但保留了很多常见功能。在战略规划期间,我们的工业合作伙伴意识到需要在共享代码基础上巩固公共代码,以更有效的代码维护和重复使用。为了支持这一议程,提出了一种特征克隆识别方法,组合特征位置的元素(识别一个系统中的相关代码)和克隆检测(以识别跨系统的共同特征的代码)技术。在这项工作中,使用这种方法(通过我们的原型工具Cora)来定位由工业伙伴识别的三个功能进行重新定位,并进行评估。涉及系统专家的方法旨在评估分离的方法的离散部分:特征位置的文本和静态分析和克隆检测。发现该方法可以有效地识别特征及其克隆。混合文本/静态特征位置部件即使对于相对系统新手也是有效的,显示出与更优化的系统专家的建议相当的结果。最后,更有效的特征位置增加了克隆检测部分的方法的有效性。 1 1 本文的初步版本,解释了在[1]中发表了动机,方法和结果工具。本文延伸,讨论该方法的体内实证评估。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号