refactor/doctor: split Run and suppressWalk into helpers #90
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/complexity-doctor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #71, the doctor slice. Run was at Sonar cognitive complexity 39 and suppressWalk at 30. Run now delegates to registryAbort, candidateChecks, recordSkip, recordResult and locateFinding, and suppressWalk to suppressWalkMapping, suppressWalkSequence and a shared suppressAppend. Finding ids, messages, ordering and the exhaustive yaml kind switch are unchanged, existing doctor and render golden tests pass untouched, coverage of every new helper is 80 percent or above. poolStripJSONC in the same package is handled by the cmd slice, which merges it with its identical twin in cmd. 🤖 Generated with Claude Code