Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedetect_unused_code

Fast, zero-dependency Dart and Flutter dead code, assets, and packages remediation engine.

pub.devRemove
undead

Reachability and dead/unused declaration analysis for Dart and Flutter packages.

pub.devRemove
ScoresHealth6572 (best)
Maintenance93 (best)85
Quality94 (best)81
Popularity2540 (best)
Community663 (best)
Compatibility8585
UsageDownloads (30 days)1.8k5.6k (best)
Likes1119 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars281 (best)
MaintenanceLatest release3.7.0, 13 days ago (best)0.1.2, 6 weeks ago
Major versions in 12 months20 (best)
Contributors15 (best)
PublisherUnverifiedkevmoo.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)6
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Zero external dependencies and fast AST-based analysis.
  • Interactive terminal dashboard (TUI) with dry-run previews and instant rollback.
  • Covers 13 code quality points including commented files, dead classes, assets, and dependencies.
  • Supports dual analysis modes (open-world library and closed-app)
  • Framework adapters for Flutter, build_runner, and package test
  • Co-invoked test hazard protection to avoid false-positive test deletions
  • Granular suppressions via code directives
Weaknesses
  • Can require careful configuration via pubspec.yaml exclusions for generated files or dynamic assets to avoid false positives.
  • May require configuration for complex dynamic dependency injection or reflection-heavy code patterns
WarningsNoneNone
detect_unused_code vs undead: which Flutter package should you use? | pubscout