Context based code analysis
Abstract
Embodiments provided a formalized set of intermediate analysis contexts that are relevant for analysis checks of target code. Such intermediate analysis context may include, but are not limited to, the development phase of targeted code, the type or state of the targeted code, a source manipulating the targeted code, a purpose for the targeted code, or other development or runtime requirements. Accordingly, embodiments dynamically identify a current analysis context under which targeted code is being developed and can then execute rules based on knowledge of what contexts the rule(s) may apply. More specifically, analysis rules can describe (e.g., via metadata) those context conditions under which a rule can run. Based on such description and the current context, those rules that have been configured to apply to such context conditions can be executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a computing system comprising an analysis tool that checks software using a test case comprising a set of rules, a method of managing executing of the set of rules to apply the rules at an appropriate phase of code development process by determining a context under which code is developed and applying at least a portion of the rules based on the determined context, the method being performed on one or more computer processors with the computer system, the method comprising: receiving targeted code that is to be analyzed for one or more of correctness, completeness, or quality based on a tes
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 20 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (5)
- Bishop, L., "Incremental Impact Analysis for Object-Oriented Software," Iowa State University, 2004, available at http://archives.ece.iastate.edu/archive/00000040/01/lbishop-thesis.pdf (60 pages enclosed).
- Caprile, et al., "Model Centered Interoperability for Source Code Analysis," Centro per la Ricerca Scientifica e Tecnologica, available at http://www.bauhaus-stuttgart.de/sam/caprile.pdf (12 pages enclosed).
- Dudziak, et al., "Tool-Supported Discovery and Refactoring of Structural Weaknesses in Code," Technical University of Berlin, Feb. 2002, available at http://swt.cs.tu-berlin.de/lehre/seminar/ss02/Papers/DudWlo02%20-%20Tool-Supported%20Discovery%20and%20Refactoring%20of%20Structural%20Weaknesses%20in
- Feiler et al. Software Development "Granularity Issues in a Knowledge-Based Programming Environment", Dec. 1987, Columbia University, 10 pages.
- Harder et al, "Improving Test Suites Via Operational Abstractions", 2003, ICSE '03 Proceedings of the 25th International Conference on Software Engineering.