Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeanalyzer

Performs static analysis of Dart code for tool integration and embedding.

pub.devRemove
ciach

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

pub.devRemove
ScoresHealth87 (best)80
Maintenance95 (best)94
Quality72100 (best)
Popularity97 (best)45
Community80 (best)69
Compatibility8585
UsageDownloads (30 days)24M (best)2.9k
Likes328 (best)37
Pub points130 / 160160 / 160 (best)
GitHub stars11k (best)23
MaintenanceLatest release14.7.0, 3 weeks ago0.7.2, 11 days ago (best)
Major versions in 12 months50 (best)
Contributors100+ (best)6
Publishertools.dart.devleancode.co
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1212
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Powers major Dart tooling like dart format and dart doc
  • Supports fine-grained analysis options and custom lint rules
  • 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
Weaknesses
  • APIs were originally machine generated from a Java implementation and may not feel like clean Dart APIs
  • No clean distinction currently between public and internal APIs, leading to potential breaking changes
  • 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
WarningsNoneNone
analyzer vs ciach: which Flutter package should you use? | pubscout