Generative Adversarial Network-based Cross-Project Fault Prediction

05/15/2021
by   Sourabh Pal, et al.
0

Background: The early stage of defect prediction in the software development life cycle can reduce testing effort and ensure the quality of software. Due to the lack of historical data within the same project, Cross-Project Defect Prediction (CPDP) has become a popular research topic among researchers. CPDP trained classifiers based on labeled data sets of one project to predict fault in another project. Goals: Software Defect Prediction (SDP) data sets consist of manually designed static features, which are software metrics. In CPDP, source and target project data divergence is the major challenge in achieving high performance. In this paper, we propose a Generative Adversarial Network (GAN)-based data transformation to reduce data divergence between source and target projects. Method: We apply the Generative Adversarial Method where label data sets are choosing as real data, while target data sets are choosing as fake data. The Discriminator tries to measure the perfection of domain adaptation through loss function. Through the generator, target data sets try to adapt the source project domain and, finally, apply machine learning classifier (i.e., Naive Bayes) to classify faulty modules. Results: Our result shows that it is possible to predict defects based on the Generative Adversarial Method. Our model performs quite well in a cross-project environment when we choose JDT as a target data sets. However, all chosen data sets are facing a large class imbalance problem which affects the performance of our model.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/07/2021

Multi-Fake Evolutionary Generative Adversarial Networks for Imbalance Hyperspectral Image Classification

This paper presents a novel multi-fake evolutionary generative adversari...
research
06/14/2023

Explainable Software Defect Prediction from Cross Company Project Metrics Using Machine Learning

Predicting the number of defects in a project is critical for project te...
research
08/07/2020

Oversampling Adversarial Network for Class-Imbalanced Fault Diagnosis

The collected data from industrial machines are often imbalanced, which ...
research
09/04/2019

Network Transfer Learning via Adversarial Domain Adaptation with Graph Convolution

This paper studies the problem of cross-network node classification to o...
research
05/18/2018

Learning to Repair Software Vulnerabilities with Generative Adversarial Networks

Motivated by the problem of automated repair of software vulnerabilities...
research
06/18/2020

Prioritizing documentation effort: Can we do better?

Code documentations are essential for software quality assurance, but du...
research
01/24/2019

Transfer-Learning Oriented Class Imbalance Learning for Cross-Project Defect Prediction

Cross-project defect prediction (CPDP) aims to predict defects of projec...

Please sign up or login with your details

Forgot password? Click here to reset