• Home
  • Search
  • Two-Level Information-Retrieval-Based Model for Bug Localization Based on Bug Reports
  • Cite Icon6
  • https://doi.org/10.3390/electronics13020321Copy DOI Icon

Two-Level Information-Retrieval-Based Model for Bug Localization Based on Bug Reports

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Software bugs are a noteworthy concern for developers and maintainers. When a failure is detected late, it costs more to be fixed. To repair the bug that caused the software failure, the location of the bug must first be known. The process of finding the defective source code elements that led to the failure of the software is called bug localization. Effective approaches for automatically locating bugs using bug reports are highly desirable, as they would reduce bug-fixing time, consequently lowering software maintenance costs. With the increasing size and complexity of software projects, manual bug localization methods have become complex, challenging, and time-consuming tasks, which motivates research on automated bug localization techniques. This paper introduces a novel bug localization model, which works on two levels. The first level localizes the buggy classes using an information retrieval approach and it has two additional sub-phases, namely the class-level feature scoring phase and the class-level final score and ranking phase, which ranks the top buggy classes. The second level localizes the buggy methods inside these classes using an information retrieval approach and it has two sub-phases, which are the method-level feature scoring phase and the method-level final score and ranking phase, which ranks the top buggy methods inside the localized classes. A model is evaluated using an AspectJ dataset, and it can correctly localize and rank more than 350 classes and more than 136 methods. The evaluation results show that the proposed model outperforms several state-of-the-art approaches in terms of the mean reciprocal rank (MRR) metrics and the mean average precision (MAP) in class-level bug localization.

Loading PDF

Similar Papers
  • Research Article
  • Citations34

Multi-Dimension Convolutional Neural Network for Bug Localization

  • May 01, 2022
  • IEEE Transactions on Services Computing
  • Bei Wang +4
  • Research Article
  • Citations56

FineLocator: A novel approach to method-level fine-grained bug localization by query expansion

  • Mar 02, 2019
  • Information and Software Technology
  • Wen Zhang +3
  • Conference Article
  • Citations214

Bug Localization with Combination of Deep Learning and Information Retrieval

  • May 01, 2017
  • An Ngoc Lam +3
  • PDF
  • Research Article
  • Citations8

Utilizing Topic-Based Similar Commit Information and CNN-LSTM Algorithm for Bug Localization

  • Mar 02, 2021
  • Symmetry
  • Geunseok Yang +1
  • Conference Article
  • Citations24

Implicit Social Network Model for Predicting and Tracking the Location of Faults

  • Jan 01, 2008
  • Ing-Xiang Chen +3
  • Conference Article
  • Citations16

Locating bugs without looking back

  • May 14, 2016
  • Tezcan Dilshener +2
  • Book Chapter
  • Citations4

TroBo: A Novel Deep Transfer Model for Enhancing Cross-Project Bug Localization

  • Jan 01, 2021
  • Ziye Zhu +2
  • Conference Article
  • Citations3

On the Value of Bug Reports for Retrieval-Based Bug Localization

  • Sep 01, 2018
  • Dawn Lawrie +1
  • Conference Article
  • Citations13

Improving bug localization with report quality dynamics and query reformulation

  • May 27, 2018
  • Mohammad Masudur Rahman +1
  • Conference Article
  • Citations24

A static technique for fault localization using character n-gram based information retrieval model

  • Feb 22, 2012
  • Sangeeta Lal +1
  • Conference Article
  • Citations13

On Using GUI Interaction Data to Improve Text Retrieval-based Bug Localization

  • Feb 06, 2024
  • Junayed Mahmud +7
  • Conference Article
  • Citations28

BugLocalizer: integrated tool support for bug localization

  • Nov 11, 2014
  • Ferdian Thung +3
  • Book Chapter
  • Citations1

Information Retrieval‐Based Techniques for Software Fault Localization

  • Apr 20, 2023
  • Xin Xia +1
  • Research Article
  • Citations27

DreamLoc: A Deep Relevance Matching-Based Framework for bug Localization

  • Mar 01, 2022
  • IEEE Transactions on Reliability
  • Binhang Qi +4
  • Conference Article
  • Citations530

Where should the bugs be fixed? More accurate information retrieval-based bug localization based on bug reports

  • Jun 01, 2012
  • Jian Zhou +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.