github-bugspots
![node](https://img.shields.io/node/v/github-bugspots.svg) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)
Last updated 4 months ago by aha-oretama .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install github-bugspots 
SYNC missed versions from official npm registry.

github-bugspots

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.

github-bugspots

  • 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.

Motivation

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) {
    console.log(data)
  });

Notification

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 (4 months ago)

8 Versions

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

Copyright 2014 - 2016 © taobao.org |