review/complexity

Free catalog · v0.0.10

Reviews code changes for implementation complexity that appears disproportionate to the behavior being added.

Checks

RuleSeverityScans for
complexity.abstraction.prematureReviewNew interfaces, factories, or generics with little demonstrated variation
complexity.ai-overengineeringReviewSynthesized architecture, indirection, and complexity signals
complexity.branch-without-testsReviewMaterial decision growth without changed tests
complexity.cognitive.increaseReviewMaterial cognitive-complexity growth from SonarJS
complexity.configuration-explosionReviewRapid growth in configuration fields consumed by a function
complexity.cyclomatic.increaseReviewMaterial cyclomatic growth from an established analyzer
complexity.error-pathsReviewExpanding throws, catches, cleanup, and error branches
complexity.hidden-stateReviewGrowth in mutable module, instance, global, or cache state
complexity.indirectionReviewLong forwarding-only call chains
complexity.large-function-growthReviewDisproportionate relative and absolute function growth
complexity.magic-conditionsReviewRapidly expanding boolean expressions
complexity.nesting.depthReviewIncreased control-flow nesting
complexity.nesting.flattenedReviewFlattened nesting / early-return refactors
complexity.parameter-growthReviewExpanding parameter lists
complexity.recursion-riskReviewMultiple or expanding recursive paths
complexity.reducedReviewMaterial reduction in both cyclomatic and cognitive complexity
complexity.responsibility-expansionReviewParsing, validation, orchestration, persistence, and formatting accumulating together
complexity.wrapper.trivialReviewNew one-use JSX layout wrappers with no behavior or semantics

More from the registry