【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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号