{"id":15014507,"url":"https://github.com/handcraftedinthealps/code-coverage-checker","last_synced_at":"2025-07-02T11:41:13.392Z","repository":{"id":35901293,"uuid":"220084452","full_name":"handcraftedinthealps/code-coverage-checker","owner":"handcraftedinthealps","description":"A code coverage checker for phpunit supporting symfony/phpunit-bridge.","archived":false,"fork":false,"pushed_at":"2023-11-29T22:04:02.000Z","size":111,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-19T16:06:27.849Z","etag":null,"topics":["code-coverage","code-coverage-checker","phpunit"],"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/handcraftedinthealps.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-11-06T20:32:40.000Z","updated_at":"2024-03-20T13:12:44.000Z","dependencies_parsed_at":"2024-06-19T02:41:58.633Z","dependency_job_id":null,"html_url":"https://github.com/handcraftedinthealps/code-coverage-checker","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/handcraftedinthealps/code-coverage-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedinthealps%2Fcode-coverage-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedinthealps%2Fcode-coverage-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedinthealps%2Fcode-coverage-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedinthealps%2Fcode-coverage-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/handcraftedinthealps","download_url":"https://codeload.github.com/handcraftedinthealps/code-coverage-checker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/handcraftedinthealps%2Fcode-coverage-checker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263132365,"owners_count":23418678,"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":["code-coverage","code-coverage-checker","phpunit"],"created_at":"2024-09-24T19:45:42.835Z","updated_at":"2025-07-02T11:41:13.365Z","avatar_url":"https://github.com/handcraftedinthealps.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Coverage Checker ⛰\n\n[![GitHub license](https://img.shields.io/github/license/handcraftedinthealps/code-coverage-checker.svg)](https://github.com/handcraftedinthealps/code-coverage-checker/blob/master/LICENSE)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/handcraftedinthealps/code-coverage-checker.svg)](https://github.com/handcraftedinthealps/code-coverage-checker/releases)\n\nA code coverage checker for phpunit.\n\n## Installation\n\n```bash\ncomposer require handcraftedinthealps/code-coverage-checker --dev\n```\n\n## Usage\n\n### Generate coverage\n\n```bash\nphpunit --coverage-php \"Tests/reports/coverage.php\"\n```\n\n### Check coverage\n\n```bash\nvendor/bin/code-coverage-checker \"Tests/reports/coverage.php\" \"line\" \"96.0\"\n```\n\nInstead of `line` you can use `class` or `method`.\nYou can also check only specific directories:\n\n```bash\nvendor/bin/code-coverage-checker \"Tests/reports/coverage.php\" \"line\" \"96.0\" \"Directory/A\" \"Directory/B\"\n```\n\n### Example Output\n\n![!Exmaple code coverage checker output](docs/images/example.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhandcraftedinthealps%2Fcode-coverage-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhandcraftedinthealps%2Fcode-coverage-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhandcraftedinthealps%2Fcode-coverage-checker/lists"}