IDEAS home Printed from https://ideas.repec.org/a/hin/jnlmpe/3987981.html
   My bibliography  Save this article

SBugLocater: Bug Localization Based on Deep Matching and Information Retrieval

Author

Listed:
  • Xuxiang Huang
  • Chen Xiang
  • Hua Li
  • Peng He
  • Venkatesan Rajinikanth

Abstract

Bug localization is a technology that locates buggy source files using bug reports reported by users. Automatic localization of buggy files can speed up the process of bug fixing to improve the efficiency and productivity of software quality assurance teams. Nowadays, some research studies have investigated the natural language information retrieval technology, but few of them have applied the matching technology in deep learning to bug localization. Therefore, we propose a bug localization model SBugLocater based on deep matching and IR. The model composes of three layers: semantic matching layer, relevance matching layer, and IR layer. In particular, the relevance matching layer captures fine-grained local matching signals, while coarse-grained semantic similarity signals come from the semantic matching layer. Further, based on collaborative filtering in different directions, the IR layer works to find whether bug reports and source files are related, which indirectly transforms the matching task of different grammatical structures between bug reports and source files into the same structure and solves the mismatching problem of the first two matching models when the query is short. In our work, four benchmark data sets are used as experimental data sets and Accuracy@k, MAP, and MRR as evaluation metrics, which are used to compare and analyze the performance of bug localization with the four state-of-the-art methods. Experimental results show that SBugLocater outperforms the four models. For example, compared with the best of the four models, the evaluation metrics of Accuracy@10, MAP, and MRR are improved by 6.9%, 13.9%, and 17%, respectively.

Suggested Citation

  • Xuxiang Huang & Chen Xiang & Hua Li & Peng He & Venkatesan Rajinikanth, 2022. "SBugLocater: Bug Localization Based on Deep Matching and Information Retrieval," Mathematical Problems in Engineering, Hindawi, vol. 2022, pages 1-14, August.
  • Handle: RePEc:hin:jnlmpe:3987981
    DOI: 10.1155/2022/3987981
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/mpe/2022/3987981.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/mpe/2022/3987981.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2022/3987981?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:jnlmpe:3987981. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.