×

SYSTEM FOR GENERATING FUNCTIONALITY REPRESENTATION, INDEXING, SEARCHING, COMPONENTIZING, AND ANALYZING OF SOURCE CODE IN CODEBASES AND METHOD THEREOF

  • US 20180373507A1
  • Filed: 08/03/2018
  • Published: 12/27/2018
  • Est. Priority Date: 02/03/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for organizing, functionality indexing and constructing a source code search engine, the method comprising:

  • a. crawling a set of data entities in a repository system, each of the data entities representing one or more of a source code units and/or subsets of the source code units;

    b. parsing said set of data entities into abstract syntax trees (ASTs) architecture;

    c. modeling said set of data entities into a code graph (CG) architecture such that each one or more of a source code units and/or subsets of the source code units are set as vertices and connections between said each one or more of a source code units and/or subsets of the source code units are set as edges;

    d. establishing type ontology (TO) architecture of said set of data entities by processing said set of data and assigning meta-data tags to each one or more of a source code units and/or subsets of the source code units, said tags representing classification attributes;

    e. generating semantic ID based on linguistic, structural and contextual analyses of said set of data entities, said semantic ID corresponding to source code functionality of said one or more of a source code units and/or subsets of the source code units, said linguistic analysis employing linguistic clues, said structural linguistic analysis employing structural clues, and said contextual analysis employing contextual clues; and

    f. organizing and storing said set of data entities in functionality representation index (FRI) architecture.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×