Coverage and concrete signals
For duplicate code, inspect the concrete scope below instead of relying on a category label. Compare the repeated locations, the shared behavior, and the smallest extraction that preserves validation or business rules.
- Focus: Detect copied validation or business logic that increases review and repair cost.
- Workflow: Rule ID: RADAR-HEALTH-DUPLICATE
- Coverage and concrete signals: RADAR-HEALTH-DUPLICATE, unsafe pattern, safer pattern, Code health
FocusExact file location, rule context, severity, confidence, and remediation guidance.Boundary
Detect copied validation or business logic that increases review and repair cost.Compare the repeated locations, the shared behavior, and the smallest extraction that preserves validation or business rules.Generated code, fixtures, and deliberately separate adapters can be intentional duplicates; document that context before suppressing and refactor only when behavior is shared.