Skip to content

Software Bug Prediction (SBP)

Question

Comment connaitre à l'avance quels bugs vont apparaitre dans une codebase? Et où? Quels sont les facteurs qui permettent de prévoir ces bugs?

Field: SBP (Software Bug Prediction)

Can We Predict the Generation of Bugs? Software Architecture and Quality in Open Source Development (2009)

  • Found factor: System cyclicality (the cycles, and how hidden they are)
  • Cyclicality depends on Architecture characteristics.

Software Bug Prediction using Machine Learning Approcach (2018) (PDF)

  • Machine learning + historical data of past bug can help predict bugs

BugSpot

Implementation of a Google cheap SBP algorithm. How to obtain historical data:

  • Add to your bugfix commits messages a "#bug" marker
  • Run the script and find the hotspots