{"id":41090252,"url":"https://github.com/pixel365/goverage","last_synced_at":"2026-01-22T14:30:26.338Z","repository":{"id":303397743,"uuid":"1015181055","full_name":"pixel365/goverage","owner":"pixel365","description":"Goverage is a JetBrains plugin for GoLand that shows inline test coverage percentages for each function, powered by go tool cover.","archived":false,"fork":false,"pushed_at":"2025-07-09T15:32:58.000Z","size":109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-13T02:41:33.590Z","etag":null,"topics":["go","goland","goland-plugin","golang","idea-plugin","jetbrains","jetbrains-plugin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/pixel365.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2025-07-07T06:03:15.000Z","updated_at":"2025-07-09T15:33:02.000Z","dependencies_parsed_at":"2025-07-07T12:32:43.271Z","dependency_job_id":"cdb5ebf1-6a8c-4e29-bf33-ad0bfef08c73","html_url":"https://github.com/pixel365/goverage","commit_stats":null,"previous_names":["pixel365/goverage"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pixel365/goverage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel365%2Fgoverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel365%2Fgoverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel365%2Fgoverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel365%2Fgoverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixel365","download_url":"https://codeload.github.com/pixel365/goverage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel365%2Fgoverage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28664656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"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":["go","goland","goland-plugin","golang","idea-plugin","jetbrains","jetbrains-plugin"],"created_at":"2026-01-22T14:30:24.966Z","updated_at":"2026-01-22T14:30:26.324Z","avatar_url":"https://github.com/pixel365.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Goverage – Inline Go Code Coverage Hints\n\n**Goverage** is a JetBrains IDE plugin that displays inline code coverage for Go files based on the `go test -coverprofile` report.  \nIt supports **GoLand**, **IntelliJ IDEA Ultimate**, and any JetBrains IDE with the Go plugin.\n\n---\n\n## ✨ Features\n\n- ✅ **File-level coverage**: shown above the `package` line.\n- ✅ **Function-level coverage**: shown above each `func` declaration.\n- ✅ Parses `coverage.out` generated by `go test -coverpkg=./... -coverprofile=coverage.out`.\n- ✅ Updates automatically when the file or coverage profile changes.\n\n---\n\n## 📦 Installation\n\n### ✅ From JetBrains Marketplace\n\n👉 [Install via JetBrains Marketplace](https://plugins.jetbrains.com/plugin/27851-goverage)\n\n1. Open your JetBrains IDE (e.g. GoLand or IntelliJ IDEA).\n2. Go to **Settings → Plugins → Marketplace**.\n3. Search for **Goverage**, then click **Install**.\n4. Restart the IDE if prompted.\n\n---\n\n### 🛠 Manual Installation\n\n1. Clone the repository and build the plugin:\n\n    ```bash\n    ./gradlew clean buildPlugin\n    ```\n\n2. In your JetBrains IDE:\n   - Go to **Settings → Plugins → ⚙️ → Install Plugin from Disk**.\n   - Select the `.zip` file from `build/distributions`.\n\n---\n\n## 🚀 Usage\n\n1. Generate a coverage profile in the root of your Go module:\n\n    ```bash\n    go test -coverpkg=./... -coverprofile=coverage.out\n    ```\n\n2. Open any `.go` file in your project.\n\n3. You’ll see inline hints like:\n\n    ```\n    File Coverage: 91.75%\n    Function Coverage: 85.00%\n    ```\n\n## 🛠️ Notes\n\n- Coverage is resolved using the path format found in `coverage.out`, typically like:  \n  `github.com/your/module/pkg/file.go`\n- The plugin reads the `go.mod` file to determine the module name.\n- Only works with monorepos if `go test` and `coverage.out` are executed per-module.\n- Coverage is computed based on Go’s `coverprofile` format, which counts covered **statements**, not lines.\n- Integration tests might not hit every code path, even if the file is used indirectly.\n- Some files may appear with partial coverage if branches or conditions are not fully executed.\n\n---\n\n## 📄 License\n\n[MIT](https://github.com/pixel365/goverage/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixel365%2Fgoverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixel365%2Fgoverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixel365%2Fgoverage/lists"}