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

Function ovp_select

tests/test_test_impact_origins.c:1889–1904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1887}
1888
1889static bool ovp_select(cbm_test_model_t *model, cbm_coverage_map_t *map, unsigned variant) {
1890 cbm_test_reach_t reach[] = {
1891 {"tests/profile_cases.c", "hit", true, false, false},
1892 {"tests/profile_cases.c", "quiet", true, false, false},
1893 {"tests/profile_cases.c", "gap", true, false, false},
1894 {"tests/profile_cases.c", "missing", true, false, false}};
1895 int changed = variant == 3 ? 2 : 0;
1896 cbm_test_selection_input_t input = {.model = model, .coverage = map, .reach = reach,
1897 .reach_count = 4, .changed_function_ids = &changed, .changed_function_count = 1,
1898 .has_changes = true, .diff_complete = true, .inventory_complete = true,
1899 .static_complete = true, .coverage_admitted = true, .coverage_changes_complete = true};
1900 cbm_test_selection_t *result = cbm_test_select(&input);
1901 bool ok = ovp_selection_result(result, variant);
1902 cbm_test_selection_free(result);
1903 return ok;
1904}
1905
1906TEST(origin_profiles_selector_generic_id_domain) {
1907 /* No origin-join precondition: this independently binds the selector seam. */

Callers 1

Calls 3

cbm_test_selectFunction · 0.85
ovp_selection_resultFunction · 0.85
cbm_test_selection_freeFunction · 0.85

Tested by

no test coverage detected