System for determining a total error description of at least one part of a computer program
First Claim
Patent Images
1. A method for using a computer to ascertain an overall fault description for at least one section of a computer program, comprising:
- storing fault descriptions associated with reference elements to describe possible faults in the reference elements, respectively;
storing a section of the computer program;
ascertaining a control flow description for the section of the computer program, to describe a flow of control information in the section of the computer program;
ascertaining a data flow description for the section of the computer program, to describe a flow of data in the section of the computer program;
combining the control and data flow descriptions into a joint flow description for the section of the computer program;
selecting program elements from the section of the computer program;
matching each selected program element with a corresponding reference element to obtain a fault description associated with the corresponding reference element and thereby describe possible faults in the selected program element;
ascertaining the overall fault description as an overall fault tree using the fault descriptions of the program elements from the computer program, with a structure of the overall fault description taking into account a structure of the joint flow description; and
altering the overall fault tree in terms of prescribable boundary conditions.
1 Assignment
0 Petitions
Accused Products
Abstract
A section of a computer program is used to ascertain a control flow description and a data flow description, and program elements are selected from the section of the computer program. For each selected program element, a stored fault description associated with a respective reference element is used to ascertain an element fault description which describes possible faults in the respective program element. The element fault descriptions are used to ascertain the overall fault description, taking into account the control flow description and the data flow description.
-
Citations
14 Claims
-
1. A method for using a computer to ascertain an overall fault description for at least one section of a computer program, comprising:
-
storing fault descriptions associated with reference elements to describe possible faults in the reference elements, respectively; storing a section of the computer program; ascertaining a control flow description for the section of the computer program, to describe a flow of control information in the section of the computer program; ascertaining a data flow description for the section of the computer program, to describe a flow of data in the section of the computer program; combining the control and data flow descriptions into a joint flow description for the section of the computer program; selecting program elements from the section of the computer program; matching each selected program element with a corresponding reference element to obtain a fault description associated with the corresponding reference element and thereby describe possible faults in the selected program element; ascertaining the overall fault description as an overall fault tree using the fault descriptions of the program elements from the computer program, with a structure of the overall fault description taking into account a structure of the joint flow description; and altering the overall fault tree in terms of prescribable boundary conditions. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for ascertaining an overall fault description for at least one section of a computer program, comprising:
-
a storage unit to store the at least one section of the computer program and fault descriptions for reference elements, each fault description describing possible faults in one of the reference elements; and a processor, coupled to said storage unit, to ascertain control and data flow descriptions for the at least one section of the computer program, the control flow description describing a flow of control information in the at least one section of the computer program and the data flow description describing a flow of data in the at least one section of the computer program, to combine the control and data flow descriptions into a joint flow description for the at least one section of the computer program, to select program elements from the at least one section of the computer program, to match each selected program element with a corresponding reference element and obtain a fault description associated with the corresponding reference element and thereby describe possible faults in the selected program element; and to ascertain the overall fault description as an overall fault tree using the fault descriptions of the program elements from the computer program, with a structure of the overall fault description taking into account a structure of the joint flow description; and to alter the overall fault tree in terms of prescribable boundary conditions. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer-readable storage medium storing at least one program to control a computer to perform a method for ascertaining an overall fault description for at least one section of a computer program, said method comprising:
-
storing a section of the computer program; ascertaining a control flow description for the section of the computer program, to describe a flow of control information in the section of the computer program; ascertaining a data flow description for the section of the computer program, to describe a flow of data in the section of the computer program; combining the control and data flow descriptions into a joint flow description for the section of the computer program; selecting program elements from the section of the computer program; storing a fault description for each reference element to describe possible faults in the reference element; matching each selected program element with a corresponding reference element to obtain a fault description associated with the corresponding reference element and thereby describe possible faults in the selected program element; ascertaining the overall fault description as an overall fault tree using the fault descriptions of the program elements from the computer program, with a structure of the overall fault description taking into account a structure of the joint flow description; and altering the overall fault tree in terms of Prescribable boundary conditions. - View Dependent Claims (14)
-
Specification