Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.txt
bug_prediction_score.py

README.txt

implemented google's bug prediction score.
To know algorithm, please see
http://www.publickey1.jp/blog/11/post_193.html
or
http://google-engtools.blogspot.com/2011/12/bug-prediction-at-google.html

This script calculate the score of each class recursively.
Result is outputted as csv file.

How To Use:
$ cp <this script> <root of your project>
$ cd <root of your project>
$ python bugfix_score.py --target=<full path to target directory> [extension=<extension>] [--package=<True>]
if you set extension, this script is applied to set extension.
(e.g. if you set "java", only scores of xxx.java file is outputted.)
if you set package as True, this script calc value of each directories.

Note:
Project must be managed with git.

Contact:
Takahiro Okada (@kopanitsa)