×

Selective loading of code elements for code analysis

  • US 9,710,355 B2
  • Filed: 01/14/2010
  • Issued: 07/18/2017
  • Est. Priority Date: 01/14/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for loading into a system memory code elements included in a plurality of software entities stored on one or more non-volatile storage devices, the plurality of software entities comprising a target software entity and one or more reference software entities, a portion of the code elements being loaded into the system memory for analysis of the target software entity by a code analysis tool, the method comprising:

  • assigning, automatically, a first subset of the code elements to a first group based on a dependency analysis, the first subset of the code elements including each code element of the target software entity and each code element of the one or more reference software entities that have at most a first number of dependency links from the target software entity as indicated by the dependency analysis;

    assigning, automatically, a second subset of the code elements to a second group, the second subset including each code element of the one or more reference software entities that have a second number of dependency links, that is one more than the first number of dependency links, from the target software entity as indicated in the dependency analysis, the first subset being mutually exclusive of the second subset;

    loading, automatically, only the code elements assigned to the first group into the system memory for analysis of the target software entity by the code analysis tool, loading a code element comprising accessing the software entity in which the code element is included;

    creating a named placeholder, for each code element in the second subset of code elements, in place of each code element in the second subset of code elements; and

    performing the analysis of the target software entity on the loaded code elements of the first subset of code elements and the named placeholder for each code element in the second subset of code elements, and without using the second subset of code elements.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×