MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pc_coverage_kind

Function pc_coverage_kind

tests/test_pipeline_conventions.c:323–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321 ASSERT_EQ(rc, 0); ASSERT_TRUE(defaults); PASS();
322}
323static bool pc_coverage_kind(const char *db, const char *path, const char *kind) {
324 cbm_store_t *s = cbm_store_open_path_query(db);
325 cbm_coverage_row_t *rows = NULL; int count = 0; bool found = false;
326 if (s && cbm_store_coverage_get_path(s, PC_PROJECT, path, &rows, &count) == CBM_STORE_OK)
327 for (int i = 0; i < count; i++) found = found || pc_text(rows[i].kind, kind);
328 cbm_store_free_coverage(rows, count); cbm_store_close(s); return found;
329}
330/* A configured form that cannot be mapped degrades its FILE, not the index
331 * (user decision 2026-10-04): the run publishes, the file is indexed without
332 * configured test roles, and it carries a test_declarations diagnostic. Before,

Callers 1

pc_typed_degradeFunction · 0.85

Calls 5

pc_textFunction · 0.85
cbm_store_free_coverageFunction · 0.85
cbm_store_closeFunction · 0.85

Tested by

no test coverage detected