Using word embedding and convolution neural network for bug triaging by considering design flaws

被引:2
|
作者
Sepahvand, Reza [1 ]
Akbari, Reza [1 ]
Jamasb, Behnaz [1 ]
Hashemi, Sattar [2 ]
Boushehrian, Omid [1 ]
机构
[1] Shiraz Univ Technol, Dept Comp Engn & IT, Sotware Engn Lab, Shiraz, Iran
[2] Shiraz Univ, Dept Comp Sci Engn & IT, Shiraz, Iran
关键词
Bug triage; Convolution neural network; Word embedding; Design flaw prediction; Code smell; CODE SMELL DETECTION; BORDERLINE-SMOTE; LOCALIZATION; METRICS; IMPACT; BAD;
D O I
10.1016/j.scico.2023.102945
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Resolving bugs in the maintenance phase of software is a complicated task. Bug assignment is one of the main tasks for resolving bugs. Some Bugs cannot be fixed properly without making design decisions and have to be assigned to designers to avoid emerging bad smells that may cause subsequent bug reports. Hence, it is important to refer some bugs to the designer to check the possible design flaws. Based on our best knowledge, no work has considered referring bugs to designers. This issue is considered in this work. In this paper, a dataset is created, and a CNN-based model is proposed to predict the need for assigning a bug to a designer by learning the peculiarities of bug reports effective in creating bad smells in the code. The features of each bug are extracted from CNN based on its textual features, such as a summary and description. The number of bad samples added to it in the fixing process using the PMD tool determines the bug tag. The summary and description of the new bug are given to the model and the model predicts the need to refer to the designer to review the design. An accuracy of 75% (or more) was achieved for datasets with a sufficient number of samples for deep learning-based model training. A model is proposed to predict bug referrals to the designer. The efficiency of the model in predicting referrals to the designer at the time of receiving the bug report was demonstrated by testing the model on 10 projects.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Identifying Enhancers and Their Strength by the Integration of Word Embedding and Convolution Neural Network
    Khanal, Jhabindra
    Tayara, Hilal
    Chong, Kil To
    IEEE ACCESS, 2020, 8 : 58369 - 58376
  • [2] Developer Activity Motivated Bug Triaging: Via Convolutional Neural Network
    Shikai Guo
    Xinyi Zhang
    Xi Yang
    Rong Chen
    Chen Guo
    Hui Li
    Tingting Li
    Neural Processing Letters, 2020, 51 : 2589 - 2606
  • [3] Developer Activity Motivated Bug Triaging: Via Convolutional Neural Network
    Guo, Shikai
    Zhang, Xinyi
    Yang, Xi
    Chen, Rong
    Guo, Chen
    Li, Hui
    Li, Tingting
    NEURAL PROCESSING LETTERS, 2020, 51 (03) : 2589 - 2606
  • [4] USING POLYNOMIC EMBEDDING FOR NEURAL NETWORK DESIGN
    PORTER, WA
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-ANALOG AND DIGITAL SIGNAL PROCESSING, 1992, 39 (06): : 369 - 376
  • [5] Neighborhood contrastive learning-based graph neural network for bug triaging
    Dong, Haozhen
    Ren, Hongmin
    Shi, Jialiang
    Xie, Yichen
    Hu, Xudong
    SCIENCE OF COMPUTER PROGRAMMING, 2024, 235
  • [6] Improving bug localization with word embedding and enhanced convolutional neural networks
    Xiao, Yan
    Keung, Jacky
    Bennin, Kwabena E.
    Mi, Qing
    INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 105 : 17 - 29
  • [7] Word Embedding Dropout and Variable-Length Convolution Window in Convolutional Neural Network for Sentiment Classification
    Sun, Shangdi
    Gu, Xiaodong
    ARTIFICIAL NEURAL NETWORKS AND MACHINE LEARNING, PT II, 2017, 10614 : 40 - 48
  • [8] A spatial-temporal graph neural network framework for automated software bug triaging
    Wu, Hongrun
    Ma, Yutao
    Xiang, Zhenglong
    Yang, Chen
    He, Keqing
    KNOWLEDGE-BASED SYSTEMS, 2022, 241
  • [9] Word Sense Disambiguation Based on Convolution Neural Network
    Zhang C.-X.
    Zhao L.-Y.
    Gao X.-Y.
    Beijing Youdian Daxue Xuebao/Journal of Beijing University of Posts and Telecommunications, 2019, 42 (03): : 114 - 119
  • [10] Capturing Discriminative Attributes Using Convolution Neural Network Over ConceptNet Numberbatch Embedding
    Vinayan, Vivek
    Kumar, M. Anand
    Soman, K. P.
    EMERGING RESEARCH IN ELECTRONICS, COMPUTER SCIENCE AND TECHNOLOGY, ICERECT 2018, 2019, 545 : 793 - 802