• DocumentCode
    3235503
  • Title

    Studying the Impact of Clones on Software Defects

  • Author

    Selim, Gehan M K ; Barbour, Liliane ; Shang, Weiyi ; Adams, Bram ; Hassan, Ahmed E. ; Zou, Ying

  • Author_Institution
    Queen´´s Univ., Kingston, ON, Canada
  • fYear
    2010
  • fDate
    13-16 Oct. 2010
  • Firstpage
    13
  • Lastpage
    21
  • Abstract
    There are numerous studies that examine whether or not cloned code is harmful to software systems. Yet, few of them study which characteristics of cloned code in particular lead to software defects. In our work, we use survival analysis to understand the impact of clones on software defects and to determine the characteristics of cloned code that have the highest impact on software defects. Our survival models express the risk of defects in terms of basic predictors inherent to the code (e.g., LOC) and cloning predictors (e.g., number of clone siblings). We perform a case study using two clone detection tools on two large, long-lived systems using survival analysis. We determine that the defect-proneness of cloned methods is specific to the system under study and that more resources should be directed towards methods with a longer ´commit history´.
  • Keywords
    software fault tolerance; statistical analysis; clone detection tools; cloning predictors; software defects; survival analysis; Cloning; Correlation; Data models; Hazards; Mathematical model; Predictive models; Software;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Reverse Engineering (WCRE), 2010 17th Working Conference on
  • Conference_Location
    Beverly, MA
  • ISSN
    1095-1350
  • Print_ISBN
    978-1-4244-8911-4
  • Type

    conf

  • DOI
    10.1109/WCRE.2010.11
  • Filename
    5645480