Expand description
Duplication result types exposed through the engine boundary.
Structs§
- Carried
Counters - Counters that a statistics computation copies and does not derive from the clone groups.
- Clone
Coverage - Accumulates the clone groups of one scope into duplication statistics.
- Clone
Fingerprint Key - Canonical identity for a clone group when assigning report-scoped handles.
- Clone
Fingerprint Set - Report-scoped clone fingerprint assignment.
- Corpus
Totals - Size of the corpus that a duplication run measured.
- Duplication
Scope - The scope of one duplication run, as the surface resolved it.
Constants§
- DUPES_
DEFAULT_ IGNORES - Built-in duplicates ignores for generated framework, tool, and test output.
- FINGERPRINT_
PREFIX - Prefix marking a clone-group fingerprint addressable via
--trace.
Functions§
- apply_
scope - Narrow a duplication report to the scope of the run.
- apply_
top - Keep only the
nhighest-ranked clone groups (--top). - clone_
fingerprint - Compute a mode-independent normalized short content fingerprint for a clone group from all distinct instance token sequences.
- dominant_
identifier - Best-effort name for the extracted function, derived from the most frequent non-generic identifier in the representative fragment.
- filter_
to_ workspaces - Keep only the clone groups with at least one instance in the workspace scope.
- find_
duplicates - Run duplication detection on a discovered file set.
- find_
duplicates_ touching_ files_ with_ defaults - Run focused duplication detection and include metadata about built-in ignored files.
- find_
duplicates_ with_ defaults - Run duplication detection and include metadata about built-in ignored files.
- refresh_
clone_ families - Refresh clone-family and mirrored-directory fields after clone groups change.
- source_
token_ kinds_ equivalent - Compare JS/TS sources for audit-safe reuse of the current analysis at base.
Type Aliases§
- Clone
Group - Engine alias for
fallow_types::duplicates::CloneGroup. - Clone
Group Kind - Engine alias for
fallow_types::duplicates::CloneGroupKind. - Clone
Instance - Engine alias for
fallow_types::duplicates::CloneInstance. - Default
Ignore Skips - Engine alias for
fallow_types::duplicates::DefaultIgnoreSkips. - Duplication
Report - Engine alias for
fallow_types::duplicates::DuplicationReport. - Duplication
Stats - Engine alias for
fallow_types::duplicates::DuplicationStats. - Refactoring
Suggestion - Engine alias for
fallow_types::duplicates::RefactoringSuggestion.