Utilization of publicly available source code

US11023356B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11023356-B2
Application numberUS-201916238824-A
CountryUS
Kind codeB2
Filing dateJan 3, 2019
Priority dateJan 3, 2019
Publication dateJun 1, 2021
Grant dateJun 1, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method of determining the utility of publicly available source code includes analyzing, by one or more processors of a computer system, source code of an application in development, determining, by the one or more processors of the computer system, efficacy of a publicly available target code sample based a discriminant function analysis model, computing, by the one or more processors of the computer system, a goodness of fit assessment of the publicly available target code sample to the application in development based on the analyzing the source code of the application in development, and determining, by the one or more processors of the computer system, whether to use the publicly available target code sample based on the goodness of fit assessment.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method of determining the utility of publicly available source code, the method comprising: analyzing, by one or more processors of a computer system, source code of an application in development; analyzing, by the one or more processors of the computer system, a plurality of public code samples within a public code repository comprising both bad code samples and good code samples; creating, by the one or more processors of the computer system, a discriminant function analysis model that incorporates each of the plurality of public code samples within the public code repository; determining, by the one or more processors of the computer system, efficacy of a publicly available target code sample based on the discriminant function analysis model, and determining from the discriminant function analysis model that the publicly available target code sample is not a bad code sample that is decayed or rotted; computing, by the one or more processors of the computer system, a goodness of fit assessment of the publicly available target code sample to the application in development based on the analyzing the source code of the application in development; determining, by the one or more processors of the computer system, whether to use the publicly available target code sample based on the goodness of fit assessment; and recommending, by the one or more processors of the computer system to a developer, the publicly available target code sample based on the goodness of fit assessment. 2. The method of claim 1 , further comprising: analyzing, by the one or more processors of the computer system, a plurality of publicly available target code samples; deriving, by the one or more processors of the computer system, the discriminant function analysis model based on an analyzing of the plurality of publicly, available target code samples. 3. The method of claim 1 , further comprising: determining, by the one or more processors of the computer system, a type of the application in development from the analyzing, wherein the computing the goodness of fit assessment is further based on the determining the type of the application in development. 4. The method of claim 1 , wherein the determining whether to use the publicly available target code sample is based on the goodness of fit assessment satisfying a threshold. 5. The method of claim 1 , further comprising: determining, by the one or more processors of the computer system, whether the publicly available target code sample is currently used publicly in software. 6. The method of claim 1 , further comprising: ranking, by the one or more processors of the computer system, the publicly available target code relative to a plurality of publicly available target codes based on the goodness of fit assessment of the publicly available target code relative a goodness of fit assessment of the plurality of publicly available target codes. 7. The method of claim 1 , further comprising: determining, by the one or more processors of the computer system, the most popular way to perform a functionality; and identifying, by the one or more processors of the computer system, the publicly available target code sample based on the determining the most popular way to perform the functionality. 8. A computer system, comprising: one or more processors; one or more memory devices coupled to the one or more processors; and one or more computer readable storage devices coupled to the one or more processors, wherein the one or more storage devices contain program code executable by the one or more processors via the one or more memory devices to implement a method of determining the utility of publicly available source code, the method comprising: analyzing, by the one or more processors of the computer system, source code of an application in development; analyzing, by the one or more processors of the computer system, a plurality of public code samples within a public code repository comprising both bad code samples and good code samples; creating, by the one or more processors of the computer system, a discriminant function analysis model that incorporates each of the plurality of public code samples within the public code repository; determining, by the one or more processors of the computer system, efficacy of a publicly available target code sample based on a discriminant function analysis model and that the publicly available target code sample is not a bad code sample that is decayed or rotted; computing, by the one or more processors of the computer system, a goodness of fit assessment of the publicly available target code sample to the application in development based on the analyzing the source code of the application in development; determining, by the one or more processors of the computer system, whether to use the publicly available target code sample based on the goodness of fit assessment; and recommending, by the one or more processors of the computer system to a developer, the publicly available target code sample based on the goodness of fit assessment. 9. The computer system of claim 8 , the method further comprising: analyzing, by the one or more processors of the computer system, a plurality of publicly available target code samples; deriving, by the one or more processors of the computer system, the discriminant function analysis model based on an analyzing of the plurality of publicly available target code samples. 10. The computer system of claim 8 , the method further comprising: determining; by the one or more processors of the computer system, a type of the application in development from the analyzing, wherein the computing the goodness of fit assessment is further based on the determining the type of the application in development. 11. The computer system of claim 8 , wherein the determining whether to use the publicly available target code sample is based on the goodness of fit assessment satisfying a threshold. 12. The computer system of claim 8 , the method further comprising: determining, by the one or more processors of the computer system, whether the publicly available target code sample is currently used publicly in software. 13. The computer system of claim 8 , the method further comprising: ranking, by the one or more processors of the computer system, the publicly available target code relative to a plurality of publicly available target codes based on the goodness of fit assessment of the publicly available target code relative a goodness of fit assessment of the plurality of publicly available target codes. 14. The computer system of claim 8 , the method further comprising: determining, by the one or more processors of the computer system, the most popular way to perform a functionality; and identifying, by the one or more processors of the computer system, the publicly available target code sample based on the determining the most popular way to perform the functionality. 15. A computer program product, comprising a computer readable hardware storage device storing a computer readable program code, the computer readable program code comprising an algorithm that when executed by one or more processors of a computer system implements a method of determining the utility of publicly available source code, the method comprising: analyzing, by the one or more processors of the computer system, source code of an application in development; analyzing, by the one or more processors of the computer system, a plurality of public code samples within a public code repository comprising both bad code sam

Assignees

Inventors

Classifications

  • using formal methods, e.g. model checking, abstract interpretation (theorem proving G06N5/013) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11023356B2 cover?
A method of determining the utility of publicly available source code includes analyzing, by one or more processors of a computer system, source code of an application in development, determining, by the one or more processors of the computer system, efficacy of a publicly available target code sample based a discriminant function analysis model, computing, by the one or more processors of the …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/3608. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 01 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).