arrow
返回

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
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

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.
Keyword:
Just-In-Time Software Defect Prediction
(JIT-SDP)
One-class classification
Machine learning
Software maintenance and evolution
Software reliability

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.4K
被引数:
8.4K

机构

C
concordia university - canada
学者数:
8.0K
论文数: 8.9K
被引数: 4
A
American University of Beirut
学者数:
8.3K
论文数: 6.0K
被引数: 1.1W
引用论文

引用论文

A POWER PRIMER电源底漆
err1992-01-01
err3.9W
PREAI
errCOHEN, J
err分享
err收藏
Extended Isolation Forest扩展隔离林
err2021-04-01
err190
errOAAI
errHariri, Sahand; Kind, Matias Carrasco; Brunner, Robert J.
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
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
err分享
err收藏
学者 查看更多内容