Domain Adaptation Approach for Cross-project Software Defect Prediction

被引:0
|
作者
Chen, Shu [1 ]
Ye, Jun-Min [1 ]
Liu, Tong [1 ]
机构
[1] School of Computer, Central China Normal University, Wuhan,430079, China
来源
Ruan Jian Xue Bao/Journal of Software | 2020年 / 31卷 / 02期
关键词
Open systems - Forecasting - Computer software selection and evaluation - Verification - Machine learning - Open source software;
D O I
10.13328/j.cnki.jos.005632
中图分类号
学科分类号
摘要
Software defect prediction aims at the very early step of software quality control, helps software engineers focus their attention on defect-prone parts during verification process. Cross-project defect predictions are proposed in which prediction models are trained by using sufficient training data from already existed software projects and predict defect in some other projects, however, their performances are always poor. The main reason is that, the divergence of the data distribution among different software projects causes a dramatic impact on the prediction accuracy. This study proposed an approach of cross-project defect prediction by applying a supervised domain adaptation based on instance weighting. The sufficient instances drawn from some source project are weighted by assigning target-dependent weights to the loss function of the prediction model when minimizing the expected loss over the distribution of source data, so that the distribution properties of the data from target project can be matched to the source project. Experiments including dataset selection, data preprocessing and results are described over different experiment strategies on ten open-source software projects. Over fitting problems are also studied through different levels including dataset, prediction model and domain adaptation process. The results show that the proposed approach is close to the performance of within-project defect prediction, better than similar approach and significantly better that of the baseline. © Copyright 2020, Institute of Software, the Chinese Academy of Sciences. All rights reserved.
引用
收藏
页码:266 / 281
相关论文
共 50 条
  • [1] Cross-project software defect prediction based on domain adaptation learning and optimization
    Jin, Cong
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2021, 171
  • [2] Adversarial domain adaptation for cross-project defect prediction
    Hengjie Song
    Guobin Wu
    Le Ma
    Yufei Pan
    Qingan Huang
    Siyu Jiang
    [J]. Empirical Software Engineering, 2023, 28
  • [3] Adversarial domain adaptation for cross-project defect prediction
    Song, Hengjie
    Wu, Guobin
    Ma, Le
    Pan, Yufei
    Huang, Qingan
    Jiang, Siyu
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (05)
  • [4] Cross-Project Defect Prediction Based on Domain Adaptation and LSTM Optimization
    Javed, Khadija
    Ren, Shengbing
    Asim, Muhammad
    Wani, Mudasir Ahmad
    [J]. ALGORITHMS, 2024, 17 (05)
  • [6] Manifold Learning for Cross-project Software Defect Prediction
    Sun, Jing
    Jing, Xiaoyuan
    Dong, Xiwei
    [J]. PROCEEDINGS OF 2018 5TH IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS (CCIS), 2018, : 567 - 571
  • [7] Cross-Project and Within-Project Semisupervised Software Defect Prediction: A Unified Approach
    Wu, Fei
    Jing, Xiao-Yuan
    Sun, Ying
    Sun, Jing
    Huang, Lin
    Cui, Fangyi
    Sun, Yanfei
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2018, 67 (02) : 581 - 597
  • [8] Using active learning selection approach for cross-project software defect prediction
    Mi, Wenbo
    Li, Yong
    Wen, Ming
    Chen, Youren
    [J]. CONNECTION SCIENCE, 2022, 34 (01) : 1482 - 1499
  • [9] A Hybrid Multiple Models Transfer Approach for Cross-Project Software Defect Prediction
    Zhang, Shenggang
    Jiang, Shujuan
    Yan, Yue
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2023, 33 (03) : 343 - 374
  • [10] Unsupervised Domain Adaptation Based on Discriminative Subspace Learning for Cross-Project Defect Prediction
    Sun, Ying
    Sun, Yanfei
    Qi, Jin
    Wu, Fei
    Jing, Xiao-Yuan
    Xue, Yu
    Shen, Zixin
    [J]. CMC-COMPUTERS MATERIALS & CONTINUA, 2021, 68 (03): : 3373 - 3389