{"id":15008279,"url":"https://github.com/dart-lang/pana","last_synced_at":"2025-04-08T10:28:12.653Z","repository":{"id":37759306,"uuid":"43093613","full_name":"dart-lang/pana","owner":"dart-lang","description":"Package ANAlysis for Dart","archived":false,"fork":false,"pushed_at":"2025-03-25T22:06:38.000Z","size":6286,"stargazers_count":209,"open_issues_count":18,"forks_count":43,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-04-01T09:23:00.794Z","etag":null,"topics":["analysis","dart","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/pana","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dart-lang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-24T21:18:44.000Z","updated_at":"2025-03-25T22:06:42.000Z","dependencies_parsed_at":"2023-10-01T11:43:23.256Z","dependency_job_id":"db005e8d-88a2-46c1-a311-ebe420ab17cd","html_url":"https://github.com/dart-lang/pana","commit_stats":null,"previous_names":[],"tags_count":142,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-lang%2Fpana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-lang%2Fpana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-lang%2Fpana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-lang%2Fpana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dart-lang","download_url":"https://codeload.github.com/dart-lang/pana/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247822890,"owners_count":21001956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","dart","flutter"],"created_at":"2024-09-24T19:15:54.715Z","updated_at":"2025-04-08T10:28:12.612Z","avatar_url":"https://github.com/dart-lang.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/dart-lang/pana/workflows/Dart%20CI/badge.svg)](https://github.com/dart-lang/pana/actions?query=workflow%3A\"Dart+CI\"+branch%3Amaster)\n\nA library for analyzing Dart packages. It invokes executables from the Dart SDK\n(or from the Flutter SDK if the package uses Flutter).\n\nReports are created in the following categories:\n\n* [Follow Dart conventions](https://pub.dev/help/scoring#follow-dart-file-conventions)\n* [Provide documentation](https://pub.dev/help/scoring#provide-documentation)\n* [Support multiple platforms](https://pub.dev/help/scoring#platform-support)\n* [Pass static analysis](https://pub.dev/help/scoring#pass-static-analysis)\n* [Support up-to-date dependencies](https://pub.dev/help/scoring#support-up-to-date-dependencies)\n\nUsed by the [Dart Package site](https://pub.dev/).\n\n## Use as an executable\n\n### Installation\n\n```console\ndart pub global activate pana\n```\n\n### Usage\n\nYou can specify either a package (+ version) or a local directory to analyze:\n\n```\nUsage: pana [\u003coptions\u003e] --hosted \u003cpublished package name\u003e [\u003cversion\u003e]\n       pana [\u003coptions\u003e] \u003clocal directory\u003e\n\nOptions:\n      --dart-sdk               The directory of the Dart SDK.\n      --flutter-sdk            The directory of the Flutter SDK.\n      --exit-code-threshold    The exit code will indicate if (max - granted points) \u003e threshold.\n  -j, --json                   Output log records and full report as JSON.\n      --hosted-url             The server that hosts \u003cpackage\u003e.\n                               (defaults to \"https://pub.dev\")\n  -l, --line-length            The line length to use with dart format.\n      --hosted                 Download and analyze a hosted package (from https://pub.dev).\n      --[no-]dartdoc           Run dartdoc and score the package on documentation coverage.\n                               (defaults to on)\n      --dartdoc-version        The dartdoc version to use: `sdk`, `latest` (default) or `\u003cversion constraint\u003e`.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdart-lang%2Fpana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdart-lang%2Fpana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdart-lang%2Fpana/lists"}