Analysis of errors within computer code
First Claim
1. A method for analyzing computer code comprising:
- executing computer code over first data and second data, the first data being at least substantially independent of the second data, and the first data having a plurality of elements;
at least one of;
where execution of the computer code results in a given error due to more than one element of the first data, revising the computer code so that the given error results from just one element of the first data;
where execution of the computer code improperly functions and no error results from execution of the computer code, and one or more elements of the first data each contains a property that is required but that is missing, determining that the computer code is improperly functioning in handling at least one of the properties that are required; and
, where execution of the computer code results in a plurality of errors due to error-causing elements of the first data, organizing the errors into a plurality of error classes and organizing the error-causing elements of the first data into a plurality of independent sets of error-causing elements, each independent set of error-causing elements corresponding to an error class.
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.
26 Citations
20 Claims
-
1. A method for analyzing computer code comprising:
-
executing computer code over first data and second data, the first data being at least substantially independent of the second data, and the first data having a plurality of elements;
at least one of;
where execution of the computer code results in a given error due to more than one element of the first data, revising the computer code so that the given error results from just one element of the first data;
where execution of the computer code improperly functions and no error results from execution of the computer code, and one or more elements of the first data each contains a property that is required but that is missing, determining that the computer code is improperly functioning in handling at least one of the properties that are required; and
,where execution of the computer code results in a plurality of errors due to error-causing elements of the first data, organizing the errors into a plurality of error classes and organizing the error-causing elements of the first data into a plurality of independent sets of error-causing elements, each independent set of error-causing elements corresponding to an error class. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An analysis system comprising:
-
a fault injection mechanism to inject faults into configuration data for a target system, the configuration data having a plurality of elements;
a data collection mechanism to collect monitoring data on the target system upon execution of the target system based on the configuration data and customer-supplied data, the monitoring data including errors resulting from execution of the target system based on the configuration data having the faults injected thereinto; and
,a data analysis mechanism to analyze the errors of the monitoring data collected by the data collection mechanism, wherein the data analysis mechanism performs at least one of;
recommend computer code of the target system to be revised, where execution of the computer code results in a given error due to more than one element of the configuration data, so that the given error instead results from just one element of the configuration data;
determine that the computer code of the target system is improperly functioning in handling of one or more properties of one or more elements of the configuration data that are required but that are missing, where execution of the computer code improperly functions but no error results; and
,organize the errors into a plurality of error classes and organizing error-causing elements of the configuration data into a plurality of independent sets of error-causing elements, each independent set of error-causing elements corresponding to an error class, where execution of the computer code results in the errors due to the error-causing elements. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. An article of manufacture comprising:
-
a computer-readable medium; and
,means in the medium for executing computer code over data having a plurality of elements and, and for analyzing results of execution of the computer code by at least one of;
where execution of the computer code results in a given error due to more than one element of the data, recommending that the computer code be revised so that the given error results from just one element of the data;
where execution of the computer code improperly functions and no error results from execution of the computer code, and one or more elements of the data each contains a property that is required but that is missing, determining that the computer code is improperly functioning in handling at least one of the properties that are required; and
,where execution of the computer code results in a plurality of errors due to error-causing elements of the data, organizing the errors into a plurality of error classes and organizing the error-causing elements of the data into a plurality of independent sets of error-causing elements, each independent set of error-causing elements corresponding to an error class. - View Dependent Claims (20)
-
Specification