Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_code_linter

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

pub.devRemove
dead_code_analyzer

A command-line tool to identify and clean up dead or unused code in Dart and Flutter projects.

pub.devRemove
ScoresHealth88 (best)41
Maintenance96 (best)15
Quality97 (best)91
Popularity77 (best)22
Community80 (best)6
Compatibility8585
UsageDownloads (30 days)154k (best)878
Likes77 (best)14
Pub points160 / 160 (best)140 / 160
GitHub stars87 (best)3
MaintenanceLatest release4.4.5, 11 days ago (best)1.1.7, a year ago
Major versions in 12 months10 (best)
Contributors54 (best)1
Publisherbancolombia.comUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies194 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Comprehensive collection of custom rules and metrics with auto-fix support.
  • CLI commands for deep analysis including unused code and localization checks.
  • Supports multiple report formats including TXT, HTML, and Markdown.
  • Provides automated cleanup for files containing only dead or commented-out code.
  • Integrates easily into CI/CD pipelines via GitHub Actions or GitLab CI.
Weaknesses
  • Requires careful compatibility management with specific Dart SDK and analyzer package versions.
  • Public members analysis for unused code can produce false positives.
  • Current version uses a regex-based analysis which may misreport references for classes with constructors.
  • May produce false positives with string references, dynamic invocations, or JSON serialization.
WarningsNoneNone
dart_code_linter vs dead_code_analyzer: which Flutter package should you use? | pubscout