Cyclomatic complexity: When to refactor your code?
medium.com