What it does
Does a reader that finds a file by name leave the left edge of its <prefix><name>.<ext> pattern unguarded, with no lookbehind, word boundary, line start or path separator, in a tree where a longer name carries the same prefix and name, so its first match...
How it helps you
File searches find the file they name, not a similar neighbor.
Tested against itself
16 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 | Test quality |
| Checks in this category | 216 |
| ISO/IEC 25010 | Maintainability: modifiability |
| Breaks caught | 16 |