Identifying Crashing Fault Residence Based on Cross Project Model

被引:9
|
作者
Xu, Zhou [1 ,2 ]
Zhang, Tao [3 ]
Zhang, Yifeng [1 ]
Tang, Yutian [2 ]
Liu, Jin [1 ,4 ]
Luo, Xiapu [2 ]
Keung, Jacky [5 ]
Cui, Xiaohui [6 ]
机构
[1] Wuhan Univ, Sch Comp Sci, Wuhan, Peoples R China
[2] Hong Kong Polytech Univ, Dept Comp, Hong Kong, Peoples R China
[3] Harbin Engn Univ, Coll Comp Sci & Technol, Harbin, Peoples R China
[4] Chinese Acad Sci, Inst Informat Engn, Key Lab Network Assessment Technol, Beijing, Peoples R China
[5] City Univ Hong Kong, Dept Comp Sci, Hong Kong, Peoples R China
[6] Wuhan Univ, Sch Cyber Sci & Engn, Wuhan, Peoples R China
基金
中国国家自然科学基金;
关键词
crashing fault; stack trace; transfer learning; cross project model; STACK-TRACE; LOCALIZATION;
D O I
10.1109/ISSRE.2019.00027
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Analyzing the crash reports recorded upon software crashes is a critical activity for software quality assurance. Predicting whether or not the fault causing the crash (crashing fault for short) resides in the stack traces of crash reports can speed-up the program debugging process and determine the priority of the debugging efforts. Previous work mostly collected label information from bug-fixing logs, and extracted crash features from stack traces and source code to train classification models for the Identification of Crashing Fault Residence (ICFR) of newly-submitted crashes. However, labeled data are not always fully available in real applications. Hence the classifier training is not always feasible. In this work, we make the first attempt to develop a cross project ICFR model to address the data scarcity problem. This is achieved by transferring the knowledge from external projects to the current project via utilizing a state-of-the-art Balanced Distribution Adaptation (BDA) based transfer learning method. BDA not only combines both marginal distribution and conditional distribution across projects but also assigns adaptive weights to the two distributions for better adjusting specific cross project pair. The experiments on 7 software projects show that BDA is superior to 9 baseline methods in terms of 6 indicators overall.
引用
收藏
页码:183 / 194
页数:12
相关论文
共 50 条
  • [1] Feature selection and embedding based cross project framework for identifying crashing fault residence
    Xu, Zhou
    Zhang, Tao
    Keung, Jacky
    Yan, Meng
    Luo, Xiapu
    Zhang, Xiaohong
    Xu, Ling
    Tang, Yutian
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 131
  • [2] An unsupervised cross project model for crashing fault residence identification
    Liu, Xiao
    Xu, Zhou
    Yang, Dan
    Yan, Meng
    Zhang, Weihan
    Zhao, Haohan
    Xue, Lei
    Fan, Ming
    [J]. IET SOFTWARE, 2022, 16 (06) : 630 - 646
  • [3] Imbalanced metric learning for crashing fault residence prediction
    Xu, Zhou
    Zhao, Kunsong
    Yan, Meng
    Yuan, Peipei
    Xu, Ling
    Lei, Yan
    Zhang, Xiaohong
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 170
  • [4] The impact of class imbalance techniques on crashing fault residence prediction models
    Zhao, Kunsong
    Xu, Zhou
    Yan, Meng
    Zhang, Tao
    Xue, Lei
    Fan, Ming
    Keung, Jacky
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (02)
  • [5] The impact of class imbalance techniques on crashing fault residence prediction models
    Kunsong Zhao
    Zhou Xu
    Meng Yan
    Tao Zhang
    Lei Xue
    Ming Fan
    Jacky Keung
    [J]. Empirical Software Engineering, 2023, 28
  • [6] Does the fault reside in a stack trace? Assisting crash localization by predicting crashing fault residence
    Gu, Yongfeng
    Xuan, Jifeng
    Zhang, Hongyu
    Zhang, Lanxin
    Fan, Qingna
    Xie, Xiaoyuan
    Qian, Tieyun
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 148 : 88 - 104
  • [7] A comprehensive investigation of the impact of feature selection techniques on crashing fault residence prediction models
    Zhao, Kunsong
    Xu, Zhou
    Yan, Meng
    Zhang, Tao
    Yang, Dan
    Li, Wei
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 139
  • [8] ANALYSIS OF A MULTI-CRITERIA PROJECT CRASHING MODEL
    MOORE, LJ
    TAYLOR, BW
    CLAYTON, ER
    LEE, SM
    [J]. AIIE TRANSACTIONS, 1978, 10 (02): : 163 - 169
  • [9] Token Based Approach for Cross Project Prediction of Fault Prone Modules
    Kaur, Ishleen
    Kapoor, Neha
    [J]. 2016 INTERNATIONAL CONFERENCE ON COMPUTATIONAL TECHNIQUES IN INFORMATION AND COMMUNICATION TECHNOLOGIES (ICCTICT), 2016,
  • [10] An effective software cross-project fault prediction model for quality improvement
    Khatri, Yogita
    Singh, Sandeep Kumar
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2023, 226