Skip to content

Files

Latest commit

 

History

History
22 lines (13 loc) · 465 Bytes

cyclomatic.md

File metadata and controls

22 lines (13 loc) · 465 Bytes

Pattern: Cyclomatic complexity is too high

Issue: -

Description

Cyclomatic complexity is a measure of code complexity. Enforcing a maximum complexity per function helps to keep code readable and maintainable.

Configuration

(int) the maximum function complexity

Example:

[rule.cyclomatic]
  arguments =[3]

Further Reading