{"id":19005300,"url":"https://github.com/f3ath/check-coverage","last_synced_at":"2025-04-22T19:02:36.241Z","repository":{"id":61972839,"uuid":"346173078","full_name":"f3ath/check-coverage","owner":"f3ath","description":"A tiny Dart CLI tool to check if code coverage is below the threshold.","archived":false,"fork":false,"pushed_at":"2024-12-24T19:16:55.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T10:26:26.675Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/f3ath.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,"zenodo":null}},"created_at":"2021-03-09T23:30:24.000Z","updated_at":"2024-12-24T19:16:56.000Z","dependencies_parsed_at":"2024-06-01T04:34:11.696Z","dependency_job_id":"74a0c983-9e75-4582-970d-89dec4320c1e","html_url":"https://github.com/f3ath/check-coverage","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"60f8a12e7d25e7a180ae425e700353bcd89f9f9b"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ath%2Fcheck-coverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ath%2Fcheck-coverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ath%2Fcheck-coverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ath%2Fcheck-coverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f3ath","download_url":"https://codeload.github.com/f3ath/check-coverage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306609,"owners_count":21408925,"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-08T18:27:03.466Z","updated_at":"2025-04-22T19:02:36.218Z","avatar_url":"https://github.com/f3ath.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check-coverage\nA tiny Dart CLI tool to check if code coverage is below the threshold.\n\nPass the content of the trace file (lcov) as the input. Provide the desired coverage as the argument.\n\nExample usage in a Dart project:\n```\ndart test --coverage=.coverage\nformat_coverage -l -c -i .coverage --report-on=lib | check_coverage 98\n```\nThe first line runs the tests placing the coverage report in the `.coverage` folder.\nThe second line produces a combined lcov coverage and passes it to the tool requiring at least 98% coverage.\n\nThe tool will exit normally if the coverage is at or above the threshold. \nOtherwise, it will set the exit status to 1 and list the least covered files.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff3ath%2Fcheck-coverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff3ath%2Fcheck-coverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff3ath%2Fcheck-coverage/lists"}