Expand description
Shared duplication JSON payload contracts for programmatic consumers.
Structs§
- Attributed
Clone Group - A clone group annotated with largest-owner attribution and per-instance owner keys.
- Attributed
Clone Group Finding - Wire-shape envelope for an
AttributedCloneGroupfinding (per-bucket duplication attribution emitted underfallow dupes --group-by). Flattens the attributed group and carries the same typedCloneGroupActionarray asCloneGroupFinding; nointroducedfield becausefallow auditdoes not run on grouped output. - Attributed
Instance - A clone instance plus its per-instance owner key (for inline JSON / SARIF rendering).
- Clone
Family Finding - Wire-shape envelope for a
CloneFamilyfinding. - Clone
Group Finding - Wire-shape envelope for a
CloneGroupfinding. Flattens the bare group via#[serde(flatten)]and carries a typedactionsarray plus the optional audit-modeintroducedflag. Replaces the legacy post-pass injection incrates/cli/src/report/json.rs::inject_dupes_actions. - Dupes
Report Payload - Wire-shape payload for
fallow dupes --format json(the body that flattens into theDupesOutputenvelope and is also emitted under thedupes/duplicationkey inside the combined and audit envelopes). - Duplication
Group - A single grouped duplication bucket. Per-group
statsare dedup-aware and computed over the FULL group BEFORE any--toptruncation. - Duplication
Grouping - Wrapper carrying the resolver mode label and grouped buckets.
Functions§
- build_
duplication_ codeclimate - Build CodeClimate issues from duplication analysis results.