{"id":15159621,"url":"https://github.com/babeuloula/phpunit-coverage-checker","last_synced_at":"2026-01-19T23:03:25.748Z","repository":{"id":48780590,"uuid":"385206793","full_name":"babeuloula/phpunit-coverage-checker","owner":"babeuloula","description":"PHPUnit coverage checker","archived":false,"fork":false,"pushed_at":"2021-07-12T13:59:26.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T16:52:40.145Z","etag":null,"topics":["checker","coverage","phpunit","threshold"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/babeuloula.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-12T10:18:41.000Z","updated_at":"2021-07-12T13:59:28.000Z","dependencies_parsed_at":"2022-08-30T12:50:59.465Z","dependency_job_id":null,"html_url":"https://github.com/babeuloula/phpunit-coverage-checker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/babeuloula/phpunit-coverage-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babeuloula%2Fphpunit-coverage-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babeuloula%2Fphpunit-coverage-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babeuloula%2Fphpunit-coverage-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babeuloula%2Fphpunit-coverage-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babeuloula","download_url":"https://codeload.github.com/babeuloula/phpunit-coverage-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babeuloula%2Fphpunit-coverage-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28588969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["checker","coverage","phpunit","threshold"],"created_at":"2024-09-26T21:40:55.925Z","updated_at":"2026-01-19T23:03:25.731Z","avatar_url":"https://github.com/babeuloula.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHPUnit coverage checker\n\nThis script will read the XML coverage result and calculates the coverage score. Based on the given threshold the script\nwill exit(0) if the coverage is higher than the threshold or exit(1) if the coverage is lower than the threshold. \n\n## Installation\n\n```bash\ncomposer require --dev babeuloula/phpunit-coverage-checker\n```\n\n## Usage\n\n```bash\nvendor/bin/coverage-checker \u003cpath/to/coverage/index.xml\u003e \u003cthreshold\u003e\n```\n\nExample:\n\n```bash\n./vendor/bin/phpunit --coverage-xml ./coverage\nvendor/bin/coverage-checker coverage/xml/index.xml 80\n```\n\n## Thanks\n\nThanks to [richardregeer][richardregeer] and [cylab.be][cylabbe].\n\n[richardregeer]: https://github.com/richardregeer/phpunit-coverage-check\n[cylabbe]: https://cylab.be/blog/114/fail-a-phpunit-test-if-coverage-goes-below-a-threshold\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabeuloula%2Fphpunit-coverage-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabeuloula%2Fphpunit-coverage-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabeuloula%2Fphpunit-coverage-checker/lists"}