TWAO: Time-Weight-Aware Oversampling Method for Just-in-Time Software Defect Prediction
Abstract
Just-in-Time Software Defect Prediction aims to predict whether a developer’s commit change will introduce a defect, so that potential problems can be quickly located and fixed. However, software defect data distribution is often highly imbalanced, which will significantly affect the performance of the prediction model. Many researchers have used oversampling methods to address this problem. Still, existing oversampling techniques are usually performed from the perspective of the sample feature space, which cannot be adapted to the temporal nature of Just-in-Time software defect prediction. Therefore, this paper proposes a Time-Weight-Aware Oversampling method (TWAO) for Just-in-Time Software Defect Prediction. TWAO uses temporal information as a guiding factor to make the new samples generated more diverse and the data distribution more reasonable to alleviate the class imbalance problem better. In this paper, we compare the performance of TWAO with 8 oversampling methods on 14 open-source defect datasets and 5 prediction models. The experimental results show that TWAO effectively improves the performance of the prediction models and is an efficient solution for building Just-in-Time Software Defect Prediction models on imbalanced datasets.
BibTeX
@inproceedings{xue2024twao,
author = {Qi Xue and Weiyuan Zhuang and Lei Zhao and Xiaofang Zhang},
title = {{TWAO: Time-Weight-Aware Oversampling Method for Just-in-Time Software Defect Prediction}},
booktitle = {QRS},
year = {2024},
url = {https://openreview.net/forum?id=GTxxZnl70L},
}Ask Althea to put this paper to the test.
Loading related content...