Tool for defect prediction using software history