arrow
Return

Commit-time defect prediction using one-class classification

delete2024-02-01
delete3
PRE
AI
M
Mohammed A. Shehab
W
Wael Khreich
A
Abdelwahab Hamou‐Lhadj *
I
Issam Sedki
DOI:10.1016/j.jss.2023.111914delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Existing Just-In-Time Software Defect Prediction methods suffer from the data imbalance problem, where the majority class (normal commits) significantly outnumbers the minority class (buggy commits). This results in higher probability of misclassification. Various data balancing techniques have been proposed to address this challenge with varying degrees of success. In this study, we propose an approach that rely on One-Class Classification (OCC) to train models using data from the majority class only. This eliminates the need for data balancing. We compare the accuracy of three OCC algorithms -One-class SVM, Isolation Forest, and One-class k-NN -to their binary counterparts -SVM, Random Forest, and k-NN -on 34 software projects. Our results show that the data imbalance ratio (the proportion of normal to buggy commits) plays a crucial role in determining the optimal classification approach. We found that for projects with medium to high imbalance ratio, OCC algorithms outperform binary classifiers with and without data balancing, using cross and time -sensitive validation approaches. Furthermore, we found that OCC methods require fewer features for projects with medium to high IR, reducing the computational overhead of training and response time while providing better understanding of the data and algorithm behavior.
Keywords:
Just-In-Time Software Defect Prediction
(JIT-SDP)
One-class classification
Machine learning
Software maintenance and evolution
Software reliability
A Systematic Survey of Just-in-Time Software Defect Prediction
err2023-02-02
err23
PREAI
errZhao, Yunhua; Damevski, Kostadin; Chen, Hui
errShare
errSave
Fine-grained just-in-time defect prediction
err2019-04-01
err109
errOAAI
errPascarella, Luca; Palomba, Fabio; Bacchelli, Alberto
errShare
errSave
A code change-oriented approach to just-in-time defect prediction with multiple input semantic fusion
err2024-08-27
err0
errOAAI
errHuang, Teng; Yu, Hui-Qun; Fan, Gui-Sheng; Huang, Zi-Jie; Wu, Chen-Yu
errShare
errSave
Classification with reject option for software defect prediction
err2016-12-01
err25
PREAI
errMesquita, Diego P. P.; Rocha, Lincoln S.; Gomes, Joao Paulo P.; Rocha Neto, Ajalmar R.
errShare
errSave
errShare
errSave
The Impact of Duplicate Changes on Just-in-Time Defect Prediction
err2022-09-01
err4
PREAI
errDuan, Ruifeng; Xu, Haitao; Fan, Yuanrui; Yan, Meng
errShare
errSave
Extending Developer Experience Metrics for Better Effort-Aware Just-In-Time Defect Prediction
err2022-01-01
err2
errOAAI
errCho, Yeongjun; Kwon, Jung-Hyun; Yi, Jooyong; Ko, In-Young
errShare
errSave

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
1.0W

Organization

C
concordia university - canada
Scholars:
8.0K
Papers: 8.9K
Citations: 1.1W
A
American University of Beirut
Scholars:
301
Papers: 128
Citations: 4.1K
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
A POWER PRIMER
err1992-01-01
err3.9W
PREAI
errCOHEN, J
errShare
errSave
Extended Isolation Forest
err2021-04-01
err190
errOAAI
errHariri, Sahand; Kind, Matias Carrasco; Brunner, Robert J.
errShare
errSave
errShare
errSave
errShare
errSave
The Impact of Mislabeled Changes by SZZ on Just-in-Time Defect Prediction
err2021-08-01
err70
errOAAI
errFan, Yuanrui; Xia, Xin; da Costa, Daniel Alencar; Lo, David; Hassan, Ahmed E.; Li, Shanping
errShare
errSave
Fine-grained just-in-time defect prediction
err2019-04-01
err109
errOAAI
errPascarella, Luca; Palomba, Fabio; Bacchelli, Alberto
errShare
errSave
researcher View more