test_a_callee_outside_the_index_records_nothing¶
Tests › tests/test_unresolved_inbound.py
What this test is for
Why it exists
THE OTHER CONTROL, and the one that keeps the measurement attributable. A call to `std::to_string` has no candidate row, so there is no indexed function whose `callers` could be understated — the callee is simply not in the corpus. Counting it would produce a number attached to nothing, and on entropic 299 of 662 qualified sites are that shape.
Given
unresolved: list[list[int]] = []
When
_ast_record_call_edge(1, "to_string", {}, [], [], SOURCE_AST_MEMBER, unresolved=unresolved)
Then
- ✓ unresolved equals []
tests/test_unresolved_inbound.py:92 · its file's page
What it checks (1)
assert unresolved == []not attributed
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
test_a_callee_outside_the_index_records_nothing→_ast_record_call_edgeWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-WIKI-054 inferred