Dart package analyzer that scores a package's health and quality
open sourceBSD-3-Clausefree
pana (PAckage aNAlyzer) produces the report and points pub.dev shows for every Dart package: whether it follows Dart's file conventions, documents its API, supports several platforms, passes static analysis and keeps its dependencies up to date. It runs tools from the Dart SDK, or the Flutter SDK for Flutter packages, including dartdoc for documentation coverage. Run it as a command on a local directory or a package hosted on pub.dev, with JSON output and an exit code threshold for CI, or use it as a library. Install it with dart pub global activate pana.
Problems it solves
- see the pub points my Dart package will get before I publish it
- fail CI when my Dart package's quality score drops
- check a Flutter package's platform support and documentation coverage locally
Features
- pub.dev package score report
- checks conventions, documentation, platform support, static analysis and dependencies
- analyzes a local directory or a hosted package
- JSON output
- exit code threshold for CI
- dartdoc documentation coverage
