Source code search engine
Abstract
A source code search comprises a two-pass search. The first pass comprises a topological measure of similarity. The second pass comprises a semantic measure of similarity. The query source code is a user-selected portion of source code. The results may be ranked and output to an I/O device.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system comprising: a processor; and a non-transitory computer readable storage medium for storing instructions which, when executed by the processor, perform a method comprising: creating a respective abstract syntax tree (AST) of each of a user-defined query source code data set and at least one target source code data set, wherein the user-defined query source code data set comprises a selected portion of source code in a given programming language comprising a complete function, wherein the target source code data set comprises at least one file within at least one repository containing s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- Bonelli, "Cgrep: a context-aware grep for source codes", Cgrep by awgn. http://awgn.github.io/cgrep/ Last printed Apr. 8, 2015. 2 pages.
- Chuan, "Semantic grep", RCTay's Blog, Jun. 20, 2014. 22:51:44. http://rctay.tuletech.com/2014/06/semantic-grep Last printed Apr. 8, 2015. 4 pages.
- Hsiao, "Software Plagiarism Detection Using Abstract Syntax Tree and Graph-Based Data Mining", Master's Thesis, 2002, Oklahoma State University. http://digital.library.okstate.edu/etd/umi-okstate-1249.pdf 53 pages.
- Hyun-Je Song et al., Computation of Program Source Code Similarity by Composition of Parse Tree and Call Graph, Mathematical Problems in Engineering, vol. 2015, retrieved online on Oct. 3, 2017, pp. 12. Retrieved from the Internet: <URL: https://www.hindawi.com/journals/mpe/2015/429807/>.
- Komondoor, et al., "Using Slicing to Identify Duplication in Source Code", '01 Proceedings of the 8th International Symposium of Static Analysis (SAS). Springer-Verlag London, UK, 2001. 18 pages.