{"id":32117184,"url":"https://github.com/theogainey/simple-coverage","last_synced_at":"2026-02-23T04:32:14.702Z","repository":{"id":62422645,"uuid":"478596074","full_name":"theogainey/simple-coverage","owner":"theogainey","description":"collect test coverage with Deno's built-in test runner and lcov","archived":false,"fork":false,"pushed_at":"2022-04-11T20:41:55.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T16:43:04.820Z","etag":null,"topics":["coverage","deno","lcov","lcov-report","testing-tools"],"latest_commit_sha":null,"homepage":"https://deno.land/x/simple_coverage","language":"TypeScript","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/theogainey.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}},"created_at":"2022-04-06T14:29:04.000Z","updated_at":"2022-04-11T20:33:57.000Z","dependencies_parsed_at":"2022-11-01T17:33:20.039Z","dependency_job_id":null,"html_url":"https://github.com/theogainey/simple-coverage","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/theogainey/simple-coverage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogainey%2Fsimple-coverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogainey%2Fsimple-coverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogainey%2Fsimple-coverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogainey%2Fsimple-coverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theogainey","download_url":"https://codeload.github.com/theogainey/simple-coverage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theogainey%2Fsimple-coverage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29738079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T02:24:00.660Z","status":"ssl_error","status_checked_at":"2026-02-23T02:22:56.087Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["coverage","deno","lcov","lcov-report","testing-tools"],"created_at":"2025-10-20T16:29:31.717Z","updated_at":"2026-02-23T04:32:14.695Z","avatar_url":"https://github.com/theogainey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Coverage\n\nCollect test coverage with Deno's built-in test runner and lcov\n\n## Usage\n\ncode coverage report is generated with a utility called genhtml that comes\nbundled with lcov. lcov can be installed with Homebrew on macOS.\n\n```\nbrew install lcov\n```\n\n### Deno Subprocess\n\nDeno is capable of spawning a subprocess and supports url imports. As a result,\na code coverage report can be generated via the command line. There is no need\nto install any dependencies, just open a command line where you would normally\nrun `deno test` and use the following code.\n\n```\ndeno run --allow-run --allow-read --allow-write https://deno.land/x/simple_coverage@v1.0.2/coverage.ts\n```\n\nor\n\n```\ndeno run --allow-all https://deno.land/x/simple_coverage@v1.0.2/coverage.ts\n```\n\nAdditionally pass `open` as an argument to open the coverage report\n\n```\ndeno run --allow-all https://deno.land/x/simple_coverage@v1.0.2/coverage.ts open\n```\n\n### Bash\n\nAlternativly you can acheive the same results by using the provided Bash script. First copy the contents of coverage.sh to a project\nor this script can also added to a project via a command line\n\n```\ncurl -sL https://deno.land/x/simple_coverage@v1.0.2/coverage.sh -o coverage.sh\n```\n\nafter adding the script to a project a test coverage report can generated with\n\n```\nsh coverage.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheogainey%2Fsimple-coverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheogainey%2Fsimple-coverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheogainey%2Fsimple-coverage/lists"}