×

Interactive software program repair

  • US 10,268,572 B2
  • Filed: 08/03/2017
  • Issued: 04/23/2019
  • Est. Priority Date: 08/03/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method to interactively repair a software program, the method comprising:

  • identifying a fault location in a software program in which the fault location includes a fault of the software program;

    generating a potential repair at the fault location based on a repair candidate that modifies the software program at the fault location;

    automatically generating a first test to test efficacy of the potential repair with respect to correction of the fault;

    generating a first query that relates to an expected result of the first test in which obtaining the expected result of the first test in response to executing the first test indicates that the fault has been corrected;

    obtaining a response to the first query from a human, the response including an indication of the expected result of the first test;

    generating an augmented first test by adding, as indicated by the response to the first query, the expected result of the first test with the first test as a test oracle to the first test;

    augmenting a test suite to include the augmented first test;

    testing the efficacy of the potential repair with respect to correction of the fault using the augmented test suite by determining whether the expected result of the augmented first test is obtained from execution of the potential repair; and

    in response to a passing result of the augmented test suite accepting the potential repair as a proper repair of the fault.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×