Find cyclomatic complexity

Proprietary

Calculates the cyclomatic complexity of methods and produces a data table containing the class name, method name, argument types, complexity value, and complexity threshold.

org.openrewrite.analysis.java.controlflow.search.FindCyclomaticComplexity

Optional

addMarkerBoolean

Add a marker with the cyclomatic complexity value and threshold.

mod run . --recipe=org.openrewrite.analysis.java.controlflow.search.FindCyclomaticComplexity

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.