首页> 外文会议>Program Comprehension, 2009. ICPC '09 >CnP: Towards an environment for the proactive management of copy-and-paste programming
【24h】

CnP: Towards an environment for the proactive management of copy-and-paste programming

机译:CnP:营造一种主动管理复制和粘贴编程的环境

获取原文

摘要

Programmers copy and paste code for many reasons. Regardless of the specific reasons, similar code fragments (clones) are introduced into software systems. Like other software artifacts, clones may require attention and effort from programmers so that they can be understood, and correctly adapted and evolved. More specifically, when understanding and maintaining clones, programmers need to know where the clones are. Programmers also need to compare and contrast code clones in order to figure out how they correspond and differ. Finally, they also need to edit or remove clones. In addition to what clone detection-based tools can offer, more automated support is needed to better assist programmers in these activities. In this paper, we introduce a toolkit CnP that is aimed to support and manage clones proactively as they are created and evolved. We describe the initial features and the design decisions taken in CnP. We also discuss possible future design extension.
机译:程序员出于多种原因复制和粘贴代码。不管具体原因如何,相似的代码片段(克隆)都被引入到软件系统中。像其他软件工件一样,克隆可能需要程序员的关注和努力,以便可以理解它们并正确地对其进行适应和发展。更具体地说,在理解和维护克隆时,程序员需要知道克隆在哪里。程序员还需要比较和对比代码克隆,以弄清它们如何对应和不同。最后,他们还需要编辑或删除克隆。除了可以提供基于克隆检测的工具以外,还需要更多的自动化支持来更好地帮助程序员进行这些活动。在本文中,我们介绍了一个工具包CnP,该工具包旨在在克隆创建和演化时主动支持和管理克隆。我们描述了CnP中的初始功能和设计决策。我们还将讨论将来可能的设计扩展。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号