Library upgrade method, apparatus, and system
AssigneeDevFactory FZ-LLC
InventorsAditya T. Kadam, Swapnil S. Mahajan
Life of this patent
Estimating the term…
Abstract
A method and apparatus are disclosed for upgrading libraries in a source code program by evaluating libraries in the source code program for predetermined selection criteria specifying library performance limitations to identify at least a first library which does not meet the plurality of predetermined selection criteria and then identifying a first alternative library that is suitable for substitution for the first library so that the source code program may be automatically modified to replace the first library with the first alternative library, thereby generating a modified source code program having an upgraded library functionality.
Claims20
A method performed by a device having a processor and memory for enhancing operable functionality of a source code program, comprising:
- receiving, by the device, a source code program submitted by a developer;
- identifying, by the device, one or more libraries in the source code program;
- evaluating, by the device, each of the one or more libraries for a plurality of predetermined selection criteria specifying library performance limitations to identify at least a first library which does not meet the plurality of predetermined selection criteria;
- generating a library upgrade recommendation to substitute the at least first library which does not meet the plurality of predetermined selection criteria with at least a first alternative library, wherein generating the library upgrade recommendation comprises:
- evaluating at least the first library which does not meet the plurality of predetermined selection criteria against a repository of alternative libraries;
- and
- identifying, by the device, the at least a first alternative library from the repository as the library upgrade recommendation that is suitable for substitution for the first library by at least resolving the library performance limitations;
- retrieving the identified first alternative library from storage;
- and
- automatically modifying the source code program by substituting the first library with the identified and retrieved first alternative library, thereby generating a modified source code program having an upgraded library functionality that resolves the specified performance limitations associated with at least a first library.
A computer program product comprising at least one computer readable storage medium having stored thereon executable instructions and data which, when executed by at least one processing device, cause the at least one processing device to enhance operable functionality of a source code program by:
- receiving a source code program submitted by a developer;
- identifying one or more libraries in the source code program;
- evaluating each of the one or more libraries for a plurality of predetermined selection criteria specifying library performance limitations to identify at least a first library which does not meet the plurality of predetermined selection criteria;
- generating a library upgrade recommendation to substitute the at least first library which does not meet the plurality of predetermined selection criteria with at least a first alternative library, wherein generating the library upgrade recommendation comprises:
- evaluating at least the first library which does not meet the plurality of predetermined selection criteria against a repository of alternative libraries;
- and
- identifying, by the device, the at least a first alternative library from the repository as the library upgrade recommendation that is suitable for substitution for the first library by at least resolving the library performance limitations;
- retrieving the identified first alternative library from storage;
- and
- automatically modifying the source code program by substituting the first library with the identified and retrieved first alternative library, thereby generating a modified source code program having an upgraded library functionality that resolves the specified performance limitations associated with at least a first library.
A system comprising:
- one or more processors;
- a memory coupled to at least one of the processors;
- and
- a set of instructions stored in the memory and executed by at least one of the processors to enhance operable functionality of a software program, wherein the set of instructions are executable to perform actions of:
- receiving a source code program submitted by a developer;
- identifying one or more libraries in the source code program;
- evaluating each of the one or more libraries for a plurality of predetermined selection criteria specifying library performance limitations to identify at least a first library which does not meet the plurality of predetermined selection criteria;
- generating a library upgrade recommendation to substitute the at least first library which does not meet the plurality of predetermined selection criteria with at least a first alternative library, wherein generating the library upgrade recommendation comprises:
- evaluating at least the first library which does not meet the plurality of predetermined selection criteria against a repository of alternative libraries;
- and
- identifying, by the device, the at least a first alternative library from the repository as the library upgrade recommendation that is suitable for substitution for the first library by at least resolving the library performance limitations;
- retrieving the identified first alternative library from storage;
- and
- automatically modifying the source code program by substituting the first library with the identified and retrieved first alternative library, thereby generating a modified source code program having an upgraded library functionality that resolves the specified performance limitations associated with at least a first library.
Dependencies are inferred from the claim text.