# US 2010/0169874 A1 · System and method for detecting software patch dependencies

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

- Number: US 2010/0169874 A1
- Document ID: US20100169874A1
- Status: Published application
- Kind: A1
- Application number: 12/346,165
- Filed: 2008-12-30
- Published: 2010-07-01
- Earliest claimed: 2008-12-30
- Assignees: International Business Machines Corporation
- Inventors: William Izard; David de Vos; Andreas Spanner
- Web page: https://patentgrep.com/patent/US20100169874A1

## CPC

- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 8/60: Software deployment
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

This disclosure relates to software patches and, more particularly, to detecting software patch dependencies in an environment where multiple software patches may be installed. A method, computer program product, and system for detecting software patch dependencies receives one or more first lists of software code segments, including changes to the software code segments associated with one or more first software patches. A second list of software code segments that includes software code paths executed at run-time by a second software patch is received. One or more matching code segments are identified. Dependencies of the second software patch based on the one or more matching software code segments are identified. The dependencies represent software patches required by the second software patch. A list of the dependencies is generated.

## Claims

### Claim 1

A method of detecting software patch dependencies comprising:
receiving one or more first lists of software code segments that include changes to the software code segments associated with one or more first software patches;
receiving a second list of software code segments that includes software code paths executed at run-time by a second software patch;
identifying one or more matching software code segments that are included in at least one of the first lists and the second list, where the matching software code segments include changes associated with the one or more first software patches and software code paths executed at run-time by the second software patch;
identifying one or more dependencies of the second software patch based on the one or more matching software code segments, where the one or more dependencies represent one or more of the first software patches required by the second software patch; and
generating a list of the one or more first software patches required by the second software patch.

### Claim 2 (depends on 1)

The method of claim 1 further comprising compiling a software patch installation package that includes the second software patch and the one or more first software patches required by the second software patch.

### Claim 3 (depends on 1)

The method of claim 1 further comprising:
installing the one or more first software patches on a computer system;
installing the second software patch on the computer system;
executing one or more applications on the computer system including exercising substantially all run time code paths of the second software patch;
monitoring the execution of the one or more applications, including monitoring at least the run time code paths of the second software patch;
recording the software code segments executed at run-time by the second patch during the exercising of substantially all run time code paths of the second software patch; and
generating the second list of software code segments executed at run-time from the recorded software code segments.

### Claim 4 (depends on 3)

The method of claim 3 wherein the exercising of substantially all run time code paths of the second software patch is performed by one or more of:
an automated software test tool configured to exercise the run time code paths of the second software patch; and
a manual test process configured to exercise the run time code paths of the second software patch.

### Claim 5 (depends on 1)

The method of claim 1 wherein the one or more first lists of software code segments are generated by a software source code revision tool.

### Claim 6 (depends on 1)

The method of claim 1 wherein the second list of software code segments is generated by a run time software code coverage tool.

### Claim 7 (depends on 1)

The method of claim 1 wherein the changes to the software code segments include one or more of:
a deleted method; a modified method; an added method;
a deleted class; a modified class; an added class;
a deleted file; a modified file; and an added file.

### Claim 8

A computer program product for detecting software patch dependencies, residing on a computer readable medium, having a plurality of instructions stored thereon, which, when executed by a processor, cause the processor to perform operations comprising:
receiving one or more first lists of software code segments that include changes to the software code segments associated with one or more first software patches;
receiving a second list of software code segments that includes software code paths executed at run-time by a second software patch;
identifying one or more matching software code segments that are included in at least one of the first lists and the second list, where the matching software code segments include changes associated with the one or more first software patches and software code paths executed at run-time by the second software patch;
identifying one or more dependencies of the second software patch based on the one or more matching software code segments, where the one or more dependencies represent one or more of the first software patches required by the second software patch; and
generating a list of the one or more first software patches required by the second software patch.

### Claim 9 (depends on 8)

The computer program product of claim 8 wherein the operations further comprise compiling a software patch installation package that includes the second software patch and the one or more first software patches required by the second software patch.

### Claim 10 (depends on 8)

The computer program product of claim 8 wherein the operations further comprise:
installing the one or more first software patches on a computer system;
installing the second software patch on the computer system;
executing one or more applications on the computer system including exercising substantially all run time code paths of the second software patch;
monitoring the execution of the one or more applications, including monitoring at least the run time code paths of the second software patch;
recording the software code segments executed at run-time by the second patch during the exercising of substantially all run time code paths of the second software patch; and
generating the second list of software code segments executed at run-time from the recorded software code segments.

### Claim 11 (depends on 10)

The computer program product of claim 10 wherein the exercising of substantially all run time code paths of the second software patch is performed by one or more of:
an automated software test tool configured to exercise the run time code paths of the second software patch; and
a manual test process configured to exercise the run time code paths of the second software patch.

### Claim 12 (depends on 8)

The computer program product of claim 8 wherein the one or more first lists of software code segments are generated by a software source code revision tool.

### Claim 13 (depends on 8)

The computer program product of claim 8 wherein the second list of software code segments is generated by a run time software code coverage tool.

### Claim 14 (depends on 8)

The computer program product of claim 8 wherein the changes to the software code segments include one or more of:
a deleted method; a modified method; an added method;
a deleted class; a modified class; an added class;
a deleted file; a modified file; and an added file.

### Claim 15

A computing system comprising:
at least one processor;
at least one memory architecture coupled with the at least one processor;
a first software instruction set executed on the at least one processor and the at least one memory architecture configured to receive one or more first lists of software code segments that include changes to the software code segments associated with one or more first software patches;
a second software instruction set executed on the at least one processor and the at least one memory architecture configured to receive a second list of software code segments that includes software code paths executed at run-time by a second software patch;
a third software instruction set executed on the at least one processor and the at least one memory architecture configured to identify one or more matching software code segments that are included in at least one of the first lists and the second list, where the matching software code segments include changes associated with the one or more first software patches and software code paths executed at run-time by the second software patch;
a fourth software instruction set executed on the at least one processor and the at least one memory architecture configured to identify one or more dependencies of the second software patch based on the one or more matching software code segments, where the one or more dependencies represent one or more of the first software patches required by the second software patch; and
a fifth software instruction set executed on the at least one processor and the at least one memory architecture configured to generate a list of the one or more first software patches required by the second software patch.

### Claim 16 (depends on 15)

The computing system of claim 15 further comprising a sixth software instruction set executed on the at least one processor and the at least one memory architecture configured to compile a software patch installation package that includes the second software patch and the one or more first software patches required by the second software patch.

### Claim 17 (depends on 15)

The computing system of claim 15 further comprising:
a sixth software instruction set executed on the at least one processor and the at least one memory architecture configured to install the one or more first software patches on a computer system;
a seventh software instruction set executed on the at least one processor and the at least one memory architecture configured to install the second software patch on the computer system;
an eighth software instruction set executed on the at least one processor and the at least one memory architecture configured to execute one or more applications on the computer system including exercising substantially all run time code paths of the second software patch;
a ninth software instruction set executed on the at least one processor and the at least one memory architecture configured to monitor the execution of the one or more applications, including monitoring at least the run time code paths of the second software patch;
a tenth software instruction set executed on the at least one processor and the at least one memory architecture configured to record the software code segments executed at run-time by the second patch during the exercising of substantially all run time code paths of the second software patch; and
an eleventh software instruction set executed on the at least one processor and the at least one memory architecture configured to generate the second list of software code segments executed at run-time from the recorded software code segments.

### Claim 18 (depends on 17)

The computing system of claim 17 wherein the exercising of substantially all run time code paths of the second software patch is performed by one or more of:
an automated software test tool configured to exercise the run time code paths of the second software patch; and
a manual test process configured to exercise the run time code paths of the second software patch.

### Claim 19 (depends on 15)

The method of claim 15 wherein the one or more first lists of software code segments are generated by a software source code revision tool.

### Claim 20 (depends on 15)

The method of claim 15 wherein the second list of software code segments is generated by a run time software code coverage tool.

### Claim 21 (depends on 15)

The method of claim 15 wherein the changes to the software code segments include one or more of:
a deleted method; a modified method; an added method;
a deleted class; a modified class; an added class;
a deleted file; a modified file; and an added file.
