What is risk?


The risk metric helps identify the programs that have the highest risk of failure if not thoroughly tested. The risk metric does not indicate how well the code has been tested because there is no way to know whether the proper input data was used. Therefore, the risk metric is never zero.

The risk factors used in Code Coverage/Eclipse are described in the following table. The factors are listed in decreasing order of importance.

If the number in the Risk column is . . .

These risk factors exist in the program:

Explanation:

800 or more

Unexecuted critical verbs

Indicates that at least one unexecuted critical statement is present.

400 - 599

Executed critical verbs

Indicates that critical statements are present, all of which were executed

1 - 199

Unexecuted code

Program complexity

Indicates that no critical statements are present.

The ranges listed in the table above can be used to identify which of the risk factors are present in each program. A count above 800 indicates that at least one unexecuted critical line is present. How high the count is above 800 depends on what other risk factors are present. When determining which programs have the highest risk, understand that a program with a higher count than another is not necessarily riskier when both are in the same range (for example, if one program has a count of 801 and another has a count of 856).

The unexecuted code is the higher of: (1) the percentage of verbs unexecuted or (2) the percentage of branches unexecuted.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*