• DocumentCode
    1230161
  • Title

    Benchmarking Classification Models for Software Defect Prediction: A Proposed Framework and Novel Findings

  • Author

    Lessmann, Stefan ; Baesens, Bart ; Mues, Christophe ; Pietsch, Swantje

  • Author_Institution
    Inst. of Inf. Syst., Hamburg Univ., Hamburg
  • Volume
    34
  • Issue
    4
  • fYear
    2008
  • Firstpage
    485
  • Lastpage
    496
  • Abstract
    Software defect prediction strives to improve software quality and testing efficiency by constructing predictive classification models from code attributes to enable a timely identification of fault-prone modules. Several classification models have been evaluated for this task. However, due to inconsistent findings regarding the superiority of one classifier over another and the usefulness of metric-based classification in general, more research is needed to improve convergence across studies and further advance confidence in experimental results. We consider three potential sources for bias: comparing classifiers over one or a small number of proprietary data sets, relying on accuracy indicators that are conceptually inappropriate for software defect prediction and cross-study comparisons, and, finally, limited use of statistical testing procedures to secure empirical findings. To remedy these problems, a framework for comparative software defect prediction experiments is proposed and applied in a large-scale empirical comparison of 22 classifiers over 10 public domain data sets from the NASA Metrics Data repository. Overall, an appealing degree of predictive accuracy is observed, which supports the view that metric-based classification is useful. However, our results indicate that the importance of the particular classification algorithm may be less than previously assumed since no significant performance differences could be detected among the top 17 classifiers.
  • Keywords
    benchmark testing; software quality; statistical testing; benchmarking classification models; code attributes; fault-prone modules; metric-based classification; predictive classification models; proprietary data sets; software defect prediction; software quality; statistical testing procedures; testing efficiency; Complexity measures; Data mining; Formal methods; Statistical methods;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2008.35
  • Filename
    4527256