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

Function cv2_profiles

src/mcp/test_impact_coverage.c:1005–1016  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1003}
1004
1005static bool cv2_profiles(cv2_context_t *ctx, cv2_span_t profiles) {
1006 size_t position = ctx->profile_start;
1007 for (int i = 0; i < ctx->profile_count; i++) {
1008 cv2_span_t fields[4];
1009 if (!cv2_step(ctx) || !cv2_row(ctx, profiles, &position, false, fields) ||
1010 !cv2_profile(ctx, fields, i))
1011 return false;
1012 }
1013 if (position != profiles.length)
1014 return cv2_fail(ctx, CBM_COVERAGE_PARSE_FORMAT);
1015 return true;
1016}
1017
1018static bool cv2_test_name(cv2_context_t *ctx, cv2_span_t field, cbm_coverage_test_t *row) {
1019 size_t colon = 0;

Callers 1

Calls 4

cv2_stepFunction · 0.85
cv2_rowFunction · 0.85
cv2_profileFunction · 0.85
cv2_failFunction · 0.85

Tested by

no test coverage detected