Modules§
Structs§
- Clone
Family - A clone family: a set of clone groups that share the same file set.
- Clone
Fingerprint Set - Report-scoped clone fingerprint assignment.
- Clone
Group - A group of code clones – the same (or normalized-equivalent) code appearing in multiple places.
- Clone
Instance - A single instance of duplicated code at a specific location.
- Default
Ignore Skips - Human-format-only skipped-file stats for built-in duplicates ignores.
- Duplication
Report - Overall duplication analysis report.
- Duplication
Stats - Aggregate duplication statistics.
- Mirrored
Directory - A detected mirrored directory pattern: two directory prefixes that contain
identical files (e.g.,
src/anddeno/lib/). - Refactoring
Suggestion - A refactoring suggestion for a clone family.
Enums§
- Refactoring
Kind - The kind of refactoring suggested for a clone family.
Constants§
- FINGERPRINT_
PREFIX - Prefix marking a clone-group fingerprint addressable via
--trace.
Functions§
- clone_
fingerprint - Compute the legacy short content fingerprint for a clone group from its instances.
- dominant_
identifier - Best-effort name for the extracted function, derived from the most frequent non-generic identifier in the representative fragment.
- find_
duplicates - Run duplication detection on the given files.
- find_
duplicates_ cached - Run duplication detection with the persistent token cache enabled.
- find_
duplicates_ cached_ with_ default_ ignore_ skips - Run cached duplication detection and return human-format sidecar metadata for files skipped by built-in duplicates ignores.
- find_
duplicates_ in_ project - Run duplication detection on a project directory using auto-discovered files.
- find_
duplicates_ touching_ files - Run duplication detection and only return clone groups touching
focus_files. - find_
duplicates_ touching_ files_ cached - Run focused duplication detection with the persistent token cache enabled.
- find_
duplicates_ touching_ files_ cached_ with_ default_ ignore_ skips - Run cached focused duplication detection and return human-format sidecar metadata for files skipped by built-in duplicates ignores.
- find_
duplicates_ touching_ files_ with_ default_ ignore_ skips - Run focused duplication detection and return human-format sidecar metadata for files skipped by built-in duplicates ignores.
- find_
duplicates_ with_ default_ ignore_ skips - Run duplication detection and return human-format sidecar metadata for files skipped by built-in duplicates ignores.
- fingerprint_
for_ fragment - Compute the fingerprint directly from a representative source fragment.