Studying Aging-Related Bug Prediction Using Cross-Project Models

被引:19
|
作者
Qin, Fangyun [1 ]
Zheng, Zheng [1 ]
Qiao, Yu [1 ]
Trivedi, Kishor S. [2 ]
机构
[1] Beihang Univ, Sch Automat Sci & Elect Engn, Beijing 100083, Peoples R China
[2] Duke Univ, Dept Elect & Comp Engn, Durham, NC 27708 USA
基金
中国国家自然科学基金;
关键词
Aging-related bug (ARB); bug prediction; software aging; SOFTWARE DEFECT PREDICTION;
D O I
10.1109/TR.2018.2864960
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In long running systems, software tends to encounter performance degradation and increasing failure rate during execution. This phenomenon has been named software aging, which is caused by aging-related bugs (ARBs). Testing resource allocation can be optimized by identifying ARB-prone modules with ARB prediction. However, due to the low presence and reproducing difficulty of ARBs, it is usually hard to collect sufficient training data to carry out within-project ARB prediction. In this paper, we propose an approach named transfer learning based aging-related bug prediction (TLAP) to perform cross-project ARB prediction. TLAP first takes advantage of transfer learning to reduce distribution difference between training and testing project. Then, class imbalance learning is conducted to mitigate the severe class imbalance between ARB-prone and ARB-free modules. Finally, machine learningmethods are used to handle bug prediction tasks. The effectiveness of this approach is validated and evaluated by nine groups of experiments on real software systems. Major conclusions from the experiments include the following: first, TLAP improves cross-project ARB prediction on average compared with traditional machine learning methods; second, utilizing information from multiple-projects can further improve the prediction performance on average. In the best case, it outperforms within-project prediction; third, the number of ARB-prone files and distribution similarity can influence TLAP performance.
引用
收藏
页码:1134 / 1153
页数:20
相关论文
共 50 条
  • [1] Cross-project Aging Related Bug Prediction
    Qin, Fangyun
    Zheng, Zheng
    Bai, Chenggang
    Qiao, Yu
    Zhang, Zhenyu
    Chen, Cheng
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY (QRS 2015), 2015, : 43 - 48
  • [2] Supervised Representation Learning Approach for Cross-project Aging-Related Bug Prediction
    Wan, Xiaohui
    Zheng, Zheng
    Qin, Fangyun
    Qiao, Yu
    Trivedi, Kishor S.
    [J]. 2019 IEEE 30TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2019, : 163 - 172
  • [3] An empirical study of factors affecting cross-project aging-related bug prediction with TLAP
    Fangyun Qin
    Xiaohui Wan
    Beibei Yin
    [J]. Software Quality Journal, 2020, 28 : 107 - 134
  • [4] An empirical study of factors affecting cross-project aging-related bug prediction with TLAP
    Qin, Fangyun
    Wan, Xiaohui
    Yin, Beibei
    [J]. SOFTWARE QUALITY JOURNAL, 2020, 28 (01) : 107 - 134
  • [5] 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
    [J]. 2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS, ISSREW, 2023, : 206 - 213
  • [6] Cross-Project Aging-Related Bug Prediction Based on Joint Distribution Adaptation and Improved Subclass Discriminant Analysis
    Xu, Bin
    Zhao, Dongdong
    Jia, Kai
    Zhou, Junwei
    Tian, Jing
    Xiang, Jianwen
    [J]. 2020 IEEE 31ST INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2020), 2020, : 325 - 334
  • [7] A Cross-Project Aging-Related Bug Prediction Approach Based on Joint Probability Domain Adaptation and k-means SMOTE
    Li, Dimeng
    Liang, Mengting
    Xu, Bin
    Yu, Xiao
    Zhou, Junwei
    Xiang, Jianwen
    [J]. 2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021), 2021, : 350 - 358
  • [8] Studying just-in-time defect prediction using cross-project models
    Yasutaka Kamei
    Takafumi Fukushima
    Shane McIntosh
    Kazuhiro Yamashita
    Naoyasu Ubayashi
    Ahmed E. Hassan
    [J]. Empirical Software Engineering, 2016, 21 : 2072 - 2106
  • [9] Studying just-in-time defect prediction using cross-project models
    Kamei, Yasutaka
    Fukushima, Takafumi
    McIntosh, Shane
    Yamashita, Kazuhiro
    Ubayashi, Naoyasu
    Hassan, Ahmed E.
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2016, 21 (05) : 2072 - 2106
  • [10] Cross-project bug type prediction based on transfer learning
    Xiaoting Du
    Zenghui Zhou
    Beibei Yin
    Guanping Xiao
    [J]. Software Quality Journal, 2020, 28 : 39 - 57