{"id":36491402,"url":"https://github.com/terakoya76/commentcov","last_synced_at":"2026-01-12T01:56:13.641Z","repository":{"id":37172010,"uuid":"497208372","full_name":"terakoya76/commentcov","owner":"terakoya76","description":"pluggable comment coverage generator","archived":false,"fork":false,"pushed_at":"2025-12-29T16:04:02.000Z","size":415,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-01T20:27:49.320Z","etag":null,"topics":["cli","code-comments","coverage","go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terakoya76.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":"2022-05-28T04:04:46.000Z","updated_at":"2025-12-29T16:04:00.000Z","dependencies_parsed_at":"2023-11-07T04:47:14.916Z","dependency_job_id":"3b6d9032-b27e-4179-8774-b77d6910ed69","html_url":"https://github.com/terakoya76/commentcov","commit_stats":null,"previous_names":["terakoya76/commentcov","commentcov/commentcov"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/terakoya76/commentcov","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terakoya76%2Fcommentcov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terakoya76%2Fcommentcov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terakoya76%2Fcommentcov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terakoya76%2Fcommentcov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terakoya76","download_url":"https://codeload.github.com/terakoya76/commentcov/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terakoya76%2Fcommentcov/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"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":["cli","code-comments","coverage","go"],"created_at":"2026-01-12T01:56:12.919Z","updated_at":"2026-01-12T01:56:13.636Z","avatar_url":"https://github.com/terakoya76.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commentcov\npluggable comment coverage generator\n\n## How to use\n\nSpecify plugin info and filepaths info on your commentcov configuraiton (default is `\u003cpath_to_project\u003e/.commentcov.yaml`).\n\n```bash\n$ pwd\n/home/commentcov/workspace/github.com/kubernetes/kubernetes\n\n$ cat .commentcov.yaml\nplugins:\n  - extension: .go\n    install_command: go install github.com/commentcov/commentcov-plugin-go@latest\n    execute_command: commentcov-plugin-go\ntarget_path: .\nexclude_paths:\n  - \"vendor/**/**\"\n  - \"**/**_test.go\"\nmode: scope\n```\n\nThen, run commentcov. You could get the comment coverage of the `.go` files in csv format.\n```bash\n$ commentcov coverage\n{\"@level\":\"info\",\"@message\":\"Install Plugin\",\"@module\":\"commentcov\",\"@timestamp\":\"2022-06-27T14:38:53.552977+09:00\",\"plugin\":\"commentcov-plugin-for-go\"}\n{\"@level\":\"debug\",\"@message\":\"starting plugin\",\"@module\":\"commentcov\",\"@timestamp\":\"2022-06-27T14:38:56.009873+09:00\",\"args\":[\"commentcov-plugin-go\"],\"path\":\"/home/terakoya76/go/bin/commentcov-plugin-go\"}\n{\"@level\":\"debug\",\"@message\":\"plugin started\",\"@module\":\"commentcov\",\"@timestamp\":\"2022-06-27T14:38:56.010089+09:00\",\"path\":\"/home/terakoya76/go/bin/commentcov-plugin-go\",\"pid\":359483}\n{\"@level\":\"debug\",\"@message\":\"waiting for RPC address\",\"@module\":\"commentcov\",\"@timestamp\":\"2022-06-27T14:38:56.010123+09:00\",\"path\":\"/home/terakoya76/go/bin/commentcov-plugin-go\"}\n{\"@level\":\"debug\",\"@message\":\"plugin address\",\"@module\":\"commentcov.commentcov-plugin-go\",\"@timestamp\":\"2022-06-27T14:38:56.013775+09:00\",\"address\":\"/tmp/plugin341157163\",\"network\":\"unix\",\"timestamp\":\"2022-06-27T14:38:56.013+0900\"}\n{\"@level\":\"debug\",\"@message\":\"using plugin\",\"@module\":\"commentcov\",\"@timestamp\":\"2022-06-27T14:38:56.013824+09:00\",\"version\":1}\n{\"@level\":\"trace\",\"@message\":\"waiting for stdio data\",\"@module\":\"commentcov.stdio\",\"@timestamp\":\"2022-06-27T14:38:56.014527+09:00\"}\n,FILE,10.67036890122967\n,PRIVATE_CLASS,45.61276287164612\n,PRIVATE_FUNCTION,30.317776735459663\n,PRIVATE_TYPE,42.21311475409836\n,PRIVATE_VARIABLE,16.287672723316287\n,PUBLIC_CLASS,87.85892224990167\n,PUBLIC_FUNCTION,53.6091994076139\n,PUBLIC_TYPE,88.03245436105476\n,PUBLIC_VARIABLE,69.56668923493568\n{\"@level\":\"debug\",\"@message\":\"received EOF, stopping recv loop\",\"@module\":\"commentcov.stdio\",\"@timestamp\":\"2022-06-27T14:38:57.536686+09:00\",\"err\":\"rpc error: code = Unavailable desc = error reading from server: EOF\"}\n{\"@level\":\"info\",\"@message\":\"plugin process exited\",\"@module\":\"commentcov\",\"@timestamp\":\"2022-06-27T14:38:57.542710+09:00\",\"path\":\"/home/terakoya76/go/bin/commentcov-plugin-go\",\"pid\":359483}\n{\"@level\":\"debug\",\"@message\":\"plugin exited\",\"@module\":\"commentcov\",\"@timestamp\":\"2022-06-27T14:38:57.542746+09:00\"}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterakoya76%2Fcommentcov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterakoya76%2Fcommentcov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterakoya76%2Fcommentcov/lists"}