The Impact of Defect (Re) Prediction on Software Testing

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Murakami, Yukasa, Yamasaki, Yuta, Tsunoda, Masateru, Monden, Akito, Tahir, Amjed, Bennin, Kwabena Ebo, Toda, Koji, Nakasai, Keitaro
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913494955196416
author Murakami, Yukasa
Yamasaki, Yuta
Tsunoda, Masateru
Monden, Akito
Tahir, Amjed
Bennin, Kwabena Ebo
Toda, Koji
Nakasai, Keitaro
author_facet Murakami, Yukasa
Yamasaki, Yuta
Tsunoda, Masateru
Monden, Akito
Tahir, Amjed
Bennin, Kwabena Ebo
Toda, Koji
Nakasai, Keitaro
contents Cross-project defect prediction (CPDP) aims to use data from external projects as historical data may not be available from the same project. In CPDP, deciding on a particular historical project to build a training model can be difficult. To help with this decision, a Bandit Algorithm (BA) based approach has been proposed in prior research to select the most suitable learning project. However, this BA method could lead to the selection of unsuitable data during the early iteration of BA (i.e., early stage of software testing). Selecting an unsuitable model can reduce the prediction accuracy, leading to potential defect overlooking. This study aims to improve the BA method to reduce defects overlooking, especially during the early testing stages. Once all modules have been tested, modules tested in the early stage are re-predicted, and some modules are retested based on the re-prediction. To assess the impact of re-prediction and retesting, we applied five kinds of BA methods, using 8, 16, and 32 OSS projects as learning data. The results show that the newly proposed approach steadily reduced the probability of defect overlooking without degradation of prediction accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2404_11040
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Impact of Defect (Re) Prediction on Software Testing
Murakami, Yukasa
Yamasaki, Yuta
Tsunoda, Masateru
Monden, Akito
Tahir, Amjed
Bennin, Kwabena Ebo
Toda, Koji
Nakasai, Keitaro
Software Engineering
Cross-project defect prediction (CPDP) aims to use data from external projects as historical data may not be available from the same project. In CPDP, deciding on a particular historical project to build a training model can be difficult. To help with this decision, a Bandit Algorithm (BA) based approach has been proposed in prior research to select the most suitable learning project. However, this BA method could lead to the selection of unsuitable data during the early iteration of BA (i.e., early stage of software testing). Selecting an unsuitable model can reduce the prediction accuracy, leading to potential defect overlooking. This study aims to improve the BA method to reduce defects overlooking, especially during the early testing stages. Once all modules have been tested, modules tested in the early stage are re-predicted, and some modules are retested based on the re-prediction. To assess the impact of re-prediction and retesting, we applied five kinds of BA methods, using 8, 16, and 32 OSS projects as learning data. The results show that the newly proposed approach steadily reduced the probability of defect overlooking without degradation of prediction accuracy.
title The Impact of Defect (Re) Prediction on Software Testing
topic Software Engineering
url https://arxiv.org/abs/2404.11040