def message

bend-lint-pack@0.1.1.0 · complexity/cyclomatic.bend:74

import bend-lint-pack@0.1.1.0/complexity/cyclomatic.bend as Cyclomatic
import Base

74def message(+name: String, score: U32, max: U32) -> String:
75  "def " ++ name ++ " has cyclomatic complexity " ++ U32.show(score) ++ "; the limit is " ++ U32.show(max) ++ ". Split it into smaller defs."

Uses (4)

Used by (1)