{"id":22700428,"url":"https://github.com/uncomputable/coverage-example","last_synced_at":"2026-03-19T23:27:59.051Z","repository":{"id":211929521,"uuid":"730296629","full_name":"uncomputable/coverage-example","owner":"uncomputable","description":"Minimal, reproducible example for testing code coverage using GCC or Clang","archived":false,"fork":false,"pushed_at":"2023-12-11T16:14:00.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T19:46:38.136Z","etag":null,"topics":["code-coverage","coverage","gcov","lcov","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Just","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/uncomputable.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}},"created_at":"2023-12-11T16:08:26.000Z","updated_at":"2023-12-12T01:54:49.000Z","dependencies_parsed_at":"2023-12-11T17:41:49.692Z","dependency_job_id":null,"html_url":"https://github.com/uncomputable/coverage-example","commit_stats":null,"previous_names":["uncomputable/coverage-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fcoverage-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fcoverage-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fcoverage-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uncomputable%2Fcoverage-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uncomputable","download_url":"https://codeload.github.com/uncomputable/coverage-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246230541,"owners_count":20744349,"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","coverage","gcov","lcov","tutorial"],"created_at":"2024-12-10T06:12:10.128Z","updated_at":"2026-01-08T07:05:24.467Z","avatar_url":"https://github.com/uncomputable.png","language":"Just","readme":"# Example for testing code coverage [GCC, Clang]\n\nA minimal, reproducible example for testing code coverage of C code using GCC or Clang.\n\n## Set up GCC\n\nUse nix for an automatic setup.\n\n```bash\nnix develop\n```\n\nOtherwise, install `gcc`, `just` and `lcov`.\n\n## Test coverage using GCC\n\nRun the `report` target to generate an HTML coverage report.\n\n```bash\njust report\n```\n\nTake a look at the justfile to see the individual steps.\n\n## Set up Clang\n\nUse nix for an automatic setup.\n\n```bash\nnix develop .#clang\n```\n\nOtherwise, install `clang`, `just`, `lcov` and `llvm`.\n\n## Test coverage using Clang\n\nRun the `report1` target to generate an HTML coverage report.\n\n```bash\njust report1\n```\n\nTake a look at the justfile to see the individual steps.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcomputable%2Fcoverage-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funcomputable%2Fcoverage-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funcomputable%2Fcoverage-example/lists"}