pana 0.22.17 copy "pana: ^0.22.17" to clipboard
pana: ^0.22.17 copied to clipboard

PAckage aNAlyzer - produce a report summarizing the health and quality of a Dart package.

Build Status

A library for analyzing Dart packages. It invokes executables from the Dart SDK (or from the Flutter SDK if the package uses Flutter).

Reports are created in the following categories:

Used by the Dart Package site.

Use as an executable #

Installation #

dart pub global activate pana

Usage #

You can specify either a package (+ version) or a local directory to analyze:

Usage: pana [<options>] --hosted <published package name> [<version>]
       pana [<options>] <local directory>

Options:
      --dart-sdk               The directory of the Dart SDK.
      --flutter-sdk            The directory of the Flutter SDK.
      --exit-code-threshold    The exit code will indicate if (max - granted points) > threshold.
  -j, --json                   Output log records and full report as JSON.
      --hosted-url             The server that hosts <package>.
                               (defaults to "https://pub.dev")
  -l, --line-length            The line length to use with dart format.
      --hosted                 Download and analyze a hosted package (from https://pub.dev).
      --[no-]dartdoc           Run dartdoc and score the package on documentation coverage.
                               (defaults to on)
      --dartdoc-version        The dartdoc version to use: `sdk`, `latest` (default) or `<version constraint>`.
123
likes
120
points
79.9k
downloads

Publisher

verified publishertools.dart.dev

Weekly Downloads

PAckage aNAlyzer - produce a report summarizing the health and quality of a Dart package.

Repository (GitHub)
View/report issues
Contributing

Topics

#tool #analysis

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, async, cli_util, collection, crypto, html, http, io, json_annotation, lints, logging, markdown, meta, path, pub_semver, pubspec_parse, retry, safe_url_check, source_span, string_scanner, tar, test, yaml

More

Packages that depend on pana