# US 2020/0349055 A1 · System and method for managing a code repository

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

- Number: US 2020/0349055 A1
- Document ID: US20200349055A1
- Status: Published application
- Kind: A1
- Application number: 16/399,968
- Filed: 2019-04-30
- Published: 2020-11-05
- Earliest claimed: 2019-04-30
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Venkat Mattapalli Reddy; Gayatri Singh Balaji; Debra J. Robitaille; Mark Adam Arakelian; Belagapu Pradeep Kumar; Santosh Govindrao Bhandiwad; Sindhura Chamala
- Web page: https://patentgrep.com/patent/US20200349055A1

## CPC

- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 8/30: Creation or generation of source code
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 8/72: Code refactoring
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3692: {for test results analysis}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data processing device includes persistent storage and a software development manager. The persistent storage stores a code repository. The software development manager generates commit impact information based on: pre-commit code for a code base stored in the code repository, and dependency data based on committed code of the code base; displays a pre-commit analysis graphic user interface (GUI) reflecting the commit impact information and testing information for the pre-commit code; obtains, using the displayed pre-commit analysis GUI, reviewer feedback regarding approval of the pre-commit code; makes a determination, based on the reviewer feedback, that the pre-commit code has been approved; in response to the determination: performs limited testing of the code base based upon the dependency data to obtain testing results; and commits the pre-commit code to the committed code when the testing results match a predetermined behavior.

## Claims

### Claim 1

A data processing device, comprising:
persistent storage for storing a code repository; and
a software development manager programmed to:
generate commit impact information based on:
pre-commit code for a code base stored in the code repository, and
dependency data based on committed code of the code base;
display a pre-commit analysis graphic user interface (GUI) reflecting the commit impact information and testing information for the pre-commit code;
obtain, using the displayed pre-commit analysis GUI, reviewer feedback regarding approval of the pre-commit code;
make a determination, based on the reviewer feedback, that the pre-commit code has been approved;
in response to the determination:
perform limited testing of the code base based upon the dependency data to obtain testing results; and
commit the pre-commit code to the committed code when the testing results match a predetermined behavior.

### Claim 2 (depends on 1)

The data processing device of claim 1, wherein the-pre-commit code is not committed to the committed code when the testing results matches a second predetermined behavior.

### Claim 3 (depends on 1)

The data processing device of claim 1, wherein the pre-commit analysis GUI comprises:
a first graphical element representing the commit impact information; and
a second graphical element representing the test information.

### Claim 4 (depends on 1)

The data processing device of claim 1, wherein the commit impact information specifies:
a modification of the committed code that would be caused by updating the committed code using the pre-commit code;
a modification of a function that would be caused by updating the committed code using the pre-commit code;
a modification of a module that would be caused by updating the committed code using the pre-commit code;
a modification of a component that would be caused by updating the committed code using the pre-commit code; and
a modification of an interdependent component that would be caused by updating the committed code using the pre-commit code.

### Claim 5 (depends on 1)

The data processing device of claim 1, wherein the commit impact information specifies:
a modification of a library that would be caused by updating the committed code using the pre-commit code; and
a modification of a binary that would be caused by updating the committed code using the pre-commit code.

### Claim 6 (depends on 1)

The data processing device of claim 1, wherein the test information specifies:
a test that will be performed as part of the limited testing of the code base; and
an estimate of a duration of the limited testing of the code base.

### Claim 7 (depends on 1)

The data processing device of claim 1, wherein performing the limited testing of the code base does not include generation of executables for a portion of the code base that would not be impacted by updating the committed code using the pre-commit code.

### Claim 8 (depends on 7)

The data processing device of claim 7, wherein performing the limited testing of the code base is automated.

### Claim 9 (depends on 7)

The data processing device of claim 7, wherein performing the limited testing of the code base comprises:
generating a binary based on:
a portion of the pre-commit code, and
a portion of the committed code;
deploying the binary to an image associated with the code base to obtain an updated image; and.
simulating a workload on the image based on a test case to obtain a portion of the testing results.

### Claim 10 (depends on 1)

The data processing device of claim 1, wherein obtaining, using the displayed pre-commit analysis GUI, the reviewer feedback regarding approval of the pre-commit code comprises:
obtaining first user input associated with the commit impact information;
updating the commit impact information using the first user input; and
obtaining second user input that indicates the reviewer feedback.

### Claim 11

A method for managing a code repository, comprising:
generating commit impact information based on:
pre-commit code for a code base stored in the code repository, and dependency data based on committed code of the code base;
displaying a pre-commit analysis graphic user interface (GUI) reflecting the commit impact information and testing information for the pre-commit code;
obtaining, using the displayed pre-commit analysis GUI, reviewer feedback regarding approval of the pre-commit code;
making a determination, based on the reviewer feedback, that the pre-commit code has been approved;
in response to the determination:
performing limited testing of the code base based upon the dependency data to obtain testing results; and
committing the pre-commit code to the committed code when the testing results match a predetermined behavior.

### Claim 12 (depends on 11)

The method of claim 11, wherein the-pre-commit code is not committed to the committed code when the testing results matches a second predetermined behavior.

### Claim 13 (depends on 11)

The method of claim 11, wherein the pre-commit analysis GUI comprises:
a first graphical element representing the commit impact information; and
a second graphical element representing the test information.

### Claim 14 (depends on 11)

The method of claim 11, wherein the commit impact information specifies:
a modification of the committed code that would be caused by updating the committed code using the pre-commit code;
a modification of a function that would be caused by updating the committed code using the pre-commit code;
a modification of a module that would be caused by updating the committed code using the pre-commit code;
a modification of a component that would be caused by updating the committed code using the pre-commit code; and
a modification of an interdependent component that would be caused by updating the committed code using the pre-commit code.

### Claim 15 (depends on 11)

The method of claim 11, wherein the commit impact information specifies:
a modification of a library that would be caused by updating the committed code using the pre-commit code; and
a modification of a binary that would be caused by updating the committed code using the pre-commit code.

### Claim 16

A non-transitory computer readable medium comprising computer readable program code, which when executed by a computer processor enables the computer processor to perform a method for managing a code repository, the method comprising:
generating commit impact information based on:
pre-commit code for a code base stored in the code repository, and dependency data based on committed code of the code base;
displaying a pre-commit analysis graphic user interface (GUI) reflecting the commit impact information and testing information for the pre-commit code;
obtaining, using the displayed pre-commit analysis GUI, reviewer feedback regarding approval of the pre-commit code;
making a determination, based on the reviewer feedback, that the pre-commit code has been approved;
in response to the determination:
performing limited testing of the code base based upon the dependency data to obtain testing results; and
committing the pre-commit code to the committed code when the testing results match a predetermined behavior.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the-pre-commit code is not committed to the committed code when the testing results matches a second predetermined behavior.

### Claim 18 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the pre-commit analysis GUI comprises:
a first graphical element representing the commit impact information; and
a second graphical element representing the test information.

### Claim 19 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the commit impact information specifies:
a modification of the committed code that would be caused by updating the committed code using the pre-commit code;
a modification of a function that would be caused by updating the committed code using the pre-commit code;
a modification of a module that would be caused by updating the committed code using the pre-commit code;
a modification of a component that would be caused by updating the committed code using the pre-commit code; and
a modification of an interdependent component that would be caused by updating the committed code using the pre-commit code.

### Claim 20 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the commit impact information specifies:
a modification of a library that would be caused by updating the committed code using the pre-commit code; and
a modification of a binary that would be caused by updating the committed code using the pre-commit code.
