{"id":36650874,"url":"https://github.com/tschaefer/gocover-ui","last_synced_at":"2026-01-12T10:06:20.100Z","repository":{"id":329625990,"uuid":"1120203258","full_name":"tschaefer/gocover-ui","owner":"tschaefer","description":"gocover-ui - modern HTML coverage report","archived":false,"fork":false,"pushed_at":"2026-01-08T07:48:51.000Z","size":3296,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-08T09:27:10.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blog.tschaefer.org/gocover-ui","language":"Go","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/tschaefer.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-20T17:46:05.000Z","updated_at":"2026-01-08T07:48:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tschaefer/gocover-ui","commit_stats":null,"previous_names":["tschaefer/gocover-ui"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tschaefer/gocover-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fgocover-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fgocover-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fgocover-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fgocover-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tschaefer","download_url":"https://codeload.github.com/tschaefer/gocover-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fgocover-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2026-01-12T10:06:17.965Z","updated_at":"2026-01-12T10:06:20.095Z","avatar_url":"https://github.com/tschaefer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gocover-ui\n\n[![tag](https://img.shields.io/github/tag/tschaefer/gocover-ui.svg)](https://github.com/tschaefer/gocover-ui/releases)\n![Build Status](https://github.com/tschaefer/gocover-ui/actions/workflows/ci.yml/badge.svg)\n[![Go report](https://goreportcard.com/badge/github.com/tschaefer/gocover-ui)](https://goreportcard.com/report/github.com/tschaefer/gocover-ui)\n[![Coverage](https://img.shields.io/codecov/c/github/tschaefer/gocover-ui)](https://codecov.io/gh/tschaefer/gocover-ui)\n[![Contributors](https://img.shields.io/github/contributors/tschaefer/gocover-ui)](https://github.com/tschaefer/gocover-ui/graphs/contributors)\n[![License](https://img.shields.io/github/license/tschaefer/gocover-ui)](./LICENSE)\n\n\nGenerate a modern, interactive HTML coverage report from a Go coverage\nprofile file.\n\n`gocover-ui` computes per-line coverage by mapping profile blocks to lines.\nIf a line is covered by multiple blocks and only some of those blocks are\ncovered, that line is considered \"partial\". Uncovered lines are \"missed\", and\nfully covered lines are \"covered\".\n\n## Features:\n- Index page with a file list and stats columns:\n  - lines total\n  - lines covered\n  - lines partial\n  - lines missed\n  - coverage % (red/yellow/green color band)\n\n- Ring (donut) chart that shows all files as arcs; arc length is proportional\n  to tracked lines and segment color reflects the file coverage band.\n\n![Index view](.screenshots/gocover-ui-index.png \"gocover-ui index view\")\n\n- Per-file detail pages with an editor-style view that shows line numbers and\n  colors each line according to coverage:\n  - red = missed\n  - yellow = partial\n  - green = fully covered\n- Line highighting on click to easily share specific lines.\n\n![Index view](.screenshots/gocover-ui-file.png \"gocover-ui file view\")\n\n## Usage:\n\nRun `gocover-ui` on a Go source tree with a proper module and the related\ncoverage profile file.\n\n```bash\ngo test -coverprofile=coverage.out ./...\ngocover-ui -profile coverage.out -src . -out coverage\nopen coverage/index.html\n```\n\nFlags:\n- `-clean`\n    clean output directory before generating files (default false)\n- `-out string`\n    output directory for generated html files (default \"coverage\")\n- `-profile string`\n    coverage profile file (default \"coverage.out\")\n- `-src string`\n    source root directory on disk; default `.` (current directory)\n- `-version`\n    print version and exit\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request.\nFor major changes, open an issue first to discuss your proposal.\n\nEnsure that your code adheres to the existing style and includes appropriate\ntests.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschaefer%2Fgocover-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftschaefer%2Fgocover-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschaefer%2Fgocover-ui/lists"}