Patents
US 9,268,558 B2#42472460 Most CitedActiveUnited States (USPTO)Utility

Searching source code

2Forward Citations (#42472460 Global)
0.2/yrCitation Velocity (#33350354 Global)
0.96Citation PageRank (#44691685 Global)
28Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Searching source code includes receiving a search string, a feature type and details of source code to be searched. The source code is parsed to generate an abstract syntax tree. The abstract syntax tree is indexed using a search structure defining all source code features for which searching is enabled. The search string is searched for the search string of the feature type in the indexed abstract syntax tree using a results structure defining the search outputs to be retrieved. A structured search result based on the output of the searching is provided. The structured search result is stored in the storage device.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for controlling a storage device for searching source code stored in the storage device, the method comprising: receiving a search string, a feature type and details of source code to be searched; parsing the source code to be searched to generate an abstract syntax tree; indexing the abstract syntax tree using a search structure defining all source code features for which searching is enabled, wherein the source code features for which searching is enabled are defined during an initialization process that includes generating a parser based on a grammar of a programming language of th

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (2 of 2 total)

References Cited — Backward Prior Art (28)

PatentTitleYearCitations
US 5,790,863 AMethod and system for generating and displaying a computer program199882
US 2005166193 A1Methods, systems, and computer program products for identifying computer program source code constructs—137
US 2005262056 A1Method and system for searching source code of computer programs using parse trees—68
WO 2007/068527 A1Method and system for assisting a software developer in creating source code for a computer program—10
US 2007169036 A1Incremental type inferencing engine—27
WO 2007/080142 A2Collaborative software development systems and methods providing automated programming assistance—6
US 2007244865 A1Method and system for data retrieval using a product information search engine—63
US 2007299825 A1Source Code Search Engine—117
US 2008052670 A1Graphically Depicting Program Code Depth—17
WO 2008/034170 A1Generating a transition system for use with model checking—3
US 2009222799 A1System representation and handling techniques—63
US 2009293045 A1Dynamic collection attribute-based computer programming language methods—23
US 2010037213 A1Grammar-based generation of types and extensions—33
US 2010106705 A1Source code search engine—104
US 2010153933 A1Path Navigation In Abstract Syntax Trees—24
JP 2010140407 ASource code inspection device—8
US 2010169871 A1Structured search in source code—19
US 2010211929 A1Display method, corresponding computer program and device—4
US 2010269096 A1Creation, generation, distribution and application of self-contained modifications to source code—55
CN 102,063,488 ACode searching method based on semantics—33
US 2011302563 A1Program structure recovery using multiple languages—25
US 2011321020 A1Transforming declarative event rules into executable procedures—9
US 8,312,437 B2Structured search in source code20124
US 2013159968 A1Language service provider management using application context—11
US 2013185698 A1Simplifying analysis of software code used in software systems—11
US 8,688,676 B2Source code search engine201462
US 8,875,110 B2Code inspection executing system for performing a code inspection of ABAP source codes20148
US 2014359586 A1Programming Language with Extensions using a Strict Meta-Model—15

Non-Patent Literature (5)

  • Chilowicz et al., Syntax tree fingerprinting for source code similarity detection, published by IEEE, 2009, pp. 243-247.
  • Hsu et al., "A Multi-block Scheme for Searching Source Codes," IEEE, 2010, pp. 608-613.
  • Keivanloo et al., "Semantic Webbased Source Code Search", 6th International Workshop on Semantic Web Enabled Software Engineering (SWESE 2010), San Francisco, USA., p. 1-16.
  • Kuhn et al., Abstract Syntax Tree, Published 2006: [retrieved on Mar. 7, 2015], Retrieved from Internet ; pp. 1-8.
  • Kuhn et al., Abstract Syntax Tree, Published 2006: [retrieved on Mar. 7, 2015], Retrieved from Internet <http://www.eclipse.org/articles/Article-JavaCodeManipulation-AST>; pp. 1-8.