Definition
An event strip is a compact row of cells, one cell for each kind of event in a stated list, in which each cell shows either a measured value or a mark that says why there is none. A measured event has a valid measurement. An unobserved event is one that the tested system can handle but that never happened during the experiment. An unsupported event is one that the tested system cannot handle, for example because the code for it is not part of that system.
Where it fits
Main entry: Coverage metric (§10.18).
The coverage metric entry treats coverage as a fraction: the number of items that were exercised, meaning run or triggered at least once, divided by the number of items that could have been. The meaning of the fraction lies in its denominator, the number below the fraction line. An event strip draws the denominator. Every event on the list gets a cell, so the reader can see what was left out and why.
The cells sort the events into nested groups. Suppose the list has 20 kinds of event.
12 of the 20 are supported by the tested system. The other are unsupported.
8 of the 12 happened at least once during the experiment. The other are unobserved.
6 of the 8 produced a timing that the experiment accepts as valid. The other were observed but have no valid timing.
The same 6 measured events give four percentages: of the listed events, of the supported events, of the observed events and of the measured events. The last one is always 100%, so it carries no information. All data in this entry’s examples are invented.
Limits and common mistakes
An empty cell is not a zero. Without a measurement the duration is unknown, and filling the cell with 0 turns missing knowledge into a false result.
Unsupported, unobserved and invalid are three different reasons for an empty cell and need three different marks.
A measured cell covers only the code that the experiment ran for that event. With other inputs or other settings the same event can run different code, which stays unmeasured.
Cells can rest on very different numbers of occurrences, so a strip should state the count behind each cell.
Coverage shows what was exercised, not that the exercised code is correct.
Questions answered
What denominator supports a claim about all events?
A claim about all events needs the full stated list of events as its denominator: every kind of event that the word “all” in the claim covers, whether or not it was supported, triggered or timed. The denominator is the count that the number of measured events is divided by. The evidence backs the claim only when each event on that list is one that the tested system supports, happened during the experiment and produced a valid measurement. If 20 kinds of event are listed and 6 have valid timings, the evidence covers of them. A sentence such as “every event is handled in under 1 millisecond” is then shown for 6 events and unknown for the other .
A smaller denominator is legitimate only when the claim is narrowed to match it. If the tested system supports 12 of the 20 events, a claim about the events that this system supports has the denominator 12, and the 6 measured events cover of it. State the denominator in words next to every percentage.
Related entries: Coverage versus correctness (§10.40), Missing data and attrition (§11.29), Evidence eligibility (§13.14), Instrumentation coverage (§14.35).