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 条
  • [21] Manifold Learning for Cross-project Software Defect Prediction
    Sun, Jing
    Jing, Xiaoyuan
    Dong, Xiwei
    PROCEEDINGS OF 2018 5TH IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS (CCIS), 2018, : 567 - 571
  • [22] MSCPDPLab: A MATLAB toolbox for transfer learning based multi-source cross-project defect prediction
    Zou, Jiaqi
    Li, Zonghao
    Liu, Xuanying
    Tong, Haonan
    SOFTWAREX, 2023, 21
  • [23] Studying Aging-Related Bug Prediction Using Cross-Project Models
    Qin, Fangyun
    Zheng, Zheng
    Qiao, Yu
    Trivedi, Kishor S.
    IEEE TRANSACTIONS ON RELIABILITY, 2019, 68 (03) : 1134 - 1153
  • [24] MSCPDPLab: A MATLAB toolbox for transfer learning based multi-source cross-project defect prediction
    Zou, Jiaqi
    Li, Zonghao
    Liu, Xuanying
    Tong, Haonan
    SOFTWAREX, 2023, 21
  • [25] Improve cross-project just-in-time defect prediction with dynamic transfer learning
    Dai, Hongming
    Xi, Jianqing
    Dai, Hong-Liang
    JOURNAL OF SYSTEMS AND SOFTWARE, 2025, 219
  • [26] An Empirical Study on Combining Source Selection and Transfer Learning for Cross-Project Defect Prediction
    Wen, Wanzhi
    Zhang, Bin
    Gu, Xiang
    Ju, Xiaolin
    2019 IEEE 1ST INTERNATIONAL WORKSHOP ON INTELLIGENT BUG FIXING (IBF '19), 2019, : 29 - 38
  • [27] TROBO: A Novel Deep Transfer Model for Enhancing Cross-Project Bug Localization
    Zhu, Ziye
    Wang, Yu
    Li, Yun
    KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, PT I, 2021, 12815 : 529 - 541
  • [28] Cross-project software defect prediction based on domain adaptation learning and optimization
    Jin, Cong
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 171
  • [29] Transfer Convolutional Neural Network for Cross-Project Defect Prediction
    Qiu, Shaojian
    Xu, Hao
    Deng, Jiehan
    Jiang, Siyu
    Lu, Lu
    APPLIED SCIENCES-BASEL, 2019, 9 (13):
  • [30] Graph-Based Feature Learning for Cross-Project Software Defect Prediction
    Abdu, Ahmed
    Zhai, Zhengjun
    Abdo, Hakim A.
    Algabri, Redhwan
    Lee, Sungon
    CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 77 (01): : 161 - 180