Your friendly Dart/Flutter project health scout. It walks your codebase and tells you what’s stale, messy, or risky—either as a colorful terminal report or as JSON you can feed into CI.
- Dependencies: outdated or deprecated packages via pub.dev
- Imports: unused imports by scanning your Dart files
- Format: verifies
dart format, optional--fixto auto-format - Stats: files, total/blank/comment lines
- Security (lightweight): flags versions from a small vulnerable list
- JSON mode: everything above in machine-readable form
dart pub global activate --source path . # from the repo root
dart_scout analyze # terminal report
dart_scout analyze --json > report.json # JSON saved to fileNo config needed. It skips common build/cache dirs: .dart_tool, build, .pub-cache, .git, node_modules.
analyze(default): run the full suitedeps: dependency freshness/deprecation onlyimports: unused imports onlystats: code stats onlysecurity: vulnerable versions only
--path, -p— project path (default:.)--json— emit JSON instead of terminal output--fix— rundart formatautomatically--no-color— disable ANSI colors--verbose, -v— more detail
You get a fast, no-setup health snapshot for any Dart/Flutter repo. Great for PR gates, quick audits, or local hygiene checks before you push.