Skip to main navigation Skip to search Skip to main content

Interactive Patch Filtering as Debugging Aid

  • Jingjing Liang
  • , Ruyi Ji
  • , Jiajun Jiang
  • , Shurui Zhou
  • , Yiling Lou
  • , Yingfei Xiong
  • , Gang Huang

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

It is widely recognized that patches generated by program repair tools have to be correct to be useful. However, it is fundamentally difficult to ensure the correctness of the patches. Many tools generate only the patches that are highly likely to be correct by taking conservative strategies which inevitably limit the recall of APR approaches. While the recall of APR can potentially be improved by relaxing the requirement on precision, more incorrect patches may also be generated. In this paper, we conjecture that reviewing incorrect patches also helps developers to understand the bug, and with proper tool support, reviewing incorrect patches would at least not reduce the repair performance. To evaluate this, we propose an interactive patch filtering approach to facilitate developers in the patch review process via effectively filtering out groups of incorrect patches. We implemented the approach as an Eclipse plugin, InPaFer, and evaluated the effectiveness and usefulness with a mixed-method evaluation. The results show that our approach improves the repair performance of developers, with 62.5% more successfully repaired bugs and 25.3% less debugging time. In particular, even if all generated patches are incorrect, the performance of developers would not be significantly reduced, and could still be improved. Our work provides a new way of thinking for the APR research.

Original languageEnglish (US)
Title of host publicationProceedings - 2021 IEEE International Conference on Software Maintenance and Evolution, ICSME 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages239-250
Number of pages12
ISBN (Electronic)9781665428828
DOIs
StatePublished - 2021
Externally publishedYes
Event37th IEEE International Conference on Software Maintenance and Evolution, ICSME 2021 - Luxembourg City, Luxembourg
Duration: Sep 27 2021Oct 1 2021

Publication series

NameProceedings - 2021 IEEE International Conference on Software Maintenance and Evolution, ICSME 2021

Conference

Conference37th IEEE International Conference on Software Maintenance and Evolution, ICSME 2021
Country/TerritoryLuxembourg
CityLuxembourg City
Period9/27/2110/1/21

Keywords

  • Interactive debugging
  • Patch filtering
  • Program repair
  • User study

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Interactive Patch Filtering as Debugging Aid'. Together they form a unique fingerprint.

Cite this