{"id":39941991,"url":"https://github.com/bright-tools/ccsm","last_synced_at":"2026-01-18T19:11:41.857Z","repository":{"id":14510317,"uuid":"17223909","full_name":"bright-tools/ccsm","owner":"bright-tools","description":"C Code Source Metrics - tool to gather simple metrics from C code","archived":false,"fork":false,"pushed_at":"2024-03-29T17:26:09.000Z","size":762,"stargazers_count":33,"open_issues_count":41,"forks_count":49,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-29T18:35:02.342Z","etag":null,"topics":["clang","complexity","metrics","source-metrics"],"latest_commit_sha":null,"homepage":"","language":"C++","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/bright-tools.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}},"created_at":"2014-02-26T20:18:27.000Z","updated_at":"2024-03-05T22:18:53.000Z","dependencies_parsed_at":"2023-01-11T18:49:58.899Z","dependency_job_id":null,"html_url":"https://github.com/bright-tools/ccsm","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/bright-tools/ccsm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-tools%2Fccsm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-tools%2Fccsm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-tools%2Fccsm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-tools%2Fccsm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bright-tools","download_url":"https://codeload.github.com/bright-tools/ccsm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-tools%2Fccsm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28549013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T19:02:06.365Z","status":"ssl_error","status_checked_at":"2026-01-18T19:01:46.239Z","response_time":98,"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":["clang","complexity","metrics","source-metrics"],"created_at":"2026-01-18T19:11:41.262Z","updated_at":"2026-01-18T19:11:41.850Z","avatar_url":"https://github.com/bright-tools.png","language":"C++","readme":"ccsm\n====\n\nC Code Source Metrics - tool to gather simple metrics from C code (C++ will hopefully be \nsupported in the future).\n\nMetrics may provide insight into the size and complexity of code (both of which have \npotential impacts on the ability to effectively test \u0026 maintain it).\n\nSome of the metrics are very straight forward (and arguably may not be\nparticularly useful by themselves), for example the count of the number of 'if'\nconditions.  Other metrics are built on these, such as the [McCabe cyclomatic\ncomplexity](http://en.wikipedia.org/wiki/Cyclomatic_complexity) measure.\n\nThe aim is to also include metrics in order to support the set specified by\n[HIS](http://portal.automotive-his.de/images/pdf/SoftwareTest/his-sc-metriken.1.3.1_e.pdf).\n\nOutput is hierarchical - for example, the metrics relating to each function are\noutput and the metrics for a file will include the functions relating to the\nfunctions within that file.  A global wrap-up provides a top-level overview of\nall files.\n\nCCSM is also able to check metrics against specified limits and output a warning\nin the case that the limit is not adhered to.\n\n* [Quick Start](example/README.md)\n* [Usage information (including command line parameters)](docs/usage.md)\n* [Example output](docs/example_output.md)\n* [Details of metrics](docs/metrics_details.md)\n* [Building \u0026 maintaining](docs/build_and_code.md)\n\nComparison To Other Tools\n=========================\n\nOther tools are available which analyse C code for metrics.  It's possible that the results \nfor some of the metrics will vary slightly between the tools.\n\nUseful Links\n============\n\n1. [C99 Draft](http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbright-tools%2Fccsm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbright-tools%2Fccsm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbright-tools%2Fccsm/lists"}