5 Software-metrics collection


A. Törn - Contents - - Previous chapter - Next chapter - - Previous page - Next page

5.2 How to define the data, problems, cont.

Whenever a problem is observed, we want to record its key elements, so that we can then investigate causes and cures. In particular, we want to know the following:

5.2 How to define the data, failures

A failure report addresses each of the eight attributes as listed above:

Failure report


Location: such as installation where failure was observed
Timing: CPU time, clock time etc.
Symptom: type of error message or other indication
End result: description of failure, like "wrong output"
Mechanism: chain of events leading to failure
Cause: reference to possible fault(s) leading to failure
Severity: reference to a well defined scale, "critical",...
Cost: cost to fix plus cost of lost potential business

In the book there is listed sets of values for each of these attributes:
for "end result": operating system crash, application program aborted, service degraded, loss of data, wrong output, and no output,
for "severity": catastrophic, critical, significant, and minor.

For an example, see Example 5.4.