Categorizing and predicting reopened bug reports to improve software reliability