{"adoption": {"forks": 355, "observed_at": "2026-08-28T04:03:32.161701+00:00", "stars": 1086}, "canonical_url": "https://ross.abutalabs.com/products/cmockery", "card": {"archived": true, "artifact_type": "library", "description": "A lightweight library to simplify and generalize the process of writing unit tests for C applications.", "domain": ["testing", "developer-tools", "embedded-systems"], "enriched": true, "function": ["testing", "mocking", "e2e-testing"], "health_score": 10, "homepage": null, "language": "Shell", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["google/cmockery"], "name": "google/cmockery", "platform": ["windows", "cross-platform", "c"], "pushed_at": "2020-05-28T15:20:07+00:00", "repo": "google/cmockery", "stars": 1086, "tags": ["unit-testing", "c-unit-tests", "mocking-framework", "lightweight", "legacy-compiler-friendly", "linux"], "topics": ["cmockery", "c", "testing", "tests", "mocking", "mocks", "unit-testing", "embedded-systems"], "urls": [], "use_cases": ["write unit tests for C code", "mock external functions in C unit tests", "test C modules with old compilers", "unit test embedded systems code", "run C tests as standalone executables"], "what_it_is": "Cmockery is a lightweight C library for writing unit tests, compiled into standalone test executables linked with the code under test. It emphasizes minimal dependencies and compatibility with old compilers, making it suitable for testing exotic or embedded code.", "when_to_avoid": ["you want a modern, actively developed C testing framework", "you're testing applications with the latest compilers where richer frameworks fit better", "you need features like test discovery or rich assertion reporting"], "when_to_choose": ["you need a minimal C unit testing framework with few dependencies", "you're stuck with an old compiler that newer frameworks don't support", "you're testing embedded or exotic C code with a custom C library"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cmockery", "repo": "google/cmockery", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:32.161701+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:49:31.709883+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eb1f1288c5e99220f9db3bec8bdd4c46f3130bb1b165f5f3928edfb8635fd639", "fetched_at": "2026-08-28T04:03:32.161701+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/cmockery"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3921, "days_push": 2288, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}