{"id":13493379,"url":"https://github.com/gojp/goreportcard","last_synced_at":"2025-05-13T22:03:28.335Z","repository":{"id":26571351,"uuid":"30025542","full_name":"gojp/goreportcard","owner":"gojp","description":"A report card for your Go application","archived":false,"fork":false,"pushed_at":"2025-04-18T06:02:55.000Z","size":13167,"stargazers_count":2041,"open_issues_count":35,"forks_count":247,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-04-29T13:45:46.729Z","etag":null,"topics":["go","golang","golang-tools","goreportcard","report-card"],"latest_commit_sha":null,"homepage":"https://goreportcard.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gojp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":"goreportcard","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-01-29T15:07:37.000Z","updated_at":"2025-04-29T09:39:57.000Z","dependencies_parsed_at":"2022-07-10T02:00:17.944Z","dependency_job_id":"9cccd569-d36d-408c-8a39-3343d6cc2950","html_url":"https://github.com/gojp/goreportcard","commit_stats":{"total_commits":512,"total_committers":40,"mean_commits":12.8,"dds":0.283203125,"last_synced_commit":"cca753f57674c057681d34bdfce39632ca2d9f82"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojp%2Fgoreportcard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojp%2Fgoreportcard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojp%2Fgoreportcard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojp%2Fgoreportcard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gojp","download_url":"https://codeload.github.com/gojp/goreportcard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036811,"owners_count":22003653,"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":["go","golang","golang-tools","goreportcard","report-card"],"created_at":"2024-07-31T19:01:14.658Z","updated_at":"2025-05-13T22:03:28.310Z","avatar_url":"https://github.com/gojp.png","language":"Go","funding_links":["https://patreon.com/goreportcard","https://www.patreon.com/goreportcard)!"],"categories":["开源类库","Go","Open source library","Repositories"],"sub_categories":["代码分析","Code Analysis"],"readme":"[![Go Report Card](https://goreportcard.com/badge/gojp/goreportcard)](https://goreportcard.com/report/gojp/goreportcard) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/gojp/goreportcard/blob/master/LICENSE)\n\n# Go Report Card\n\nA web application that generates a report on the quality of an open source Go project. It uses several measures, including `gofmt`, `go vet`, `go lint` and `gocyclo`. To get a report on your own project, try [goreportcard.com](https://goreportcard.com).\n\n### Sponsors\n\nSupport us over on [Patreon](https://www.patreon.com/goreportcard)!\n\n\u003ca href=\"https://www.dotcom-monitor.com/sponsoring-open-source-projects/\"\u003e\u003cimg src=\"https://goreportcard.com/assets/dotcom-monitor-logo-brightGB.svg\" width=\"50%\" height=\"50%\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://www.bairesdev.com/sponsoring-open-source-projects/\"\u003e\u003cimg src=\"https://goreportcard.com/assets/bairesdev.png\" width=\"50%\" height=\"50%\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://www.digitalocean.com?utm_medium=opensource\u0026utm_source=goreportcard\"\u003e\u003cimg src=\"https://goreportcard.com/assets/digitalocean.svg\" width=\"50%\" height=\"50%\"\u003e\u003c/a\u003e\n\n- [Cody Wood](https://www.linkedin.com/in/sprkyco/)\n- Pascal Wenger\n- Jonas Kwiedor\n- [PhotoPrism](https://photoprism.app)\n- Kia Farhang\n- [Patrick DeVivo](https://twitter.com/patrickdevivo) ([MergeStat](https://github.com/mergestat/mergestat))\n- [Alexis Geoffrey](https://github.com/alexisgeoffrey)\n\n### Installation\n\n```\ngit clone https://github.com/gojp/goreportcard.git\ncd goreportcard\nmake install\n```\n\nNow run:\n\n```\nGRC_DATABASE_PATH=./db make start\n```\n\nand you should see\n\n```\nRunning on :8000...\n```\n\nNavigate to `localhost:8000` and you should see the Go Report Card front page.\n\n### Command Line Interface\n\nThere is also a CLI available for grading applications on your local machine.\n\nExample usage:\n```\ngit clone https://github.com/gojp/goreportcard.git\ncd goreportcard\nmake install\ngo install ./cmd/goreportcard-cli\ngoreportcard-cli\n```\n\n```\nGrade .......... A+  99.9%\nFiles ................ 362\nIssues ................. 2\ngofmt ............... 100%\ngo_vet ............... 99%\ngocyclo .............. 99%\ngolint .............. 100%\nineffassign ......... 100%\nlicense ............. 100%\nmisspell ............ 100%\n```\n\nVerbose output:\n\n```\ngoreportcard-cli -v\n```\n\n```\nGrade .......... A+  99.9%\nFiles ................ 362\nIssues ................. 2\ngofmt ............... 100%\ngo_vet ............... 99%\ngo_vet  vendor/github.com/prometheus/client_golang/prometheus/desc.go:25\n        error: cannot find package \"github.com/prometheus/client_model/go\" in any of: (vet)\n\ngocyclo .............. 99%\ngocyclo download/download.go:22\n        warning: cyclomatic complexity 17 of function download() is high (\u003e 15) (gocyclo)\n\ngolint .............. 100%\nineffassign ......... 100%\nlicense ............. 100%\nmisspell ............ 100%\n```\n\n### Contributing\n\nGo Report Card is an open source project run by volunteers, and contributions are welcome! Check out the [Issues](https://github.com/gojp/goreportcard/issues) page to see if your idea has already been mentioned. Feel free to raise an issue or submit a pull request.\n\n### Academic Citation\n\nIf you use Go Report Card for academic purposes, please use the following citation:\n\n```\n@Misc{schaaf-smith-goreportcard,\n    author = {Schaaf, Herman and Smith, Shawn},\n    title  = {Go Report Card: A report card for your Go application},\n    year   = {2015--},\n    url    = {https://www.goreportcard.com/},\n    note   = {[Online; accessed \u003ctoday\u003e]}\n}\n```\n\n### License\n\nThe code is licensed under the permissive Apache v2.0 license. [Read this](https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)) for a summary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojp%2Fgoreportcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgojp%2Fgoreportcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojp%2Fgoreportcard/lists"}