{"adoption": {"forks": 608, "observed_at": "2026-08-28T04:06:21.820412+00:00", "stars": 2171}, "canonical_url": "https://ross.abutalabs.com/products/ocmock", "card": {"archived": false, "artifact_type": "library", "description": "Mock objects for Objective-C", "domain": ["testing", "developer-tools"], "enriched": true, "function": ["mocking", "testing"], "health_score": 27, "homepage": "http://ocmock.org", "language": "Objective-C", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["erikdoe/ocmock"], "name": "erikdoe/ocmock", "platform": ["cross-platform"], "pushed_at": "2024-06-30T15:44:47+00:00", "repo": "erikdoe/ocmock", "stars": 2171, "tags": ["objective-c", "mock-objects", "unit-testing", "stubs", "xcode", "macos", "ios"], "topics": ["ocmock", "objective-c", "mock-objects"], "urls": [], "use_cases": ["stub method return values in Objective-C unit tests", "verify interactions between objects in tests", "mock NSUserDefaults and other system classes", "create partial mocks to override methods on real objects", "mock protocols and class methods", "write strict mocks that fail on unexpected calls"], "what_it_is": "OCMock is an Objective-C implementation of mock objects for unit testing, supporting stubs, dynamic mocks, partial mocks, and strict expectations. It integrates with Xcode test targets via CocoaPods or Carthage for both iOS and macOS development.", "when_to_avoid": ["testing Swift-only code where Swift-native mocking may fit better", "non-Apple platforms or non-Objective-C runtimes"], "when_to_choose": ["writing unit tests for Objective-C code on iOS or macOS", "you need stubs, verification, or partial mocks in XCTest", "you want a mature, well-documented mocking library for Apple platforms"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ocmock", "repo": "erikdoe/ocmock", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "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:06:21.820412+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:21.820412+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:49:14.960373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "29dc6ae8114af12b9bdb6a98fe3a6d57211f6ddcc246177c0e1c26bdf37bc950", "fetched_at": "2026-08-28T04:06:21.820412+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikdoe/ocmock"}, {"content_hash": "8f4c29945fc62d890824b675ccb356f1a3eb65681600e695dd3064960eab1856", "fetched_at": "2026-08-29T10:29:23.351135+00:00", "kind": "homepage", "missing": false, "url": "http://ocmock.org"}, {"content_hash": "1d9254942e4dcbab414e742a19762d9b152b9653e01da34cac43a2f3116e7ede", "fetched_at": "2026-08-29T10:29:23.360296+00:00", "kind": "site_page", "missing": false, "url": "https://ocmock.org/reference"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5492, "days_push": 794, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}