Limit cyclomatic complexity to 10 (warning), and 15 (critical defect). Setup a linter to show this early on.