The open source code for this work is updated here: https://github.com/sillywalk/defect-prediction/tree/dev