{"id":17647480,"url":"https://github.com/qneyrat/graphql-coverage","last_synced_at":"2025-05-07T05:48:00.975Z","repository":{"id":77552382,"uuid":"224635583","full_name":"qneyrat/graphql-coverage","owner":"qneyrat","description":"Calculate coverage on GraphQL schema","archived":false,"fork":false,"pushed_at":"2019-12-03T21:40:19.000Z","size":26,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-31T07:01:33.259Z","etag":null,"topics":["coverage","graphql"],"latest_commit_sha":null,"homepage":"","language":"Go","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/qneyrat.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-28T11:11:19.000Z","updated_at":"2024-03-29T20:48:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"d301ff25-ed80-4cf2-aa62-881c13f978a6","html_url":"https://github.com/qneyrat/graphql-coverage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qneyrat%2Fgraphql-coverage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qneyrat%2Fgraphql-coverage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qneyrat%2Fgraphql-coverage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qneyrat%2Fgraphql-coverage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qneyrat","download_url":"https://codeload.github.com/qneyrat/graphql-coverage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823687,"owners_count":21809708,"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":["coverage","graphql"],"created_at":"2024-10-23T11:13:35.056Z","updated_at":"2025-05-07T05:48:00.952Z","avatar_url":"https://github.com/qneyrat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graphql-coverage\n\n```\nCalculate coverage on GraphQL schema\n\nUsage:\n  graphql-coverage [graphql query file or dir] [flags]\n\nFlags:\n  -f, --filter string   filter to search graphql queries when arg is dir (default \".graphql\")\n  -h, --help            help for graphql-coverage\n      --html            html output\n      --json            json input graphql query\n  -m, --max-depth int   max depth to search graphql queries when arg is dir (default 1)\n  -o, --output string   output file (default \"coverage.out\")\n  -s, --schema string   graphql schema (default \"schema.graphql\")\n```                   \n\n## Example usage\n\n### Basic:\n```\ngo run cmd/graphql-coverage/main.go --schema examples/schema.graphql examples/queries\n```\n\n### HTML output\n```\ngo run cmd/graphql-coverage/main.go --schema examples/schema.graphql --html --output coverage.html examples/queries\n```\n\n### Input queries\nUse `-f` to search graphql queries in path (by default `.graphql`)\n\nUse `--json` if your queries are graphql queries in json like \n```\n{\n    \"query\":\"query YourQuery) {}\",\n    \"variables\":{\"yourvar\":\"value\"},\n    \"operationName\":\"YourQuery\"\n}\n```\n                                                                                        ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqneyrat%2Fgraphql-coverage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqneyrat%2Fgraphql-coverage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqneyrat%2Fgraphql-coverage/lists"}