• DocumentCode
    2155680
  • Title

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

  • Author

    Hou, Daqing ; Jablonski, Patricia ; Jacob, Ferosh

  • Author_Institution
    Electr. & Comput. Eng., Clarkson Univ., Potsdam, NY
  • fYear
    2009
  • fDate
    17-19 May 2009
  • Firstpage
    238
  • Lastpage
    242
  • Abstract
    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.
  • Keywords
    programming; software maintenance; software management; CnP toolkit; clone detection-based tool; clone maintenance; copy-and-paste programming; proactive management; software artifact; software system; Cloning; Engineering management; Environmental management; Jacobian matrices; Programming profession; Software systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Program Comprehension, 2009. ICPC '09. IEEE 17th International Conference on
  • Conference_Location
    Vancouver, BC
  • ISSN
    1092-8138
  • Print_ISBN
    978-1-4244-3998-0
  • Electronic_ISBN
    1092-8138
  • Type

    conf

  • DOI
    10.1109/ICPC.2009.5090049
  • Filename
    5090049