• DocumentCode
    2706648
  • Title

    Use of relative code churn measures to predict system defect density

  • Author

    Nagappan, Nachiappan ; Ball, Thomas

  • Author_Institution
    Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC, USA
  • fYear
    2005
  • fDate
    15-21 May 2005
  • Firstpage
    284
  • Lastpage
    292
  • Abstract
    Software systems evolve over time due to changes in requirements, optimization of code, fixes for security and reliability bugs etc. Code churn, which measures the changes made to a component over a period of time, quantifies the extent of this change. We present a technique for early prediction of system defect density using a set of relative code churn measures that relate the amount of churn to other variables such as component size and the temporal extent of churn. Using statistical regression models, we show that while absolute measures of code chum are poor predictors of defect density, our set of relative measures of code churn is highly predictive of defect density. A case study performed on Windows Server 2003 indicates the validity of the relative code churn measures as early indicators of system defect density. Furthermore, our code churn metric suite is able to discriminate between fault and not fault-prone binaries with an accuracy of 89.0 percent.
  • Keywords
    regression analysis; software metrics; systems analysis; multiple regression; principal component analysis; relative code churn measures; statistical regression; system defect density prediction; Automatic control; Computer science; Control systems; Density measurement; History; Software engineering; Software measurement; Software quality; Software systems; Time measurement;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 2005. ICSE 2005. Proceedings. 27th International Conference on
  • Print_ISBN
    1-59593-963-2
  • Type

    conf

  • DOI
    10.1109/ICSE.2005.1553571
  • Filename
    1553571