Structs§
- Decision
Counter 🔒 - Counts the decision points of a function body. For a structured program the cyclomatic
complexity
E - N + 2Pof the control-flow graph equals one plus the number of decision points, so no graph needs building.
Constants§
- MAX_
COMPLEXITY 🔒 - The threshold Slither’s detector of the same name uses: a function reports when its complexity is strictly above this value.