SYSTEM AND METHOD FOR CHECKING OPEN SOURCE USAGE
First Claim
Patent Images
1. A computer-implemented method comprising:
- receiving a first characteristic of a first source code entity to be checked and a second characteristic of a second source code entity to be checked;
comparing the first characteristic to characteristics stored in a repository representing an open source library;
comparing the second characteristic to the characteristics stored in the repository;
based on comparing the first characteristic to the characteristics stored in the repository, determining a first probability indicating that the first source code entity contains code from the open source library;
based on comparing the second characteristic to the characteristics stored in the repository, determining a second probability lower than the first probability, wherein the second probability indicates that the second source code entity does not contain code from the open source library;
determining, due to the first probability indicating that the first source code entity contains code from the open source library, that the second source code entity also contains code from the open source library; and
providing an indication of the open source library,wherein the first source code entity and the second source code entity are not received with the first characteristic or the second characteristic.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system and computer program product, the method comprising: receiving a characteristic of a source code entity to be checked; comparing the characteristic of the source code entity to be checked to characteristics stored in a repository; and subject to determining with at least a first probability that the characteristic of the source code entity to be checked is found in the repository, providing an indication of an open source library associated with the characteristic, wherein the source code entity to be checked is not received with the characteristic.
18 Citations
22 Claims
-
1. A computer-implemented method comprising:
-
receiving a first characteristic of a first source code entity to be checked and a second characteristic of a second source code entity to be checked; comparing the first characteristic to characteristics stored in a repository representing an open source library; comparing the second characteristic to the characteristics stored in the repository; based on comparing the first characteristic to the characteristics stored in the repository, determining a first probability indicating that the first source code entity contains code from the open source library; based on comparing the second characteristic to the characteristics stored in the repository, determining a second probability lower than the first probability, wherein the second probability indicates that the second source code entity does not contain code from the open source library; determining, due to the first probability indicating that the first source code entity contains code from the open source library, that the second source code entity also contains code from the open source library; and providing an indication of the open source library, wherein the first source code entity and the second source code entity are not received with the first characteristic or the second characteristic. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 21)
-
-
15. (canceled)
-
16. A system for determining open source usage, comprising:
-
a processor; a communication component for receiving a first characteristic of a first source code entity to be checked and a second characteristic of a second source code entity to be checked; a repository comprising a multiplicity of source code entity characteristics and an identifier of an open source library associated with each source code entity characteristic; a comparison component for; comparing the first characteristic to characteristics stored in a repository representing an open source library; comparing the second characteristic to the characteristics stored in the repository; based on comparing the first characteristic to the characteristics stored in the repository, determining a first probability indicating that the first source code entity contains code from the open source library; based on comparing the second characteristic to the characteristics stored in the repository, determining a second probability lower than the first probability, wherein the second probability indicates that the second source code entity does not contain code from the open source library; and determining due to the first probability indicating that the first source code entity contains code from the open source library, that the second source code entity also contains code from the open source library; and a user interface module or communication module for providing the identifier of the open source library, wherein the first source code entity and the second source code entity are not received with the first characteristic or the second characteristic. - View Dependent Claims (17, 18, 19, 22)
-
-
20. A computer program product comprising a computer readable storage medium retaining program instructions, which program instructions when read by a processor, cause the processor to perform a method comprising:
-
receiving a first characteristic of a first source code entity to be checked and a second characteristic of a second source code entity to be checked; comparing the first characteristic to characteristics stored in a repository representing an open source library; comparing the second characteristic to the characteristics stored in the repository; and based on comparing the first characteristic to the characteristics stored in the repository, determining a first probability indicating that the first source code entity contains code from the open source library; based on comparing the second characteristic to the characteristics stored in the repository, determining a second probability lower than the first probability, wherein the second probability indicates that the second source code entity does not contain code from the open source library; determining due to the first probability indicating that the first source code entity contains code from the open source library, that the second source code entity also contains code from the open source library; and providing an indication of the open source library, wherein the first source code entity and the second source code entity are not received with the first characteristic or the second characteristic.
-
Specification