Quantifying software code reuse
US12056488B2 · kind B2 · utility
Assignees
Inventors
Key dates
| Filing date | Jun 1, 2022 |
| Grant date | Aug 6, 2024 |
| Priority date | — |
| Expiry date | Oct 13, 2042 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/36
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method includes generating a bill of materials for a piece of source code, where the piece of source code comprises a plurality of lines of code, providing the bill of materials to a knowledge base with a request for known call signatures, receiving, from the knowledge base, a list comprising a plurality of known call signatures and a plurality of reuse estimates, wherein each reuse estimate of the plurality of reuse estimates indicates an estimate of a number of lines of reused code associated with one call signature of the plurality of known call signatures, generating an initial calculation of a number of lines of reused code that are present in the piece of source code, using the list comprising the plurality of known call signatures, and generating a report indicating an amount of the source code that comprises reused code, based on at least the initial calculation.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.