dedupe 0.1.0 copy "dedupe: ^0.1.0" to clipboard
dedupe: ^0.1.0 copied to clipboard

High-performance code duplication and clone detection engine and CLI tool for Dart and Flutter.

0.1.0 #

  • 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).
0
likes
160
points
105
downloads

Documentation

API reference

Publisher

verified publisherkevmoo.com

Weekly Downloads

High-performance code duplication and clone detection engine and CLI tool for Dart and Flutter.

Repository (GitHub)
View/report issues

Topics

#static-analysis #code-quality #linter #cli

License

MIT (license)

Dependencies

analytica, analyzer, args, io, path

More

Packages that depend on dedupe