{"id":20414504,"url":"https://github.com/codecov/dart","last_synced_at":"2025-04-12T16:46:13.382Z","repository":{"id":32774166,"uuid":"36365816","full_name":"codecov/dart","owner":"codecov","description":"Codecov Dart coverage report uploader","archived":false,"fork":false,"pushed_at":"2024-01-22T20:35:00.000Z","size":88,"stargazers_count":31,"open_issues_count":0,"forks_count":26,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T15:10:23.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codecov.io","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecov.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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-05-27T12:37:41.000Z","updated_at":"2025-03-02T00:32:01.000Z","dependencies_parsed_at":"2024-11-15T06:10:47.318Z","dependency_job_id":"dfee33b4-3169-44d4-b907-42e4888edd6e","html_url":"https://github.com/codecov/dart","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fdart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fdart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fdart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fdart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecov","download_url":"https://codeload.github.com/codecov/dart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248600770,"owners_count":21131544,"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":[],"created_at":"2024-11-15T06:10:41.646Z","updated_at":"2025-04-12T16:46:13.352Z","avatar_url":"https://github.com/codecov.png","language":"Dart","readme":"🚨🚨 Deprecation Notice 🚨🚨\n\nThis uploader is being deprecated by the Codecov team. We recommend migrating to our [new uploader](https://docs.codecov.com/docs/codecov-uploader) as soon as possible to prevent any lapses in coverage. [The new uploader is open source](https://github.com/codecov/uploader), and we highly encourage submitting Issues and Pull Requests.\n\nYou can visit our blog post to learn more about our [deprecation plan](https://about.codecov.io/blog/codecov-uploader-deprecation-plan/)\n\n**On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov.**\n\n\n# Dart Code Coverage Generator\n[![Build Status](https://travis-ci.org/codecov/dart.svg?branch=master)](https://travis-ci.org/codecov/dart) [![codecov.io](http://codecov.io/github/codecov/dart/coverage.svg?branch=master)](http://codecov.io/github/codecov/dart?branch=master)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fdart.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fdart?ref=badge_shield)\n\n\u003e Generate code coverage for Dart projects. Output can be [lcov](http://ltp.sourceforge.net/coverage/lcov.php) format or an HTML report.\n\nThis project includes a `codecov` executable that runs one or many test files and uses the `coverage` package to collect coverage for each file and format the coverage into the desired output format.\n\n\n## Prerequisites\nDepends on the following utilities:\n\n- genhtml (`brew install lcov` on a mac)\n- lsof (standard unix utility)\n\n\n## Installation\n\nAdd this to your package's pubspec.yaml file:\n```yaml\ndependencies:\n  coverage: \"^0.7.0\"\n  codecov: \"^0.4.0\"\n```\n\nInstall:\n```\npub get --packages-dir\n```\n\n\n## Usage\n```\npub run codecov\n```\n\n\n## Configuration\nBy default, this tool runs every test file in the `test/` directory. You can explicitly specify the directories or files like so:\n```\npub run codecov test/my_test.dart\n```\n\n### Options\n- `--report-on`: Which directories or files to report coverage on. For example, `--report-on=lib/`.\n\n### Flags\n- `--html`: Whether or not to generate the HTML report. Defaults to true.\n- `--lcov`: Whether or not to generate the .lcov file. Defaults to true.\n- `--verbose`: Toggle verbose output to stdout.\n\n## Notice\n\nThe tooling currently relies on the deprecated packages directories generated by pub. If the `.packages` file should be used instead, modify the call to `pub run coverage:format_coverage` in `bin/src/coverage.dart`, replacing `--package-root=packages` with `--packages=.packages`.\n\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fdart.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fdart?ref=badge_large)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fdart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecov%2Fdart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fdart/lists"}