What it does
One function reads a value it recorded earlier for a fact the same call family also computes fresh, nearby, so the two can silently disagree and the code acts on whichever it happens to read.
How it helps you
Your code uses one current value for a fact, so two versions can't disagree.
Tested against itself
12 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Code quality |
|---|---|
| Also filed under | Measurement provenance |
| Checks in this category | 216 |
| ISO/IEC 25010 | Maintainability: modifiability |
| Breaks caught | 12 |