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
dart_code_metrics_presets

Predefined configuration presets of lint rules and metrics for DCM.

pub.devRemove
ScoresHealth88 (best)76
Maintenance96 (best)81
Quality97 (best)81
Popularity77 (best)72
Community80 (best)41
Compatibility85100 (best)
UsageDownloads (30 days)158k (best)129k
Likes77 (best)39
Pub points160 / 160 (best)150 / 160
GitHub stars87 (best)10
MaintenanceLatest release4.4.5, 12 days ago (best)2.34.0, 5 weeks ago
Major versions in 12 months10 (best)
Contributors54 (best)1
Publisherbancolombia.comdcm.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies190 (best)
LicenseMITMIT
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.
  • Saves configuration time by providing ready-made rule presets.
  • Includes presets tailored for many popular third-party packages.
  • Allows easy overriding or disabling of individual rules.
Weaknesses
  • Requires careful compatibility management with specific Dart SDK and analyzer package versions.
  • Public members analysis for unused code can produce false positives.
  • Strictly depends on DCM being used in your workflow.
  • Preset rules and thresholds may require fine-tuning for specific project needs.
WarningsNone
  • Single maintainer
dart_code_linter vs dart_code_metrics_presets: which Flutter package should you use? | pubscout