|
95 | 95 | //!
|
96 | 96 | //! Depending on the values and combinations, counters can be labeled by:
|
97 | 97 | //!
|
98 |
| -//! * `id` - counter or expression ID (ascending counter IDs, starting at 1, or descending |
99 |
| -//! expression IDs, starting at `u32:MAX`) |
100 |
| -//! * `block` - the `BasicCoverageBlock` label (for example, `bcb0`) or edge label (for |
101 |
| -//! example `bcb0->bcb1`), for counters or expressions assigned to count a |
102 |
| -//! `BasicCoverageBlock` or edge. Intermediate expressions (not directly associated with |
103 |
| -//! a BCB or edge) will be labeled by their expression ID, unless `operation` is also |
104 |
| -//! specified. |
105 |
| -//! * `operation` - applied to expressions only, labels include the left-hand-side counter |
106 |
| -//! or expression label (lhs operand), the operator (`+` or `-`), and the right-hand-side |
107 |
| -//! counter or expression (rhs operand). Expression operand labels are generated |
108 |
| -//! recursively, generating labels with nested operations, enclosed in parentheses |
109 |
| -//! (for example: `bcb2 + (bcb0 - bcb1)`). |
| 98 | +//! * `id` - counter or expression ID (ascending counter IDs, starting at 1, or descending |
| 99 | +//! expression IDs, starting at `u32:MAX`) |
| 100 | +//! * `block` - the `BasicCoverageBlock` label (for example, `bcb0`) or edge label (for |
| 101 | +//! example `bcb0->bcb1`), for counters or expressions assigned to count a |
| 102 | +//! `BasicCoverageBlock` or edge. Intermediate expressions (not directly associated with |
| 103 | +//! a BCB or edge) will be labeled by their expression ID, unless `operation` is also |
| 104 | +//! specified. |
| 105 | +//! * `operation` - applied to expressions only, labels include the left-hand-side counter |
| 106 | +//! or expression label (lhs operand), the operator (`+` or `-`), and the right-hand-side |
| 107 | +//! counter or expression (rhs operand). Expression operand labels are generated |
| 108 | +//! recursively, generating labels with nested operations, enclosed in parentheses |
| 109 | +//! (for example: `bcb2 + (bcb0 - bcb1)`). |
110 | 110 |
|
111 | 111 | use super::graph::{BasicCoverageBlock, BasicCoverageBlockData, CoverageGraph};
|
112 | 112 | use super::spans::CoverageSpan;
|
|
0 commit comments