PofoliaShared via Pofolia

· 2012

A systematic study of automated program repair: Fixing 55 out of 105 bugs for $8 each

Claire Le Goues, Michael Dewey-Vogt, Stephanie Forrest, Westley Weimer

Short summary

Automated program repair using GenProg fixed 55 out of 105 real-world bugs across 8 open-source programs, costing an average of $7.32 per repair.

AI-generated from the title and abstract; the full text is not read.

Key points

  • GenProg automatically repaired 55 out of 105 defects in 8 open-source C programs.
  • Algorithmic improvements increased GenProg's repair success rate by 68%.
  • Cloud computing enabled cost-effective evaluation, with repairs averaging $7.32 and taking 96 minutes.
  • The evaluation covered 5.1 million lines of code and 10,193 test cases, making it one of the largest studies of its kind.

AI-generated from the title and abstract; the full text is not read.

Abstract

There are more bugs in real-world programs than human programmers can realistically address. This paper evaluates two research questions: “What fraction of bugs can be repaired automatically?” and “How much does it cost to repair a bug automatically?” In previous work, we presented GenProg, which uses genetic programming to repair defects in off-the-shelf C programs. To answer these questions, we: (1) propose novel algorithmic improvements to GenProg that allow it to scale to large programs and find repairs 68% more often, (2) exploit GenProg's inherent parallelism using cloud computing resources to provide grounded, human-competitive cost measurements, and (3) generate a large, indicative benchmark set to use for systematic evaluations. We evaluate GenProg on 105 defects from 8 open-source programs totaling 5.1 million lines of code and involving 10,193 test cases. GenProg automatically repairs 55 of those 105 defects. To our knowledge, this evaluation is the largest available of its kind, and is often two orders of magnitude larger than previous work in terms of code or test suite size or defect count. Public cloud computing prices allow our 105 runs to be reproduced for $403; a successful repair completes in 96 minutes and costs $7.32, on average.

The authors' abstract, as published at the source., 2012 · DOI ↗

TakeawaysPremium
Ask the paperFree account

Continue with a free account

Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Software

SoftwareComputer Science