{"id":20664033,"url":"https://github.com/flutterando/full_coverage","last_synced_at":"2025-04-19T16:12:51.607Z","repository":{"id":56830879,"uuid":"466892270","full_name":"Flutterando/full_coverage","owner":"Flutterando","description":"A package script for allowing coverage test tool to see all Dart files","archived":false,"fork":false,"pushed_at":"2023-07-01T00:31:50.000Z","size":10,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-29T09:51:17.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Flutterando.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":"2022-03-07T00:28:57.000Z","updated_at":"2024-05-18T10:29:39.000Z","dependencies_parsed_at":"2024-11-16T21:17:41.120Z","dependency_job_id":null,"html_url":"https://github.com/Flutterando/full_coverage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Ffull_coverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Ffull_coverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Ffull_coverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flutterando%2Ffull_coverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flutterando","download_url":"https://codeload.github.com/Flutterando/full_coverage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249734714,"owners_count":21317879,"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-16T19:21:46.841Z","updated_at":"2025-04-19T16:12:51.570Z","avatar_url":"https://github.com/Flutterando.png","language":"Dart","readme":"# full_coverage\n\nCoverage tools like codecov only see the files that were actually triggered by tests. This means that a coverage of 100% can easily be a lie, e.g. you can just write a dummy test that does not import any files and a coverage tool will ignore all the code base.\n\nLuckily, this package resolves this problem.\n\n## How it works\n\nThe **full_coverage** package harvests the power of Bash to find all files in specified directory, by default it is lib directory, where all Flutter files are. It then creates a dummy test file **test/full_coverage_test.dart** that imports all the Dart files that were found and has an empty ```void main() {}``` function so that it actually starts.\n\n## Install\n\nUse this command:\n```dart\ndart pub global activate full_coverage\n```\n\n## Execute\n\nUse the command:\n``` \ndart pub global run full_coverage\n```\n\nOr add the cache-system to your PATH environment variable for run directly.\n[Check documentation](https://dart.dev/tools/pub/cmd/pub-global#running-a-script-from-your-path) for more;\n\n```\nfull_coverage\n```\n## Other commands\n\n```\n-i, --ignore       Ignore files. ex (*_widget.dart,*_page.dart).\n-h, --[no-]help    usage doc.\n```\n\n\nFor more details [Telegram Group Flutterando](https://t.me/flutterando).\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterando%2Ffull_coverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutterando%2Ffull_coverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutterando%2Ffull_coverage/lists"}