Abstract
A deep learning system (DLS) developed based on one software project for defect prediction may well be applied to the related code on the same project but is usually difficult to be applied to new or unknown software projects. To address this problem, we propose a Transferable Graph Convolutional Neural Network (TGCNN) that can learn defects from the lightweight semantic graphs of code and transfer the learned knowledge from the source project to the target project. We discuss how the semantic graph is constructed from code; how the TGCNN can learn from the graph; and how the learned knowledge can be transferred to a new or unknown project. We also conduct a controlled experiment to evaluate our method. The result shows that despite some limitations, our method performs considerably better than existing methods.
| Original language | English |
|---|---|
| Pages (from-to) | 1095-1117 |
| Number of pages | 23 |
| Journal | International Journal of Software Engineering and Knowledge Engineering |
| Volume | 33 |
| Issue number | 7 |
| DOIs | |
| State | Published - 1 Jul 2023 |
| Externally published | Yes |
Keywords
- Cross-project defect prediction
- deep learning
- transfer learning
Fingerprint
Dive into the research topics of 'Cross-Project Transfer Learning on Lightweight Code Semantic Graphs for Defect Prediction'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver