Identification and removal of redundant interfaces
AssigneeRed Hat, Inc.
InventorsJanos Bonic, Sanja Bonic, Leigh Griffin
Life of this patent
Estimating the term…
Abstract
An interface in a first unit of software instructions is identified, the interface being configured to be invoked by an invoking unit of software instructions and when invoked, to invoke a function in a second unit of software instructions. A plurality of other units of software instructions are analyzed to identify a set of units of software instructions that are configured to invoke the interface. Based on the set of the units of software instructions and at least one criterion, data descriptive of modifications that modify the first unit of software instructions to remove software instructions that implement the interface is provided.
Claims20
A method comprising:
- identifying, by a computing system comprising one or more processor devices, an interface in a first unit of software instructions, the interface being configured to be invoked by an invoking unit of software instructions and when invoked, to invoke a function in a second unit of software instructions;
- analyzing a plurality of other units of software instructions to identify a set of units of software instructions that are configured to invoke the interface;
- and
- based on the set of the units of software instructions and at least one criterion, providing data descriptive of modifications that modify the first unit of software instructions to remove software instructions that implement the interface.
A computing system comprising:
- memory;
- and
- one or more processor devices coupled to the memory to:
- identify an interface in a first unit of software instructions, the interface being configured to be invoked by an invoking unit of software instructions and when invoked, to invoke a function in a second unit of software instructions;
- analyze a plurality of other units of software instructions to identify a set of units of software instructions that are configured to invoke the interface;
- and
- based on the set of the units of software instructions and the at least one criterion, provide data descriptive of modifications that modify the first unit of software instructions to remove software instructions that implement the interface.
A non-transitory computer-readable storage medium that includes executable instructions to cause a processor device to:
- identify an interface in a first unit of software instructions, the interface being configured to be invoked by an invoking unit of software instructions and when invoked, to invoke a function in a second unit of software instructions;
- analyze a plurality of other units of software instructions to identify a set of units of software instructions that are configured to invoke the interface;
- and
- based on the set of the units of software instructions and the at least one criterion, provide data descriptive of modifications that modify the first unit of software instructions to remove software instructions that implement the interface.
Dependencies are inferred from the claim text.