• Home
  • Search
  • Bug localization via searching crowd-contributed code
  • Cite Icon2
  • https://doi.org/10.1145/2677832.2677833Copy DOI Icon

Bug localization via searching crowd-contributed code

  • Nov 17, 2014
  • Qianxiang Wang +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Bug localization, i.e., locating bugs in code snippets, is a frequent task in software development. Although static bug-finding tools are available to reduce manual effort in bug localization, these tools typically detect bugs with known project-independent bug patterns. However, many bugs in real-world code snippets are project-specific. To address this issue, in this paper, we propose a novel approach for LOcating Bugs By Searching the most similar sample snippet (LOBBYS). LOBBYS detects bugs with the help of crowd-contributed correct code, which implement the function that buggy code is expected to implement. Given a buggy code snippet, LOBBYS takes two steps to locate the bug: (1) normalize the bug-gy snippet, and then search for the most similar sample snippet from the code base; (2) align the buggy code and sample code snip-pets, find the difference between the two code snippets, and generate a bug report based on the difference. To evaluate LOBBYS, we build one algorithm-oriented code base and select some buggy snippets from two real-world systems. The result shows that LOBBYS can effectively locate bugs for buggy snippets with high precision. Under the similarity of 50%, 70% and 90%, LOBBYS achieves bug-localization precision as 67%, 83%, and 92%.

Similar Papers
  • 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
  • Research Article
  • Citations27

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

  • Mar 01, 2022
  • IEEE Transactions on Reliability
  • Binhang Qi +4
  • Research Article
  • Citations34

Multi-Dimension Convolutional Neural Network for Bug Localization

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

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

  • Jan 11, 2024
  • Electronics
  • Shatha Alsaedi +3
  • Research Article
  • Citations15

Big Code Search: A Bibliography

  • Aug 26, 2023
  • ACM Computing Surveys
  • Kisub Kim +7
  • Conference Article
  • Citations214

Bug Localization with Combination of Deep Learning and Information Retrieval

  • May 01, 2017
  • An Ngoc Lam +3
  • Conference Article
  • Citations27

Python Coding Style Compliance on Stack Overflow

  • May 01, 2019
  • Nikolaos Bafatakis +6
  • Book Chapter
  • Citations4

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

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

Descriptive compound identifier names improve source code comprehension

  • May 28, 2018
  • Andrea Schankin +5
  • PDF
  • Research Article
  • Citations6

Crowdsourcing in Software Development: Empirical Support for Configuring Contests

  • Jan 01, 2020
  • IEEE Access
  • Stamatia Bibi +5
  • Conference Article
  • Citations24

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

  • Jan 01, 2008
  • Ing-Xiang Chen +3
  • Book Chapter

Fuzzy Logic Based Computational Technique for Analyzing Software Bug Repository

  • Jan 03, 2023
  • Rama Ranjan Panda +1
  • Conference Article
  • Citations11

Is Learning-to-Rank Cost-Effective in Recommending Relevant Files for Bug Localization?

  • Aug 01, 2015
  • Fei Zhao +5
  • Conference Article
  • Citations6

Reinforcement Learning of Code Search Sessions

  • Dec 01, 2019
  • Wei Li +3
  • Research Article
  • Citations2

Information retrieval-based bug localization approach with adaptive attribute weighting

  • May 31, 2021
  • Turkish Journal of Electrical Engineering and Computer Sciences
  • Mustafa Erşahi̇n +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.