Abstract

With the usage of version control systems, many bug fixes have accumulated over the years. Researchers have proposed various approaches that reuse past fixes to fix new bugs. However, some fundamental questions, such as how new bug fixes can be constructed from old fixes, have not been investigated. When an approach reuses past fixes to fix a new bug, the new bug fix should overlap with past fixes in terms of code structures and/or code names. Based on this intuition, we systematically design six overlap metrics, and conduct an empirical study on 5,735 bug fixes to investigate the usefulness of past fixes. For each bug fix, we create delta dependency graphs, and identify how bug fixes overlap with each other by detecting isomorphic subgraphs. Our results show Besides that above two major findings, we have additional ten findings, which can deepen the understanding on automatic program repair.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.