{"id":50934831,"url":"https://github.com/piecioshka/cheat-code-coverage","last_synced_at":"2026-06-17T08:01:52.480Z","repository":{"id":37494611,"uuid":"186896926","full_name":"piecioshka/cheat-code-coverage","owner":"piecioshka","description":"How to cheat code coverage calculations?","archived":false,"fork":false,"pushed_at":"2026-06-09T12:15:22.000Z","size":122,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-09T14:11:03.605Z","etag":null,"topics":["cheat","code-coverage","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piecioshka.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"piecioshka","buy_me_a_coffee":"piecioshka"}},"created_at":"2019-05-15T20:18:18.000Z","updated_at":"2024-10-09T06:58:30.000Z","dependencies_parsed_at":"2022-08-01T00:37:58.329Z","dependency_job_id":null,"html_url":"https://github.com/piecioshka/cheat-code-coverage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/piecioshka/cheat-code-coverage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fcheat-code-coverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fcheat-code-coverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fcheat-code-coverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fcheat-code-coverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piecioshka","download_url":"https://codeload.github.com/piecioshka/cheat-code-coverage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piecioshka%2Fcheat-code-coverage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34439296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["cheat","code-coverage","unit-testing"],"created_at":"2026-06-17T08:01:51.699Z","updated_at":"2026-06-17T08:01:52.470Z","avatar_url":"https://github.com/piecioshka.png","language":"JavaScript","funding_links":["https://github.com/sponsors/piecioshka","https://buymeacoffee.com/piecioshka"],"categories":[],"sub_categories":[],"readme":"# cheat-code-coverage\n\nHow to cheat code coverage calculations?\n\n## Answer\n\nChoose strategy:\n\n* **typical**:\n\n    ```bash\n    npm run test:typical\n    npm run coverage:typical\n    ```\n\n* **cheat**, which try to execute all members in `try..catch` block:\n\n    ```bash\n    npm run test:cheat\n    npm run coverage:cheat\n    ```\n\nResult **is the same** in both strategies :warning:\n\n## License\n\n[The MIT License](http://piecioshka.mit-license.org) @ 2019\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiecioshka%2Fcheat-code-coverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiecioshka%2Fcheat-code-coverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiecioshka%2Fcheat-code-coverage/lists"}