ObjSim: Lightweight Automatic Patch Prioritization via Object Similarity
Ali Ghanbari

TL;DR
ObjSim is a lightweight, automatic patch prioritization tool that uses object similarity to identify genuine fixes in program repair, improving top-1 fix ranking by 16.67%.
Contribution
It introduces a novel, similarity-based approach for automatic patch prioritization that is lightweight and effective for JVM-based languages.
Findings
Prioritizes 16.67% more genuine fixes in top-1 position.
Works effectively with patches from the PraPR tool on Defects4J bugs.
Uses system state comparison at method exit points for patch evaluation.
Abstract
In the context of test case based automatic program repair (APR), patches that pass all the test cases but fail to fix the bug are called overfitted patches. Currently, patches generated by APR tools get inspected manually by the users to find and adopt genuine fixes. Being a laborious activity hindering widespread adoption of APR, automatic identification of overfitted patches has lately been the topic of active research. This paper presents engineering details of ObjSim: a fully automatic, lightweight similarity-based patch prioritization tool for JVM-based languages. The tool works by comparing the system state at the exit point(s) of patched method before and after patching and prioritizing patches that result in state that is more similar to that of original, unpatched version on passing tests while less similar on failing ones. Our experiments with patches generated by the recent…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
