摘要
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.
| 源语言 | 英语 |
|---|---|
| 页(从-至) | 1095-1117 |
| 页数 | 23 |
| 期刊 | International Journal of Software Engineering and Knowledge Engineering |
| 卷 | 33 |
| 期 | 7 |
| DOI | |
| 出版状态 | 已出版 - 1 7月 2023 |
| 已对外发布 | 是 |
学术指纹
探究 'Cross-Project Transfer Learning on Lightweight Code Semantic Graphs for Defect Prediction' 的科研主题。它们共同构成独一无二的学术指纹。引用此
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver