Files analyzed: 431 Languages: Bash, Python, Rust
Total SLOC: 103,562 PLOC: 57,400 Comments: 39,215
Functions/methods: 4,599 Types: 678
Comment ratio: 37.9%
Actionable summary (all languages)
Advisory thresholds: sourced from the `bca.toml` `[thresholds]` table.
Click a column header to sort any table.
| Language | Files | SLOC | Functions | Avg MI | Avg CC | Avg Cognitive |
|---|---|---|---|---|---|---|
| Bash | 12 | 1,484 | 15 | 26.1 | 2.2 | 1.7 |
| Python | 33 | 12,262 | 645 | 6.2 | 2.3 | 1.9 |
| Rust | 386 | 89,816 | 3,939 | 10.0 | 2.1 | 1.1 |
Files: 12 | SLOC: 1,484 | PLOC: 776 | Comment ratio: 33.3%
Average MI (SLOC-weighted): 26.1 (GOOD)
Advisory thresholds: sourced from the `bca.toml` `[thresholds]` table.
Raw counts across all functions, ignoring suppression markers.
No major quality concerns detected.
| File | MI | SLOC | Tokens |
|---|---|---|---|
| utils/check-tools.sh | 7.9 | 372 | 1,592 |
| utils/check-enums-codegen-drift.sh | 25.2 | 171 | 582 |
| utils/check-tools-test.sh | 28.5 | 136 | 484 |
| utils/deploy-book-to-gh-pages.sh | 29.4 | 126 | 530 |
| utils/gate-status-test.sh | 29.9 | 129 | 425 |
| generate-grammars/generate-mozcpp.sh | 31.7 | 122 | 277 |
| utils/check-grammars-crates.sh | 33.4 | 92 | 352 |
| scripts/smoke/cli_wheel_smoke.sh | 35.0 | 99 | 235 |
| generate-grammars/generate-mozjs.sh | 36.3 | 83 | 208 |
| utils/gate-status.sh | 37.4 | 92 | 143 |
| generate-grammars/generate-grammar.sh | 48.4 | 43 | 28 |
| recreate-grammars.sh | 58.2 | 19 | 22 |
MI shown is the Visual Studio rescale (mi_visual_studio), clamped to 0–100: GOOD ≥ 20, MODERATE ≥ 10, else LOW. Large files commonly clamp to 0 — a property of the formula's range, not a meaningful score; rows are still ranked by the unclamped value so the order remains informative. The bca check gate may evaluate a different MI variant (mi.original or mi.sei), so its threshold is not directly comparable to this column.
| Function | File | Line | CC | Cognitive | SLOC | Tokens |
|---|---|---|---|---|---|---|
| diff_dir | utils/check-enums-codegen-drift.sh | 96 | 9 | 14 | 53 | 266 |
| check_release_tools | utils/check-tools.sh | 42 | 5 | 6 | 21 | 108 |
| print_release_hints | utils/check-tools.sh | 64 | 3 | 2 | 11 | 53 |
| expect_eq | utils/check-tools-test.sh | 31 | 2 | 1 | 6 | 32 |
| expect_contains | utils/check-tools-test.sh | 38 | 2 | 1 | 6 | 37 |
| expect_absent | utils/check-tools-test.sh | 45 | 2 | 1 | 6 | 36 |
| expect_eq | utils/gate-status-test.sh | 31 | 2 | 1 | 6 | 32 |
| extract_cyclomatic_sum | scripts/smoke/cli_wheel_smoke.sh | 79 | 1 | 0 | 4 | 27 |
| fail | utils/check-tools-test.sh | 26 | 1 | 0 | 4 | 20 |
| write_cargo_stub | utils/check-tools-test.sh | 56 | 1 | 0 | 19 | 32 |
| run_release_only | utils/check-tools-test.sh | 76 | 1 | 0 | 4 | 34 |
| usage | utils/check-tools.sh | 11 | 1 | 0 | 4 | 13 |
| fail | utils/gate-status-test.sh | 26 | 1 | 0 | 4 | 20 |
| run_gate | utils/gate-status-test.sh | 38 | 1 | 0 | 6 | 28 |
| emit_make_transcript | utils/gate-status-test.sh | 67 | 1 | 0 | 4 | 15 |
Average CC: 2.2 | Max: 9 | CC > 15: 0 functions | CC > 30: 0 functions (excluding suppressed functions)
| Function | File | Line | Cognitive | CC | SLOC | Tokens |
|---|---|---|---|---|---|---|
| diff_dir | utils/check-enums-codegen-drift.sh | 96 | 14 | 9 | 53 | 266 |
| check_release_tools | utils/check-tools.sh | 42 | 6 | 5 | 21 | 108 |
| print_release_hints | utils/check-tools.sh | 64 | 2 | 3 | 11 | 53 |
| expect_eq | utils/check-tools-test.sh | 31 | 1 | 2 | 6 | 32 |
| expect_contains | utils/check-tools-test.sh | 38 | 1 | 2 | 6 | 37 |
| expect_absent | utils/check-tools-test.sh | 45 | 1 | 2 | 6 | 36 |
| expect_eq | utils/gate-status-test.sh | 31 | 1 | 2 | 6 | 32 |
| Function | File | Line | Effort | Volume | Est. Bugs | SLOC | Tokens |
|---|---|---|---|---|---|---|---|
| diff_dir | utils/check-enums-codegen-drift.sh | 96 | 23,035 | 1,004 | 0.27 | 53 | 266 |
| check_release_tools | utils/check-tools.sh | 42 | 8,853 | 454 | 0.14 | 21 | 108 |
| print_release_hints | utils/check-tools.sh | 64 | 916 | 131 | 0.03 | 11 | 53 |
| expect_contains | utils/check-tools-test.sh | 38 | 457 | 84 | 0.02 | 6 | 37 |
| expect_eq | utils/check-tools-test.sh | 31 | 379 | 59 | 0.02 | 6 | 32 |
| expect_eq | utils/gate-status-test.sh | 31 | 379 | 59 | 0.02 | 6 | 32 |
| expect_absent | utils/check-tools-test.sh | 45 | 365 | 78 | 0.02 | 6 | 36 |
| write_cargo_stub | utils/check-tools-test.sh | 56 | 267 | 65 | 0.01 | 19 | 32 |
| fail | utils/check-tools-test.sh | 26 | 161 | 50 | 0.01 | 4 | 20 |
| fail | utils/gate-status-test.sh | 26 | 161 | 50 | 0.01 | 4 | 20 |
| run_release_only | utils/check-tools-test.sh | 76 | 133 | 66 | 0.01 | 4 | 34 |
| extract_cyclomatic_sum | scripts/smoke/cli_wheel_smoke.sh | 79 | 96 | 64 | 0.01 | 4 | 27 |
| run_gate | utils/gate-status-test.sh | 38 | 93 | 47 | 0.01 | 6 | 28 |
| emit_make_transcript | utils/gate-status-test.sh | 67 | 86 | 38 | 0.01 | 4 | 15 |
| usage | utils/check-tools.sh | 11 | 79 | 33 | 0.01 | 4 | 13 |
| Function | File | Line | SLOC | Tokens | CC | Cognitive |
|---|---|---|---|---|---|---|
| diff_dir | utils/check-enums-codegen-drift.sh | 96 | 53 | 266 | 9 | 14 |
| check_release_tools | utils/check-tools.sh | 42 | 21 | 108 | 5 | 6 |
| write_cargo_stub | utils/check-tools-test.sh | 56 | 19 | 32 | 1 | 0 |
| print_release_hints | utils/check-tools.sh | 64 | 11 | 53 | 3 | 2 |
| expect_eq | utils/check-tools-test.sh | 31 | 6 | 32 | 2 | 1 |
| expect_contains | utils/check-tools-test.sh | 38 | 6 | 37 | 2 | 1 |
| expect_absent | utils/check-tools-test.sh | 45 | 6 | 36 | 2 | 1 |
| expect_eq | utils/gate-status-test.sh | 31 | 6 | 32 | 2 | 1 |
| run_gate | utils/gate-status-test.sh | 38 | 6 | 28 | 1 | 0 |
| extract_cyclomatic_sum | scripts/smoke/cli_wheel_smoke.sh | 79 | 4 | 27 | 1 | 0 |
| fail | utils/check-tools-test.sh | 26 | 4 | 20 | 1 | 0 |
| run_release_only | utils/check-tools-test.sh | 76 | 4 | 34 | 1 | 0 |
| usage | utils/check-tools.sh | 11 | 4 | 13 | 1 | 0 |
| fail | utils/gate-status-test.sh | 26 | 4 | 20 | 1 | 0 |
| emit_make_transcript | utils/gate-status-test.sh | 67 | 4 | 15 | 1 | 0 |
| Function | File | Line | ABC | SLOC | Tokens |
|---|---|---|---|---|---|
| diff_dir | utils/check-enums-codegen-drift.sh | 96 | 20.2 | 53 | 266 |
| check_release_tools | utils/check-tools.sh | 42 | 14.0 | 21 | 108 |
| print_release_hints | utils/check-tools.sh | 64 | 6.4 | 11 | 53 |
| expect_contains | utils/check-tools-test.sh | 38 | 3.2 | 6 | 37 |
| expect_absent | utils/check-tools-test.sh | 45 | 3.2 | 6 | 36 |
| expect_eq | utils/check-tools-test.sh | 31 | 2.2 | 6 | 32 |
| write_cargo_stub | utils/check-tools-test.sh | 56 | 2.2 | 19 | 32 |
| run_release_only | utils/check-tools-test.sh | 76 | 2.2 | 4 | 34 |
| expect_eq | utils/gate-status-test.sh | 31 | 2.2 | 6 | 32 |
| extract_cyclomatic_sum | scripts/smoke/cli_wheel_smoke.sh | 79 | 2.0 | 4 | 27 |
| usage | utils/check-tools.sh | 11 | 2.0 | 4 | 13 |
| emit_make_transcript | utils/gate-status-test.sh | 67 | 2.0 | 4 | 15 |
| fail | utils/check-tools-test.sh | 26 | 1.4 | 4 | 20 |
| fail | utils/gate-status-test.sh | 26 | 1.4 | 4 | 20 |
| run_gate | utils/gate-status-test.sh | 38 | 1.4 | 6 | 28 |
Files: 33 | SLOC: 12,262 | PLOC: 7,218 | Comment ratio: 30.0%
Average MI (SLOC-weighted): 6.2 (LOW)
Advisory thresholds: sourced from the `bca.toml` `[thresholds]` table.
Raw counts across all functions, ignoring suppression markers.
| File | MI | SLOC | Tokens |
|---|---|---|---|
| utils/check-rustfmt-bail.py | 0.0 | 648 | 2,912 |
| utils/check-snapshot-anchors.py | 0.0 | 578 | 2,492 |
| utils/check-grammar-marker-sync-test.py | 0.0 | 1,027 | 4,907 |
| utils/check-grammar-marker-sync.py | 0.0 | 721 | 2,677 |
| utils/check-publish-metadata-test.py | 0.0 | 602 | 4,589 |
| utils/check-excluded-manifests-test.py | 0.0 | 681 | 3,041 |
| utils/check-ruff-lockstep-test.py | 2.2 | 512 | 2,825 |
| utils/check-diagnostic-prefix-test.py | 2.9 | 441 | 2,453 |
| utils/check-manpage-drift-test.py | 5.6 | 470 | 2,605 |
| utils/check-diagnostic-prefix.py | 6.1 | 394 | 1,409 |
| utils/check-excluded-manifests.py | 7.0 | 442 | 1,484 |
| utils/check-rustfmt-bail-test.py | 8.1 | 423 | 2,377 |
| utils/check-publish-metadata.py | 8.5 | 405 | 1,490 |
| utils/check-enums-codegen-drift-test.py | 9.9 | 428 | 1,990 |
| utils/worktree-setup-test.py | 10.6 | 361 | 2,245 |
| utils/check-ruff-lockstep.py | 10.7 | 339 | 1,464 |
| utils/check-grammar-crate.py | 12.5 | 448 | 1,651 |
| utils/check-versions.py | 12.6 | 350 | 1,276 |
| utils/check-snapshot-anchors-test.py | 13.5 | 320 | 1,504 |
| utils/verify-name-only-churn.py | 13.7 | 276 | 1,326 |
| utils/check-manpage-assets.py | 15.0 | 270 | 1,220 |
| utils/check-safety-doc-pin-test.py | 15.3 | 281 | 1,337 |
| utils/check-versions-test.py | 15.5 | 247 | 1,235 |
| utils/check-grammar-crate-test.py | 16.4 | 212 | 1,012 |
| utils/worktree-setup.py | 18.5 | 227 | 953 |
| big-code-analysis-py/python/big_code_analysis/__init__.py | 22.5 | 241 | 615 |
| utils/check-manpage-drift.py | 23.0 | 225 | 496 |
| utils/check-safety-doc-pin.py | 23.3 | 199 | 686 |
| big-code-analysis-py/python/big_code_analysis/_flatten.py | 23.9 | 209 | 526 |
| scripts/smoke/lib_wheel_smoke.py | 25.7 | 131 | 663 |
| enums/data/special.py | 39.4 | 52 | 344 |
| enums/data/mac.py | 40.7 | 48 | 389 |
| big-code-analysis-py/python/big_code_analysis/vcs.py | 45.9 | 54 | 63 |
MI shown is the Visual Studio rescale (mi_visual_studio), clamped to 0–100: GOOD ≥ 20, MODERATE ≥ 10, else LOW. Large files commonly clamp to 0 — a property of the formula's range, not a meaningful score; rows are still ranked by the unclamped value so the order remains informative. The bca check gate may evaluate a different MI variant (mi.original or mi.sei), so its threshold is not directly comparable to this column.
| Function | File | Line | CC | Cognitive | SLOC | Tokens |
|---|---|---|---|---|---|---|
| scan_ignore_spans | utils/check-rustfmt-bail.py | 190 | 35 | 68 | 84 | 496 |
| main | utils/check-manpage-assets.py | 146 | 29 | 41 | 121 | 706 |
| find_macro_call_end | utils/check-snapshot-anchors.py | 134 | 25 | 42 | 73 | 304 |
| _scan_literals | utils/check-diagnostic-prefix.py | 208 | 22 | 36 | 93 | 322 |
| scan_ignore_spans | utils/check-snapshot-anchors.py | 231 | 22 | 36 | 82 | 340 |
| main | utils/check-versions.py | 266 | 20 | 39 | 81 | 536 |
| _update_section | utils/check-grammar-marker-sync.py | 363 | 19 | 27 | 80 | 336 |
| _derive_extensions_from_langs_rs | utils/check-grammar-crate-test.py | 114 | 14 | 21 | 36 | 305 |
| _scan_for_marker | utils/check-grammar-marker-sync.py | 134 | 14 | 25 | 50 | 167 |
| _mk_langs_tuples | utils/check-grammar-crate-test.py | 77 | 13 | 25 | 35 | 167 |
| main | utils/check-grammar-marker-sync.py | 619 | 13 | 18 | 99 | 483 |
| main | utils/check-rustfmt-bail.py | 530 | 13 | 16 | 115 | 575 |
| main | utils/check-snapshot-anchors.py | 487 | 13 | 17 | 88 | 467 |
| run | utils/verify-name-only-churn.py | 137 | 13 | 19 | 50 | 323 |
| raw_string_end | utils/check-diagnostic-prefix.py | 158 | 11 | 9 | 27 | 155 |
| raw_string_end | utils/check-snapshot-anchors.py | 94 | 11 | 9 | 24 | 155 |
| write_baseline | utils/check-grammar-marker-sync.py | 461 | 10 | 11 | 89 | 394 |
| read_pyproject_specifier | utils/check-ruff-lockstep.py | 238 | 10 | 11 | 27 | 230 |
| probe_arms | utils/check-rustfmt-bail.py | 293 | 10 | 10 | 47 | 296 |
| _self_test | utils/verify-name-only-churn.py | 192 | 10 | 12 | 70 | 422 |
| char_literal_end | utils/check-diagnostic-prefix.py | 125 | 9 | 14 | 31 | 134 |
| lints_table_problem | utils/check-excluded-manifests.py | 242 | 9 | 11 | 34 | 140 |
| _strip_line_comment | utils/check-grammar-crate-test.py | 55 | 9 | 13 | 20 | 105 |
| char_literal_end | utils/check-snapshot-anchors.py | 49 | 9 | 14 | 43 | 134 |
| _check_flatten_spaces | scripts/smoke/lib_wheel_smoke.py | 76 | 8 | 4 | 9 | 128 |
| discover_targets | utils/check-diagnostic-prefix.py | 83 | 8 | 11 | 21 | 131 |
| unpinned_grammar_deps | utils/check-excluded-manifests.py | 332 | 8 | 11 | 22 | 122 |
| _asset_source | utils/check-manpage-assets.py | 70 | 8 | 9 | 35 | 144 |
| audit | utils/check-publish-metadata.py | 345 | 8 | 10 | 38 | 229 |
| edition_for | utils/check-rustfmt-bail.py | 87 | 8 | 19 | 30 | 152 |
| char_literal_end | utils/check-rustfmt-bail.py | 160 | 8 | 13 | 28 | 121 |
| discover_targets | utils/check-rustfmt-bail.py | 359 | 8 | 11 | 23 | 131 |
| main | utils/check-safety-doc-pin.py | 144 | 8 | 9 | 52 | 299 |
| _walk | big-code-analysis-py/python/big_code_analysis/_flatten.py | 135 | 7 | 12 | 32 | 225 |
| _flatten_metrics | big-code-analysis-py/python/big_code_analysis/_flatten.py | 169 | 7 | 15 | 41 | 191 |
| read_excluded_crates | utils/check-excluded-manifests.py | 171 | 7 | 8 | 19 | 107 |
| main | utils/check-excluded-manifests.py | 396 | 7 | 7 | 43 | 186 |
| load_baseline | utils/check-grammar-marker-sync.py | 270 | 7 | 10 | 33 | 189 |
| main | utils/check-manpage-drift.py | 179 | 7 | 7 | 43 | 158 |
| read_lock_specifier | utils/check-ruff-lockstep.py | 180 | 7 | 8 | 21 | 117 |
| load_baseline | utils/check-rustfmt-bail.py | 415 | 7 | 8 | 14 | 134 |
| read_notes | utils/check-rustfmt-bail.py | 480 | 7 | 9 | 26 | 125 |
| _show | utils/check-rustfmt-bail.py | 508 | 7 | 11 | 20 | 179 |
| count_bare_in_source | utils/check-snapshot-anchors.py | 335 | 7 | 11 | 29 | 117 |
| load_baseline | utils/check-snapshot-anchors.py | 392 | 7 | 8 | 14 | 134 |
| CiRecipePinTest::test_real_ci_md_pins_are_at_a_published_release | utils/check-versions-test.py | 174 | 7 | 17 | 14 | 96 |
| classify | utils/worktree-setup.py | 136 | 7 | 8 | 16 | 157 |
| main | utils/worktree-setup.py | 185 | 7 | 9 | 39 | 177 |
| _check_batch_never_raises | scripts/smoke/lib_wheel_smoke.py | 99 | 6 | 0 | 19 | 147 |
| _dependency_entries | utils/check-excluded-manifests.py | 292 | 6 | 7 | 21 | 88 |
Average CC: 2.3 | Max: 35 | CC > 15: 7 functions | CC > 30: 1 functions (excluding suppressed functions)
| Function | File | Line | Cognitive | CC | SLOC | Tokens |
|---|---|---|---|---|---|---|
| scan_ignore_spans | utils/check-rustfmt-bail.py | 190 | 68 | 35 | 84 | 496 |
| find_macro_call_end | utils/check-snapshot-anchors.py | 134 | 42 | 25 | 73 | 304 |
| main | utils/check-manpage-assets.py | 146 | 41 | 29 | 121 | 706 |
| main | utils/check-versions.py | 266 | 39 | 20 | 81 | 536 |
| _scan_literals | utils/check-diagnostic-prefix.py | 208 | 36 | 22 | 93 | 322 |
| scan_ignore_spans | utils/check-snapshot-anchors.py | 231 | 36 | 22 | 82 | 340 |
| _update_section | utils/check-grammar-marker-sync.py | 363 | 27 | 19 | 80 | 336 |
| _mk_langs_tuples | utils/check-grammar-crate-test.py | 77 | 25 | 13 | 35 | 167 |
| _scan_for_marker | utils/check-grammar-marker-sync.py | 134 | 25 | 14 | 50 | 167 |
| _derive_extensions_from_langs_rs | utils/check-grammar-crate-test.py | 114 | 21 | 14 | 36 | 305 |
| edition_for | utils/check-rustfmt-bail.py | 87 | 19 | 8 | 30 | 152 |
| run | utils/verify-name-only-churn.py | 137 | 19 | 13 | 50 | 323 |
| main | utils/check-grammar-marker-sync.py | 619 | 18 | 13 | 99 | 483 |
| main | utils/check-snapshot-anchors.py | 487 | 17 | 13 | 88 | 467 |
| CiRecipePinTest::test_real_ci_md_pins_are_at_a_published_release | utils/check-versions-test.py | 174 | 17 | 7 | 14 | 96 |
| main | utils/check-rustfmt-bail.py | 530 | 16 | 13 | 115 | 575 |
| _flatten_metrics | big-code-analysis-py/python/big_code_analysis/_flatten.py | 169 | 15 | 7 | 41 | 191 |
| char_literal_end | utils/check-diagnostic-prefix.py | 125 | 14 | 9 | 31 | 134 |
| char_literal_end | utils/check-snapshot-anchors.py | 49 | 14 | 9 | 43 | 134 |
| _strip_line_comment | utils/check-grammar-crate-test.py | 55 | 13 | 9 | 20 | 105 |
| char_literal_end | utils/check-rustfmt-bail.py | 160 | 13 | 8 | 28 | 121 |
| _walk | big-code-analysis-py/python/big_code_analysis/_flatten.py | 135 | 12 | 7 | 32 | 225 |
| _self_test | utils/verify-name-only-churn.py | 192 | 12 | 10 | 70 | 422 |
| discover_targets | utils/check-diagnostic-prefix.py | 83 | 11 | 8 | 21 | 131 |
| lints_table_problem | utils/check-excluded-manifests.py | 242 | 11 | 9 | 34 | 140 |
| unpinned_grammar_deps | utils/check-excluded-manifests.py | 332 | 11 | 8 | 22 | 122 |
| write_baseline | utils/check-grammar-marker-sync.py | 461 | 11 | 10 | 89 | 394 |
| read_pyproject_specifier | utils/check-ruff-lockstep.py | 238 | 11 | 10 | 27 | 230 |
| discover_targets | utils/check-rustfmt-bail.py | 359 | 11 | 8 | 23 | 131 |
| _show | utils/check-rustfmt-bail.py | 508 | 11 | 7 | 20 | 179 |
| count_bare_in_source | utils/check-snapshot-anchors.py | 335 | 11 | 7 | 29 | 117 |
| load_baseline | utils/check-grammar-marker-sync.py | 270 | 10 | 7 | 33 | 189 |
| audit | utils/check-publish-metadata.py | 345 | 10 | 8 | 38 | 229 |
| probe_arms | utils/check-rustfmt-bail.py | 293 | 10 | 10 | 47 | 296 |
| raw_string_end | utils/check-diagnostic-prefix.py | 158 | 9 | 11 | 27 | 155 |
| _asset_source | utils/check-manpage-assets.py | 70 | 9 | 8 | 35 | 144 |
| read_notes | utils/check-rustfmt-bail.py | 480 | 9 | 7 | 26 | 125 |
| main | utils/check-safety-doc-pin.py | 144 | 9 | 8 | 52 | 299 |
| raw_string_end | utils/check-snapshot-anchors.py | 94 | 9 | 11 | 24 | 155 |
| main | utils/worktree-setup.py | 185 | 9 | 7 | 39 | 177 |
| read_excluded_crates | utils/check-excluded-manifests.py | 171 | 8 | 7 | 19 | 107 |
| resolve_include | utils/check-publish-metadata.py | 270 | 8 | 6 | 23 | 149 |
| read_lock_specifier | utils/check-ruff-lockstep.py | 180 | 8 | 7 | 21 | 117 |
| load_baseline | utils/check-rustfmt-bail.py | 415 | 8 | 7 | 14 | 134 |
| has_preceding_anchor | utils/check-snapshot-anchors.py | 319 | 8 | 6 | 14 | 79 |
| load_baseline | utils/check-snapshot-anchors.py | 392 | 8 | 7 | 14 | 134 |
| CiRecipePinTest::_stale_lines | utils/check-versions-test.py | 124 | 8 | 5 | 7 | 79 |
| classify | utils/worktree-setup.py | 136 | 8 | 7 | 16 | 157 |
| _dependency_entries | utils/check-excluded-manifests.py | 292 | 7 | 6 | 21 | 88 |
| main | utils/check-excluded-manifests.py | 396 | 7 | 7 | 43 | 186 |
| Function | File | Line | Effort | Volume | Est. Bugs | SLOC | Tokens |
|---|---|---|---|---|---|---|---|
| scan_ignore_spans | utils/check-rustfmt-bail.py | 190 | 141,284 | 2,141 | 0.90 | 84 | 496 |
| main | utils/check-manpage-assets.py | 146 | 76,346 | 2,434 | 0.60 | 121 | 706 |
| scan_ignore_spans | utils/check-snapshot-anchors.py | 231 | 64,130 | 1,425 | 0.53 | 82 | 340 |
| find_macro_call_end | utils/check-snapshot-anchors.py | 134 | 59,636 | 1,287 | 0.51 | 73 | 304 |
| _scan_literals | utils/check-diagnostic-prefix.py | 208 | 58,730 | 1,339 | 0.50 | 93 | 322 |
| _update_section | utils/check-grammar-marker-sync.py | 363 | 47,735 | 1,323 | 0.44 | 80 | 336 |
| main | utils/check-versions.py | 266 | 43,286 | 1,930 | 0.41 | 81 | 536 |
| main | utils/check-rustfmt-bail.py | 530 | 38,182 | 2,414 | 0.38 | 115 | 575 |
| main | utils/check-snapshot-anchors.py | 487 | 26,020 | 1,809 | 0.29 | 88 | 467 |
| write_baseline | utils/check-grammar-marker-sync.py | 461 | 25,022 | 1,334 | 0.29 | 89 | 394 |
| _self_test | utils/verify-name-only-churn.py | 192 | 24,930 | 1,587 | 0.28 | 70 | 422 |
| _derive_extensions_from_langs_rs | utils/check-grammar-crate-test.py | 114 | 24,276 | 1,203 | 0.28 | 36 | 305 |
| main | utils/check-grammar-marker-sync.py | 619 | 20,892 | 1,645 | 0.25 | 99 | 483 |
| raw_string_end | utils/check-diagnostic-prefix.py | 158 | 20,071 | 587 | 0.25 | 27 | 155 |
| raw_string_end | utils/check-snapshot-anchors.py | 94 | 20,071 | 587 | 0.25 | 24 | 155 |
| probe_arms | utils/check-rustfmt-bail.py | 293 | 17,265 | 1,130 | 0.22 | 47 | 296 |
| _scan_for_marker | utils/check-grammar-marker-sync.py | 134 | 17,095 | 715 | 0.22 | 50 | 167 |
| _make_fixture | utils/check-grammar-marker-sync-test.py | 50 | 16,189 | 884 | 0.21 | 50 | 254 |
| read_pyproject_specifier | utils/check-ruff-lockstep.py | 238 | 15,295 | 735 | 0.21 | 27 | 230 |
| run | utils/verify-name-only-churn.py | 137 | 15,056 | 1,034 | 0.20 | 50 | 323 |
| _walk | big-code-analysis-py/python/big_code_analysis/_flatten.py | 135 | 13,928 | 802 | 0.19 | 32 | 225 |
| audit | utils/check-publish-metadata.py | 345 | 13,608 | 780 | 0.19 | 38 | 229 |
| _mk_langs_tuples | utils/check-grammar-crate-test.py | 77 | 12,945 | 580 | 0.18 | 35 | 167 |
| main | utils/check-safety-doc-pin.py | 144 | 12,919 | 825 | 0.18 | 52 | 299 |
| char_literal_end | utils/check-diagnostic-prefix.py | 125 | 12,789 | 492 | 0.18 | 31 | 134 |
| char_literal_end | utils/check-snapshot-anchors.py | 49 | 12,789 | 492 | 0.18 | 43 | 134 |
| main | utils/check-grammar-crate.py | 327 | 11,706 | 1,661 | 0.17 | 118 | 398 |
| load_baseline | utils/check-grammar-marker-sync.py | 270 | 11,243 | 663 | 0.17 | 33 | 189 |
| asset_basenames | utils/check-manpage-assets.py | 107 | 11,059 | 773 | 0.17 | 37 | 251 |
| char_literal_end | utils/check-rustfmt-bail.py | 160 | 11,000 | 440 | 0.16 | 28 | 121 |
| compute_ci_metrics | utils/check-grammar-crate.py | 174 | 10,653 | 800 | 0.16 | 46 | 205 |
| compute_metrics | utils/check-grammar-crate.py | 223 | 10,623 | 861 | 0.16 | 42 | 224 |
| _read_current | utils/check-grammar-marker-sync.py | 565 | 10,200 | 552 | 0.16 | 42 | 181 |
| BaselineTest::test_pass_regress_and_ratchet | utils/check-snapshot-anchors-test.py | 252 | 9,941 | 917 | 0.15 | 28 | 267 |
| _flatten_metrics | big-code-analysis-py/python/big_code_analysis/_flatten.py | 169 | 8,796 | 617 | 0.14 | 41 | 191 |
| verify_pair | utils/verify-name-only-churn.py | 106 | 7,788 | 498 | 0.13 | 16 | 157 |
| SuperprojectFixture::__init__ | utils/worktree-setup-test.py | 86 | 7,785 | 818 | 0.13 | 26 | 250 |
| ManDirFixture::setUp | utils/check-manpage-drift-test.py | 109 | 7,311 | 885 | 0.13 | 21 | 239 |
| main | utils/check-excluded-manifests.py | 396 | 7,225 | 602 | 0.12 | 43 | 186 |
| edition_for | utils/check-rustfmt-bail.py | 87 | 7,220 | 555 | 0.12 | 30 | 152 |
| _show | utils/check-rustfmt-bail.py | 508 | 6,983 | 570 | 0.12 | 20 | 179 |
| lints_table_problem | utils/check-excluded-manifests.py | 242 | 6,798 | 444 | 0.12 | 34 | 140 |
| compare_metrics | utils/check-grammar-crate.py | 274 | 6,681 | 798 | 0.12 | 51 | 225 |
| classify | utils/worktree-setup.py | 136 | 6,598 | 555 | 0.12 | 16 | 157 |
| unpinned_grammar_deps | utils/check-excluded-manifests.py | 332 | 6,549 | 391 | 0.12 | 22 | 122 |
| resolve_include | utils/check-publish-metadata.py | 270 | 6,327 | 426 | 0.11 | 23 | 149 |
| _strip_line_comment | utils/check-grammar-crate-test.py | 55 | 5,979 | 337 | 0.11 | 20 | 105 |
| collect_counts | utils/check-rustfmt-bail.py | 398 | 5,901 | 461 | 0.11 | 15 | 139 |
| MainTest::test_update_does_not_duplicate_a_drifted_header | utils/check-rustfmt-bail-test.py | 366 | 5,870 | 692 | 0.11 | 27 | 206 |
| run_cargo | utils/check-publish-metadata.py | 162 | 5,843 | 448 | 0.11 | 19 | 139 |
| Function | File | Line | SLOC | Tokens | CC | Cognitive |
|---|---|---|---|---|---|---|
| main | utils/check-manpage-assets.py | 146 | 121 | 706 | 29 | 41 |
| main | utils/check-grammar-crate.py | 327 | 118 | 398 | 2 | 1 |
| main | utils/check-rustfmt-bail.py | 530 | 115 | 575 | 13 | 16 |
| main | utils/check-grammar-marker-sync.py | 619 | 99 | 483 | 13 | 18 |
| _scan_literals | utils/check-diagnostic-prefix.py | 208 | 93 | 322 | 22 | 36 |
| write_baseline | utils/check-grammar-marker-sync.py | 461 | 89 | 394 | 10 | 11 |
| main | utils/check-snapshot-anchors.py | 487 | 88 | 467 | 13 | 17 |
| flatten_spaces | big-code-analysis-py/python/big_code_analysis/_flatten.py | 48 | 85 | 63 | 2 | 1 |
| scan_ignore_spans | utils/check-rustfmt-bail.py | 190 | 84 | 496 | 35 | 68 |
| scan_ignore_spans | utils/check-snapshot-anchors.py | 231 | 82 | 340 | 22 | 36 |
| main | utils/check-versions.py | 266 | 81 | 536 | 20 | 39 |
| _update_section | utils/check-grammar-marker-sync.py | 363 | 80 | 336 | 19 | 27 |
| find_macro_call_end | utils/check-snapshot-anchors.py | 134 | 73 | 304 | 25 | 42 |
| _self_test | utils/verify-name-only-churn.py | 192 | 70 | 422 | 10 | 12 |
| main | utils/check-safety-doc-pin.py | 144 | 52 | 299 | 8 | 9 |
| compare_metrics | utils/check-grammar-crate.py | 274 | 51 | 225 | 1 | 0 |
| _make_fixture | utils/check-grammar-marker-sync-test.py | 50 | 50 | 254 | 6 | 7 |
| _scan_for_marker | utils/check-grammar-marker-sync.py | 134 | 50 | 167 | 14 | 25 |
| run | utils/verify-name-only-churn.py | 137 | 50 | 323 | 13 | 19 |
| probe_arms | utils/check-rustfmt-bail.py | 293 | 47 | 296 | 10 | 10 |
| compute_ci_metrics | utils/check-grammar-crate.py | 174 | 46 | 205 | 4 | 4 |
| main | utils/check-ruff-lockstep.py | 290 | 46 | 264 | 5 | 4 |
| read_marker | utils/check-grammar-marker-sync.py | 186 | 44 | 132 | 5 | 4 |
| _self_test | utils/check-snapshot-anchors.py | 441 | 44 | 198 | 6 | 6 |
| main | utils/check-excluded-manifests.py | 396 | 43 | 186 | 7 | 7 |
| main | utils/check-manpage-drift.py | 179 | 43 | 158 | 7 | 7 |
| char_literal_end | utils/check-snapshot-anchors.py | 49 | 43 | 134 | 9 | 14 |
| compute_metrics | utils/check-grammar-crate.py | 223 | 42 | 224 | 4 | 3 |
| _read_current | utils/check-grammar-marker-sync.py | 565 | 42 | 181 | 5 | 7 |
| _flatten_metrics | big-code-analysis-py/python/big_code_analysis/_flatten.py | 169 | 41 | 191 | 7 | 15 |
| main | utils/worktree-setup.py | 185 | 39 | 177 | 7 | 9 |
| audit | utils/check-publish-metadata.py | 345 | 38 | 229 | 8 | 10 |
| asset_basenames | utils/check-manpage-assets.py | 107 | 37 | 251 | 1 | 0 |
| _derive_extensions_from_langs_rs | utils/check-grammar-crate-test.py | 114 | 36 | 305 | 14 | 21 |
| _coerce_baseline_value | utils/check-grammar-marker-sync.py | 232 | 36 | 173 | 6 | 7 |
| module_doc_lines | utils/check-safety-doc-pin.py | 68 | 36 | 95 | 3 | 3 |
| _mk_langs_tuples | utils/check-grammar-crate-test.py | 77 | 35 | 167 | 13 | 25 |
| _asset_source | utils/check-manpage-assets.py | 70 | 35 | 144 | 8 | 9 |
| lints_table_problem | utils/check-excluded-manifests.py | 242 | 34 | 140 | 9 | 11 |
| DriftGateTest::setUp | utils/check-enums-codegen-drift-test.py | 76 | 33 | 159 | 3 | 2 |
| load_baseline | utils/check-grammar-marker-sync.py | 270 | 33 | 189 | 7 | 10 |
| _walk | big-code-analysis-py/python/big_code_analysis/_flatten.py | 135 | 32 | 225 | 7 | 12 |
| GitFailureTest::setUp | utils/check-manpage-drift-test.py | 367 | 32 | 171 | 2 | 1 |
| char_literal_end | utils/check-diagnostic-prefix.py | 125 | 31 | 134 | 9 | 14 |
| GrammarMarkerSyncTest::test_metadata_key_does_not_shadow_real_marker | utils/check-grammar-marker-sync-test.py | 283 | 30 | 90 | 1 | 0 |
| edition_for | utils/check-rustfmt-bail.py | 87 | 30 | 152 | 8 | 19 |
| GrammarMarkerSyncTest::test_update_with_last_body_line_lacking_newline | utils/check-grammar-marker-sync-test.py | 884 | 29 | 144 | 1 | 0 |
| count_bare_in_source | utils/check-snapshot-anchors.py | 335 | 29 | 117 | 7 | 11 |
| scan_text | utils/check-diagnostic-prefix.py | 303 | 28 | 87 | 4 | 6 |
| GrammarMarkerSyncTest::test_update_preserves_per_section_comments | utils/check-grammar-marker-sync-test.py | 592 | 28 | 163 | 1 | 0 |
| Type | File | Line | WMC | Methods | NPA | NPM | SLOC | Tokens |
|---|---|---|---|---|---|---|---|---|
| GrammarMarkerSyncTest | utils/check-grammar-marker-sync-test.py | 126 | 56 | 52 | 1 | 51 | 898 | 4,478 |
| ScanTextNonOffenders | utils/check-diagnostic-prefix-test.py | 120 | 33 | 23 | 0 | 23 | 179 | 874 |
| LintsTableTest | utils/check-excluded-manifests-test.py | 198 | 22 | 16 | 0 | 16 | 187 | 746 |
| DriftGateTest | utils/check-enums-codegen-drift-test.py | 57 | 21 | 16 | 1 | 16 | 292 | 1,476 |
| ScanTextOffenders | utils/check-diagnostic-prefix-test.py | 54 | 18 | 9 | 0 | 9 | 64 | 531 |
| CiRecipePinTest | utils/check-versions-test.py | 121 | 18 | 7 | 0 | 7 | 75 | 416 |
| UnpinnedGrammarDepsTest | utils/check-excluded-manifests-test.py | 387 | 15 | 14 | 0 | 14 | 132 | 540 |
| AuditTest | utils/check-publish-metadata-test.py | 419 | 15 | 13 | 4 | 12 | 106 | 928 |
| PortedLexerHelpers | utils/check-diagnostic-prefix-test.py | 301 | 13 | 7 | 0 | 7 | 71 | 464 |
| CountBareTest | utils/check-snapshot-anchors-test.py | 103 | 12 | 11 | 0 | 11 | 133 | 419 |
| MainTest | utils/check-excluded-manifests-test.py | 547 | 11 | 10 | 0 | 10 | 113 | 752 |
| PreCommitRevTest | utils/check-ruff-lockstep-test.py | 108 | 11 | 11 | 0 | 11 | 67 | 456 |
| PyprojectSpecifierTest | utils/check-ruff-lockstep-test.py | 309 | 10 | 10 | 0 | 10 | 59 | 413 |
| MainTest | utils/check-rustfmt-bail-test.py | 290 | 10 | 10 | 4 | 10 | 120 | 1,083 |
| MetadataFieldsTest | utils/check-publish-metadata-test.py | 94 | 9 | 7 | 0 | 7 | 41 | 343 |
| MainTest | utils/check-ruff-lockstep-test.py | 393 | 9 | 9 | 0 | 9 | 88 | 705 |
| ClassifyTest | utils/worktree-setup-test.py | 121 | 9 | 9 | 2 | 9 | 54 | 498 |
| MacroGeneratorPruneTest | utils/check-enums-codegen-drift-test.py | 351 | 8 | 6 | 5 | 6 | 74 | 368 |
| ReadExcludedCratesTest | utils/check-excluded-manifests-test.py | 80 | 8 | 8 | 0 | 8 | 62 | 242 |
| MissingWorkspaceTableTest | utils/check-excluded-manifests-test.py | 144 | 8 | 7 | 0 | 7 | 52 | 373 |
| ManDirFixture | utils/check-manpage-drift-test.py | 95 | 8 | 6 | 3 | 6 | 74 | 567 |
| LockSpecifierTest | utils/check-ruff-lockstep-test.py | 231 | 8 | 8 | 0 | 8 | 38 | 297 |
| FindArmLinesTest | utils/check-rustfmt-bail-test.py | 85 | 8 | 8 | 0 | 8 | 66 | 284 |
| ModuleDocLines | utils/check-safety-doc-pin-test.py | 83 | 8 | 5 | 0 | 5 | 54 | 265 |
| InternalVendoredPinTest | utils/check-versions-test.py | 58 | 8 | 6 | 1 | 6 | 61 | 272 |
| ExtensionsSyncTest | utils/check-grammar-crate-test.py | 152 | 7 | 3 | 0 | 3 | 32 | 161 |
| AnnotationTest | utils/check-manpage-drift-test.py | 430 | 7 | 5 | 0 | 5 | 37 | 286 |
| ResolveIncludeTest | utils/check-publish-metadata-test.py | 137 | 7 | 6 | 0 | 6 | 33 | 373 |
| CheckIncludeTest | utils/check-publish-metadata-test.py | 172 | 7 | 7 | 0 | 7 | 34 | 424 |
| ProbeTest | utils/check-rustfmt-bail-test.py | 219 | 7 | 7 | 0 | 7 | 48 | 304 |
| Main | utils/check-safety-doc-pin-test.py | 205 | 7 | 7 | 0 | 7 | 61 | 414 |
| MainOverSyntheticRoot | utils/check-diagnostic-prefix-test.py | 374 | 6 | 5 | 0 | 5 | 47 | 373 |
| GitFailureTest | utils/check-manpage-drift-test.py | 359 | 6 | 7 | 2 | 5 | 69 | 406 |
| RealRepositoryTest | utils/check-publish-metadata-test.py | 555 | 6 | 3 | 0 | 3 | 44 | 207 |
| LockVersionTest | utils/check-ruff-lockstep-test.py | 190 | 6 | 6 | 0 | 6 | 39 | 268 |
| MainTest | utils/worktree-setup-test.py | 225 | 6 | 5 | 2 | 5 | 87 | 590 |
| PinSuggestionTest | utils/check-excluded-manifests-test.py | 521 | 5 | 4 | 0 | 4 | 24 | 128 |
| RequirementsVersionTest | utils/check-ruff-lockstep-test.py | 271 | 5 | 5 | 0 | 5 | 36 | 174 |
| ChangelogReleaseTest | utils/check-versions-test.py | 198 | 5 | 5 | 1 | 5 | 34 | 246 |
| AddedPageTest | utils/check-manpage-drift-test.py | 196 | 4 | 4 | 0 | 4 | 52 | 311 |
| ModifiedPageTest | utils/check-manpage-drift-test.py | 250 | 4 | 4 | 0 | 4 | 37 | 278 |
| MeasureListingTest | utils/check-publish-metadata-test.py | 230 | 4 | 4 | 0 | 4 | 28 | 251 |
| PackagedSizeTest | utils/check-publish-metadata-test.py | 260 | 4 | 4 | 2 | 4 | 30 | 308 |
| LockfileRemedyTest | utils/check-publish-metadata-test.py | 309 | 4 | 4 | 1 | 4 | 44 | 264 |
| ClauseSetTest | utils/check-ruff-lockstep-test.py | 370 | 4 | 4 | 0 | 4 | 21 | 122 |
| CharLiteralEndTest | utils/check-rustfmt-bail-test.py | 153 | 4 | 2 | 0 | 2 | 27 | 169 |
| PinnedVersion | utils/check-safety-doc-pin-test.py | 159 | 4 | 4 | 0 | 4 | 21 | 130 |
| CharLiteralEndTest | utils/check-snapshot-anchors-test.py | 50 | 4 | 2 | 0 | 2 | 30 | 184 |
| RawStringEndTest | utils/check-snapshot-anchors-test.py | 82 | 4 | 2 | 0 | 2 | 19 | 145 |
| RepositoryTest | utils/check-snapshot-anchors-test.py | 302 | 4 | 2 | 0 | 2 | 15 | 101 |
| Function | File | Line | Exits | CC | SLOC | Tokens |
|---|---|---|---|---|---|---|
| main | utils/check-rustfmt-bail.py | 530 | 7 | 13 | 115 | 575 |
| _asset_source | utils/check-manpage-assets.py | 70 | 6 | 8 | 35 | 144 |
| main | utils/check-manpage-assets.py | 146 | 6 | 29 | 121 | 706 |
| main | utils/check-snapshot-anchors.py | 487 | 6 | 13 | 88 | 467 |
| lints_table_problem | utils/check-excluded-manifests.py | 242 | 5 | 9 | 34 | 140 |
| _scan_for_marker | utils/check-grammar-marker-sync.py | 134 | 5 | 14 | 50 | 167 |
| main | utils/check-grammar-marker-sync.py | 619 | 5 | 13 | 99 | 483 |
| main | utils/check-safety-doc-pin.py | 144 | 5 | 8 | 52 | 299 |
| char_literal_end | utils/check-diagnostic-prefix.py | 125 | 4 | 9 | 31 | 134 |
| main | utils/check-excluded-manifests.py | 396 | 4 | 7 | 43 | 186 |
| read_marker | utils/check-grammar-marker-sync.py | 186 | 4 | 5 | 44 | 132 |
| asset_basenames | utils/check-manpage-assets.py | 107 | 4 | 1 | 37 | 251 |
| audit | utils/check-publish-metadata.py | 345 | 4 | 8 | 38 | 229 |
| read_pyproject_specifier | utils/check-ruff-lockstep.py | 238 | 4 | 10 | 27 | 230 |
| char_literal_end | utils/check-rustfmt-bail.py | 160 | 4 | 8 | 28 | 121 |
| char_literal_end | utils/check-snapshot-anchors.py | 49 | 4 | 9 | 43 | 134 |
| _is_allowed | utils/check-diagnostic-prefix.py | 106 | 3 | 5 | 17 | 71 |
| raw_string_end | utils/check-diagnostic-prefix.py | 158 | 3 | 11 | 27 | 155 |
| read_excluded_crates | utils/check-excluded-manifests.py | 171 | 3 | 7 | 19 | 107 |
| _dependency_entries | utils/check-excluded-manifests.py | 292 | 3 | 6 | 21 | 88 |
| _coerce_baseline_value | utils/check-grammar-marker-sync.py | 232 | 3 | 6 | 36 | 173 |
| asset_basenames::basenames | utils/check-manpage-assets.py | 125 | 3 | 4 | 15 | 108 |
| main | utils/check-manpage-drift.py | 179 | 3 | 7 | 43 | 158 |
| run_cargo | utils/check-publish-metadata.py | 162 | 3 | 3 | 19 | 139 |
| cargo_metadata | utils/check-publish-metadata.py | 183 | 3 | 3 | 15 | 91 |
| load_toml | utils/check-publish-metadata.py | 259 | 3 | 3 | 9 | 85 |
| resolve_include | utils/check-publish-metadata.py | 270 | 3 | 6 | 23 | 149 |
| check_include | utils/check-publish-metadata.py | 295 | 3 | 6 | 15 | 97 |
| _packages | utils/check-ruff-lockstep.py | 153 | 3 | 5 | 10 | 99 |
| _requires_dist | utils/check-ruff-lockstep.py | 203 | 3 | 5 | 9 | 85 |
| edition_for | utils/check-rustfmt-bail.py | 87 | 3 | 8 | 30 | 152 |
| probe_arms | utils/check-rustfmt-bail.py | 293 | 3 | 10 | 47 | 296 |
| pinned_version | utils/check-safety-doc-pin.py | 115 | 3 | 4 | 27 | 142 |
| raw_string_end | utils/check-snapshot-anchors.py | 94 | 3 | 11 | 24 | 155 |
| normalize | utils/check-versions.py | 200 | 3 | 4 | 9 | 70 |
| strip_header | utils/verify-name-only-churn.py | 68 | 3 | 5 | 12 | 91 |
| run | utils/verify-name-only-churn.py | 137 | 3 | 13 | 50 | 323 |
| git | utils/worktree-setup.py | 85 | 3 | 4 | 24 | 129 |
| classify | utils/worktree-setup.py | 136 | 3 | 7 | 16 | 157 |
| Function | File | Line | ABC | SLOC | Tokens |
|---|---|---|---|---|---|
| scan_ignore_spans | utils/check-rustfmt-bail.py | 190 | 50.7 | 84 | 496 |
| main | utils/check-versions.py | 266 | 46.9 | 81 | 536 |
| main | utils/check-rustfmt-bail.py | 530 | 37.2 | 115 | 575 |
| main | utils/check-manpage-assets.py | 146 | 36.0 | 121 | 706 |
| find_macro_call_end | utils/check-snapshot-anchors.py | 134 | 34.4 | 73 | 304 |
| scan_ignore_spans | utils/check-snapshot-anchors.py | 231 | 33.7 | 82 | 340 |
| run | utils/verify-name-only-churn.py | 137 | 33.0 | 50 | 323 |
| _scan_literals | utils/check-diagnostic-prefix.py | 208 | 32.2 | 93 | 322 |
| main | utils/check-snapshot-anchors.py | 487 | 31.8 | 88 | 467 |
| _self_test | utils/verify-name-only-churn.py | 192 | 31.8 | 70 | 422 |
| main | utils/check-grammar-marker-sync.py | 619 | 28.7 | 99 | 483 |
| _update_section | utils/check-grammar-marker-sync.py | 363 | 28.4 | 80 | 336 |
| _derive_extensions_from_langs_rs | utils/check-grammar-crate-test.py | 114 | 28.3 | 36 | 305 |
| BaselineTest::test_pass_regress_and_ratchet | utils/check-snapshot-anchors-test.py | 252 | 26.9 | 28 | 267 |
| write_baseline | utils/check-grammar-marker-sync.py | 461 | 24.8 | 89 | 394 |
| audit | utils/check-publish-metadata.py | 345 | 23.9 | 38 | 229 |
| read_pyproject_specifier | utils/check-ruff-lockstep.py | 238 | 23.2 | 27 | 230 |
| main | utils/check-grammar-crate.py | 327 | 21.9 | 118 | 398 |
| main | utils/check-ruff-lockstep.py | 290 | 20.1 | 46 | 264 |
| probe_arms | utils/check-rustfmt-bail.py | 293 | 19.8 | 47 | 296 |
| MainTest::test_update_does_not_duplicate_a_drifted_header | utils/check-rustfmt-bail-test.py | 366 | 19.4 | 27 | 206 |
| _mk_langs_tuples | utils/check-grammar-crate-test.py | 77 | 18.4 | 35 | 167 |
| compute_metrics | utils/check-grammar-crate.py | 223 | 17.9 | 42 | 224 |
| _scan_for_marker | utils/check-grammar-marker-sync.py | 134 | 17.7 | 50 | 167 |
| ManDirFixture::setUp | utils/check-manpage-drift-test.py | 109 | 17.5 | 21 | 239 |
| main | utils/check-excluded-manifests.py | 396 | 16.8 | 43 | 186 |
| _make_fixture | utils/check-grammar-marker-sync-test.py | 50 | 16.1 | 50 | 254 |
| _walk | big-code-analysis-py/python/big_code_analysis/_flatten.py | 135 | 15.9 | 32 | 225 |
| compute_ci_metrics | utils/check-grammar-crate.py | 174 | 15.7 | 46 | 205 |
| main | utils/check-safety-doc-pin.py | 144 | 15.7 | 52 | 299 |
| _synthetic_repo | utils/check-safety-doc-pin-test.py | 183 | 15.3 | 17 | 191 |
| resolve_include | utils/check-publish-metadata.py | 270 | 14.8 | 23 | 149 |
| char_literal_end | utils/check-diagnostic-prefix.py | 125 | 14.6 | 31 | 134 |
| BaselineTest::test_zero_counts_are_omitted_from_the_written_baseline | utils/check-snapshot-anchors-test.py | 281 | 14.6 | 19 | 161 |
| char_literal_end | utils/check-snapshot-anchors.py | 49 | 14.6 | 43 | 134 |
| raw_string_end | utils/check-diagnostic-prefix.py | 158 | 14.5 | 27 | 155 |
| raw_string_end | utils/check-snapshot-anchors.py | 94 | 14.5 | 24 | 155 |
| _asset_source | utils/check-manpage-assets.py | 70 | 14.5 | 35 | 144 |
| _check_batch_never_raises | scripts/smoke/lib_wheel_smoke.py | 99 | 13.9 | 19 | 147 |
| verify_pair | utils/verify-name-only-churn.py | 106 | 13.6 | 16 | 157 |
| count_bare_in_source | utils/check-snapshot-anchors.py | 335 | 13.2 | 29 | 117 |
| SuperprojectFixture::__init__ | utils/worktree-setup-test.py | 86 | 13.2 | 26 | 250 |
| read_pre_commit_rev | utils/check-ruff-lockstep.py | 125 | 13.1 | 26 | 124 |
| lints_table_problem | utils/check-excluded-manifests.py | 242 | 13.0 | 34 | 140 |
| pinned_version | utils/check-safety-doc-pin.py | 115 | 13.0 | 27 | 142 |
| load_baseline | utils/check-grammar-marker-sync.py | 270 | 12.8 | 33 | 189 |
| _flatten_metrics | big-code-analysis-py/python/big_code_analysis/_flatten.py | 169 | 12.7 | 41 | 191 |
| compare_metrics | utils/check-grammar-crate.py | 274 | 12.6 | 51 | 225 |
| _coerce_baseline_value | utils/check-grammar-marker-sync.py | 232 | 12.6 | 36 | 173 |
| edition_for | utils/check-rustfmt-bail.py | 87 | 12.4 | 30 | 152 |
Files: 386 | SLOC: 89,816 | PLOC: 49,406 | Comment ratio: 39.0%
Average MI (SLOC-weighted): 10.0 (LOW)
Advisory thresholds: sourced from the `bca.toml` `[thresholds]` table.
Raw counts across all functions; the hotspot tables hide suppressed rows (cyclomatic: 10, cognitive: 12, halstead: 3, nargs: 1, abc: 5) — re-run with --no-suppress to list them.
| File | MI | SLOC | Tokens |
|---|---|---|---|
| big-code-analysis-cli/src/markdown_report/hotspot.rs | 0.0 | 1,068 | 4,887 |
| src/metrics/nargs.rs | 0.0 | 855 | 3,579 |
| src/tools.rs | 0.0 | 897 | 3,483 |
| big-code-analysis-cli/src/thresholds.rs | 0.0 | 1,140 | 3,913 |
| big-code-analysis-cli/src/markdown_report.rs | 0.0 | 874 | 4,304 |
| big-code-analysis-cli/src/formats.rs | 0.0 | 788 | 3,698 |
| big-code-analysis-cli/src/vcs_command.rs | 0.0 | 839 | 4,166 |
| src/alterator.rs | 0.0 | 733 | 3,840 |
| src/node.rs | 0.0 | 906 | 3,266 |
| big-code-analysis-cli/src/walk.rs | 0.0 | 950 | 3,150 |
| big-code-analysis-cli/src/metric_diff.rs | 0.0 | 761 | 3,481 |
| big-code-analysis-cli/src/dispatch.rs | 0.0 | 760 | 3,649 |
| big-code-analysis-cli/src/commands/check.rs | 0.0 | 972 | 3,440 |
| src/preproc.rs | 0.0 | 799 | 3,671 |
| src/suppression.rs | 0.0 | 810 | 2,562 |
| src/spaces/compute.rs | 0.0 | 868 | 2,954 |
| big-code-analysis-cli/src/manifest.rs | 0.0 | 814 | 2,795 |
| big-code-analysis-cli/src/lib.rs | 0.0 | 1,008 | 3,094 |
| big-code-analysis-py/src/lib.rs | 0.0 | 925 | 3,566 |
| big-code-analysis-cli/src/vcs_report.rs | 0.0 | 722 | 3,557 |
| src/metrics/cognitive.rs | 0.0 | 832 | 2,556 |
| big-code-analysis-bench/src/shapes.rs | 0.0 | 1,102 | 3,321 |
| big-code-analysis-py/src/batch.rs | 0.0 | 746 | 2,615 |
| src/metrics/loc.rs | 0.0 | 792 | 2,659 |
| src/wire.rs | 0.0 | 725 | 3,514 |
| big-code-analysis-cli/src/baseline.rs | 0.0 | 856 | 2,458 |
| big-code-analysis-cli/src/html_report/sections.rs | 0.0 | 713 | 3,389 |
| big-code-analysis-py/src/sarif.rs | 0.0 | 757 | 3,029 |
| src/checker.rs | 0.0 | 808 | 2,576 |
| big-code-analysis-cli/src/check_format.rs | 0.0 | 605 | 2,692 |
| big-code-analysis-cli/src/diff.rs | 0.0 | 602 | 2,261 |
| src/vcs/git/blame.rs | 0.0 | 725 | 2,414 |
| src/metrics/npa/shared.rs | 0.0 | 537 | 1,920 |
| big-code-analysis-py/src/node.rs | 0.0 | 634 | 2,609 |
| src/metrics/nexits.rs | 0.0 | 512 | 2,052 |
| big-code-analysis-py/src/types_codegen.rs | 0.1 | 875 | 4,908 |
| big-code-analysis-web/src/web/server/handlers.rs | 0.1 | 625 | 3,117 |
| big-code-analysis-cli/src/path_io.rs | 0.2 | 501 | 2,333 |
| src/vcs/git/diff_parse.rs | 0.5 | 497 | 2,036 |
| big-code-analysis-py/src/vcs.rs | 2.4 | 523 | 2,548 |
| big-code-analysis-web/src/web/vcs.rs | 2.9 | 737 | 2,526 |
| src/metrics/wmc.rs | 3.3 | 471 | 1,384 |
| big-code-analysis-cli/src/baseline_diff.rs | 3.6 | 456 | 2,430 |
| src/vcs/options.rs | 3.7 | 487 | 1,679 |
| src/vcs/git/jit.rs | 4.1 | 534 | 2,723 |
| src/macros/mod.rs | 4.1 | 793 | 3,240 |
| src/c_macro.rs | 4.8 | 408 | 1,729 |
| src/metrics/npa.rs | 4.8 | 611 | 1,859 |
| big-code-analysis-web/src/web/server/errors.rs | 4.8 | 505 | 1,784 |
| big-code-analysis-cli/src/exemptions.rs | 4.9 | 430 | 2,264 |
MI shown is the Visual Studio rescale (mi_visual_studio), clamped to 0–100: GOOD ≥ 20, MODERATE ≥ 10, else LOW. Large files commonly clamp to 0 — a property of the formula's range, not a meaningful score; rows are still ranked by the unclamped value so the order remains informative. The bca check gate may evaluate a different MI variant (mi.original or mi.sei), so its threshold is not directly comparable to this column.
| Function | File | Line | CC | Cognitive | SLOC | Tokens |
|---|---|---|---|---|---|---|
| sanitize_identifier | enums/src/common.rs | 25 | 45 | 17 | 69 | 381 |
| GoCode::compute | src/metrics/abc/go.rs | 94 | 17 | 9 | 122 | 379 |
| KotlinCode::compute | src/metrics/abc/kotlin.rs | 156 | 16 | 5 | 111 | 307 |
| RustCode::compute | src/metrics/abc/rust.rs | 127 | 16 | 7 | 125 | 325 |
| TclCode::compute | src/metrics/cognitive/tcl.rs | 17 | 15 | 5 | 86 | 304 |
| metric_doc_anchor | big-code-analysis-cli/src/markdown_report/hotspot.rs | 166 | 14 | 1 | 19 | 163 |
| Metric::fmt | src/metric_set.rs | 185 | 14 | 1 | 18 | 142 |
| Metric::from_str | src/metric_set.rs | 246 | 14 | 1 | 18 | 180 |
| XmlAttr<'_>::fmt | src/output/checkstyle.rs | 117 | 14 | 4 | 42 | 159 |
| main | big-code-analysis-bench/benches/scaling.rs | 47 | 13 | 12 | 88 | 399 |
| FieldType::annotation | big-code-analysis-py/src/types_codegen.rs | 82 | 13 | 1 | 16 | 174 |
| PhpCode::get_op_type | src/getter/php.rs | 31 | 13 | 10 | 304 | 646 |
| RubyCode::compute | src/metrics/abc/ruby.rs | 211 | 13 | 5 | 75 | 313 |
| PythonCode::compute | src/metrics/cognitive/python.rs | 117 | 13 | 1 | 127 | 280 |
| RubyCode::compute | src/metrics/cognitive/ruby.rs | 30 | 13 | 3 | 132 | 362 |
| metrics_inner | src/spaces/compute.rs | 627 | 13 | 21 | 207 | 628 |
| parse_args | big-code-analysis-bench/src/cli.rs | 74 | 12 | 11 | 48 | 285 |
| run_command_metrics | big-code-analysis-cli/src/commands/analyze.rs | 88 | 12 | 10 | 99 | 501 |
| dispatch_action | big-code-analysis-cli/src/dispatch.rs | 180 | 12 | 1 | 32 | 336 |
| validate_and_resolve_file | big-code-analysis-cli/src/dispatch.rs | 232 | 12 | 13 | 87 | 350 |
| legacy_hint | big-code-analysis-cli/src/lib.rs | 905 | 12 | 13 | 91 | 522 |
| vcs_error_kind | big-code-analysis-web/src/web/server/errors.rs | 324 | 12 | 1 | 21 | 150 |
| replace | src/c_macro.rs | 344 | 12 | 9 | 53 | 382 |
| csharp_walk_for_conditions | src/metrics/abc/csharp.rs | 222 | 12 | 7 | 49 | 218 |
| ElixirCode::compute | src/metrics/abc/elixir.rs | 134 | 12 | 7 | 108 | 363 |
| groovy_walk_for_conditions | src/metrics/abc/groovy.rs | 210 | 12 | 7 | 37 | 206 |
| IrulesCode::compute | src/metrics/abc/irules.rs | 87 | 12 | 10 | 75 | 327 |
| perl_inspect_container | src/metrics/abc/perl.rs | 55 | 12 | 19 | 72 | 302 |
| PerlCode::compute | src/metrics/abc/perl.rs | 243 | 12 | 3 | 126 | 468 |
| PythonCode::compute | src/metrics/abc/python.rs | 185 | 12 | 3 | 91 | 230 |
| ruby_inspect_container | src/metrics/abc/ruby.rs | 47 | 12 | 19 | 72 | 289 |
| TclCode::compute | src/metrics/abc/tcl.rs | 230 | 12 | 10 | 73 | 291 |
| ElixirCode::compute | src/metrics/cyclomatic/elixir.rs | 150 | 12 | 8 | 87 | 238 |
| compute_per_node | src/spaces/compute.rs | 323 | 12 | 11 | 61 | 448 |
| DiffFile::classify_body_line | src/vcs/git/diff_parse.rs | 189 | 12 | 13 | 46 | 222 |
| emit_check_results | big-code-analysis-cli/src/commands/check.rs | 799 | 11 | 10 | 113 | 327 |
| classify_check_outcome | big-code-analysis-cli/src/commands/check/outcome.rs | 69 | 11 | 12 | 45 | 161 |
| classify_dropped_child | big-code-analysis-cli/src/walk.rs | 592 | 11 | 11 | 48 | 223 |
| options_from | big-code-analysis-py/src/vcs.rs | 80 | 11 | 11 | 48 | 376 |
| options_from | big-code-analysis-web/src/web/vcs.rs | 180 | 11 | 11 | 49 | 382 |
| cpp_inspect_container | src/metrics/abc/cpp.rs | 27 | 11 | 16 | 48 | 242 |
| csharp_inspect_container | src/metrics/abc/csharp.rs | 18 | 11 | 15 | 58 | 247 |
| groovy_inspect_container | src/metrics/abc/groovy.rs | 16 | 11 | 15 | 47 | 241 |
| java_inspect_container | src/metrics/abc/java.rs | 18 | 11 | 15 | 60 | 241 |
| LuaCode::compute | src/metrics/abc/lua.rs | 115 | 11 | 7 | 62 | 263 |
| php_inspect_container | src/metrics/abc/php.rs | 23 | 11 | 16 | 41 | 243 |
| GroovyCode::compute | src/metrics/cognitive/groovy.rs | 17 | 11 | 1 | 79 | 253 |
| IrulesCode::compute | src/metrics/cognitive/irules.rs | 17 | 11 | 1 | 65 | 257 |
| KotlinCode::compute | src/metrics/cognitive/kotlin.rs | 36 | 11 | 3 | 77 | 266 |
| RustCode::compute | src/metrics/cognitive/rust.rs | 17 | 11 | 4 | 52 | 235 |
Average CC: 2.1 | Max: 45 | CC > 15: 4 functions | CC > 30: 1 functions (excluding suppressed functions)
| Function | File | Line | Cognitive | CC | SLOC | Tokens |
|---|---|---|---|---|---|---|
| run_with_budget | big-code-analysis-bench/src/scaling.rs | 340 | 17 | 9 | 84 | 454 |
| sanitize_identifier | enums/src/common.rs | 25 | 17 | 45 | 69 | 381 |
| CorpusSlice::from_roots_with | big-code-analysis-bench/src/corpus.rs | 136 | 15 | 8 | 48 | 265 |
| csharp_inspect_container | src/metrics/abc/csharp.rs | 18 | 15 | 11 | 58 | 247 |
| groovy_inspect_container | src/metrics/abc/groovy.rs | 16 | 15 | 11 | 47 | 241 |
| java_inspect_container | src/metrics/abc/java.rs | 18 | 15 | 11 | 60 | 241 |
| collect_leaves | big-code-analysis-cli/src/metric_diff.rs | 552 | 14 | 9 | 44 | 283 |
| go_inspect_container | src/metrics/abc/go.rs | 21 | 14 | 9 | 34 | 209 |
| kotlin_inspect_container | src/metrics/abc/kotlin.rs | 57 | 14 | 9 | 41 | 201 |
| rust_inspect_container | src/metrics/abc/rust.rs | 33 | 14 | 9 | 34 | 201 |
| csharp_switch_expression_arm_is_bare_discard::classify_pattern | src/metrics/cyclomatic.rs | 445 | 14 | 8 | 33 | 115 |
| ObjcCode::compute | src/metrics/npa/objc.rs | 56 | 14 | 10 | 44 | 233 |
| ObjcCode::compute | src/metrics/npm/objc.rs | 22 | 14 | 9 | 48 | 197 |
| greedy_truck_factor | src/vcs/bus_factor.rs | 375 | 14 | 7 | 46 | 270 |
| experience_features | src/vcs/git/jit.rs | 478 | 14 | 9 | 55 | 333 |
| validate_and_resolve_file | big-code-analysis-cli/src/dispatch.rs | 232 | 13 | 12 | 87 | 350 |
| legacy_hint | big-code-analysis-cli/src/lib.rs | 905 | 13 | 12 | 91 | 522 |
| MetricDiff::from_sets | big-code-analysis-cli/src/metric_diff.rs | 269 | 13 | 8 | 58 | 300 |
| VcsRepoCache::attach | big-code-analysis-py/src/batch.rs | 555 | 13 | 9 | 45 | 264 |
| CsharpCode::compute | src/metrics/npa/csharp.rs | 12 | 13 | 8 | 57 | 247 |
| KotlinCode::compute | src/metrics/npa/kotlin.rs | 33 | 13 | 8 | 57 | 213 |
| DiffFile::classify_body_line | src/vcs/git/diff_parse.rs | 189 | 13 | 12 | 46 | 222 |
| unquote_git_path | src/vcs/git/diff_parse.rs | 414 | 13 | 11 | 42 | 340 |
| main | big-code-analysis-bench/benches/scaling.rs | 47 | 12 | 13 | 88 | 399 |
| BaselineDiff::compute | big-code-analysis-cli/src/baseline_diff.rs | 117 | 12 | 10 | 71 | 498 |
| classify_check_outcome | big-code-analysis-cli/src/commands/check/outcome.rs | 69 | 12 | 11 | 45 | 161 |
| dispatch_ops | big-code-analysis-cli/src/dispatch.rs | 412 | 12 | 8 | 36 | 244 |
| ExemptionsReport::render_tty | big-code-analysis-cli/src/exemptions.rs | 121 | 12 | 8 | 28 | 243 |
| ExemptionsReport::render_markdown | big-code-analysis-cli/src/exemptions.rs | 150 | 12 | 8 | 28 | 246 |
| CppCode::compute | src/metrics/npa/cpp.rs | 12 | 12 | 9 | 64 | 233 |
| MozcppCode::compute | src/metrics/npa/mozcpp.rs | 12 | 12 | 9 | 64 | 233 |
| objc_count_instance_variables | src/metrics/npa/objc.rs | 18 | 12 | 7 | 27 | 188 |
| CppCode::compute | src/metrics/npm/cpp.rs | 12 | 12 | 11 | 92 | 260 |
| MozcppCode::compute | src/metrics/npm/mozcpp.rs | 12 | 12 | 11 | 92 | 260 |
| parse_args | big-code-analysis-bench/src/cli.rs | 74 | 11 | 12 | 48 | 285 |
| Baseline::from_str | big-code-analysis-cli/src/baseline.rs | 446 | 11 | 8 | 104 | 361 |
| unchecked_summary | big-code-analysis-cli/src/commands/check/skipped.rs | 48 | 11 | 8 | 39 | 244 |
| warn_deprecated_aliases | big-code-analysis-cli/src/deprecations.rs | 84 | 11 | 9 | 47 | 221 |
| write_table_head | big-code-analysis-cli/src/html_report.rs | 144 | 11 | 8 | 48 | 283 |
| Manifest::merge_check | big-code-analysis-cli/src/manifest.rs | 583 | 11 | 16 | 90 | 357 |
| classify_dropped_child | big-code-analysis-cli/src/walk.rs | 592 | 11 | 11 | 48 | 223 |
| analyze | big-code-analysis-py/src/lib.rs | 288 | 11 | 7 | 74 | 277 |
| options_from | big-code-analysis-py/src/vcs.rs | 80 | 11 | 11 | 48 | 376 |
| negotiate | big-code-analysis-web/src/web/negotiate.rs | 100 | 11 | 10 | 53 | 321 |
| options_from | big-code-analysis-web/src/web/vcs.rs | 180 | 11 | 11 | 49 | 382 |
| ConcurrentRunner<Config>::run | src/concurrent_files.rs | 403 | 11 | 10 | 57 | 285 |
| cpp_count_unary_conditions | src/metrics/abc/cpp.rs | 122 | 11 | 7 | 21 | 122 |
| csharp_count_unary_conditions | src/metrics/abc/csharp.rs | 77 | 11 | 6 | 29 | 127 |
| elixir_count_unary_conditions | src/metrics/abc/elixir.rs | 72 | 11 | 7 | 28 | 143 |
| go_count_unary_conditions | src/metrics/abc/go.rs | 67 | 11 | 7 | 25 | 135 |
| Function | File | Line | Effort | Volume | Est. Bugs | SLOC | Tokens |
|---|---|---|---|---|---|---|---|
| run | big-code-analysis-cli/src/commands.rs | 103 | 136,001 | 3,604 | 0.88 | 89 | 692 |
| metrics_inner | src/spaces/compute.rs | 627 | 120,010 | 3,709 | 0.81 | 207 | 628 |
| BaselineDiff::compute | big-code-analysis-cli/src/baseline_diff.rs | 117 | 118,802 | 2,680 | 0.81 | 71 | 498 |
| RubyCode::get_op_type | src/getter/ruby.rs | 21 | 93,043 | 4,927 | 0.68 | 132 | 673 |
| PhpCode::get_op_type | src/getter/php.rs | 31 | 92,712 | 4,598 | 0.68 | 304 | 646 |
| run_with_budget | big-code-analysis-bench/src/scaling.rs | 340 | 90,801 | 2,529 | 0.67 | 84 | 454 |
| PerlCode::get_op_type | src/getter/perl.rs | 17 | 89,041 | 4,717 | 0.66 | 119 | 649 |
| run_parse | big-code-analysis-web/src/web/server.rs | 103 | 82,478 | 2,223 | 0.63 | 90 | 416 |
| replace | src/c_macro.rs | 344 | 82,075 | 2,134 | 0.63 | 53 | 382 |
| metric_values | src/output/funcspace_row.rs | 34 | 80,351 | 6,039 | 0.62 | 143 | 948 |
| Accumulator::finalize | src/vcs/stats.rs | 238 | 79,570 | 2,843 | 0.62 | 98 | 503 |
| build_cached | src/vcs/git/cached.rs | 41 | 73,180 | 2,851 | 0.58 | 112 | 490 |
| build | src/ast.rs | 239 | 72,581 | 1,888 | 0.58 | 70 | 375 |
| unquote_git_path | src/vcs/git/diff_parse.rs | 414 | 71,494 | 1,836 | 0.57 | 42 | 340 |
| run_command_metrics | big-code-analysis-cli/src/commands/analyze.rs | 88 | 69,608 | 2,784 | 0.56 | 99 | 501 |
| apply_percentile | src/vcs/score.rs | 200 | 68,451 | 2,029 | 0.56 | 48 | 367 |
| ElixirCode::get_op_type | src/getter/elixir.rs | 142 | 68,426 | 3,450 | 0.56 | 121 | 505 |
| ops_inner | src/ops.rs | 301 | 67,662 | 2,427 | 0.55 | 99 | 442 |
| edit_distance_with_cutoff | big-code-analysis-cli/src/threshold_suggestion.rs | 28 | 66,737 | 1,435 | 0.55 | 26 | 297 |
| step_normal | src/c_macro.rs | 146 | 66,516 | 1,805 | 0.55 | 74 | 330 |
| run_check | big-code-analysis-cli/src/commands/check.rs | 22 | 63,636 | 2,597 | 0.53 | 141 | 462 |
| run_command_report | big-code-analysis-cli/src/commands/report.rs | 5 | 63,113 | 2,934 | 0.53 | 96 | 516 |
| compute_per_node | src/spaces/compute.rs | 323 | 63,008 | 2,413 | 0.53 | 61 | 448 |
| write_code_climate | src/output/code_climate.rs | 74 | 60,596 | 2,369 | 0.51 | 57 | 422 |
| materialize_tree | big-code-analysis-cli/src/diff.rs | 477 | 60,390 | 2,133 | 0.51 | 80 | 426 |
| legacy_hint | big-code-analysis-cli/src/lib.rs | 905 | 59,352 | 2,560 | 0.51 | 91 | 522 |
| BashCode::get_op_type | src/getter/bash.rs | 31 | 59,128 | 3,434 | 0.51 | 92 | 505 |
| Parser<T>::filters | src/parser.rs | 180 | 58,861 | 1,620 | 0.50 | 69 | 335 |
| Baseline::from_str | big-code-analysis-cli/src/baseline.rs | 446 | 58,411 | 1,949 | 0.50 | 104 | 361 |
| Accumulator::record | src/vcs/stats.rs | 154 | 56,240 | 1,765 | 0.49 | 46 | 322 |
| closest_names | big-code-analysis-cli/src/threshold_suggestion.rs | 77 | 55,786 | 1,742 | 0.49 | 39 | 335 |
| bench_corpus | big-code-analysis-bench/benches/metric_walk.rs | 73 | 55,643 | 2,068 | 0.49 | 75 | 424 |
| GoCode::compute | src/metrics/abc/go.rs | 94 | 55,577 | 2,066 | 0.49 | 122 | 379 |
| write_aggregate | big-code-analysis-cli/src/commands/analyze.rs | 211 | 54,211 | 1,967 | 0.48 | 68 | 379 |
| IrulesCode::get_op_type | src/getter/irules.rs | 20 | 53,746 | 2,851 | 0.47 | 146 | 437 |
| history_features | src/vcs/git/jit.rs | 391 | 52,560 | 1,794 | 0.47 | 54 | 319 |
| PerlCode::compute | src/metrics/loc/perl.rs | 17 | 52,135 | 2,171 | 0.47 | 81 | 365 |
| options_from | big-code-analysis-web/src/web/vcs.rs | 180 | 51,846 | 2,040 | 0.46 | 49 | 382 |
| CodeMetrics::from | src/wire.rs | 337 | 49,790 | 2,022 | 0.45 | 26 | 414 |
| sweep_orphans | xtask/src/main.rs | 181 | 49,051 | 1,761 | 0.45 | 73 | 354 |
| collect_events | src/vcs/git/history.rs | 49 | 48,928 | 2,079 | 0.45 | 69 | 369 |
| PythonCode::get_op_type | src/getter/python.rs | 16 | 48,347 | 2,545 | 0.44 | 78 | 394 |
| write_github_annotations | big-code-analysis-cli/src/check_format.rs | 167 | 47,834 | 1,802 | 0.44 | 73 | 335 |
| compute | src/vcs/bus_factor.rs | 192 | 47,695 | 1,938 | 0.44 | 55 | 362 |
| options_from | big-code-analysis-py/src/vcs.rs | 80 | 47,662 | 2,005 | 0.44 | 48 | 376 |
| PhpCode::compute | src/metrics/npa/php.rs | 12 | 47,493 | 1,555 | 0.44 | 61 | 307 |
| ObjcCode::compute | src/metrics/abc/objc.rs | 33 | 47,304 | 1,910 | 0.44 | 77 | 346 |
| collect_touched | src/vcs/git/jit.rs | 208 | 47,296 | 1,974 | 0.44 | 58 | 372 |
| negotiate | big-code-analysis-web/src/web/negotiate.rs | 100 | 47,022 | 1,647 | 0.43 | 53 | 321 |
| perl_inspect_container | src/metrics/abc/perl.rs | 55 | 46,759 | 1,571 | 0.43 | 72 | 302 |
| Function | File | Line | SLOC | Tokens | CC | Cognitive |
|---|---|---|---|---|---|---|
| PhpCode::get_op_type | src/getter/php.rs | 31 | 304 | 646 | 13 | 10 |
| metrics_inner | src/spaces/compute.rs | 627 | 207 | 628 | 13 | 21 |
| TclCode::get_op_type | src/getter/tcl.rs | 15 | 149 | 353 | 8 | 4 |
| IrulesCode::get_op_type | src/getter/irules.rs | 20 | 146 | 437 | 8 | 4 |
| metric_values | src/output/funcspace_row.rs | 34 | 143 | 948 | 1 | 0 |
| run_check | big-code-analysis-cli/src/commands/check.rs | 22 | 141 | 462 | 9 | 8 |
| CppCode::compute | src/metrics/abc/cpp.rs | 145 | 138 | 333 | 16 | 5 |
| MozcppCode::compute | src/metrics/abc/mozcpp.rs | 19 | 134 | 333 | 16 | 5 |
| RubyCode::get_op_type | src/getter/ruby.rs | 21 | 132 | 673 | 6 | 1 |
| RubyCode::compute | src/metrics/cognitive/ruby.rs | 30 | 132 | 362 | 13 | 3 |
| PythonCode::compute | src/metrics/cognitive/python.rs | 117 | 127 | 280 | 13 | 1 |
| PerlCode::compute | src/metrics/abc/perl.rs | 243 | 126 | 468 | 12 | 3 |
| RustCode::compute | src/metrics/abc/rust.rs | 127 | 125 | 325 | 16 | 7 |
| GoCode::compute | src/metrics/abc/go.rs | 94 | 122 | 379 | 17 | 9 |
| ElixirCode::get_op_type | src/getter/elixir.rs | 142 | 121 | 505 | 6 | 1 |
| PerlCode::get_op_type | src/getter/perl.rs | 17 | 119 | 649 | 6 | 1 |
| CCode::compute | src/metrics/abc/c.rs | 19 | 114 | 321 | 16 | 5 |
| emit_check_results | big-code-analysis-cli/src/commands/check.rs | 799 | 113 | 327 | 11 | 10 |
| build_cached | src/vcs/git/cached.rs | 41 | 112 | 490 | 7 | 8 |
| GroovyCode::get_op_type | src/getter/groovy.rs | 83 | 111 | 305 | 6 | 1 |
| KotlinCode::compute | src/metrics/abc/kotlin.rs | 156 | 111 | 307 | 16 | 5 |
| ElixirCode::compute | src/metrics/abc/elixir.rs | 134 | 108 | 363 | 12 | 7 |
| Baseline::from_str | big-code-analysis-cli/src/baseline.rs | 446 | 104 | 361 | 8 | 11 |
| PhpCode::compute | src/metrics/abc/php.rs | 176 | 100 | 259 | 10 | 3 |
| run_command_metrics | big-code-analysis-cli/src/commands/analyze.rs | 88 | 99 | 501 | 12 | 10 |
| ops_inner | src/ops.rs | 301 | 99 | 442 | 5 | 8 |
| CsharpCode::compute | src/metrics/cognitive/csharp.rs | 17 | 98 | 284 | 10 | 1 |
| Accumulator::finalize | src/vcs/stats.rs | 238 | 98 | 503 | 3 | 4 |
| run_command_report | big-code-analysis-cli/src/commands/report.rs | 5 | 96 | 516 | 9 | 7 |
| extract_summaries_inner | big-code-analysis-cli/src/markdown_report.rs | 128 | 92 | 551 | 5 | 10 |
| BashCode::get_op_type | src/getter/bash.rs | 31 | 92 | 505 | 7 | 7 |
| CppCode::compute | src/metrics/npm/cpp.rs | 12 | 92 | 260 | 11 | 12 |
| MozcppCode::compute | src/metrics/npm/mozcpp.rs | 12 | 92 | 260 | 11 | 12 |
| legacy_hint | big-code-analysis-cli/src/lib.rs | 905 | 91 | 522 | 12 | 13 |
| PythonCode::compute | src/metrics/abc/python.rs | 185 | 91 | 230 | 12 | 3 |
| compute_since_diff | big-code-analysis-cli/src/commands/diff_cmd.rs | 113 | 90 | 358 | 4 | 3 |
| Manifest::merge_check | big-code-analysis-cli/src/manifest.rs | 583 | 90 | 357 | 16 | 11 |
| run_parse | big-code-analysis-web/src/web/server.rs | 103 | 90 | 416 | 7 | 6 |
| PhpCode::compute | src/metrics/cognitive/php.rs | 17 | 90 | 271 | 10 | 1 |
| run | big-code-analysis-cli/src/commands.rs | 103 | 89 | 692 | 18 | 3 |
| main | big-code-analysis-bench/benches/scaling.rs | 47 | 88 | 399 | 13 | 12 |
| apply_changed_only_inner | big-code-analysis-cli/src/commands/check.rs | 692 | 87 | 300 | 4 | 6 |
| validate_and_resolve_file | big-code-analysis-cli/src/dispatch.rs | 232 | 87 | 350 | 12 | 13 |
| ElixirCode::compute | src/metrics/cyclomatic/elixir.rs | 150 | 87 | 238 | 12 | 8 |
| PythonCode::compute | src/metrics/loc/python.rs | 17 | 87 | 284 | 9 | 8 |
| TclCode::compute | src/metrics/cognitive/tcl.rs | 17 | 86 | 304 | 15 | 5 |
| run_with_budget | big-code-analysis-bench/src/scaling.rs | 340 | 84 | 454 | 9 | 17 |
| ElixirCode::compute | src/metrics/cognitive/elixir.rs | 66 | 84 | 243 | 9 | 3 |
| MozjsCode::compute | src/metrics/loc/mozjs.rs | 17 | 84 | 288 | 8 | 4 |
| ResolvedThreshold::violation_for | big-code-analysis-cli/src/thresholds.rs | 780 | 83 | 306 | 6 | 5 |
| Function | File | Line | Args | SLOC | Tokens |
|---|---|---|---|---|---|
| PyVcsOptions::py_new | big-code-analysis-py/src/lib.rs | 611 | 15 | 36 | 168 |
| analyze_paths | big-code-analysis-py/src/batch.rs | 654 | 11 | 62 | 347 |
| incremental_events | src/vcs/git/cached.rs | 162 | 9 | 34 | 236 |
| analyze_batch | big-code-analysis-py/src/batch.rs | 377 | 8 | 51 | 239 |
| analyze | big-code-analysis-py/src/lib.rs | 288 | 8 | 74 | 277 |
| process_commit | src/vcs/git/history.rs | 124 | 8 | 64 | 337 |
| print_effective_config | big-code-analysis-cli/src/commands/check/effective_config.rs | 73 | 7 | 31 | 158 |
| dispatch_metrics | big-code-analysis-cli/src/dispatch.rs | 357 | 7 | 54 | 313 |
| dispatch_ops | big-code-analysis-cli/src/dispatch.rs | 412 | 7 | 36 | 244 |
| write_table_classed_with_tooltips | big-code-analysis-cli/src/html_report.rs | 126 | 7 | 14 | 130 |
| write_table_core | big-code-analysis-cli/src/html_report.rs | 196 | 7 | 46 | 378 |
| write_language_section | big-code-analysis-cli/src/html_report/sections.rs | 659 | 7 | 55 | 262 |
| select_for | big-code-analysis-cli/src/markdown_report/hotspot.rs | 1020 | 7 | 30 | 195 |
| vcs_trend | big-code-analysis-py/src/lib.rs | 758 | 7 | 16 | 119 |
| compute_per_node | src/spaces/compute.rs | 323 | 7 | 61 | 448 |
| compute_features | src/vcs/git/jit.rs | 164 | 7 | 40 | 255 |
| filter_by_baseline | big-code-analysis-cli/src/commands/check.rs | 591 | 6 | 37 | 221 |
| EffectiveConfig::from_resolved | big-code-analysis-cli/src/commands/check/effective_config.rs | 338 | 6 | 18 | 116 |
| scaffold_baseline | big-code-analysis-cli/src/commands/init.rs | 118 | 6 | 70 | 344 |
| dispatch_strip_comments | big-code-analysis-cli/src/dispatch.rs | 449 | 6 | 28 | 163 |
| dispatch_find | big-code-analysis-cli/src/dispatch.rs | 510 | 6 | 38 | 187 |
| dispatch_count | big-code-analysis-cli/src/dispatch.rs | 553 | 6 | 16 | 117 |
| write_table_with_tooltips | big-code-analysis-cli/src/html_report.rs | 113 | 6 | 10 | 81 |
| generate_html_report_with_vcs | big-code-analysis-cli/src/html_report.rs | 268 | 6 | 74 | 327 |
| generate_report_with_vcs | big-code-analysis-cli/src/markdown_report.rs | 778 | 6 | 49 | 214 |
| write_language_section | big-code-analysis-cli/src/markdown_report.rs | 999 | 6 | 44 | 224 |
| assemble_globals | big-code-analysis-cli/src/walk.rs | 43 | 6 | 31 | 196 |
| vcs_rank | big-code-analysis-py/src/lib.rs | 719 | 6 | 16 | 102 |
| record_threshold_breaches | big-code-analysis-py/src/sarif.rs | 492 | 6 | 43 | 190 |
| Alterator::get_ast_node | src/alterator.rs | 90 | 6 | 14 | 80 |
| Span::new | src/ast.rs | 69 | 6 | 17 | 48 |
| open_func_space | src/spaces/compute.rs | 433 | 6 | 24 | 163 |
| assemble | src/vcs/git/cached.rs | 241 | 6 | 11 | 79 |
| persist | src/vcs/git/cached.rs | 266 | 6 | 22 | 113 |
| experience_features | src/vcs/git/jit.rs | 478 | 6 | 55 | 333 |
| Type | File | Line | WMC | Methods | NPA | NPM | SLOC | Tokens |
|---|---|---|---|---|---|---|---|---|
| PyNode | big-code-analysis-py/src/node.rs | 289 | 59 | 52 | 0 | 0 | 335 | 1,986 |
| Manifest | big-code-analysis-cli/src/manifest.rs | 489 | 54 | 20 | 0 | 7 | 323 | 1,270 |
| BaselineDiff | big-code-analysis-cli/src/baseline_diff.rs | 112 | 45 | 17 | 0 | 5 | 224 | 1,440 |
| Node<'a> | src/node.rs | 100 | 40 | 34 | 0 | 31 | 379 | 1,209 |
| PerFunctionBlame | src/vcs/git/blame.rs | 255 | 38 | 30 | 0 | 4 | 339 | 1,407 |
| Baseline | big-code-analysis-cli/src/baseline.rs | 427 | 35 | 16 | 0 | 4 | 266 | 943 |
| MetricDiff | big-code-analysis-cli/src/metric_diff.rs | 248 | 33 | 14 | 0 | 6 | 206 | 1,153 |
| Nesting | fuzz/src/nested.rs | 166 | 33 | 4 | 0 | 2 | 104 | 770 |
| PyAst | big-code-analysis-py/src/ast.rs | 105 | 29 | 27 | 0 | 0 | 225 | 1,241 |
| LineSet | src/metrics/loc/line_set.rs | 101 | 29 | 22 | 0 | 7 | 174 | 943 |
| ElixirCode | src/getter/elixir.rs | 36 | 27 | 7 | 0 | 0 | 230 | 931 |
| ExemptionsReport | big-code-analysis-cli/src/exemptions.rs | 104 | 25 | 8 | 0 | 1 | 111 | 798 |
| Trend | src/vcs/trend.rs | 120 | 25 | 18 | 0 | 9 | 160 | 758 |
| PhpCode | src/getter/php.rs | 6 | 24 | 6 | 0 | 0 | 332 | 744 |
| Stats | src/metrics/loc.rs | 511 | 24 | 24 | 0 | 24 | 224 | 872 |
| KotlinCode | src/getter/kotlin.rs | 125 | 23 | 6 | 0 | 0 | 187 | 657 |
| Stats | src/metrics/abc.rs | 189 | 23 | 20 | 0 | 20 | 171 | 797 |
| CorpusSlice | big-code-analysis-bench/src/corpus.rs | 110 | 21 | 12 | 0 | 6 | 138 | 701 |
| Stats | src/metrics/halstead.rs | 143 | 21 | 15 | 0 | 15 | 202 | 545 |
| AggregatedFormat | big-code-analysis-cli/src/check_format.rs | 56 | 20 | 8 | 0 | 3 | 49 | 268 |
| CppCode | src/getter/cpp.rs | 7 | 20 | 4 | 0 | 0 | 139 | 573 |
| MozcppCode | src/getter/mozcpp.rs | 7 | 20 | 4 | 0 | 0 | 118 | 573 |
| LanguageThresholds | big-code-analysis-cli/src/threshold_lang.rs | 148 | 19 | 14 | 0 | 8 | 99 | 488 |
| Checker | src/checker.rs | 317 | 19 | 18 | 0 | 18 | 215 | 562 |
| ObjcCode | src/metrics/abc/objc.rs | 32 | 19 | 3 | 0 | 0 | 79 | 352 |
| Stats | src/metrics/npa.rs | 83 | 19 | 17 | 0 | 17 | 163 | 537 |
| Stats | src/metrics/npm.rs | 84 | 19 | 17 | 0 | 17 | 163 | 537 |
| Parser<T> | src/parser.rs | 116 | 19 | 9 | 0 | 0 | 134 | 597 |
| DiffFile | src/vcs/git/diff_parse.rs | 138 | 19 | 5 | 0 | 0 | 98 | 379 |
| Accumulator | src/vcs/stats.rs | 143 | 19 | 10 | 0 | 4 | 194 | 948 |
| ThresholdSet | big-code-analysis-cli/src/thresholds.rs | 918 | 18 | 10 | 0 | 6 | 210 | 689 |
| VcsRepoCache | big-code-analysis-py/src/batch.rs | 520 | 18 | 9 | 0 | 0 | 81 | 421 |
| PythonCode | src/getter/python.rs | 6 | 18 | 5 | 0 | 0 | 93 | 482 |
| CCode | src/metrics/abc/c.rs | 18 | 18 | 3 | 0 | 0 | 116 | 327 |
| CppCode | src/metrics/abc/cpp.rs | 144 | 18 | 3 | 0 | 0 | 140 | 339 |
| GoCode | src/metrics/abc/go.rs | 93 | 18 | 2 | 0 | 0 | 124 | 385 |
| MozcppCode | src/metrics/abc/mozcpp.rs | 18 | 18 | 3 | 0 | 0 | 136 | 339 |
| RustCode | src/metrics/abc/rust.rs | 126 | 18 | 3 | 0 | 0 | 127 | 331 |
| Stats | src/metrics/nargs.rs | 82 | 18 | 16 | 0 | 16 | 129 | 606 |
| Error | src/vcs/error.rs | 203 | 18 | 1 | 0 | 0 | 44 | 343 |
| CodeMetrics | src/wire.rs | 336 | 18 | 15 | 0 | 0 | 28 | 428 |
| SharedLayers<'a> | big-code-analysis-cli/src/commands/check/thresholds.rs | 312 | 17 | 11 | 0 | 0 | 113 | 581 |
| GroovyCode | src/getter/groovy.rs | 6 | 17 | 4 | 0 | 0 | 199 | 552 |
| JavaCode | src/getter/java.rs | 6 | 17 | 4 | 0 | 0 | 124 | 509 |
| RustCode | src/getter/rust.rs | 6 | 17 | 4 | 0 | 0 | 92 | 522 |
| KotlinCode | src/metrics/abc/kotlin.rs | 155 | 17 | 2 | 0 | 0 | 113 | 313 |
| Stats | src/metrics/nom.rs | 86 | 17 | 15 | 0 | 15 | 132 | 580 |
| Ancestors<'tree, 'chain> | src/node.rs | 496 | 17 | 9 | 0 | 8 | 146 | 526 |
| Violation | big-code-analysis-cli/src/thresholds.rs | 560 | 16 | 10 | 0 | 4 | 94 | 454 |
| RustCode | src/checker/rust.rs | 6 | 16 | 10 | 0 | 0 | 118 | 569 |
| Function | File | Line | Exits | CC | SLOC | Tokens |
|---|---|---|---|---|---|---|
| _native | big-code-analysis-py/src/lib.rs | 842 | 35 | 1 | 49 | 453 |
| register_vcs_submodule | big-code-analysis-py/src/lib.rs | 905 | 14 | 1 | 21 | 164 |
| dump_ops_values | src/output/dump_ops.rs | 140 | 12 | 2 | 34 | 220 |
| build_cached | src/vcs/git/cached.rs | 41 | 11 | 7 | 112 | 490 |
| collect_touched | src/vcs/git/jit.rs | 208 | 10 | 1 | 58 | 372 |
| materialize_tree | big-code-analysis-cli/src/diff.rs | 477 | 9 | 6 | 80 | 426 |
| dump_space | src/output/dump_metrics.rs | 104 | 9 | 3 | 39 | 304 |
| dump_space | src/output/dump_ops.rs | 75 | 9 | 3 | 39 | 301 |
| process_commit | src/vcs/git/history.rs | 124 | 9 | 8 | 64 | 337 |
| Report::fmt | big-code-analysis-bench/src/scaling.rs | 202 | 8 | 6 | 54 | 323 |
| PyAnalysisError::__repr__ | big-code-analysis-py/src/batch.rs | 166 | 8 | 1 | 20 | 129 |
| options_from | big-code-analysis-py/src/vcs.rs | 80 | 8 | 11 | 48 | 376 |
| options_from | big-code-analysis-web/src/web/vcs.rs | 180 | 8 | 11 | 49 | 382 |
| CodeMetrics::fmt | src/spaces/code_metrics.rs | 33 | 8 | 1 | 11 | 153 |
| collect_events | src/vcs/git/history.rs | 49 | 8 | 7 | 69 | 369 |
| diff_collect | src/vcs/git/history.rs | 196 | 8 | 1 | 56 | 326 |
| write_checkstyle | src/output/checkstyle.rs | 45 | 7 | 5 | 30 | 228 |
| read_gated | src/tools.rs | 280 | 7 | 7 | 48 | 258 |
| collect_touched::<anon@L227> | src/vcs/git/jit.rs | 227 | 7 | 6 | 35 | 221 |
| enumerate_target_files | src/vcs/git/repo.rs | 127 | 7 | 1 | 44 | 262 |
| parse_iso8601 | src/vcs/options.rs | 413 | 7 | 10 | 50 | 274 |
| parse_args | big-code-analysis-bench/src/cli.rs | 74 | 6 | 12 | 48 | 285 |
| parse_ls_tree_record | big-code-analysis-cli/src/diff.rs | 568 | 6 | 2 | 16 | 156 |
| analyze_batch | big-code-analysis-py/src/batch.rs | 377 | 6 | 6 | 51 | 239 |
| PyNode::span | big-code-analysis-py/src/node.rs | 391 | 6 | 1 | 12 | 175 |
| resolve_thresholds | big-code-analysis-py/src/sarif.rs | 278 | 6 | 5 | 46 | 288 |
| collect_offenders | big-code-analysis-py/src/sarif.rs | 559 | 6 | 6 | 42 | 289 |
| step_normal | src/c_macro.rs | 146 | 6 | 15 | 74 | 330 |
| python_self_attr_name_bytes | src/metrics/npa/python.rs | 297 | 6 | 4 | 25 | 161 |
| dump_metrics | src/output/dump_metrics.rs | 148 | 6 | 2 | 33 | 217 |
| parse_native | src/suppression.rs | 498 | 6 | 8 | 69 | 311 |
| PerFunctionBlame::open | src/vcs/git/blame.rs | 266 | 6 | 1 | 42 | 270 |
| PerFunctionBlame::resolve_commit | src/vcs/git/blame.rs | 518 | 6 | 3 | 39 | 208 |
| diff_collect::<anon@L213> | src/vcs/git/history.rs | 213 | 6 | 3 | 35 | 179 |
| score_commit | src/vcs/git/jit.rs | 67 | 6 | 1 | 45 | 271 |
| experience_features | src/vcs/git/jit.rs | 478 | 6 | 9 | 55 | 333 |
| build | src/vcs/git/mod.rs | 51 | 6 | 1 | 36 | 209 |
| main | big-code-analysis-bench/benches/scaling.rs | 47 | 5 | 13 | 88 | 399 |
| dispatch_find | big-code-analysis-cli/src/dispatch.rs | 510 | 5 | 3 | 38 | 187 |
| dispatch_exemptions | big-code-analysis-cli/src/dispatch.rs | 691 | 5 | 4 | 46 | 200 |
| write_table | big-code-analysis-cli/src/vcs_command.rs | 475 | 5 | 4 | 38 | 235 |
| relative_tail_with | big-code-analysis-cli/src/walk_seed.rs | 174 | 5 | 7 | 26 | 188 |
| analyze_paths | big-code-analysis-py/src/batch.rs | 654 | 5 | 3 | 62 | 347 |
| extract_as_of | big-code-analysis-py/src/lib.rs | 544 | 5 | 3 | 14 | 107 |
| extract_line_number | big-code-analysis-py/src/sarif.rs | 367 | 5 | 3 | 20 | 133 |
| compute_vcs_jit | big-code-analysis-web/src/web/vcs.rs | 539 | 5 | 2 | 21 | 150 |
| create_macros_file | enums/src/rust.rs | 87 | 5 | 3 | 41 | 264 |
| dump_value | src/output/dump_metrics.rs | 241 | 5 | 2 | 18 | 125 |
| Ast::from_path | src/spaces/ast.rs | 101 | 5 | 1 | 17 | 125 |
| compute_features | src/vcs/git/jit.rs | 164 | 5 | 3 | 40 | 255 |
| Function | File | Line | ABC | SLOC | Tokens |
|---|---|---|---|---|---|
| metric_values | src/output/funcspace_row.rs | 34 | 111.9 | 143 | 948 |
| register_endpoints | big-code-analysis-web/src/web/server/routing.rs | 101 | 91.0 | 56 | 450 |
| sanitize_identifier | enums/src/common.rs | 25 | 45.7 | 69 | 381 |
| extract_summaries_inner | big-code-analysis-cli/src/markdown_report.rs | 128 | 40.1 | 92 | 551 |
| run_command_report | big-code-analysis-cli/src/commands/report.rs | 5 | 39.1 | 96 | 516 |
| options_from | big-code-analysis-py/src/vcs.rs | 80 | 37.6 | 48 | 376 |
| collect_events | src/vcs/git/history.rs | 49 | 36.9 | 69 | 369 |
| run_command_metrics | big-code-analysis-cli/src/commands/analyze.rs | 88 | 36.1 | 99 | 501 |
| run_with_budget | big-code-analysis-bench/src/scaling.rs | 340 | 36.0 | 84 | 454 |
| options_from | big-code-analysis-web/src/web/vcs.rs | 180 | 35.9 | 49 | 382 |
| process_commit | src/vcs/git/history.rs | 124 | 35.6 | 64 | 337 |
| experience_features | src/vcs/git/jit.rs | 478 | 35.5 | 55 | 333 |
| materialize_tree | big-code-analysis-cli/src/diff.rs | 477 | 35.3 | 80 | 426 |
| EffectiveCheck::from_resolved | big-code-analysis-cli/src/commands/check/effective_config.rs | 271 | 34.1 | 59 | 423 |
| BaselineDiff::compute | big-code-analysis-cli/src/baseline_diff.rs | 117 | 33.8 | 71 | 498 |
| Manifest::merge_check | big-code-analysis-cli/src/manifest.rs | 583 | 33.6 | 90 | 357 |
| ops_inner | src/ops.rs | 301 | 31.8 | 99 | 442 |
| CodeMetrics::from | src/wire.rs | 337 | 31.6 | 26 | 414 |
| unquote_git_path | src/vcs/git/diff_parse.rs | 414 | 31.6 | 42 | 340 |
| run_check_walk | big-code-analysis-cli/src/commands/check.rs | 314 | 30.1 | 76 | 377 |
| run_command_ops | big-code-analysis-cli/src/commands/analyze.rs | 280 | 29.8 | 53 | 393 |
| score | src/vcs/jit.rs | 262 | 29.6 | 50 | 324 |
| compute_since_diff | big-code-analysis-cli/src/commands/diff_cmd.rs | 113 | 29.3 | 90 | 358 |
| rm_comments | src/comment_rm.rs | 87 | 29.0 | 49 | 286 |
| legacy_hint | big-code-analysis-cli/src/lib.rs | 905 | 28.9 | 91 | 522 |
| build_trend | src/vcs/git/trend.rs | 42 | 28.8 | 50 | 264 |
| write_code_climate | src/output/code_climate.rs | 74 | 28.5 | 57 | 422 |
| create_macros_file | enums/src/rust.rs | 87 | 28.2 | 41 | 264 |
| validate_and_resolve_file | big-code-analysis-cli/src/dispatch.rs | 232 | 27.9 | 87 | 350 |
| parse_iso8601 | src/vcs/options.rs | 413 | 27.7 | 50 | 274 |
| Accumulator::finalize | src/vcs/stats.rs | 238 | 27.6 | 98 | 503 |
| ConcurrentRunner<Config>::run | src/concurrent_files.rs | 403 | 27.6 | 57 | 285 |
| read_gated | src/tools.rs | 280 | 27.6 | 48 | 258 |
| dump_space | src/output/dump_metrics.rs | 104 | 27.5 | 39 | 304 |
| dump_space | src/output/dump_ops.rs | 75 | 27.5 | 39 | 301 |
| Baseline::from_str | big-code-analysis-cli/src/baseline.rs | 446 | 27.5 | 104 | 361 |
| parse_native | src/suppression.rs | 498 | 27.4 | 69 | 311 |
| resolve_thresholds | big-code-analysis-py/src/sarif.rs | 278 | 27.2 | 46 | 288 |
| analyze_paths | big-code-analysis-py/src/batch.rs | 654 | 27.2 | 62 | 347 |
| Accumulator::record | src/vcs/stats.rs | 154 | 27.1 | 46 | 322 |
| CodeMetrics::selected | src/wire.rs | 373 | 27.1 | 22 | 244 |
| history_features | src/vcs/git/jit.rs | 391 | 26.7 | 54 | 319 |
| dispatch_action | big-code-analysis-cli/src/dispatch.rs | 180 | 26.4 | 32 | 336 |
| language_display_name | big-code-analysis-cli/src/markdown_report.rs | 313 | 26.4 | 39 | 266 |
| build_options | big-code-analysis-cli/src/vcs_command.rs | 234 | 26.2 | 51 | 352 |
| register_vcs_submodule | big-code-analysis-py/src/lib.rs | 905 | 26.1 | 21 | 164 |
| Parser<T>::filters | src/parser.rs | 180 | 25.9 | 69 | 335 |
| DiffFile::classify_body_line | src/vcs/git/diff_parse.rs | 189 | 25.9 | 46 | 222 |
| emit_check_results | big-code-analysis-cli/src/commands/check.rs | 799 | 25.9 | 113 | 327 |
| parse_args | big-code-analysis-bench/src/cli.rs | 74 | 25.7 | 48 | 285 |
Long window 365d, recent window 90d, risk formula v2. Risk is ordinal: only relative ranks carry meaning, not the absolute value.
| Rank | File | Risk | Commits (recent) | Commits (long) | Churn (recent) | Churn (long) | Authors (recent) | Authors (long) | Ownership | Burst | Bug fixes | Sec fixes | Reverts | Age (d) | Last mod (d) | Change entropy (recent) | Change entropy (long) | Co-change entropy (recent) | Co-change entropy (long) | Hotspot |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | src/metrics/cognitive.rs | 9.3 | 58 | 137 | 8,708 | 17,601 | 1 | 2 | 0.99 | 0.42 | 105 | 0 | 0 | 220 | 18 | 23.97 | 47.20 | 8.91 | 8.96 | 635684.0 |
| 2 | src/metrics/abc.rs | 8.8 | 47 | 132 | 8,938 | 22,450 | 1 | 2 | 0.99 | 0.36 | 101 | 0 | 0 | 220 | 18 | 19.12 | 65.00 | 9.45 | 9.50 | 330706.0 |
| 3 | src/metrics/loc.rs | 8.7 | 49 | 100 | 10,263 | 18,540 | 1 | 2 | 0.99 | 0.49 | 74 | 0 | 0 | 220 | 0 | 18.57 | 38.95 | 8.04 | 8.64 | 759462.0 |
| 4 | src/metrics/halstead.rs | 8.7 | 48 | 106 | 6,000 | 9,160 | 1 | 1 | 1.00 | 0.45 | 81 | 0 | 0 | 119 | 0 | 21.77 | 43.11 | 8.65 | 8.64 | 240000.0 |
| 5 | big-code-analysis-cli/src/lib.rs | 8.7 | 80 | 137 | 6,702 | 12,696 | 1 | 1 | 1.00 | 0.58 | 104 | 2 | 0 | 96 | 0 | 22.65 | 34.03 | 7.67 | 7.62 | 469140.0 |
| 6 | src/metrics/nargs.rs | 7.4 | 46 | 80 | 5,146 | 7,427 | 1 | 2 | 0.99 | 0.57 | 52 | 0 | 0 | 220 | 22 | 10.92 | 17.59 | 8.55 | 8.77 | 756462.0 |
| 7 | big-code-analysis-cli/src/commands.rs | 7.4 | 62 | 88 | 5,089 | 7,843 | 1 | 1 | 1.00 | 0.70 | 67 | 1 | 0 | 94 | 26 | 14.81 | 23.67 | 7.51 | 7.31 | 193382.0 |
| 8 | src/node.rs | 7.4 | 41 | 63 | 2,721 | 2,950 | 2 | 4 | 0.92 | 0.65 | 50 | 0 | 1 | 220 | 17 | 14.42 | 16.14 | 7.88 | 7.92 | 291147.0 |
| 9 | src/metrics/cyclomatic.rs | 7.3 | 32 | 91 | 6,327 | 13,557 | 1 | 1 | 1.00 | 0.35 | 67 | 0 | 0 | 119 | 18 | 8.92 | 27.14 | 9.02 | 9.05 | 297369.0 |
| 10 | src/checker.rs | 7.3 | 34 | 94 | 3,890 | 8,595 | 1 | 2 | 0.99 | 0.36 | 70 | 0 | 0 | 220 | 0 | 11.73 | 24.99 | 7.97 | 8.19 | 256740.0 |
| 11 | src/wire.rs | 7.1 | 20 | 20 | 3,260 | 3,260 | 1 | 1 | 1.00 | 1.00 | 15 | 1 | 0 | 83 | 28 | 7.48 | 7.48 | 9.74 | 9.74 | 231460.0 |
| 12 | src/spaces.rs | 7.0 | 41 | 90 | 4,725 | 8,336 | 1 | 1 | 1.00 | 0.46 | 69 | 1 | 0 | 119 | 25 | 11.22 | 27.49 | 7.88 | 8.24 | 56700.0 |
| 13 | big-code-analysis-cli/src/markdown_report.rs | 6.9 | 40 | 60 | 2,241 | 5,440 | 1 | 1 | 1.00 | 0.67 | 41 | 0 | 0 | 96 | 25 | 11.74 | 15.50 | 7.46 | 7.59 | 277884.0 |
| 14 | big-code-analysis-cli/src/html_report.rs | 6.9 | 34 | 47 | 4,095 | 7,191 | 1 | 1 | 1.00 | 0.72 | 32 | 1 | 0 | 96 | 25 | 11.70 | 16.23 | 7.37 | 7.48 | 122850.0 |
| 15 | big-code-analysis-web/src/web/server.rs | 6.9 | 37 | 62 | 3,753 | 6,840 | 1 | 1 | 1.00 | 0.60 | 46 | 2 | 0 | 119 | 21 | 12.72 | 17.17 | 7.37 | 7.95 | 71307.0 |
| 16 | big-code-analysis-cli/src/vcs_command.rs | 6.9 | 33 | 33 | 1,506 | 1,506 | 1 | 1 | 1.00 | 1.00 | 27 | 4 | 0 | 81 | 28 | 6.16 | 6.16 | 8.71 | 8.71 | 170178.0 |
| 17 | src/metrics/npa.rs | 6.9 | 33 | 92 | 3,489 | 9,827 | 1 | 1 | 1.00 | 0.36 | 68 | 0 | 0 | 119 | 24 | 7.21 | 34.03 | 9.18 | 9.39 | 157005.0 |
| 18 | src/metrics/npm.rs | 6.9 | 35 | 82 | 2,654 | 6,762 | 1 | 1 | 1.00 | 0.43 | 59 | 0 | 0 | 119 | 0 | 8.26 | 22.60 | 9.17 | 9.39 | 108814.0 |
| 19 | big-code-analysis-cli/src/vcs_report.rs | 6.8 | 19 | 19 | 2,031 | 2,031 | 1 | 1 | 1.00 | 1.00 | 14 | 0 | 0 | 81 | 72 | 7.36 | 7.36 | 8.85 | 8.85 | 160449.0 |
| 20 | big-code-analysis-cli/src/markdown_report/hotspot.rs | 6.8 | 20 | 20 | 2,086 | 2,086 | 1 | 1 | 1.00 | 1.00 | 12 | 0 | 0 | 86 | 25 | 7.45 | 7.45 | 7.23 | 7.23 | 279524.0 |
| 21 | big-code-analysis-cli/src/commands/check.rs | 6.7 | 25 | 25 | 1,680 | 1,680 | 1 | 1 | 1.00 | 1.00 | 20 | 0 | 0 | 70 | 0 | 6.66 | 6.66 | 6.72 | 6.72 | 144480.0 |
| 22 | src/vcs/git/jit.rs | 6.5 | 16 | 16 | 2,488 | 2,488 | 1 | 1 | 1.00 | 1.00 | 16 | 1 | 0 | 81 | 19 | 6.41 | 6.41 | 6.89 | 6.89 | 119424.0 |
| 23 | src/getter.rs | 6.3 | 25 | 83 | 3,606 | 6,345 | 1 | 2 | 0.99 | 0.30 | 65 | 0 | 0 | 220 | 0 | 5.89 | 19.14 | 7.91 | 8.27 | 68514.0 |
| 24 | src/spaces/compute.rs | 6.3 | 21 | 21 | 1,166 | 1,166 | 1 | 1 | 1.00 | 1.00 | 16 | 0 | 0 | 70 | 0 | 5.08 | 5.08 | 7.55 | 7.55 | 96778.0 |
| 25 | big-code-analysis-web/src/web/vcs.rs | 6.2 | 18 | 18 | 1,149 | 1,149 | 1 | 1 | 1.00 | 1.00 | 16 | 2 | 0 | 81 | 72 | 4.21 | 4.21 | 8.70 | 8.70 | 43662.0 |
| 26 | big-code-analysis-cli/src/metric_diff.rs | 6.1 | 19 | 19 | 935 | 935 | 1 | 1 | 1.00 | 1.00 | 15 | 0 | 0 | 89 | 19 | 5.53 | 5.53 | 7.14 | 7.14 | 100980.0 |
| 27 | big-code-analysis-py/src/vcs.rs | 6.1 | 21 | 21 | 947 | 947 | 1 | 1 | 1.00 | 1.00 | 18 | 1 | 0 | 81 | 72 | 4.01 | 4.01 | 8.70 | 8.70 | 60608.0 |
| 28 | big-code-analysis-cli/src/dispatch.rs | 6.1 | 43 | 49 | 1,203 | 1,745 | 1 | 1 | 1.00 | 0.88 | 30 | 1 | 0 | 94 | 0 | 7.05 | 8.14 | 7.75 | 7.72 | 123909.0 |
| 29 | big-code-analysis-bench/src/shapes.rs | 6.0 | 12 | 12 | 1,354 | 1,354 | 1 | 1 | 1.00 | 1.00 | 10 | 0 | 0 | 33 | 28 | 4.45 | 4.45 | 7.39 | 7.39 | 70408.0 |
| 30 | big-code-analysis-cli/src/walk_seed.rs | 6.0 | 16 | 16 | 727 | 727 | 1 | 1 | 1.00 | 1.00 | 15 | 0 | 0 | 89 | 25 | 6.38 | 6.38 | 7.09 | 7.09 | 38531.0 |
| 31 | big-code-analysis-cli/src/walk.rs | 6.0 | 15 | 15 | 1,371 | 1,371 | 1 | 1 | 1.00 | 1.00 | 11 | 0 | 0 | 70 | 0 | 4.23 | 4.23 | 6.40 | 6.40 | 130245.0 |
| 32 | src/metrics/wmc.rs | 5.9 | 21 | 67 | 1,130 | 4,603 | 1 | 1 | 1.00 | 0.31 | 48 | 0 | 0 | 119 | 0 | 3.27 | 16.11 | 8.71 | 9.06 | 92660.0 |
| 33 | src/metrics/nexits.rs | 5.9 | 22 | 59 | 1,978 | 4,349 | 1 | 1 | 1.00 | 0.37 | 37 | 0 | 0 | 119 | 0 | 2.93 | 10.49 | 7.33 | 8.17 | 181976.0 |
| 34 | src/suppression.rs | 5.9 | 23 | 26 | 1,646 | 2,869 | 1 | 1 | 1.00 | 0.88 | 18 | 0 | 0 | 96 | 26 | 6.26 | 8.55 | 7.64 | 7.66 | 164600.0 |
| 35 | big-code-analysis-py/src/types_codegen.rs | 5.8 | 10 | 10 | 1,487 | 1,487 | 1 | 1 | 1.00 | 1.00 | 8 | 0 | 0 | 79 | 24 | 2.31 | 2.31 | 9.78 | 9.78 | 50558.0 |
| 36 | big-code-analysis-cli/src/thresholds.rs | 5.8 | 24 | 41 | 1,119 | 2,932 | 1 | 1 | 1.00 | 0.59 | 34 | 0 | 0 | 96 | 19 | 6.38 | 11.01 | 7.56 | 7.62 | 128685.0 |
| 37 | src/macros/mod.rs | 5.8 | 27 | 53 | 948 | 2,498 | 1 | 1 | 1.00 | 0.51 | 38 | 0 | 0 | 119 | 24 | 6.14 | 12.91 | 7.86 | 8.36 | 20856.0 |
| 38 | src/ops.rs | 5.8 | 25 | 40 | 1,353 | 1,695 | 1 | 1 | 1.00 | 0.62 | 30 | 0 | 0 | 119 | 0 | 5.19 | 8.50 | 7.85 | 8.05 | 31119.0 |
| 39 | src/metrics/nom.rs | 5.8 | 25 | 58 | 1,596 | 3,025 | 1 | 1 | 1.00 | 0.43 | 40 | 0 | 0 | 119 | 18 | 2.15 | 7.76 | 8.66 | 8.81 | 46284.0 |
| 40 | src/tools.rs | 5.7 | 23 | 51 | 756 | 2,324 | 1 | 2 | 0.98 | 0.45 | 35 | 0 | 0 | 220 | 0 | 5.88 | 12.51 | 7.00 | 7.59 | 102060.0 |
| 41 | big-code-analysis-py/src/lib.rs | 5.5 | 24 | 39 | 1,025 | 1,551 | 1 | 1 | 1.00 | 0.62 | 35 | 1 | 0 | 96 | 19 | 4.18 | 6.79 | 7.24 | 7.20 | 63550.0 |
| 42 | big-code-analysis-cli/src/formats.rs | 5.5 | 18 | 41 | 972 | 2,237 | 1 | 1 | 1.00 | 0.44 | 33 | 3 | 0 | 119 | 0 | 3.69 | 7.98 | 7.47 | 7.96 | 123444.0 |
| 43 | src/langs.rs | 5.5 | 22 | 36 | 761 | 1,058 | 1 | 1 | 1.00 | 0.61 | 17 | 0 | 0 | 119 | 21 | 5.76 | 7.50 | 7.35 | 7.51 | 761.0 |
| 44 | src/c_declarator.rs | 5.4 | 13 | 13 | 801 | 801 | 1 | 1 | 1.00 | 1.00 | 5 | 0 | 0 | 23 | 22 | 4.67 | 4.67 | 3.33 | 3.33 | 14418.0 |
| 45 | src/output/dump_metrics.rs | 5.4 | 17 | 22 | 1,377 | 1,434 | 1 | 1 | 1.00 | 0.77 | 18 | 1 | 0 | 119 | 28 | 4.21 | 4.85 | 9.05 | 9.16 | 33048.0 |
| 46 | big-code-analysis-cli/src/manifest.rs | 5.4 | 20 | 28 | 831 | 1,293 | 1 | 1 | 1.00 | 0.71 | 25 | 0 | 0 | 91 | 19 | 5.07 | 6.58 | 7.36 | 7.20 | 74790.0 |
| 47 | src/preproc.rs | 5.4 | 17 | 28 | 1,436 | 1,993 | 1 | 1 | 1.00 | 0.61 | 19 | 0 | 0 | 96 | 19 | 3.65 | 5.47 | 7.08 | 7.21 | 132112.0 |
| 48 | src/output/dump.rs | 5.3 | 18 | 30 | 838 | 1,308 | 1 | 1 | 1.00 | 0.60 | 20 | 1 | 0 | 119 | 27 | 4.63 | 7.13 | 7.05 | 7.51 | 25978.0 |
| 49 | big-code-analysis-cli/src/baseline.rs | 5.3 | 15 | 31 | 872 | 3,430 | 1 | 1 | 1.00 | 0.48 | 20 | 0 | 0 | 96 | 19 | 4.00 | 9.40 | 7.37 | 7.26 | 58424.0 |
| 50 | src/vcs/options.rs | 5.2 | 11 | 11 | 548 | 548 | 1 | 1 | 1.00 | 1.00 | 11 | 1 | 0 | 81 | 19 | 2.57 | 2.57 | 7.08 | 7.08 | 38908.0 |
Bus factor: the number of authors whose departure would orphan more than half the files; lower is riskier.
Repository: 1 (over 615 files, coverage threshold 0.50).
| Directory | Bus factor | Files |
|---|---|---|
| .claude | 1 | 1 |
| .claude/hooks | 1 | 1 |
| .opencode | 1 | 1 |
| .opencode/plugins | 1 | 1 |
| big-code-analysis-bench | 1 | 7 |
| big-code-analysis-bench/benches | 1 | 2 |
| big-code-analysis-bench/src | 1 | 5 |
| big-code-analysis-cli | 1 | 105 |
| big-code-analysis-cli/src | 1 | 80 |
| big-code-analysis-cli/tests | 1 | 25 |
| big-code-analysis-py | 1 | 49 |
| big-code-analysis-py/examples | 1 | 10 |
| big-code-analysis-py/python | 1 | 5 |
| big-code-analysis-py/src | 1 | 12 |
| big-code-analysis-py/tests | 1 | 21 |
| big-code-analysis-web | 1 | 15 |
| big-code-analysis-web/src | 1 | 14 |
| big-code-analysis-web/tests | 1 | 1 |
| enums | 1 | 14 |
| enums/data | 1 | 2 |
| enums/src | 1 | 8 |
| enums/templates | 1 | 3 |
| enums/tests | 1 | 1 |
| fuzz | 1 | 13 |
| fuzz/fuzz_targets | 1 | 11 |
| fuzz/src | 1 | 2 |
| generate-grammars | 1 | 3 |
| scripts | 1 | 2 |
| scripts/smoke | 1 | 2 |
| src | 1 | 328 |
| src/c_langs_macros | 1 | 3 |
| src/checker | 1 | 25 |
| src/getter | 1 | 25 |
| src/languages | 1 | 26 |
| src/macros | 1 | 2 |
| src/metrics | 1 | 141 |
| src/node | 1 | 1 |
| src/output | 1 | 15 |
| src/spaces | 1 | 6 |
| src/vcs | 1 | 42 |
| src/wire | 1 | 3 |
| tests | 1 | 21 |
| tests/api | 1 | 2 |
| tests/common | 1 | 4 |
| tests/corpus | 1 | 3 |
| tests/grammars | 1 | 1 |
| tests/output_formats | 1 | 1 |
| tests/parity | 1 | 9 |
| tests/vcs | 1 | 1 |
| tree-sitter-ccomment | 1 | 4 |
| tree-sitter-ccomment/bindings | 1 | 1 |
| tree-sitter-ccomment/src | 1 | 3 |
| tree-sitter-mozcpp | 1 | 4 |
| tree-sitter-mozcpp/bindings | 1 | 1 |
| tree-sitter-mozcpp/src | 1 | 3 |
| tree-sitter-mozjs | 1 | 3 |
| tree-sitter-mozjs/src | 1 | 3 |
| tree-sitter-preproc | 1 | 4 |
| tree-sitter-preproc/bindings | 1 | 1 |
| tree-sitter-preproc/src | 1 | 3 |
| tree-sitter-tcl | 1 | 5 |
| tree-sitter-tcl/bindings | 1 | 2 |
| tree-sitter-tcl/src | 1 | 3 |
| utils | 1 | 34 |
| xtask | 1 | 1 |
| xtask/src | 1 | 1 |