Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecognitive_complexity

Algorithmic Cognitive Complexity calculation and Data-Flow analysis library and CLI tools.

pub.devRemove
lints

Official Dart team lint rules for core and recommended static analysis settings.

pub.devRemove
ScoresHealth7486 (best)
Maintenance86 (best)66
Quality94100 (best)
Popularity3794 (best)
Community6380 (best)
Compatibility85100 (best)
UsageDownloads (30 days)14k14M (best)
Likes7269 (best)
Pub points160 / 160160 / 160
GitHub stars82 (best)77
MaintenanceLatest release2.0.1, 6 weeks ago (best)6.1.0, 10 months ago
Major versions in 12 months20 (best)
Contributors5100+ (best)
Publisherkevmoo.comdart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies70 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Deterministic complexity engine without external LLM calls or token latency.
  • Includes data-flow analysis, acyclic file decomposition, and git diff analysis.
  • Provides ready-to-use GitHub Action integration.
  • Official rules maintained directly by the Dart team.
  • Enabled by default in new projects created via 'dart create'.
  • Helps improve pub.dev scoring based on passing core lints.
Weaknesses
  • Requires a minimum Dart SDK version of 3.12.0.
  • Limited to core and recommended sets without a strict rule set option from the authors.
  • Requires manual configuration in an analysis_options.yaml file for existing projects.
WarningsNoneNone
cognitive_complexity vs lints: which Flutter package should you use? | pubscout