Skip to content

package:dedupe v0.1.0

Latest

Choose a tag to compare

@kevmoo kevmoo released this 23 Aug 21:54
· 9 commits to main since this release
5dace86
  • Initial release of pkg:dedupe:
    • Token-level and structural clone detection across Dart and Flutter codebases.
    • Polynomial rolling hash k-gram indexing and maximal clone extension.
    • Granular normalization filters (--ignore-comments, --ignore-literals, --ignore-identifiers).
    • Persistent content-hashed disk caching (--cache, --cache-dir, --clear-cache).
    • Exact line-union overlapping clone cluster deduplication and net lines saved analysis.
    • Linear adjacent chaining and MinHash token verification for large-scale clone clusters (>50 instances).
    • Git diff integration and PR delta scanning (--git-diff, --only-changed).
    • Multi-format report generation: Markdown, JSON, GitHub Actions annotations/summaries, and terminal text.
    • Per-file duplication metrics, cluster classification, and estimated lines saved analysis.
    • Value-semantic, immutable report models (CloneInstance, DuplicateCluster, DedupeReport) with full JSON serialization.
    • CLI binary entrypoint (bin/dedupe.dart).