Patent ID: 8595703
Filing Date: 2013-11-26
Classification: G06F

Abstract:
1. 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 test case comprising a set of rules, each rule in the set of rules having associated context parameters, the context parameters including metadata, the metadata defining each of a run-time duration for completion of analysis, information needed for input, and resulting output; dynamically performing the steps of: receiving context information from one or more code developments devices; determining a current code analysis context from the received context information, the current code analysis context comprising current context conditions, wherein the current code analysis context is defined in terms of two or more of the targeted code development phase, the targeted code type or state, a source manipulating the targeted code, a purpose for the targeted code, or one or more development runtime requirements; receiving context parameters associated with each rule from the set of rules, the context parameters describing context conditions which are necessary for execution of at least a portion of the rule; evaluating each of the context parameters associated with the rules with respect to the current code analysis context; determining which rules and whether the at least a portion of a rule can be executed against the targeted code from the evaluation of the context parameters associated with the rules; and when it has been determined that the at least a portion of the rule can be executed against the targeted code, applying the at least a portion of the rule to the targeted code.