{"id":31827930,"url":"https://github.com/ptlis/phpcm","last_synced_at":"2025-10-11T19:20:40.182Z","repository":{"id":24251054,"uuid":"27644460","full_name":"ptlis/phpcm","owner":"ptlis","description":"PHP Coverage Monitor - a tool for tracking test coverage changes","archived":false,"fork":false,"pushed_at":"2015-08-23T23:53:45.000Z","size":264,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-06T19:06:45.171Z","etag":null,"topics":[],"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/ptlis.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":"2014-12-06T18:31:50.000Z","updated_at":"2021-06-10T06:48:53.000Z","dependencies_parsed_at":"2022-08-22T12:31:40.611Z","dependency_job_id":null,"html_url":"https://github.com/ptlis/phpcm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ptlis/phpcm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptlis%2Fphpcm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptlis%2Fphpcm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptlis%2Fphpcm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptlis%2Fphpcm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptlis","download_url":"https://codeload.github.com/ptlis/phpcm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptlis%2Fphpcm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008466,"owners_count":26084460,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-11T19:20:38.762Z","updated_at":"2025-10-11T19:20:40.174Z","avatar_url":"https://github.com/ptlis.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phpcm - PHP's Coverage Monitor\n\n\nA simple tool providing metrics on how well tested your project is over time as well as per-commit, per-contributor data..\n\n\n## Goals\n\n* Use the following inputs:\n  * git-diff - determine what lines changed.\n  * git-blame - determine who edited a particular line\n  * PHPUnit's serialized test coverage - determine what lines are tested.\n* From these three data sources we should be able to determine:\n  * How many new lines of code were added.\n  * How many of these have associated tests.\n  * How many existing lines of code previously weren't tested but now are.\n* We should be able to traverse the history of a project generating this data, as well as creating incremental builds using CI tools such as Jenkins.\n* Generate useful reports on the health of a project.\n    * Delta of tested LOC per commit.\n    * Identification of:\n        * Contributors with a positive impact on coverage.\n        * Contributors with a negative impact on coverage.\n    * Other interesting stuff?\n\n\n## TODO\n\n* Ensure that we make a distinction between text-based \u0026 binary file types - Simple solution - only proceed for files that end with .php ?\n* The current implementation _will_ have memory issues on large projects.\n* Config -\u003e test spec should have better names (etc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptlis%2Fphpcm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptlis%2Fphpcm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptlis%2Fphpcm/lists"}