Early Life Cycle Software Defect Prediction. Why? How?

N. C. Shrikanth, Suvodeep Majumder, Tim Menzies
11/26/2020
cs.SEcs.LG

Official code: anonymousseresearcher/EarlyDefectPrediction (3 stars, Python, last commit 2020-12-22).

Abstract

Many researchers assume that, for software analytics, "more data is better." We write to show that, at least for learning defect predictors, this may not be true. To demonstrate this, we analyzed hundreds of popular GitHub projects.

Show full abstract

These projects ran for 84 months and contained 3,728 commits (median values). Across these projects, most of the defects occur very early in their life cycle. Hence, defect predictors learned from the first 150 commits and four months perform just as well as anything else. This means that, at least for the projects studied here, after the first few months, we need not continually update our defect prediction models. We hope these results inspire other researchers to adopt a "simplicity-first" approach to their work. Some domains require a complex and data-hungry analysis. But before assuming complexity, it is prudent to check the raw data looking for "short cuts" that can simplify the analysis.

View on arXivView PDF

Code Implementations(1)

30Python, ShellAug 20, 20205 years ago

Similar Papers

Cite this paper

@article{shrikanth2020early,
  title  = {Early Life Cycle Software Defect Prediction. Why? How?},
  author = {N. C. Shrikanth and Suvodeep Majumder and Tim Menzies},
  year   = {2020},
  eprint = {2011.13071},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.13071}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.13071.svg)](https://codeofpaper.com/paper/2011.13071)

Discussion