![node]( [![MIT License](](LICENSE)
Last updated a year ago by aha-oretama .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install github-bugspots 
SYNC missed versions from official npm registry.


node MIT License

github-bugspots is based on bugspots which is an implementation of the simple bug prediction heuristic outlined by the Google Engineering team (Bug Predition at Google).
The difference is that github-bugspots is customised for GitHub, and github-bugspots's featues are as follows.


  • works only on GitHub.
  • is same logic as bugspots. (However, the implementation method is difference, so result scores are just little difference.)
  • does not require to git clone the repositories before predictions.
  • internally works by using GitHub API.


bugspots is very useful tool for getting the bug prediction.
However, to use bugspots, you must install it in local computer and git clone the target repository. Furthermore, it is not a library, so it is not easy to use in your program.

I want to use easily, for example, in web application.
Therefore, github-bugspots is made of Node.js. And github-bugspots has two interfaces, one is a cli, another is a library.

How to use for cli

$ npm install -g github-bugspots
$ github-bugspots --help
$ github-bugspots target_organization target_repository your_token

How to use for library

$ npm install --save github-bugspots
const Bugspots = require('github-bugspots');

new Bugspots(organization, repository, token).analyze(branch, regex)
  .then(function (data) {


github-bugspots internally uses GitHub API.
So that, when you use github-bugspots for many repositories or repositories including many commits in a short time, you will be restricted for GitHub API rate limiting and occurs errors.
See details here.

Current Tags

  • 1.1.3                                ...           latest (a year ago)

8 Versions

  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (4)
Dependents (0)

Copyright 2014 - 2017 © |