# US 2020/0394128 A1 · Breakpoint value-based version control

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394128 A1
- Document ID: US20200394128A1
- Status: Published application
- Kind: A1
- Application number: 16/440,800
- Filed: 2019-06-13
- Published: 2020-12-17
- Earliest claimed: 2019-06-13
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: ANDREW HICKS; DALE E. BLUE; RYAN THOMAS RAWLINS; STEVEN PARTLOW
- Web page: https://patentgrep.com/patent/US20200394128A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/3636: {by tracing the execution of the program}
- G06F 11/3676: {for coverage analysis}
- G06F 11/3692: {for test results analysis}
- G06F 2201/83: the solution involving signatures
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and computer-readable media are described for performing revision control for a System Under Test (SUT) such as a body of source code. Prior to committing code changes, a collection of breakpoints associated with the portion(s) of source code being changed are determined. Stored fingerprints corresponding to regression test cases are evaluated to identify a set of stored fingerprints that are cumulatively indicative of the collection of breakpoints. Attributes respectively stored in association with the set of stored fingerprints are determined and a corresponding group of regression test cases are determined. The code changes are committed responsive to successful execution of the selected group of regression test cases.

## Claims

### Claim 1

A computer-implemented method for performing revision control for source code, the method comprising:
identifying one or more portions of the source code that have been modified;
determining a collection of breakpoints corresponding to the one or more modified portions of the source code;
determining a group of regression test cases that cumulatively provide coverage of the collection of breakpoints;
executing the group of regression test cases;
determining that the group of regression test cases successfully executed; and
committing the one or more modified portions of the source code.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein determining the collection of breakpoints corresponding to the one or more modified portions of the source code comprises:
determining lines of the source code that are included in the one or more modified portions of the source code; and
determining the collection of breakpoints corresponding to the lines of the source code.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein determining the group of regression test cases comprises:
determining stored fingerprints that are cumulatively indicative of the collection of breakpoints;
determining attribute seeds that respectively correspond to the stored fingerprints; and
determining the group of regression test cases based at least in part on their respective correspondence to the attribute seeds.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein determining the stored fingerprints that are cumulatively indicative of the collection of breakpoints comprises determining that each stored fingerprint is indicative of at least one encounter with at least one breakpoint in the collection of breakpoints during execution of a corresponding regression test case.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein determining the stored fingerprints that are cumulatively indicative of the collection of breakpoints comprises determining that each stored fingerprint is indicative of an encounter with at least one breakpoint in the collection of breakpoints that no other stored fingerprint is indicative of

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the group of regression test cases comprises a first regression test case and a second regression test case, the method further comprising:
determining a first stored fingerprint corresponding to the first regression test case;
determining a second stored fingerprint corresponding to the second regression test case;
determining a first number of breakpoints encountered during execution of the first regression test case based at least in part on the first stored fingerprint;
determining a second number of breakpoints encountered during execution of the second regression test case based at least in part on the second stored fingerprint;
determining that the first number of breakpoints is greater than the second number of breakpoints; and
prioritizing execution of the first regression test case over execution of the second regression test case.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein each attribute seed comprises a combination of attribute values tested by a respective corresponding regression test case.

### Claim 8

A system for performing revision control for source code, the system comprising:
at least one processor; and
at least one memory storing computer-executable instructions, wherein the at least one processor is configured to access the at least one memory and execute the computer-executable instructions to:
identify one or more portions of the source code that have been modified;
determine a collection of breakpoints corresponding to the one or more modified portions of the source code;
determine a group of regression test cases that cumulatively provide coverage of the collection of breakpoints;
execute the group of regression test cases;
determine that the group of regression test cases successfully executed; and
commit the one or more modified portions of the source code.

### Claim 9 (depends on 8)

The system of claim 8, wherein the at least one processor is configured to determine the collection of breakpoints corresponding to the one or more modified portions of the source code by executing the computer-executable instructions to:
determine lines of the source code that are included in the one or more modified portions of the source code; and
determine the collection of breakpoints corresponding to the lines of the source code.

### Claim 10 (depends on 8)

The system of claim 8, wherein the at least one processor is configured to determine the group of regression test cases by executing the computer-executable instructions to:
determine stored fingerprints that are cumulatively indicative of the collection of breakpoints;
determine attribute seeds that respectively correspond to the stored fingerprints; and
determine the group of regression test cases based at least in part on their respective correspondence to the attribute seeds.

### Claim 11 (depends on 10)

The system of claim 10, wherein the at least one processor is configured to determine the stored fingerprints that are cumulatively indicative of the collection of breakpoints by executing the computer-executable instructions to determine that each stored fingerprint is indicative of at least one encounter with at least one breakpoint in the collection of breakpoints during execution of a corresponding regression test case.

### Claim 12 (depends on 10)

The system of claim 10, wherein the at least one processor is configured to determine the stored fingerprints that are cumulatively indicative of the collection of breakpoints by executing the computer-executable instructions to determine that each stored fingerprint is indicative of an encounter with at least one breakpoint in the collection of breakpoints that no other stored fingerprint is indicative of

### Claim 13 (depends on 8)

The system of claim 8, wherein the group of regression test cases comprises a first regression test case and a second regression test case, and wherein the at least one processor is further configured to execute the computer-executable instructions to:
determine a first stored fingerprint corresponding to the first regression test case;
determine a second stored fingerprint corresponding to the second regression test case;
determine a first number of breakpoints encountered during execution of the first regression test case based at least in part on the first stored fingerprint;
determine a second number of breakpoints encountered during execution of the second regression test case based at least in part on the second stored fingerprint;
determining that the first number of breakpoints is greater than the second number of breakpoints; and
prioritize execution of the first regression test case over execution of the second regression test case.

### Claim 14 (depends on 8)

The system of claim 8, wherein each attribute seed comprises a combination of attribute values tested by a respective corresponding regression test case.

### Claim 15

A computer program product for performing revision control for source code, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processing circuit to cause the processing circuit to perform a method comprising:
identifying one or more portions of the source code that have been modified;
determining a collection of breakpoints corresponding to the one or more modified portions of the source code;
determining a group of regression test cases that cumulatively provide coverage of the collection of breakpoints;
executing the group of regression test cases;
determining that the group of regression test cases successfully executed; and
committing the one or more modified portions of the source code.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein determining the collection of breakpoints corresponding to the one or more modified portions of the source code comprises:
determining lines of the source code that are included in the one or more modified portions of the source code; and
determining the collection of breakpoints corresponding to the lines of the source code.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein determining the group of regression test cases comprises:
determining stored fingerprints that are cumulatively indicative of the collection of breakpoints;
determining attribute seeds that respectively correspond to the stored fingerprints; and
determining the group of regression test cases based at least in part on their respective correspondence to the attribute seeds.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein determining the stored fingerprints that are cumulatively indicative of the collection of breakpoints comprises determining that each stored fingerprint is indicative of at least one encounter with at least one breakpoint in the collection of breakpoints during execution of a corresponding regression test case.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein determining the stored fingerprints that are cumulatively indicative of the collection of breakpoints comprises determining that each stored fingerprint is indicative of an encounter with at least one breakpoint in the collection of breakpoints that no other stored fingerprint is indicative of

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the group of regression test cases comprises a first regression test case and a second regression test case, the method further comprising:
determining a first stored fingerprint corresponding to the first regression test case;
determining a second stored fingerprint corresponding to the second regression test case;
determining a first number of breakpoints encountered during execution of the first regression test case based at least in part on the first stored fingerprint;
determining a second number of breakpoints encountered during execution of the second regression test case based at least in part on the second stored fingerprint;
determining that the first number of breakpoints is greater than the second number of breakpoints; and
prioritizing execution of the first regression test case over execution of the second regression test case.
