Cross-project bug type prediction based on transfer learning

被引:12
|
作者
Du, Xiaoting [1 ]
Zhou, Zenghui [1 ]
Yin, Beibei [1 ]
Xiao, Guanping [1 ]
机构
[1] Beihang Univ, Sch Automat Sci & Elect Engn, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
Bug prediction; Cross-project; Bug report; Transfer learning;
D O I
10.1007/s11219-019-09467-0
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The prediction of bug types provides useful insights into the software maintenance process. It can improve the efficiency of software testing and help developers adopt corresponding strategies to fix bugs before releasing software projects. Typically, the prediction tasks are performed through machine learning classifiers, which rely heavily on labeled data. However, for a software project that has insufficient labeled data, it is difficult to train the classification model for predicting bug types. Although labeled data of other projects can be used as training data, the results of the cross-project prediction are often poor. To solve this problem, this paper proposes a cross-project bug type prediction framework based on transfer learning. Transfer learning breaks the assumption of traditional machine learning methods that the training set and the test set should follow the same distribution. Our experiments show that the results of cross-project bug type prediction have significant improvement by adopting transfer learning. In addition, we have studied the factors that influence the prediction results, including different pairs of source and target projects, and the number of bug reports in the source project.
引用
收藏
页码:39 / 57
页数:19
相关论文
共 50 条
  • [1] Cross-project bug type prediction based on transfer learning
    Xiaoting Du
    Zenghui Zhou
    Beibei Yin
    Guanping Xiao
    Software Quality Journal, 2020, 28 : 39 - 57
  • [2] Cross-Project Aging-Related Bug Prediction Based on Feature Transfer and Class Imbalance Learning
    Xie, Wenzhi
    Zhang, Chen
    Jia, Kai
    Zhao, Dongdong
    Zhou, Junwei
    Tian, Jing
    Xiang, Jianwen
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS, ISSREW, 2023, : 206 - 213
  • [3] Cross-project Aging Related Bug Prediction
    Qin, Fangyun
    Zheng, Zheng
    Bai, Chenggang
    Qiao, Yu
    Zhang, Zhenyu
    Chen, Cheng
    2015 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY (QRS 2015), 2015, : 43 - 48
  • [4] COOBA: Cross-project Bug Localization via Adversarial Transfer Learning
    Zhu, Ziye
    Li, Yun
    Tong, Hanghang
    Wang, Yu
    PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2020, : 3565 - 3571
  • [5] A Survey on Transfer Learning for Cross-Project Defect Prediction
    Sotto-Mayor, Bruno
    Kalech, Meir
    IEEE ACCESS, 2024, 12 : 93398 - 93425
  • [6] A Novel Cross-Project Software Defect Prediction Algorithm Based on Transfer Learning
    Shiqi Tang
    Song Huang
    Changyou Zheng
    Erhu Liu
    Cheng Zong
    Yixian Ding
    TsinghuaScienceandTechnology, 2022, 27 (01) : 41 - 57
  • [7] Source selection and transfer defect learning based cross-project defect prediction
    Wen, Wanzhi
    Zhu, Ningbo
    Ye, Bingqing
    Li, Xikai
    Wang, Chuyue
    Chu, Jiawei
    Li, Yuehua
    INTERNATIONAL JOURNAL OF COMPUTING SCIENCE AND MATHEMATICS, 2022, 16 (03) : 195 - 207
  • [8] Improving transfer learning for software cross-project defect prediction
    Omondiagbe, Osayande P.
    Licorish, Sherlock A.
    Macdonell, Stephen G.
    APPLIED INTELLIGENCE, 2024, 54 (07) : 5593 - 5616
  • [9] A Novel Cross-Project Software Defect Prediction Algorithm Based on Transfer Learning
    Tang, Shiqi
    Huang, Song
    Zheng, Changyou
    Liu, Erhu
    Zong, Cheng
    Ding, Yixian
    TSINGHUA SCIENCE AND TECHNOLOGY, 2022, 27 (01) : 41 - 57
  • [10] Cross-project Prediction Method of Security Bug Reports Based on Knowledge Graph
    Zheng W.
    Liu C.-Y.
    Wu X.-X.
    Chen X.
    Cheng J.-Y.
    Sun X.-B.
    Sun R.-Y.
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (03): : 1257 - 1279