An Ordinal Classification Approach for Software Bug Prediction