• DocumentCode
    1974608
  • Title

    Code siblings: Technical and legal implications of copying code between applications

  • Author

    German, Daniel M. ; Penta, Massimiliano Di ; Guéhéneuc, Yann-Gaël L. ; Antoniol, Giuliano

  • Author_Institution
    Univ. of Victoria, Victoria, BC
  • fYear
    2009
  • fDate
    16-17 May 2009
  • Firstpage
    81
  • Lastpage
    90
  • Abstract
    Source code cloning does not happen within a single system only. It can also occur between one system and another. We use the term code sibling to refer to a code clone that evolves in a different system than the code from which it originates. Code siblings can only occur when the source code copyright owner allows it and when the conditions imposed by such license are not incompatible with the license of the destination system. In some situations copying of source code fragments are allowed - legally - in one direction, but not in the other. In this paper, we use clone detection, license mining and classification, and change history techniques to understand how code siblings - under different licenses - flow in one direction or the other between Linux and two BSD Unixes, FreeBSD and OpenBSD. Our results show that, in most cases, this migration appears to happen according to the terms of the license of the original code being copied, favoring always copying from less restrictive licenses towards more restrictive ones. We also discovered that sometimes code is inserted to the kernels from an outside source.
  • Keywords
    Linux; source coding; BSD Unixes; FreeBSD; Linux; OpenBSD; clone detection; code siblings; license mining; source code cloning; source code fragments; Cloning; Hardware; History; Kernel; Law; Legal factors; Licenses; Linux; Robustness; Software debugging; Code licensing; clone detection; software evolution;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Mining Software Repositories, 2009. MSR '09. 6th IEEE International Working Conference on
  • Conference_Location
    Vancouver, BC
  • Print_ISBN
    978-1-4244-3493-0
  • Type

    conf

  • DOI
    10.1109/MSR.2009.5069483
  • Filename
    5069483