Automated software program repair candidate selection
AssigneeFujitsu Limited
InventorsHiroaki YOSHIDA, Mukul R. PRASAD
Life of this patent
Estimating the term…
Abstract
According to an aspect of an embodiment, a method may identifying a fault location of a fault in a tested software program using a test suite and obtaining a repair candidate for the fault. In addition, the method may include obtaining a repair code pattern of the repair candidate and determining a number of occurrences of the repair code pattern in existing code of multiple existing software programs. Moreover, the method may include prioritizing the repair candidate as a repair of the tested software program based on the number of occurrences of the repair code pattern. The method may also include performing repair operations on the tested software program according to the prioritizing of the repair candidate.
Claims20
A method comprising:
- identifying a fault location of a fault in a tested software program using a test suite;
- obtaining a repair candidate for the fault;
- obtaining a repair code pattern of the repair candidate;
- determining a number of occurrences of the repair code pattern in existing code of a plurality of existing software programs;
- prioritizing the repair candidate as a repair of the tested software program based on the number of occurrences of the repair code pattern;
- and
- performing repair operations on the tested software program according to the prioritizing of the repair candidate.
Non-transitory computer-readable storage media configured to store instructions that, in response to being executed, cause a system to perform operations, the operations comprising:
- identifying a fault location of a fault in a tested software program using a test suite;
- obtaining a repair candidate for the fault;
- obtaining a repair code pattern of the repair candidate;
- determining a number of occurrences of the repair code pattern in existing code of a plurality of existing software programs;
- prioritizing the repair candidate as a repair of the tested software program based on the number of occurrences of the repair code pattern;
- and
- performing repair operations on the tested software program according to the prioritizing of the repair candidate.
Dependencies are inferred from the claim text.