• DocumentCode
    2544506
  • Title

    DebCheck: Efficient Checking for Open Source Code Clones in Software Systems

  • Author

    Cordy, James R. ; Roy, Chanchal K.

  • Author_Institution
    Queen´´s Univ., Kingston, ON, Canada
  • fYear
    2011
  • fDate
    22-24 June 2011
  • Firstpage
    217
  • Lastpage
    218
  • Abstract
    The problem of finding code cloned from open source code in software systems is of interest both to the open source community (e.g., for GPL and other open source license enforcement) and the industrial community (e.g., to prevent GPL "contamination" of proprietary commercial software systems). The largest collection of open source software in general distribution is the collection of eight DVDs in the Debian source distribution, and checking for cross-cloning with the Debian source distribution goes a long way towards finding any possible copying from the set of all open source code in the world. The NiCad clone detector is an open source language- sensitive robust clone detector that has been shown to yield both high precision and high recall in detecting syntactically meaningful near-miss clones such as functions and blocks. Given a directory of new source code to check, DebCheck uses NiCad in its incremental mode to efficiently check the system for near-miss clones of C functions in the entire Debian source base in a few minutes on a 2 Gb home computer. The same technique can be used to check systems for cross-clones with any large source collection.
  • Keywords
    program diagnostics; public domain software; DebCheck; Debian source distribution; NiCad clone detector; open source code clones; open source software; software systems; Cloning; Communities; DVD; Detectors; Law; Licenses; Software systems; GPL; clone detection; licensing; open source;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Program Comprehension (ICPC), 2011 IEEE 19th International Conference on
  • Conference_Location
    Kingston, ON
  • ISSN
    1092-8138
  • Print_ISBN
    978-1-61284-308-7
  • Electronic_ISBN
    1092-8138
  • Type

    conf

  • DOI
    10.1109/ICPC.2011.27
  • Filename
    5970188