Skip to content
This repository was archived by the owner on Dec 10, 2022. It is now read-only.

joe-forbes/bugspots

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bugspots

bugspots is a bug location predictor that implements the "Bugspots" algorithm.

install

not yet supported.

documentation

Bugspots

#scan(opts, callback)

opts is an object containing the following:

{
  repo: <repo>, // this is the location of the repo.
  branch: <branch>, // this is the branch you want to scan.
  depth: <depth>, // not implemented, as it is not implemented in the gem.
  regex: <regex> // regular expression to use to match commits to use.
}

callback pass in a function with the signature (err, hotspots), where hotspots returns an array of hotspot objects containing the filename and the score of the file in sorted order.

license

MIT

author

Joe Forbes ([email protected])

#credits based on Shuang Wang's bugspots Node.js package (http://github.com/swang/bugspots),

inspired by Ilya Grigorik's Ruby gem (http://github.com/igrigorik/bugspots),

inspired by Chris Louis and Rong Ou's Google Engineering Tools blog post "Bug Prediction at Google" (http://google-engtools.blogspot.com/2011/12/bug-prediction-at-google.html)

About

port of the ruby gem bugspots

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%