• DocumentCode
    2514165
  • Title

    Network Versus Code Metrics to Predict Defects: A Replication Study

  • Author

    Premraj, Rahul ; Herzig, Kim

  • Author_Institution
    VU Univ. Amsterdam, Amsterdam, Netherlands
  • fYear
    2011
  • fDate
    22-23 Sept. 2011
  • Firstpage
    215
  • Lastpage
    224
  • Abstract
    Several defect prediction models have been proposed to identify which entities in a software system are likely to have defects before its release. This paper presents a replication of one such study conducted by Zimmermann and Nagappan on Windows Server 2003 where the authors leveraged dependency relationships between software entities captured using social network metrics to predict whether they are likely to have defects. They found that network metrics perform significantly better than source code metrics at predicting defects. In order to corroborate the generality of their findings, we replicate their study on three open source Java projects, viz., JRuby, ArgoUML, and Eclipse. Our results are in agreement with the original study by Zimmermann and Nagappan when using a similar experimental setup as them (random sampling). However, when we evaluated the metrics using setups more suited for industrial use -- forward-release and cross-project prediction -- we found network metrics to offer no vantage over code metrics. Moreover, code metrics may be preferable to network metrics considering the data is easier to collect and we used only 8 code metrics compared to approximately 58 network metrics.
  • Keywords
    Java; public domain software; software metrics; ArgoUML; Eclipse; JRuby; Windows Server 2003; cross project prediction; defect prediction; forward release prediction; network metrics; open source Java projects; software entities; software system; source code metrics; Complexity theory; Data models; Java; Measurement; Predictive models; Software; Training; code metrics; defect prediction; network metrics; open-source; replication study;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Empirical Software Engineering and Measurement (ESEM), 2011 International Symposium on
  • Conference_Location
    Banff, AB
  • ISSN
    1938-6451
  • Print_ISBN
    978-1-4577-2203-5
  • Type

    conf

  • DOI
    10.1109/ESEM.2011.30
  • Filename
    6092570