Image-based Bug Oracle Automation for Bug Report Reproduction Using Wt Detection

Yanran Kou, Hohyeon Jeong, Eunseok Lee

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

Automated bug report reproduction aims at assisting developers in efficiently replicating bugs reported by users on developers' local machines. This activity involves the automation of reproduction trace generation and target bug verification (i.e. leveraging a bug oracle to check whether the triggered bug is the reported one). Recently, intensive studies have been conducted on automatically translating bug reports into executable reproduction traces. However, existing works all rely on crash stack trace to check if a triggered crash is same with the target crash, thus failing to reproduce a significant number of noncrash bugs. To address this problem, we propose an approach that utilizes an error screenshot in bug report as the bug oracle and applies a novel image comparison algorithm in comparing the oracle image with runtime screenshots. The proposed approach parses the oracle and runtime capture image pair using object detection techniques and then constructs a dummy hierarchy tree for structural difference comparison. In this way, it eliminates non-essential differences caused in most common bug reporting scenarios. We implemented our approach in a tool called SegStec. The empirical study upon 52 image pairs from 52 real-world Android bug reports indicates that SegStec outperforms the state-of-the-art pixel- level image comparison tool with an accuracy of 80.8% in target bug verification.

Original languageEnglish
Title of host publication2021 IEEE International Conference on Software Engineering and Artificial Intelligence, SEAI 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages43-47
Number of pages5
ISBN (Electronic)9780738124841
DOIs
StatePublished - 11 Jun 2021
Event2021 IEEE International Conference on Software Engineering and Artificial Intelligence, SEAI 2021 - Xiamen, China
Duration: 11 Jun 202113 Jun 2021

Publication series

Name2021 IEEE International Conference on Software Engineering and Artificial Intelligence, SEAI 2021

Conference

Conference2021 IEEE International Conference on Software Engineering and Artificial Intelligence, SEAI 2021
Country/TerritoryChina
CityXiamen
Period11/06/2113/06/21

Keywords

  • bug report
  • computer vision
  • image comparison
  • object detection
  • oracles
  • software maintenance

Fingerprint

Dive into the research topics of 'Image-based Bug Oracle Automation for Bug Report Reproduction Using Wt Detection'. Together they form a unique fingerprint.

Cite this