Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeciach

Dead code detector for Dart and Flutter that finds and removes unused declarations.

pub.devRemove
dart_code_linter

A software analytics and static analysis tool for checking code metrics, lint rules, and unused code.

pub.devRemove
ScoresHealth8088 (best)
Maintenance9496 (best)
Quality100 (best)97
Popularity4577 (best)
Community6980 (best)
Compatibility8585
UsageDownloads (30 days)2.9k158k (best)
Likes3777 (best)
Pub points160 / 160160 / 160
GitHub stars2387 (best)
MaintenanceLatest release0.7.2, 11 days ago (best)4.4.5, 12 days ago
Major versions in 12 months0 (best)1
Contributors654 (best)
Publisherleancode.cobancolombia.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies12 (best)19
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Supports automatic removal of found dead code with interactive prompts or force options
  • Understands framework entry points, generated files, and avoids many false positives
  • Integrates into multiple CI formats like GitHub Actions, Azure, and SARIF
  • Comprehensive collection of custom rules and metrics with auto-fix support.
  • CLI commands for deep analysis including unused code and localization checks.
Weaknesses
  • Static heuristic-based analysis can still yield false positives requiring manual code review
  • May struggle to detect references used only through dynamic code or complex reflection
  • Requires careful compatibility management with specific Dart SDK and analyzer package versions.
  • Public members analysis for unused code can produce false positives.
WarningsNoneNone
ciach vs dart_code_linter: which Flutter package should you use? | pubscout