passed Passed in the packaged run.
What this test is for Why it exists
Globs by default, `re:` for a regex.
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.
… 16 earlier steps
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py opt (line 733) opt opt (line 705) opt main 17. _run → _setup_logging 17 _setup_logging 18. _run → load_config 18 load_config 19. load_config → refuse_doxygen_guard_leftovers 19 refuse_doxygen_guard_leftovers ▶ test enters 20. load_config → _fresh_defaults 20 _fresh_defaults 21–22. load_config → read_requirements_section 21 read_requirements_section +1 more … 56 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.pyclew/guard/impact.py other filesother files other filesother files try (line 345) try loop (line 326) loop loop (line 69) loop opt (line 178) opt main 79. load_failure_mode_ids → modes_of 79 modes_of 80. _validate_files → validate_file 80 validate_file 81. validate_file → get_validate 81 get_validate ▶ test enters 82. validate_file → excluded_by 82 excluded_by 83–84. excluded_by → compile_globs 83 compile_globs +1 more 85. validate_file → gate_exclusion 85 gate_exclusion 86–87. gate_exclusion → _gate_matcher 86 _gate_matcher +1 more 88–89. load_toolchain_config → _read_toml 88 _read_toml +1 more … 8 steps 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/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 opt (line 184) opt loop (line 186) loop opt (line 189) opt opt (line 98) opt opt (line 168) opt loop (line 647) loop opt (line 786) opt opt (line 652) opt main 98–99. load_toolchain_config → _entry_globs 98 _entry_globs +1 more 100. _gate_matcher → compile_globs 100 compile_globs 101. gate_exclusion → matches 101 matches 102. gate_exclusion → binary_file 102 binary_file 103. validate_file → parse_source_file 103 parse_source_file ▶ test enters 104–109. parse_source_file → parse_source_file_with_content 104 parse_source_file_with_content +5 more 110. parse_content_for_file → language_for_file 110 language_for_file 111–112. language_for_file → language_for_extension 111 language_for_extension +1 more 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 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 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 opt (line 227) opt try (line 241) try 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–154. _collect_functions → _collect_functions 153 _collect_functions +1 more 155. validate_file → unconfigured_language 155 unconfigured_language 156. validate_file → check_file_presence 156 check_file_presence ▶ test enters 157. check_file_presence → get_validate 157 get_validate 158–159. check_file_presence → _find_file_doxygen_start 158 _find_file_doxygen_start +1 more … 13 steps 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/impact.pyclew/guard/impact.py clew/guard/impact.pyclew/guard/impact.py clew/guard/impact.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.py other filesother files other filesother files other files loop (line 181) loop loop (line 118) loop opt (line 120) opt opt (line 268) opt opt (line 138) opt opt (line 247) opt loop (line 193) loop loop (line 631) loop loop (line 635) loop loop (line 638) loop main 173–174. apply_autobrief → _split_inline_tags 173 _split_inline_tags +1 more 175. validate_file → check_presence 175 check_presence ▶ test enters 176. check_presence → get_validate 176 get_validate 177. check_presence → _is_void_function 177 _is_void_function 178. _is_void_function → _is_rust_unit_fn 178 _is_rust_unit_fn 179. check_presence → _suggest_skeleton 179 _suggest_skeleton 180. check_presence → _brief_hint 180 _brief_hint 181. validate_file → check_return_presence 181 check_return_presence 182. check_return_presence → get_validate 182 get_validate 183. check_return_presence → _require_return 183 _require_return 184. check_return_presence → _is_void_function 184 _is_void_function 185. validate_file → check_tags 185 check_tags 186. check_tags → get_validate 186 get_validate 187. check_tags → _validate_tag_value 187 _validate_tag_value 188. validate_file → check_req_coverage 188 check_req_coverage 189. check_req_coverage → get_requirements 189 get_requirements 190. check_req_coverage → _has_active_requirements 190 _has_active_requirements 191. _has_active_requirements → load_requirements_full 191 load_requirements_full … 9 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py loop (line 361) loop opt (line 374) opt opt (line 251) opt main 201. _has_version_gate → get_requirements 201 get_requirements 202. check_req_coverage → _exemption_hint 202 _exemption_hint 203. validate_file → check_bus_tags 203 check_bus_tags ▶ test enters 204. check_bus_tags → get_validate 204 get_validate 205. check_bus_tags → _bus_tags 205 _bus_tags 206. _bus_tags → get_validate 206 get_validate … 2 steps between
program launcherprogram launcher program launcherprogram launcher clew/guard/main.pyclew/guard/main.py clew/guard/main.pyclew/guard/main.py clew/guard/config.pyclew/guard/config.py clew/guard/config.pyclew/guard/config.py clew/guard/checks.pyclew/guard/checks.py clew/guard/checks.pyclew/guard/checks.py loop (line 1337) loop loop (line 252) loop main 209–210. check_bus_tags → _crosses_bus 209 _crosses_bus +1 more 211. validate_file → check_unknown_tags 211 check_unknown_tags ▶ test enters 212. check_unknown_tags → get_validate 212 get_validate 213. check_unknown_tags → _event_tags 213 _event_tags … 2 steps 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 other filesother files other filesother files other files opt (line 924) opt loop (line 252) loop loop (line 1022) loop opt (line 1026) opt opt (line 260) opt loop (line 1096) loop opt (line 265) opt main 216. _edit_distance → _edit_distance 216 _edit_distance 217. _edit_distance → list 217 list 218. validate_file → check_removed_tags 218 check_removed_tags ▶ test enters 219. validate_file → check_exemption_reasons 219 check_exemption_reasons 220. check_exemption_reasons → get_validate 220 get_validate 221. validate_file → check_duplicate_tags 221 check_duplicate_tags 222. check_duplicate_tags → get_validate 222 get_validate 223. validate_file → check_req_exists 223 check_req_exists 224. check_req_exists → get_validate 224 get_validate 225. check_req_exists → _uncheckable 225 _uncheckable 226. validate_file → check_fails_when_exists 226 check_fails_when_exists 227. validate_file → check_fails_when_markers 227 check_fails_when_markers 228. check_fails_when_markers → marker 228 marker 229. validate_file → get_file_at_revision 229 get_file_at_revision … 128 later steps
tests/guard/test_guard_schema_closed.py:91 · its file's page
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_excludes_are_globs_and_a_regex_says_so→ _excluded
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.
and 14 more requirement paths, listed below.
Also reaches 26 requirements Its run touches their code; that is reach, not proof.