Expand description
Inline health threshold override comments. Inline health threshold override comments.
A fallow-override-threshold-next-line comment raises or lowers the health
ceilings of the function on the next line:
// fallow-override-threshold-next-line maxCognitive=40 maxCrap=45 -- legacy parserThe keys are the keys of a health.thresholdOverrides entry. The reason
after -- is required.
Structs§
- Inline
Threshold Override - One inline threshold override comment that parsed without a problem.
- Inline
Threshold Overrides - The inline threshold override comments of one file.
- Inline
Threshold Problem - One inline threshold override comment with a problem.
Enums§
- Inline
Threshold Problem Kind - What is wrong with one inline threshold override comment. A comment with a problem has no effect.
Constants§
- INLINE_
THRESHOLD_ KEYS - The threshold keys that an inline threshold override comment accepts.
- INLINE_
THRESHOLD_ MARKER - The comment word of an inline threshold override.
Functions§
- parse_
inline_ threshold_ override - Parse the text after the marker word of one inline threshold override
comment.
targetsis the text before--, andreasonis the text after it.