Analysis of source code changes
Abstract
Use of an Abstract Syntax Tree (AST) to select portions of source code when analyzing the affect of changes in that source code from one version to another. In this way, it is possible to better focus on how changes in the source code, especially changes which only impact limited portion(s) of the source code, affect code quality with respect to measures like code complexity, performance and so on.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 23.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for analyzing source code, the method comprising: receiving first and second versions of source code; making an Abstract Syntax Tree (AST) for at least the second version; determining, by one or more computer processors, an impacted code parent of the AST for at least the second version based upon differences between code artifacts in the first and second versions of the source code; and generating an indexed table representing the impacted code parent of the AST for at least the second version, wherein the table is indexed based at least on the code artifacts in the first and second
- Claim 2Independent Claim
The method of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 23 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- "Abstract syntax tree-Wikipedia, the free encyclopedia", Mar. 23, 2011, .
- "Abstract syntax tree—Wikipedia, the free encyclopedia", Mar. 23, 2011, <http://en.wikipedia.org/w/index.php?title=Abstract—syntax—tree&oldid=420289082>.
- "Understand Source Code Analysis & Metrics", Copyright 1996-2012 Scientific Toolworks, Inc., downloaded Feb. 10, 2013, .
- "Understand Source Code Analysis & Metrics", Copyright 1996-2012 Scientific Toolworks, Inc., downloaded Feb. 10, 2013, <http://www.scitools.com/ucpp.html?id=e0bcb8a38c2595f29534a9bfeb410c8>.
- Alejandro Asenjo, "Ratchet: A Prototype Change-Impact Analysis Tool with Dynamic Test Selection for C++ Code", May 2011, The University of Texas at Austin, pp. 1-64; <http://repositories.lib.utexas.edu/bitstream/handle/2152/ETD-UT-2011-5-3306/ASENJO-MASTERS-REPORT.pdf?sequence=1>.