{"id":25176962,"url":"https://github.com/bronek89/code-complexity","last_synced_at":"2026-04-16T00:31:39.540Z","repository":{"id":62497437,"uuid":"102401529","full_name":"bronek89/code-complexity","owner":"bronek89","description":"Class for check code complexity score of php code.","archived":false,"fork":false,"pushed_at":"2017-09-05T14:11:27.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T13:37:40.415Z","etag":null,"topics":["analysis","code-complexity","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/bronek89.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}},"created_at":"2017-09-04T20:52:22.000Z","updated_at":"2017-09-05T14:09:20.000Z","dependencies_parsed_at":"2022-11-02T11:33:10.353Z","dependency_job_id":null,"html_url":"https://github.com/bronek89/code-complexity","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bronek89/code-complexity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronek89%2Fcode-complexity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronek89%2Fcode-complexity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronek89%2Fcode-complexity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronek89%2Fcode-complexity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bronek89","download_url":"https://codeload.github.com/bronek89/code-complexity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bronek89%2Fcode-complexity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31866247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: 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":["analysis","code-complexity","php"],"created_at":"2025-02-09T13:19:55.856Z","updated_at":"2026-04-16T00:31:39.500Z","avatar_url":"https://github.com/bronek89.png","language":"PHP","readme":"# code-complexity\n\nClass for check code complexity score of php code.\n\n## Install\n\n```\ncomposer require bronek/code-complexity\n```\n\n## Usage\n\n```php\n\u003c?php\n\n$calculator = new \\Bronek\\CodeComplexity\\CodeComplexityCalculator();\n$complexityScore = $calculator-\u003ecalculate(file_get_contents('file.php'));\n\necho \"Code Complexity of file file.php is $complexityScore\" \n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbronek89%2Fcode-complexity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbronek89%2Fcode-complexity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbronek89%2Fcode-complexity/lists"}