Cross-project Software Defect Prediction Using Divergence-based Domain Adaptation Approach
Yash Bhilala , Santosh Singh Rathore
Journal of Systems Science and Systems Engineering ›› : 1 -32.
Cross-project Defect Prediction (CPDP) aims to predict defects in software with no or limited training data by leveraging labeled data from similar projects. However, a cross-project learning task is challenging due to the domain shift caused by differences in feature distributions across domains. Adversarial Domain Adaptation (ADA) techniques have recently shown promise in addressing these distribution differences to improve cross-project learning performance. In this work, we propose MDD-DA-CPDP, a Cross-project Software Defect Prediction approach based on the Maximum Density Divergence Adversarial Domain Adaptation method. The Maximum Density Divergence (MDD) method minimizes inter-domain differences in data distribution while maximizing intra-domain differences. As a result, the data distribution difference between two similar projects can be effectively mitigated. The proposed MDD-DA-CPDP approach first prepares source and target-domain features and then uses them to minimize the distribution gap between projects while maximizing intra-domain differences within each domain. The MDD-DA-CPDP approach is validated through experiments on datasets from the AEEEM and PROMISE repositories using various performance metrics. Statistical tests are also conducted to assess its performance significance. The results show that the proposed approach achieved significant improvements in CPDP and consistently outperformed state-of-the-art approaches by 1.3% to 8% across different evaluation metrics.
Domain adaptation / software defect prediction / maximum density divergence / cross-project prediction
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
|
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
|
| [38] |
|
| [39] |
|
| [40] |
|
| [41] |
|
| [42] |
|
| [43] |
|
| [44] |
|
| [45] |
|
| [46] |
|
| [47] |
|
| [48] |
|
| [49] |
|
| [50] |
|
| [51] |
|
| [52] |
|
| [53] |
|
| [54] |
|
| [55] |
|
| [56] |
|
Systems Engineering Society of China and Springer-Verlag GmbH Germany
/
| 〈 |
|
〉 |