【24h】

Reusing reused code

机译:重用重用的代码

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

摘要

Although source code search systems are well known as being helpful to reuse source code, they have an issue that they often suggest larger code than what users actually need. This is because they suggest code based on the structure of programming languages such as files or classes. In this paper, we propose a new code search technique that considers past reuse. In the proposed technique, code are suggested at the unit of past reuse. The proposed technique detects reused code by using a fine-grained code clone detection technique. We conducted an experiment to compare the proposed technique with an existing technique. The result shows that the proposed technique helps more effectively to reuse code than the existing technique.
机译:尽管众所周知,源代码搜索系统有助于重用源代码,但是它们存在一个问题,即它们通常会建议比用户实际需要的更大的代码。这是因为他们根据诸如文件或类之类的编程语言的结构来建议代码。在本文中,我们提出了一种考虑过去重用的新代码搜索技术。在提出的技术中,以过去重用为单位建议代码。所提出的技术通过使用细粒度代码克隆检测技术来检测重用代码。我们进行了一项实验,以将所提出的技术与现有技术进行比较。结果表明,与现有技术相比,该技术可以更有效地重用代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号