Literature DB >> 33661985

Attention based GRU-LSTM for software defect prediction.

Hafiz Shahbaz Munir1, Shengbing Ren1, Mubashar Mustafa1, Chaudry Naeem Siddique1, Shazib Qayyum1.   

Abstract

Software defect prediction (SDP) can be used to produce reliable, high-quality software. The current SDP is practiced on program granular components (such as file level, class level, or function level), which cannot accurately predict failures. To solve this problem, we propose a new framework called DP-AGL, which uses attention-based GRU-LSTM for statement-level defect prediction. By using clang to build an abstract syntax tree (AST), we define a set of 32 statement-level metrics. We label each statement, then make a three-dimensional vector and apply it as an automatic learning model, and then use a gated recurrent unit (GRU) with a long short-term memory (LSTM). In addition, the Attention mechanism is used to generate important features and improve accuracy. To verify our experiments, we selected 119,989 C/C++ programs in Code4Bench. The benchmark tests cover various programs and variant sets written by thousands of programmers. As an evaluation standard, compared with the state evaluation method, the recall, precision, accuracy and F1 measurement of our well-trained DP-AGL under normal conditions have increased by 1%, 4%, 5%, and 2% respectively.

Entities:  

Year:  2021        PMID: 33661985      PMCID: PMC7932164          DOI: 10.1371/journal.pone.0247444

Source DB:  PubMed          Journal:  PLoS One        ISSN: 1932-6203            Impact factor:   3.240


  2 in total

1.  LSTM: A Search Space Odyssey.

Authors:  Klaus Greff; Rupesh K Srivastava; Jan Koutnik; Bas R Steunebrink; Jurgen Schmidhuber
Journal:  IEEE Trans Neural Netw Learn Syst       Date:  2016-07-08       Impact factor: 10.451

2.  Effort-aware and just-in-time defect prediction with neural network.

Authors:  Lei Qiao; Yan Wang
Journal:  PLoS One       Date:  2019-02-01       Impact factor: 3.240

  2 in total
  2 in total

1.  The research of ARIMA, GM(1,1), and LSTM models for prediction of TB cases in China.

Authors:  Daren Zhao; Huiwu Zhang; Qing Cao; Zhiyi Wang; Sizhang He; Minghua Zhou; Ruihua Zhang
Journal:  PLoS One       Date:  2022-02-23       Impact factor: 3.240

2.  Development and comparison of predictive models for sexually transmitted diseases-AIDS, gonorrhea, and syphilis in China, 2011-2021.

Authors:  Zhixin Zhu; Xiaoxia Zhu; Yancen Zhan; Lanfang Gu; Liang Chen; Xiuyang Li
Journal:  Front Public Health       Date:  2022-08-12
  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.