Rule-based method for testing of programming segments
AssigneeInternational Business Machines Corporation
InventorAndrew L. Clark
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorAndrew L. Clark
Estimating the term…
A method for determining a set of f low paths in a code listing that are most likely to fail comprises the steps of: converting the code listing to a directed acyclic graph representation, the representation including nodes and directed edges, each node representing a basic block of unconditional code statements. The method loads, as facts into a knowledge base, representations of the nodes and edges, and unconditional statements from the basic blocks. The method also loads, as rules into the knowledge base, conditional statements and complexity indicator values for conditional and unconditional statements. Weights are assigned to each node based upon complexity indicator values for statements associated with the node. A determination is then made of a set of flow paths through the code listing, each path ranked in order of assigned weights, those flow paths with larger assigned weights being assumed as those paths most likely to fail.
A method for determining a set of flow paths in a code listing as being the most likely ones to fail, the method comprising the steps of:
A data processing system that identifies a set of flow paths in a code listing as being the most likely ones to fail, said system comprising:
Dependencies are inferred from the claim text.