{"id":36455157,"url":"https://github.com/assifar-karim/cyclomatix","last_synced_at":"2026-01-11T23:02:26.989Z","repository":{"id":219445713,"uuid":"717568773","full_name":"Assifar-Karim/cyclomatix","owner":"Assifar-Karim","description":"A static analysis tool for Go that generates control flow graphs and computes cyclomatic complexity","archived":false,"fork":false,"pushed_at":"2024-07-27T11:04:22.000Z","size":27,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-27T12:23:10.815Z","etag":null,"topics":["control-flow-graph","cyclomatic-complexity","go","graph-theory","graphviz","static-analysis"],"latest_commit_sha":null,"homepage":"","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/Assifar-Karim.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}},"created_at":"2023-11-11T21:35:23.000Z","updated_at":"2024-07-27T12:23:10.815Z","dependencies_parsed_at":"2024-01-27T15:34:09.172Z","dependency_job_id":"9f32abd0-c0a7-4286-8aff-7c912882da72","html_url":"https://github.com/Assifar-Karim/cyclomatix","commit_stats":null,"previous_names":["assifar-karim/cyclomatix"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Assifar-Karim/cyclomatix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assifar-Karim%2Fcyclomatix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assifar-Karim%2Fcyclomatix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assifar-Karim%2Fcyclomatix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assifar-Karim%2Fcyclomatix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Assifar-Karim","download_url":"https://codeload.github.com/Assifar-Karim/cyclomatix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assifar-Karim%2Fcyclomatix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"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":["control-flow-graph","cyclomatic-complexity","go","graph-theory","graphviz","static-analysis"],"created_at":"2026-01-11T23:02:26.351Z","updated_at":"2026-01-11T23:02:26.978Z","avatar_url":"https://github.com/Assifar-Karim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cyclomatix\n\u003cpre style=\"white-space: pre;\" align=\"center\"\u003e\n ▄▄▄▄▄▄▄▄▄▄▄  ▄         ▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄            ▄▄▄▄▄▄▄▄▄▄▄ \n▐░░░░░░░░░░░▌▐░▌       ▐░▌▐░░░░░░░░░░░▌▐░▌          ▐░░░░░░░░░░░▌\n▐░█▀▀▀▀▀▀▀▀▀ ▐░▌       ▐░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░▌          ▐░█▀▀▀▀▀▀▀█░▌\n▐░▌          ▐░▌       ▐░▌▐░▌          ▐░▌          ▐░▌       ▐░▌\n▐░▌          ▐░█▄▄▄▄▄▄▄█░▌▐░▌          ▐░▌          ▐░▌       ▐░▌\n▐░▌          ▐░░░░░░░░░░░▌▐░▌          ▐░▌          ▐░▌       ▐░▌\n▐░▌           ▀▀▀▀█░█▀▀▀▀ ▐░▌          ▐░▌          ▐░▌       ▐░▌\n▐░▌               ▐░▌     ▐░▌          ▐░▌          ▐░▌       ▐░▌\n▐░█▄▄▄▄▄▄▄▄▄      ▐░▌     ▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌\n▐░░░░░░░░░░░▌     ▐░▌     ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌\n ▀▀▀▀▀▀▀▀▀▀▀       ▀       ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀ \n\n ▄▄       ▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄       ▄   \n▐░░▌     ▐░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌     ▐░▌  \n▐░▌░▌   ▐░▐░▌▐░█▀▀▀▀▀▀▀█░▌ ▀▀▀▀█░█▀▀▀▀  ▀▀▀▀█░█▀▀▀▀  ▐░▌   ▐░▌   \n▐░▌▐░▌ ▐░▌▐░▌▐░▌       ▐░▌     ▐░▌          ▐░▌       ▐░▌ ▐░▌    \n▐░▌ ▐░▐░▌ ▐░▌▐░█▄▄▄▄▄▄▄█░▌     ▐░▌          ▐░▌        ▐░▐░▌     \n▐░▌  ▐░▌  ▐░▌▐░░░░░░░░░░░▌     ▐░▌          ▐░▌         ▐░▌      \n▐░▌   ▀   ▐░▌▐░█▀▀▀▀▀▀▀█░▌     ▐░▌          ▐░▌        ▐░▌░▌     \n▐░▌       ▐░▌▐░▌       ▐░▌     ▐░▌          ▐░▌       ▐░▌ ▐░▌    \n▐░▌       ▐░▌▐░▌       ▐░▌     ▐░▌      ▄▄▄▄█░█▄▄▄▄  ▐░▌   ▐░▌   \n▐░▌       ▐░▌▐░▌       ▐░▌     ▐░▌     ▐░░░░░░░░░░░▌▐░▌     ▐░▌  \n ▀         ▀  ▀         ▀       ▀       ▀▀▀▀▀▀▀▀▀▀▀  ▀       ▀   \n\u003c/pre\u003e\n\u003cpre align= \"center\"\u003e\nA Go static analysis tool to generate control flow graphs and compute cyclomatic complexity\n\u003c/pre\u003e\n\n## Features\n\n### Cyclomatic Complexity Computation\n\nCyclomatix computes the cyclomatic complexity of each and every function found in the input files given by the user to the tool\n\n### Control Flow Graph Generation\n\nCyclomatix traverses all of the functions found in the files inputted by the users to generate their control flow graphs then outputs them in DOT files used by Graphviz. \n\n\u003e [!WARNING]  \n\u003e To fully use the control flow graph generation feature, the user must install Graphviz in their machine.\n\n## Installation guide\n\n1. Download the latest release that corresponds with your system from the [releases page](https://github.com/Assifar-Karim/cyclomatix/releases).\n2. Decompress the archive containing the binaries.\n3. Install Graphviz on your system, if it's not already installed, by following the instructions found [here](https://graphviz.org/download/). \n4. Add the binary to your PATH environment variable\n5. Enjoy \n\n## Getting started\n\nAfter having installed cyclomatix on your system, you can follow the steps to get started on using the tool.\n\n1. Pull the `.go` files from the `examples` directory in this repo.\n2. Run the command `cyclo complexity -f examples` to get the cyclomatic complexity table of the functions in the files.\n3. Run the command `cyclo cfg -f example -o target` to generate the control flow graph of each function that can be found on the example files.  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassifar-karim%2Fcyclomatix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassifar-karim%2Fcyclomatix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassifar-karim%2Fcyclomatix/lists"}