passed Passed in the packaged run.
What this test is for Why it exists
The test says nothing about why.
What this test is for Why it exists
The test says nothing about why.
What it exercises The parts of the system's flows this test ran, measured by per-test coverage: lit steps ran in this test, dimmed ones did not, and ▶ marks where the test called in. Each title opens the whole flow with these steps lit.
tests/guard/test_guard_parser.py… 112 earlier steps
program launcherprogram launcher program launcherprogram launcher clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.pyclew/guard/ts_parser.py other filesother files other filesother files opt (line 168) opt loop (line 647) loop opt (line 786) opt opt (line 652) opt main 113. language_for_file → _language_from_config 113 _language_from_config 114. parse_content_for_file → parse_functions 114 parse_functions 115. parse_functions → parse_functions_ts 115 parse_functions_ts ▶ test enters 116. parse_functions_ts → get_parser_for_language 116 get_parser_for_language 117. parse_functions_ts → get_language_spec 117 get_language_spec 118–119. parse_functions_ts → _collect_functions 118 _collect_functions +1 more 120. _is_rust_test_item → _rust_attributes 120 _rust_attributes 121. _collect_functions → _enclosing_class_for 121 _enclosing_class_for 122. _enclosing_class_for → _rust_impl_self_type 122 _rust_impl_self_type 123. _collect_functions → _declared_function 123 _declared_function 124–125. _collect_functions → _append_declaration 124 _append_declaration +1 more … 1 step between
program launcherprogram launcher program launcherprogram launcher program launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/config.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.py other filesother files other filesother files other files loop (line 647) loop opt (line 377) opt alt (line 380) alt opt (line 383) opt opt (line 384) opt opt (line 400) opt opt (line 658) opt opt (line 681) opt opt (line 683) opt alt (line 684) alt opt (line 227) opt try (line 241) try main 127–128. _append_declaration → _qualified_enclosing 127 _qualified_enclosing +1 more 129–137. _collect_functions → _resolve_function_node 129 _resolve_function_node +8 more 138–140. _find_preceding_doxygen → _collect_rust_doc 138 _collect_rust_doc +2 more 141. _find_preceding_doxygen → _collect_c_comment 141 _collect_c_comment 142. _find_preceding_doxygen → _find_python_docstring_block 142 _find_python_docstring_block 143. _find_preceding_doxygen → parse_doxygen_tags 143 parse_doxygen_tags 144. _find_preceding_doxygen → apply_autobrief 144 apply_autobrief 145. _find_preceding_doxygen → _last_row 145 _last_row 146–149. _collect_functions → _qualified_enclosing 146 _qualified_enclosing +3 more 150. _js_returns_void → _function_carrier 150 _function_carrier 151. _collect_functions → _produced_class 151 _produced_class 152. _produced_class → _function_carrier 152 _function_carrier 153. _collect_functions → _collect_functions 153 _collect_functions 154. _collect_functions → _collect_functions 154 _collect_functions 155. validate_file → unconfigured_language 155 unconfigured_language 156. validate_file → check_file_presence 156 check_file_presence … 6 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py other filesother files other filesother files opt (line 1198) opt loop (line 143) loop opt (line 1171) opt loop (line 181) loop main 163. _extract_file_block_text → _docstring_block 163 _docstring_block 164. _check_file_block_tags → parse_doxygen_tags 164 parse_doxygen_tags 165–170. parse_doxygen_tags → _mask_escaped_at 165 _mask_escaped_at +5 more 171. _check_file_block_tags → apply_autobrief 171 apply_autobrief 172. apply_autobrief → _mask_escaped_at 172 _mask_escaped_at … 185 later steps
tests/guard/test_guard_ts_parser.py… 113 earlier steps
program launcherprogram launcher program launcherprogram launcher clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.pyclew/guard/ts_parser.py other filesother files other filesother files loop (line 647) loop opt (line 786) opt opt (line 652) opt main 114. parse_content_for_file → parse_functions 114 parse_functions 115. parse_functions → parse_functions_ts 115 parse_functions_ts 116. parse_functions_ts → get_parser_for_language 116 get_parser_for_language ▶ test enters 117. parse_functions_ts → get_language_spec 117 get_language_spec 118–119. parse_functions_ts → _collect_functions 118 _collect_functions +1 more 120. _is_rust_test_item → _rust_attributes 120 _rust_attributes 121. _collect_functions → _enclosing_class_for 121 _enclosing_class_for 122. _enclosing_class_for → _rust_impl_self_type 122 _rust_impl_self_type 123. _collect_functions → _declared_function 123 _declared_function 124–125. _collect_functions → _append_declaration 124 _append_declaration +1 more … 1 step between
program launcherprogram launcher program launcherprogram launcher clew/guard/ts_parser.pyclew/guard/ts_parser.py clew/guard/ts_parser.pyclew/guard/ts_parser.py other filesother files other filesother files loop (line 647) loop opt (line 658) opt opt (line 377) opt alt (line 380) alt opt (line 383) opt opt (line 384) opt opt (line 400) opt opt (line 681) opt opt (line 683) opt main 127–128. _append_declaration → _qualified_enclosing 127 _qualified_enclosing +1 more 129–130. _collect_functions → _resolve_function_node 129 _resolve_function_node +1 more 131. _resolve_function_node → _bound_function 131 _bound_function 132–137. _collect_functions → _extract_function_name 132 _extract_function_name +5 more 138–140. _find_preceding_doxygen → _collect_rust_doc 138 _collect_rust_doc +2 more 141. _find_preceding_doxygen → _collect_c_comment 141 _collect_c_comment 142. _find_preceding_doxygen → _find_python_docstring_block 142 _find_python_docstring_block 143. _find_preceding_doxygen → parse_doxygen_tags 143 parse_doxygen_tags 144. _find_preceding_doxygen → apply_autobrief 144 apply_autobrief 145. _find_preceding_doxygen → _last_row 145 _last_row 146–149. _collect_functions → _qualified_enclosing 146 _qualified_enclosing +3 more 150. _js_returns_void → _function_carrier 150 _function_carrier 151. _collect_functions → _produced_class 151 _produced_class 152. _produced_class → _function_carrier 152 _function_carrier 153. _collect_functions → _collect_functions 153 _collect_functions … 204 later steps
tests/guard/test_guard_parser.py:90 · its file's page
What it checks (3) assert "Real_Func" in namesassert "if" not in namesassert "return" not in namesWhere 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_exclude_names→ parse_c
What 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.
tests/guard/test_guard_ts_parser.py:77 · its file's page
What it checks (1) assert "if" not in namesWhere the product reaches it main → _run → run_precommit → _validate_files → validate_file → parse_content_for_file → parse_functions → parse_functions_ts (flow) What 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 6 requirements Its run touches their code; that is reach, not proof.