What it does
A line-by-line character classifier carries its block-comment state across lines but resets its quote state at the start of every line, so the second and later lines of a string that spans lines are read as code.
How it helps you
Scanners track multi-line text correctly.
Tested against itself
3 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Test quality |
|---|---|
| Also filed under | Code quality |
| Checks in this category | 264 |
| ISO/IEC 25010 | Maintainability: testability |
| Breaks caught | 3 |