Code analysis via ranged values
AssigneeGoogle Inc.
InventorChristian Lewis Evans
Life of this patent
Estimating the term…
Loading patent…
AssigneeGoogle Inc.
InventorChristian Lewis Evans
Estimating the term…
A method, computer program product, and system are provided for reducing errors in software code. For example, an embodiment of the method includes defining a range of values for one or more inputs to the software code and evaluating non-conditional and conditional statements in the software code with one or more values from the range of values until a program misbehavior occurs or substantially all statements in the software code have been evaluated. When evaluating the conditional statements, true and false conditions of the statement can be explored using the range of values. For instance, a sub-set of the range of values can be used to evaluate the conditional statement as true and another sub-set of the range of values can be used to evaluate the conditional statement as false. By exploring both true and false scenarios, wide code coverage is possible.
A computer-implemented method to analyze software code, the method comprising:
A computer program product encoded on a non-transitory computer-usable storage medium comprising instructions that when executed by a data processing apparatus cause the data processing apparatus to perform operations, the computer program product comprising:
A system configured to analyze software code, comprising:
Dependencies are inferred from the claim text.