Patents
US 8,533,668 B2#5430712 Most CitedActiveUnited States (USPTO)Utility

Comparing source code using code statement structures

17Forward Citations (#5430712 Global)
1.3/yrCitation Velocity (#4452844 Global)
2.33Citation PageRank (#11350243 Global)
28Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A computer system identifies a plurality of source code files to be compared, parses each source code file to identify a code statement structure present in the file, and compares the plurality of source code files using corresponding code statement structures.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method, comprising: identifying a plurality of source code files to be compared; parsing, using a processor, each of the identified source code files to generate a common code statement structure for each respective source code file, wherein each common code statement structure is generated based on a mapping between a specific structure of a programming language used in a respective source code file and a common structure that is programming language independent; comparing, using the processor, the generated code statement structures to determine a difference between th

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising: receiving an input identif

Technical Overview & Description

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

Non-Patent Literature (5)

  • Chilowicz et al., "Towards a multi-scale approach for source code approximate match report", 2010 ACM, IWSC'10, May 8, 2010, Cape Town, South Africa, pp. 89-60; .
  • Chilowicz et al., "Towards a multi-scale approach for source code approximate match report", 2010 ACM, IWSC'10, May 8, 2010, Cape Town, South Africa, pp. 89-60; <http://dl.acm.org/citation.cfm?id=1808919>.
  • Cui et al., "Code Comparison System Based on Abstract Syntax Tree", 2011 IEEE, pp. 668-673; .
  • Cui et al., "Code Comparison System Based on Abstract Syntax Tree", 2011 IEEE, pp. 668-673; <http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=5705174>.
  • Warren Toomey, "Code Similarity Comparison of Multiple Source Trees", Apr. 23, 2008, Bond University, pp. 1-12; .