Analysis of errors within computer code
First Claim
1. A method for analyzing computer code comprising:
- a processor of a computer system executing the computer code over first data and second data, wherein the computer code is executable on a target system, wherein the first data configures the target system and the second data provides operational data for the computer code to generate an output, the first data being at least substantially independent of the second data to an extent that the first data and the second data does not interfere with each other in causing errors during said executing, and the first data having a plurality of elements, wherein the computer system simulates the operations of the target system for said executing;
constructing a symptom database having a plurality of entries based on the operations and the output from said executing, wherein each entry of the plurality of entries is independently selected from the group consisting of an error entry and a no-error entry, wherein the error entry comprises an error identifier that indicates an associated error that had occurred during said executing and a configuration element of the first data to which the associated error is attributable, and wherein the no-error entry comprises an improper behavior identifier that indicates an associated improper behavior that occurred during said executing and a configuration property of the first data to which the associated improper behavior is attributable;
analyzing at least one error that occurred during said executing by use of an error database based on a first subset of said plurality of entries that are error entries;
analyzing at least one no-error that occurred during said executing by use of a no-error database based on a second subset of said plurality of entries that are no-error entries;
organizing said at least one error into a set of error classes to which said at least one error is a member and organizing error-causing elements that correspond to a respective error class in the first set of error classes into a set of error-causing elements; and
generating a set of redundant elements that are not members of the set of error-causing elements.
1 Assignment
0 Petitions
Accused Products
Abstract
Where code execution results in an error attributable to multiple data elements, the code is revised so the error results from one element. Where execution improperly functions without error, and the elements contain required but missing properties, the code is improperly functioning in its required-property handling. Errors are organized into classes and error-causing elements are organized into independent sets corresponding to the classes. Elements that are not within any set are determined. Symptom, error, no-error, refined-symptom, and function databases can be employed during code execution analysis. Symptom database entries correspond to elements and indicate errors, or that no errors, are attributable to the elements. Error database entries correspond to elements resulting in errors upon execution. No-error database entries correspond to elements resulting in no errors upon execution. Refined-symptom database entries correspond to root cause elements of errors. Function database entries correspond to root cause elements of no errors.
25 Citations
18 Claims
-
1. A method for analyzing computer code comprising:
-
a processor of a computer system executing the computer code over first data and second data, wherein the computer code is executable on a target system, wherein the first data configures the target system and the second data provides operational data for the computer code to generate an output, the first data being at least substantially independent of the second data to an extent that the first data and the second data does not interfere with each other in causing errors during said executing, and the first data having a plurality of elements, wherein the computer system simulates the operations of the target system for said executing; constructing a symptom database having a plurality of entries based on the operations and the output from said executing, wherein each entry of the plurality of entries is independently selected from the group consisting of an error entry and a no-error entry, wherein the error entry comprises an error identifier that indicates an associated error that had occurred during said executing and a configuration element of the first data to which the associated error is attributable, and wherein the no-error entry comprises an improper behavior identifier that indicates an associated improper behavior that occurred during said executing and a configuration property of the first data to which the associated improper behavior is attributable; analyzing at least one error that occurred during said executing by use of an error database based on a first subset of said plurality of entries that are error entries; analyzing at least one no-error that occurred during said executing by use of a no-error database based on a second subset of said plurality of entries that are no-error entries; organizing said at least one error into a set of error classes to which said at least one error is a member and organizing error-causing elements that correspond to a respective error class in the first set of error classes into a set of error-causing elements; and generating a set of redundant elements that are not members of the set of error-causing elements. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product comprising:
-
a computer readable storage medium having a computer readable program code embodied therein, said computer readable program code containing instructions that perform analyzing a computer code, said analyzing the computer code comprising; executing the computer code over first data and second data, wherein the computer code is executable on a target system, wherein the first data configures the target system and the second data provides operational data for the computer code to generate an output, the first data being at least substantially independent of the second data to an extent that the first data and the second data does not interfere with each other in causing errors during said executing, and the first data having a plurality of elements, wherein the computer system simulates the operations of the target system for said executing; constructing a symptom database having a plurality of entries based on the operations and the output from said executing, wherein each entry of the plurality of entries is independently selected from the group consisting of an error entry and a no-error entry, wherein the error entry comprises an error identifier that indicates an associated error that had occurred during said executing and a configuration element of the first data to which the associated error is attributable, and wherein the no-error entry comprises an improper behavior identifier that indicates an associated improper behavior that occurred during said executing and a configuration property of the first data to which the associated improper behavior is attributable; analyzing at least one error that occurred during said executing by use of an error database based on a first subset of said plurality of entries that are error entries; analyzing at least one no-error that occurred during said executing by use of a no-error database based on a second subset of said plurality of entries that are no-error entries; organizing said at least one error into a set of error classes to which said at least one error is a member and organizing error-causing elements that correspond to a respective error class in the first set of error classes into a set of error-causing elements; and generating a set of redundant elements that are not members of the set of error-causing elements. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer system comprising a processor and a computer readable memory unit coupled to the processor, said computer readable memory unit containing instructions that when run by the processor implement a method for analyzing a computer code, said method comprising:
-
executing the computer code over first data and second data, wherein the computer code is executable on a target system, wherein the first data configures the target system and the second data provides operational data for the computer code to generate an output, the first data being at least substantially independent of the second data to an extent that the first data and the second data does not interfere with each other in causing errors during said executing, and the first data having a plurality of elements, wherein the computer system simulates the operations of the target system for said executing; constructing a symptom database having a plurality of entries based on the operations and the output from said executing, wherein each entry of the plurality of entries is independently selected from the group consisting of an error entry and a no-error entry, wherein the error entry comprises an error identifier that indicates an associated error that had occurred during said executing and a configuration element of the first data to which the associated error is attributable, and wherein the no-error entry comprises an improper behavior identifier that indicates an associated improper behavior that occurred during said executing and a configuration property of the first data to which the associated improper behavior is attributable; analyzing at least one error that occurred during said executing by use of an error database based on a first subset of said plurality of entries that are error entries; analyzing at least one no-error that occurred during said executing by use of a no-error database based on a second subset of said plurality of entries that are no-error entries; organizing said at least one error into a set of error classes to which said at least one error is a member and organizing error-causing elements that correspond to a respective error class in the first set of error classes into a set of error-causing elements; and generating a set of redundant elements that are not members of the set of error-causing elements. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification