Test coverage
Line coverage per module and file, from the CI run behind release v3.2.1. Aggregated the same way as the project's release notes and pull request coverage comments, so it never drifts from what actually shipped.
Total line coverage: 97.5% (40369/41410).
App — 97.4% (36448/37428)
Crates — 97.4% (31571/32412)
papyrus-ast-cache — 97.4% (609/625)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-ast-cache/src/lib.rs | 90.6% | 116/128 |
app/crates/papyrus-ast-cache/src/version.rs | 95.5% | 21/22 |
app/crates/papyrus-ast-cache/src/bundled.rs | 97.7% | 84/86 |
app/crates/papyrus-ast-cache/src/entry.rs | 98.8% | 85/86 |
app/crates/papyrus-ast-cache/src/bundled_blob.rs | 100.0% | 114/114 |
app/crates/papyrus-ast-cache/src/ops/load.rs | 100.0% | 27/27 |
app/crates/papyrus-ast-cache/src/ops/prime.rs | 100.0% | 18/18 |
app/crates/papyrus-ast-cache/src/ops/store.rs | 100.0% | 102/102 |
app/crates/papyrus-ast-cache/src/ops/test_support.rs | 100.0% | 25/25 |
app/crates/papyrus-ast-cache/src/psc_decode.rs | 100.0% | 17/17 |
papyrus-collision-cache — 98.5% (269/273)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-collision-cache/src/lib.rs | 98.5% | 269/273 |
papyrus-lint-cli — 98.9% (3531/3570)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-lint-cli/src/args/help.rs | 91.5% | 43/47 |
app/crates/papyrus-lint-cli/src/init.rs | 91.7% | 154/168 |
app/crates/papyrus-lint-cli/src/blob.rs | 96.3% | 182/189 |
app/crates/papyrus-lint-cli/src/doctor/report.rs | 96.9% | 31/32 |
app/crates/papyrus-lint-cli/src/project.rs | 98.0% | 50/51 |
app/crates/papyrus-lint-cli/src/args/parse.rs | 98.1% | 53/54 |
app/crates/papyrus-lint-cli/src/doctor/checks.rs | 98.3% | 286/291 |
app/crates/papyrus-lint-cli/src/run_lint_command.rs | 98.8% | 318/322 |
app/crates/papyrus-lint-cli/src/output/mod.rs | 99.0% | 95/96 |
app/crates/papyrus-lint-cli/src/run_lint.rs | 99.2% | 127/128 |
app/crates/papyrus-lint-cli/src/args/validate.rs | 100.0% | 184/184 |
app/crates/papyrus-lint-cli/src/doctor/mod.rs | 100.0% | 44/44 |
app/crates/papyrus-lint-cli/src/lib.rs | 100.0% | 35/35 |
app/crates/papyrus-lint-cli/src/main.rs | 100.0% | 7/7 |
app/crates/papyrus-lint-cli/src/report.rs | 100.0% | 120/120 |
app/crates/papyrus-lint-cli/src/run_fix.rs | 100.0% | 51/51 |
app/crates/papyrus-lint-cli/src/run_scan.rs | 100.0% | 217/217 |
app/crates/papyrus-lint-cli/src/run_tests/basic.rs | 100.0% | 331/331 |
app/crates/papyrus-lint-cli/src/run_tests/compile_check.rs | 100.0% | 83/83 |
app/crates/papyrus-lint-cli/src/run_tests/cross_script_resolution.rs | 100.0% | 227/227 |
app/crates/papyrus-lint-cli/src/run_tests/fix.rs | 100.0% | 253/253 |
app/crates/papyrus-lint-cli/src/run_tests/ppj.rs | 100.0% | 89/89 |
app/crates/papyrus-lint-cli/src/run_tests/script_roots_and_config.rs | 100.0% | 187/187 |
app/crates/papyrus-lint-cli/src/run_tests/stale_output_and_filename_checks.rs | 100.0% | 233/233 |
app/crates/papyrus-lint-cli/src/run_tests/tag_filter.rs | 100.0% | 57/57 |
app/crates/papyrus-lint-cli/src/run_tests/threading.rs | 100.0% | 36/36 |
app/crates/papyrus-lint-cli/src/test_support.rs | 100.0% | 38/38 |
papyrus-lint-config — 98.4% (1748/1777)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-lint-config/src/compiler.rs | 71.4% | 20/28 |
app/crates/papyrus-lint-config/src/compiler_config.rs | 87.1% | 27/31 |
app/crates/papyrus-lint-config/src/script_roots.rs | 90.5% | 38/42 |
app/crates/papyrus-lint-config/src/project_file.rs | 93.8% | 61/65 |
app/crates/papyrus-lint-config/src/lint_config.rs | 96.3% | 26/27 |
app/crates/papyrus-lint-config/src/presets.rs | 97.3% | 254/261 |
app/crates/papyrus-lint-config/src/presets_tests/preset.rs | 98.8% | 83/84 |
app/crates/papyrus-lint-config/src/achlist_config.rs | 100.0% | 11/11 |
app/crates/papyrus-lint-config/src/compiler_config_tests/compile_check.rs | 100.0% | 51/51 |
app/crates/papyrus-lint-config/src/compiler_config_tests/compiler_path.rs | 100.0% | 65/65 |
app/crates/papyrus-lint-config/src/compiler_config_tests/mod.rs | 100.0% | 3/3 |
app/crates/papyrus-lint-config/src/lint_config_tests/config.rs | 100.0% | 121/121 |
app/crates/papyrus-lint-config/src/lint_config_tests/discovery_and_loading.rs | 100.0% | 107/107 |
app/crates/papyrus-lint-config/src/lint_config_tests/mod.rs | 100.0% | 3/3 |
app/crates/papyrus-lint-config/src/preset_files.rs | 100.0% | 57/57 |
app/crates/papyrus-lint-config/src/presets_tests/add.rs | 100.0% | 105/105 |
app/crates/papyrus-lint-config/src/presets_tests/initialize.rs | 100.0% | 130/130 |
app/crates/papyrus-lint-config/src/presets_tests/manage.rs | 100.0% | 163/163 |
app/crates/papyrus-lint-config/src/presets_tests/mod.rs | 100.0% | 3/3 |
app/crates/papyrus-lint-config/src/presets_tests/preset_config.rs | 100.0% | 139/139 |
app/crates/papyrus-lint-config/src/presets_tests/save.rs | 100.0% | 115/115 |
app/crates/papyrus-lint-config/src/script_roots_tests/additional.rs | 100.0% | 73/73 |
app/crates/papyrus-lint-config/src/script_roots_tests/lookup.rs | 100.0% | 76/76 |
app/crates/papyrus-lint-config/src/script_roots_tests/mod.rs | 100.0% | 3/3 |
app/crates/papyrus-lint-config/src/yaml_merge.rs | 100.0% | 14/14 |
papyrus-lint-core — 97.3% (5139/5280)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-lint-core/src/function_table/ancestry/parent_events.rs | 84.9% | 45/53 |
app/crates/papyrus-lint-core/src/script_search_root.rs | 93.2% | 55/59 |
app/crates/papyrus-lint-core/src/function_table/closure.rs | 93.3% | 392/420 |
app/crates/papyrus-lint-core/src/function_table/shared/external_signatures.rs | 94.8% | 219/231 |
app/crates/papyrus-lint-core/src/function_table/external.rs | 95.1% | 193/203 |
app/crates/papyrus-lint-core/src/function_table/load.rs | 95.3% | 181/190 |
app/crates/papyrus-lint-core/src/parallel.rs | 95.7% | 22/23 |
app/crates/papyrus-lint-core/src/script_locator.rs | 95.7% | 399/417 |
app/crates/papyrus-lint-core/src/function_table/shared.rs | 96.6% | 28/29 |
app/crates/papyrus-lint-core/src/presets.rs | 96.7% | 29/30 |
app/crates/papyrus-lint-core/src/function_table/ancestry/members.rs | 96.7% | 176/182 |
app/crates/papyrus-lint-core/src/script_functions.rs | 97.2% | 341/351 |
app/crates/papyrus-lint-core/src/function_table/peer.rs | 97.2% | 212/218 |
app/crates/papyrus-lint-core/src/achlist.rs | 97.4% | 37/38 |
app/crates/papyrus-lint-core/src/project_batch.rs | 97.4% | 76/78 |
app/crates/papyrus-lint-core/src/function_table/ancestry/cached.rs | 97.7% | 254/260 |
app/crates/papyrus-lint-core/src/function_table/known.rs | 97.7% | 128/131 |
app/crates/papyrus-lint-core/src/function_table/ancestry/remote_events.rs | 98.0% | 48/49 |
app/crates/papyrus-lint-core/src/function_table/ancestry.rs | 98.0% | 50/51 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/cached_lookups.rs | 98.2% | 112/114 |
app/crates/papyrus-lint-core/src/project_root.rs | 98.4% | 62/63 |
app/crates/papyrus-lint-core/src/function_table/ancestry/states.rs | 98.4% | 126/128 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/members.rs | 98.4% | 189/192 |
app/crates/papyrus-lint-core/src/function_table/mod.rs | 98.7% | 149/151 |
app/crates/papyrus-lint-core/src/project_lint.rs | 98.9% | 92/93 |
app/crates/papyrus-lint-core/src/compiler.rs | 99.1% | 113/114 |
app/crates/papyrus-lint-core/src/ppj.rs | 99.3% | 149/150 |
app/crates/papyrus-lint-core/src/compile_diagnostics.rs | 100.0% | 36/36 |
app/crates/papyrus-lint-core/src/content_hash.rs | 100.0% | 11/11 |
app/crates/papyrus-lint-core/src/diff.rs | 100.0% | 15/15 |
app/crates/papyrus-lint-core/src/function_table/ancestry/events.rs | 100.0% | 120/120 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/events.rs | 100.0% | 32/32 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/functions.rs | 100.0% | 226/226 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/parent_events.rs | 100.0% | 129/129 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/properties_and_fields.rs | 100.0% | 105/105 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/remote_events.rs | 100.0% | 120/120 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/states.rs | 100.0% | 131/131 |
app/crates/papyrus-lint-core/src/function_table/ancestry_tests/types.rs | 100.0% | 93/93 |
app/crates/papyrus-lint-core/src/function_table/test_support.rs | 100.0% | 17/17 |
app/crates/papyrus-lint-core/src/ignore_file.rs | 100.0% | 126/126 |
app/crates/papyrus-lint-core/src/native_globals.rs | 100.0% | 10/10 |
app/crates/papyrus-lint-core/src/pex_header.rs | 100.0% | 41/41 |
app/crates/papyrus-lint-core/src/source_encoding.rs | 100.0% | 28/28 |
app/crates/papyrus-lint-core/src/stale_pex.rs | 100.0% | 22/22 |
papyrus-lint-live — 100.0% (48/48)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-lint-live/src/analysis.rs | 100.0% | 25/25 |
app/crates/papyrus-lint-live/src/config.rs | 100.0% | 23/23 |
papyrus-lint-lsp — 98.0% (748/763)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-lint-lsp/src/server.rs | 95.6% | 216/226 |
app/crates/papyrus-lint-lsp/src/documents.rs | 98.7% | 155/157 |
app/crates/papyrus-lint-lsp/src/code_actions.rs | 98.8% | 247/250 |
app/crates/papyrus-lint-lsp/src/commands.rs | 100.0% | 17/17 |
app/crates/papyrus-lint-lsp/src/diagnostics.rs | 100.0% | 39/39 |
app/crates/papyrus-lint-lsp/src/framing.rs | 100.0% | 45/45 |
app/crates/papyrus-lint-lsp/src/main.rs | 100.0% | 29/29 |
papyrus-lint-output — 98.9% (278/281)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-lint-output/src/plain.rs | 97.1% | 100/103 |
app/crates/papyrus-lint-output/src/ai.rs | 100.0% | 112/112 |
app/crates/papyrus-lint-output/src/diagnostic.rs | 100.0% | 40/40 |
app/crates/papyrus-lint-output/src/json.rs | 100.0% | 26/26 |
papyrus-lints — 96.8% (17247/17815)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-lints/src/quest_stage_logic_gap.rs | 77.3% | 99/128 |
app/crates/papyrus-lints/src/useless_downcast.rs | 90.6% | 135/149 |
app/crates/papyrus-lints/src/redundant_bool_assignment.rs | 91.7% | 144/157 |
app/crates/papyrus-lints/src/argument_naming.rs | 91.7% | 222/242 |
app/crates/papyrus-lints/src/invariant_loop_condition.rs | 92.2% | 106/115 |
app/crates/papyrus-lints/src/unchecked_cast.rs | 92.2% | 214/232 |
app/crates/papyrus-lints/src/local_variable_shadowing.rs | 92.4% | 157/170 |
app/crates/papyrus-lints/src/unused_local_variable.rs | 92.5% | 135/146 |
app/crates/papyrus-lints/src/redundant_condition_logic.rs | 92.5% | 197/213 |
app/crates/papyrus-lints/src/formid_hex_notation.rs | 92.9% | 169/182 |
app/crates/papyrus-lints/src/cyclomatic_complexity.rs | 93.1% | 67/72 |
app/crates/papyrus-lints/src/identifier_casing.rs | 93.2% | 259/278 |
app/crates/papyrus-lints/src/unguarded_self_recursion.rs | 93.3% | 278/298 |
app/crates/papyrus-lints/src/return_types.rs | 93.5% | 158/169 |
app/crates/papyrus-lints/src/const_eval.rs | 93.8% | 91/97 |
app/crates/papyrus-lints/src/array_bounds.rs | 93.9% | 153/163 |
app/crates/papyrus-lints/src/float_int_conversion.rs | 93.9% | 46/49 |
app/crates/papyrus-lints/src/unknown_remote_event.rs | 94.0% | 94/100 |
app/crates/papyrus-lints/src/unchecked_array_element.rs | 94.2% | 261/277 |
app/crates/papyrus-lints/src/magic_numbers.rs | 94.4% | 118/125 |
app/crates/papyrus-lints/src/readonly_property_write.rs | 94.5% | 86/91 |
app/crates/papyrus-lints/src/missing_update_handler.rs | 94.6% | 106/112 |
app/crates/papyrus-lints/src/unreachable_elseif.rs | 94.8% | 145/153 |
app/crates/papyrus-lints/src/binary_operator_spacing.rs | 94.8% | 128/135 |
app/crates/papyrus-lints/src/missing_doc_comment.rs | 94.9% | 111/117 |
app/crates/papyrus-lints/src/repeated_getvalue.rs | 94.9% | 93/98 |
app/crates/papyrus-lints/src/duplicate_conditional_body.rs | 94.9% | 187/197 |
app/crates/papyrus-lints/src/state_missing_empty_fallback.rs | 94.9% | 131/138 |
app/crates/papyrus-lints/src/forbidden_functions.rs | 95.0% | 113/119 |
app/crates/papyrus-lints/src/unused_import.rs | 95.0% | 172/181 |
app/crates/papyrus-lints/src/unused_getter.rs | 95.1% | 58/61 |
app/crates/papyrus-lints/src/unchecked_form_parameter.rs | 95.1% | 156/164 |
app/crates/papyrus-lints/src/self_assignment.rs | 95.1% | 98/103 |
app/crates/papyrus-lints/src/script_name_collision.rs | 95.2% | 40/42 |
app/crates/papyrus-lints/src/missing_override.rs | 95.3% | 141/148 |
app/crates/papyrus-lints/src/global_variable_increment.rs | 95.5% | 189/198 |
app/crates/papyrus-lints/src/get_form_from_file_load_index.rs | 95.6% | 152/159 |
app/crates/papyrus-lints/src/int_division_to_float.rs | 96.0% | 97/101 |
app/crates/papyrus-lints/src/contradictory_condition.rs | 96.2% | 205/213 |
app/crates/papyrus-lints/src/invalid_random_range.rs | 96.3% | 52/54 |
app/crates/papyrus-lints/src/unused_function.rs | 96.3% | 104/108 |
app/crates/papyrus-lints/src/setvalue_in_loop.rs | 96.3% | 157/163 |
app/crates/papyrus-lints/src/variable_used_before_assignment.rs | 96.5% | 245/254 |
app/crates/papyrus-lints/src/boolean_simplification.rs | 96.5% | 684/709 |
app/crates/papyrus-lints/src/circular_dependency.rs | 96.5% | 83/86 |
app/crates/papyrus-lints/src/nesting_depth.rs | 96.6% | 56/58 |
app/crates/papyrus-lints/src/float_equality.rs | 96.6% | 57/59 |
app/crates/papyrus-lints/src/redundant_bool_assignment_repair.rs | 96.6% | 286/296 |
app/crates/papyrus-lints/src/property_usage.rs | 96.6% | 201/208 |
app/crates/papyrus-lints/src/property_never_read.rs | 96.7% | 29/30 |
app/crates/papyrus-lints/src/missing_parent_call_in_override.rs | 96.7% | 118/122 |
app/crates/papyrus-lints/src/debug_side_effects.rs | 96.8% | 120/124 |
app/crates/papyrus-lints/src/lib_tests/disable.rs | 96.8% | 30/31 |
app/crates/papyrus-lints/src/deprecated_functions.rs | 96.9% | 216/223 |
app/crates/papyrus-lints/src/unused_nodiscard.rs | 96.9% | 216/223 |
app/crates/papyrus-lints/src/property_sorting.rs | 96.9% | 187/193 |
app/crates/papyrus-lints/src/script_filename_mismatch.rs | 97.0% | 64/66 |
app/crates/papyrus-lints/src/array_used_before_new.rs | 97.2% | 205/211 |
app/crates/papyrus-lints/src/global_variable_setvalue.rs | 97.2% | 172/177 |
app/crates/papyrus-lints/src/none_form_usage.rs | 97.3% | 249/256 |
app/crates/papyrus-lints/src/function_length.rs | 97.3% | 143/147 |
app/crates/papyrus-lints/src/short_wait_interval.rs | 97.3% | 72/74 |
app/crates/papyrus-lints/src/type_flow.rs | 97.4% | 149/153 |
app/crates/papyrus-lints/src/unnecessary_function.rs | 97.4% | 262/269 |
app/crates/papyrus-lints/src/named_arguments.rs | 97.5% | 236/242 |
app/crates/papyrus-lints/src/strict_boolean.rs | 97.6% | 80/82 |
app/crates/papyrus-lints/src/self_comparison.rs | 97.8% | 44/45 |
app/crates/papyrus-lints/src/parameter_reassignment.rs | 97.9% | 46/47 |
app/crates/papyrus-lints/src/unused_disable.rs | 98.0% | 192/196 |
app/crates/papyrus-lints/src/lib_tests/lint.rs | 98.0% | 199/203 |
app/crates/papyrus-lints/src/chain_whitespace.rs | 98.1% | 102/104 |
app/crates/papyrus-lints/src/member_access.rs | 98.1% | 103/105 |
app/crates/papyrus-lints/src/register_for_update_in_on_update.rs | 98.1% | 53/54 |
app/crates/papyrus-lints/src/place_at_me.rs | 98.3% | 57/58 |
app/crates/papyrus-lints/src/unregistered_remote_event.rs | 98.4% | 121/123 |
app/crates/papyrus-lints/src/event_signature.rs | 98.4% | 62/63 |
app/crates/papyrus-lints/src/numeric_comparison.rs | 98.5% | 64/65 |
app/crates/papyrus-lints/src/non_global_function_call.rs | 98.5% | 65/66 |
app/crates/papyrus-lints/src/config.rs | 98.5% | 67/68 |
app/crates/papyrus-lints/src/member_chain_none_usage.rs | 98.6% | 69/70 |
app/crates/papyrus-lints/src/impossible_cast.rs | 98.6% | 73/74 |
app/crates/papyrus-lints/src/state_count.rs | 98.7% | 76/77 |
app/crates/papyrus-lints/src/argument_types.rs | 98.7% | 310/314 |
app/crates/papyrus-lints/src/static_function_call_via_instance.rs | 98.7% | 78/79 |
app/crates/papyrus-lints/src/alias_cast_without_getreference.rs | 98.8% | 80/81 |
app/crates/papyrus-lints/src/type_casing.rs | 98.8% | 165/167 |
app/crates/papyrus-lints/src/get_state_comparison.rs | 98.9% | 87/88 |
app/crates/papyrus-lints/src/get_form_from_file_skyrim_esm.rs | 99.0% | 95/96 |
app/crates/papyrus-lints/src/repeated_setoutfit.rs | 99.1% | 105/106 |
app/crates/papyrus-lints/src/token_walk.rs | 99.1% | 109/110 |
app/crates/papyrus-lints/src/assignment_overwritten.rs | 99.2% | 364/367 |
app/crates/papyrus-lints/src/slow_functions.rs | 99.2% | 127/128 |
app/crates/papyrus-lints/src/unresolved_script.rs | 99.2% | 131/132 |
app/crates/papyrus-lints/src/actor_value.rs | 100.0% | 52/52 |
app/crates/papyrus-lints/src/argument_override_types.rs | 100.0% | 104/104 |
app/crates/papyrus-lints/src/array_size_range.rs | 100.0% | 27/27 |
app/crates/papyrus-lints/src/assignment_operator_spacing.rs | 100.0% | 30/30 |
app/crates/papyrus-lints/src/auto_state_oninit_misunderstanding.rs | 100.0% | 42/42 |
app/crates/papyrus-lints/src/block_comment.rs | 100.0% | 36/36 |
app/crates/papyrus-lints/src/comma_spacing.rs | 100.0% | 102/102 |
app/crates/papyrus-lints/src/conflicting_script_versions.rs | 100.0% | 36/36 |
app/crates/papyrus-lints/src/default_property_value.rs | 100.0% | 40/40 |
app/crates/papyrus-lints/src/disable_comments.rs | 100.0% | 154/154 |
app/crates/papyrus-lints/src/division_by_zero.rs | 100.0% | 35/35 |
app/crates/papyrus-lints/src/duplicate_import.rs | 100.0% | 74/74 |
app/crates/papyrus-lints/src/empty_body.rs | 100.0% | 149/149 |
app/crates/papyrus-lints/src/empty_event_handler.rs | 100.0% | 43/43 |
app/crates/papyrus-lints/src/exclamation_spacing.rs | 100.0% | 99/99 |
app/crates/papyrus-lints/src/explicit_return.rs | 100.0% | 45/45 |
app/crates/papyrus-lints/src/external_signatures.rs | 100.0% | 87/87 |
app/crates/papyrus-lints/src/final_newline.rs | 100.0% | 59/59 |
app/crates/papyrus-lints/src/forced_encoding.rs | 100.0% | 54/54 |
app/crates/papyrus-lints/src/fragment_code.rs | 100.0% | 66/66 |
app/crates/papyrus-lints/src/function_override.rs | 100.0% | 63/63 |
app/crates/papyrus-lints/src/goto_state.rs | 100.0% | 75/75 |
app/crates/papyrus-lints/src/hungarian_prefix.rs | 100.0% | 113/113 |
app/crates/papyrus-lints/src/indentation.rs | 100.0% | 191/191 |
app/crates/papyrus-lints/src/lib.rs | 100.0% | 233/233 |
app/crates/papyrus-lints/src/lib_tests/diagnostic.rs | 100.0% | 9/9 |
app/crates/papyrus-lints/src/lib_tests/public_helpers.rs | 100.0% | 39/39 |
app/crates/papyrus-lints/src/lib_tests/register_for_update_in_on_update_flag.rs | 100.0% | 17/17 |
app/crates/papyrus-lints/src/lib_tests/repair.rs | 100.0% | 136/136 |
app/crates/papyrus-lints/src/lib_tests/repair_external.rs | 100.0% | 105/105 |
app/crates/papyrus-lints/src/lib_tests/restrict_to_line.rs | 100.0% | 54/54 |
app/crates/papyrus-lints/src/lib_tests/rule_flags.rs | 100.0% | 311/311 |
app/crates/papyrus-lints/src/lib_tests/rule_flags_external.rs | 100.0% | 171/171 |
app/crates/papyrus-lints/src/lib_tests/support.rs | 100.0% | 105/105 |
app/crates/papyrus-lints/src/line_endings.rs | 100.0% | 74/74 |
app/crates/papyrus-lints/src/line_length.rs | 100.0% | 22/22 |
app/crates/papyrus-lints/src/multiple_auto_states.rs | 100.0% | 20/20 |
app/crates/papyrus-lints/src/native_function_usage.rs | 100.0% | 36/36 |
app/crates/papyrus-lints/src/nodiscard_comments.rs | 100.0% | 41/41 |
app/crates/papyrus-lints/src/operator_spacing.rs | 100.0% | 32/32 |
app/crates/papyrus-lints/src/parameter_count.rs | 100.0% | 28/28 |
app/crates/papyrus-lints/src/property_never_assigned.rs | 100.0% | 34/34 |
app/crates/papyrus-lints/src/redundant_condition.rs | 100.0% | 26/26 |
app/crates/papyrus-lints/src/registry.rs | 100.0% | 8/8 |
app/crates/papyrus-lints/src/semicolon.rs | 100.0% | 79/79 |
app/crates/papyrus-lints/src/state_function_signature.rs | 100.0% | 109/109 |
app/crates/papyrus-lints/src/state_reference.rs | 100.0% | 21/21 |
app/crates/papyrus-lints/src/static_condition.rs | 100.0% | 35/35 |
app/crates/papyrus-lints/src/tags.rs | 100.0% | 12/12 |
app/crates/papyrus-lints/src/too_many_states.rs | 100.0% | 19/19 |
app/crates/papyrus-lints/src/trailing_whitespace.rs | 100.0% | 59/59 |
app/crates/papyrus-lints/src/undefined_event.rs | 100.0% | 38/38 |
app/crates/papyrus-lints/src/unreachable_statement.rs | 100.0% | 55/55 |
app/crates/papyrus-lints/src/unused_property.rs | 100.0% | 30/30 |
app/crates/papyrus-lints/src/unused_state.rs | 100.0% | 50/50 |
app/crates/papyrus-lints/src/utf8_bom.rs | 100.0% | 40/40 |
app/crates/papyrus-lints/src/visitor.rs | 100.0% | 395/395 |
papyrus-parser — 98.7% (1954/1980)
| File | Coverage | Lines |
|---|---|---|
app/crates/papyrus-parser/src/types.rs | 95.2% | 118/124 |
app/crates/papyrus-parser/src/visit.rs | 95.5% | 191/200 |
app/crates/papyrus-parser/src/lexer.rs | 98.2% | 280/285 |
app/crates/papyrus-parser/src/parser/declarations.rs | 99.0% | 504/509 |
app/crates/papyrus-parser/src/parser.rs | 99.4% | 171/172 |
app/crates/papyrus-parser/src/ast.rs | 100.0% | 6/6 |
app/crates/papyrus-parser/src/cache.rs | 100.0% | 74/74 |
app/crates/papyrus-parser/src/comment_annotations.rs | 100.0% | 65/65 |
app/crates/papyrus-parser/src/lib.rs | 100.0% | 38/38 |
app/crates/papyrus-parser/src/parser/expressions.rs | 100.0% | 248/248 |
app/crates/papyrus-parser/src/parser/statements.rs | 100.0% | 205/205 |
app/crates/papyrus-parser/src/token.rs | 100.0% | 54/54 |
frontend — 97.8% (2425/2479)
| File | Coverage | Lines |
|---|---|---|
app/src/project-io.ts | 91.5% | 43/47 |
app/src/live-edit-lint.ts | 91.7% | 22/24 |
app/src/lint-config-controls.ts | 92.8% | 181/195 |
app/src/nodiscard.ts | 93.1% | 27/29 |
app/src/code-viewer-diff.ts | 93.3% | 28/30 |
app/src/code-viewer-compile.ts | 94.4% | 17/18 |
app/src/live-edit-pointer.ts | 95.1% | 116/122 |
app/src/live-edit-highlight.ts | 95.5% | 21/22 |
app/src/progress.ts | 95.9% | 47/49 |
app/src/main-tabs.ts | 96.2% | 25/26 |
app/src/code-viewer-actions.ts | 96.2% | 102/106 |
app/src/results-list-actions.ts | 97.0% | 32/33 |
app/src/config-ui.ts | 97.0% | 65/67 |
app/src/code-viewer-view.ts | 97.7% | 42/43 |
app/src/results-list-render.ts | 97.7% | 42/43 |
app/src/drop.ts | 98.0% | 148/151 |
app/src/live-edit-persist.ts | 98.2% | 55/56 |
app/src/presets-picker.ts | 98.4% | 60/61 |
app/src/results-list-mass-fix.ts | 98.4% | 60/61 |
app/src/results-filter.ts | 98.6% | 139/141 |
app/src/backend.ts | 98.6% | 71/72 |
app/src/live-edit-autocomplete.ts | 98.9% | 92/93 |
app/src/autocomplete-members.ts | 100.0% | 13/13 |
app/src/backend-context.ts | 100.0% | 1/1 |
app/src/backend-types.ts | 100.0% | 2/2 |
app/src/code-viewer-dialog.ts | 100.0% | 31/31 |
app/src/code-viewer-mode.ts | 100.0% | 11/11 |
app/src/code-viewer-state.ts | 100.0% | 27/27 |
app/src/code-viewer.ts | 100.0% | 21/21 |
app/src/config-io.ts | 100.0% | 14/14 |
app/src/context-menu.ts | 100.0% | 10/10 |
app/src/download-text-file.ts | 100.0% | 7/7 |
app/src/finding-fixability.ts | 100.0% | 5/5 |
app/src/finding-message.ts | 100.0% | 1/1 |
app/src/highlight.ts | 100.0% | 53/53 |
app/src/live-edit-members.ts | 100.0% | 10/10 |
app/src/live-edit.ts | 100.0% | 22/22 |
app/src/main-severity.ts | 100.0% | 5/5 |
app/src/main-types.ts | 100.0% | 1/1 |
app/src/main.ts | 100.0% | 77/77 |
app/src/member-documentation.ts | 100.0% | 62/62 |
app/src/papyrus-source.ts | 100.0% | 56/56 |
app/src/path.ts | 100.0% | 16/16 |
app/src/presets-api.ts | 100.0% | 13/13 |
app/src/presets-management.ts | 100.0% | 98/98 |
app/src/presets-state.ts | 100.0% | 30/30 |
app/src/presets.ts | 100.0% | 6/6 |
app/src/project-settings-dom.ts | 100.0% | 19/19 |
app/src/project-settings.ts | 100.0% | 90/90 |
app/src/project-state.ts | 100.0% | 19/19 |
app/src/results-export-ai.ts | 100.0% | 38/38 |
app/src/results-export-json.ts | 100.0% | 3/3 |
app/src/results-export-text.ts | 100.0% | 1/1 |
app/src/results-export-types.ts | 100.0% | 2/2 |
app/src/results-list-export.ts | 100.0% | 27/27 |
app/src/results-list-item.ts | 100.0% | 99/99 |
app/src/results-list-state.ts | 100.0% | 16/16 |
app/src/results-list.ts | 100.0% | 6/6 |
app/src/theme.ts | 100.0% | 22/22 |
app/src/watch.ts | 100.0% | 56/56 |
src-tauri — 96.6% (2452/2537)
| File | Coverage | Lines |
|---|---|---|
app/src-tauri/src/main.rs | 0.0% | 0/3 |
app/src-tauri/src/lib.rs | 45.5% | 5/11 |
app/src-tauri/src/lint_config.rs | 92.1% | 70/76 |
app/src-tauri/src/config_presets.rs | 93.2% | 41/44 |
app/src-tauri/src/project_root.rs | 93.8% | 15/16 |
app/src-tauri/src/lint_tests/disable_directives.rs | 94.6% | 212/224 |
app/src-tauri/src/lint.rs | 94.9% | 572/603 |
app/src-tauri/src/export.rs | 95.4% | 62/65 |
app/src-tauri/src/repair.rs | 96.5% | 193/200 |
app/src-tauri/src/files.rs | 97.3% | 110/113 |
app/src-tauri/src/lint_tests/project_diagnostics.rs | 97.7% | 254/260 |
app/src-tauri/src/lint_tests/linting.rs | 99.4% | 505/508 |
app/src-tauri/src/lint_tests/compile.rs | 99.5% | 183/184 |
app/src-tauri/src/lint_tests/function_tables.rs | 100.0% | 52/52 |
app/src-tauri/src/lint_tests/script_members.rs | 100.0% | 162/162 |
app/src-tauri/src/meta.rs | 100.0% | 16/16 |
Editor plugins — 99.4% (1752/1763)
SublimeLinter-contrib-papyrus-lint — 99.7% (394/395)
| File | Coverage | Lines |
|---|---|---|
SublimeLinter-contrib-papyrus-lint/cli_download.py | 99.3% | 148/149 |
SublimeLinter-contrib-papyrus-lint/cli_hashes.py | 100.0% | 1/1 |
SublimeLinter-contrib-papyrus-lint/command_helpers.py | 100.0% | 23/23 |
SublimeLinter-contrib-papyrus-lint/commands.py | 100.0% | 4/4 |
SublimeLinter-contrib-papyrus-lint/fix_command.py | 100.0% | 31/31 |
SublimeLinter-contrib-papyrus-lint/fix_issue_command.py | 100.0% | 68/68 |
SublimeLinter-contrib-papyrus-lint/init_command.py | 100.0% | 66/66 |
SublimeLinter-contrib-papyrus-lint/linter.py | 100.0% | 53/53 |
vscode-extension — 99.3% (1358/1368)
| File | Coverage | Lines |
|---|---|---|
vscode-extension/src/config.js | 96.9% | 125/129 |
vscode-extension/src/suppressions.js | 97.7% | 254/260 |
vscode-extension/src/cli.js | 100.0% | 91/91 |
vscode-extension/src/cliDownload.js | 100.0% | 122/122 |
vscode-extension/src/cliHashes.js | 100.0% | 12/12 |
vscode-extension/src/codeActions.js | 100.0% | 56/56 |
vscode-extension/src/diagnostics.js | 100.0% | 22/22 |
vscode-extension/src/documents.js | 100.0% | 34/34 |
vscode-extension/src/extension.js | 100.0% | 55/55 |
vscode-extension/src/ignore.js | 100.0% | 135/135 |
vscode-extension/src/init.js | 100.0% | 125/125 |
vscode-extension/src/linter.js | 100.0% | 114/114 |
vscode-extension/src/liveLint.js | 100.0% | 46/46 |
vscode-extension/src/nodiscardAction.js | 100.0% | 34/34 |
vscode-extension/src/nodiscardHeader.js | 100.0% | 90/90 |
vscode-extension/src/vscodeDiagnostics.js | 100.0% | 43/43 |
Tooling — 97.7% (2169/2219)
CI tooling — 97.9% (1241/1267)
| File | Coverage | Lines |
|---|---|---|
.github/scripts/generate_nexuspage_tables.py | 88.5% | 23/26 |
.github/scripts/lighthouse_summary.py | 90.9% | 10/11 |
.github/scripts/render_nexuspage.py | 91.7% | 11/12 |
.github/scripts/write_readme_links.py | 92.3% | 12/13 |
.github/scripts/build_rules_json.py | 93.3% | 14/15 |
.github/scripts/ci_lib/base_scripts_snapshot.py | 93.3% | 84/90 |
.github/scripts/bbcode_lint.py | 93.8% | 15/16 |
.github/scripts/write_cli_hashes.py | 93.8% | 15/16 |
.github/scripts/coverage_summary.py | 95.5% | 21/22 |
.github/scripts/generate_default_config.py | 95.7% | 22/23 |
.github/scripts/semver_advisory.py | 96.9% | 31/32 |
.github/scripts/generate_config_schema.py | 97.0% | 32/33 |
.github/scripts/ci_lib/default_config.py | 97.6% | 80/82 |
.github/scripts/ci_lib/links.py | 98.4% | 123/125 |
.github/scripts/base_scripts_snapshot.py | 98.6% | 71/72 |
.github/scripts/markdown_link_lint.py | 99.1% | 108/109 |
.github/scripts/ci_lib/lint_settings_yaml.py | 99.4% | 155/156 |
.github/scripts/ci_lib/__init__.py | n/a | 0/0 |
.github/scripts/ci_lib/bbcode.py | 100.0% | 44/44 |
.github/scripts/ci_lib/cli_release_hashes.py | 100.0% | 43/43 |
.github/scripts/ci_lib/config_schema.py | 100.0% | 39/39 |
.github/scripts/ci_lib/coverage_lcov.py | 100.0% | 56/56 |
.github/scripts/ci_lib/lighthouse_report.py | 100.0% | 71/71 |
.github/scripts/ci_lib/nexuspage_render.py | 100.0% | 28/28 |
.github/scripts/ci_lib/nexuspage_tables.py | 100.0% | 30/30 |
.github/scripts/ci_lib/readme_links.py | 100.0% | 11/11 |
.github/scripts/ci_lib/rules_json.py | 100.0% | 17/17 |
.github/scripts/ci_lib/semver.py | 100.0% | 75/75 |
Pages (site builder) — 97.5% (928/952)
| File | Coverage | Lines |
|---|---|---|
pages/videos_page.py | 92.0% | 23/25 |
pages/rules_page.py | 93.8% | 90/96 |
pages/site_chrome.py | 95.6% | 65/68 |
pages/css.py | 95.7% | 22/23 |
pages/coverage_report.py | 95.8% | 115/120 |
pages/docs_pages.py | 96.4% | 135/140 |
pages/markdown_render.py | 98.7% | 153/155 |
pages/browser_check.py | 100.0% | 136/136 |
pages/build.py | 100.0% | 82/82 |
pages/highlighting.py | 100.0% | 21/21 |
pages/minify.py | 100.0% | 19/19 |
pages/site_assets.py | 100.0% | 34/34 |
pages/site_index.py | 100.0% | 22/22 |
pages/static_pages.py | 100.0% | 11/11 |