quality/duplication-gate/any
Duplicated code is measured
The stack-neutral implementation of quality/duplication-gate: it checks stacks without an implementation of their own and repositories where no stack is detected, and its satisfiers count for every stack.
| Severity | info |
| Tiers | 1 |
| Stacks | any |
| Scope | root |
| Kind | outcome |
| Source | library v0.8.0 |
| Selected by | fleetlint-recommended@v0.8.0 |
Requirement
jscpd, Simian or duplo runs in the task runner, the hooks or CI, or Sonar is configured (sonar-project.properties).
Why
Near-duplicate implementations are how a fix lands in one copy and not the other; a detector makes the second copy visible at review time.
Fix
This implementation has no fix of its own: see quality/duplication-gate.
A finding that names no file points at the task runner’s file, or Makefile when there is none.
Sources
- https://fleetlint.org/baseline/#design (convention)
- https://github.com/kucherenko/jscpd (spec)
Generated by fleetlint docs from catalog v0.8.0.