Code Quality Metrics Summary

Files analyzed: 560 Languages: Bash, JavaScript, Python, Rust

Total SLOC: 171,826 PLOC: 94,105 Comments: 66,754

Functions/methods: 7,795 Types: 868

Comment ratio: 38.8%

Actionable summary (all languages)

Advisory thresholds: sourced from the bca.toml [thresholds] table.

Per-language overview

Click a column header's label — or Tab to it and press Enter — to sort any table.

?
Bash141,8551832.12.11.5
JavaScript21,958188-22.71.71.1
Python6935,5811,709-7.72.93.0
Rust475132,4325,88012.12.10.9

Bash

Summary

Files: 14 | SLOC: 1,855 | PLOC: 994 | Comment ratio: 34.4%

Average MI (SLOC-weighted): 32.1 (GOOD)

Actionable Summary

Advisory thresholds: sourced from the bca.toml [thresholds] table.

Raw counts across all functions, ignoring suppression markers.

No major quality concerns detected.

Maintainability Index hotspots (lowest 50 by MI)

???
utils/check-tools.sh9.04011,701
utils/check-tools-test.sh26.6211717
utils/check-deny-manifests.sh30.2182621
utils/check-enums-codegen-drift.sh32.1173582
utils/gate-status-test.sh35.9129425
utils/deploy-book-to-gh-pages.sh36.3129536
utils/check-grammars-crates.sh41.892352
generate-grammars/generate-mozcpp.sh43.7122277
utils/check-xgettext-backend.sh43.980219
scripts/smoke/cli_wheel_smoke.sh45.299235
generate-grammars/generate-mozjs.sh48.483208
utils/gate-status.sh50.292143
generate-grammars/generate-grammar.sh65.44328
recreate-grammars.sh73.51922

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.

Cyclomatic complexity hotspots (top 50 by CC)

????
diff_dirutils/check-enums-codegen-drift.sh9891453266
check_release_toolsutils/check-tools.sh505628132
write_deny_stubutils/check-tools-test.sh91311257
print_release_hintsutils/check-tools.sh79321153
expect_equtils/check-tools-test.sh4221632
expect_containsutils/check-tools-test.sh4921637
expect_absentutils/check-tools-test.sh5621636
expect_equtils/gate-status-test.sh3121632
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7910427
dieutils/check-deny-manifests.sh5810415
failutils/check-tools-test.sh3710420
write_cargo_stubutils/check-tools-test.sh67101932
run_release_onlyutils/check-tools-test.sh10410540
expect_countutils/check-tools-test.sh11110329
usageutils/check-tools.sh1710413
failutils/gate-status-test.sh2610420
run_gateutils/gate-status-test.sh3810628
emit_make_transcriptutils/gate-status-test.sh6710415

Average CC: 2.1; Max: 9; CC > 15: 0 functions; CC > 30: 0 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

????
diff_dirutils/check-enums-codegen-drift.sh9814953266
check_release_toolsutils/check-tools.sh506528132
print_release_hintsutils/check-tools.sh79231153
expect_equtils/check-tools-test.sh4212632
expect_containsutils/check-tools-test.sh4912637
expect_absentutils/check-tools-test.sh5612636
write_deny_stubutils/check-tools-test.sh91131257
expect_equtils/gate-status-test.sh3112632

Halstead effort hotspots (top 50 by Effort)

?????
diff_dirutils/check-enums-codegen-drift.sh9817,8209160.2353266
check_release_toolsutils/check-tools.sh506,2124610.1128132
write_deny_stubutils/check-tools-test.sh916051270.021257
print_release_hintsutils/check-tools.sh795791100.021153
expect_equtils/check-tools-test.sh42311560.02632
expect_equtils/gate-status-test.sh31311560.02632
expect_containsutils/check-tools-test.sh49308720.02637
expect_absentutils/check-tools-test.sh56244660.01636
write_cargo_stubutils/check-tools-test.sh67193570.011932
run_release_onlyutils/check-tools-test.sh104152760.01540
failutils/check-tools-test.sh37133470.01420
failutils/gate-status-test.sh26133470.01420
run_gateutils/gate-status-test.sh3883420.01628
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7980530.01427
emit_make_transcriptutils/gate-status-test.sh6755320.00415
dieutils/check-deny-manifests.sh5849270.00415
usageutils/check-tools.sh1749270.00413
expect_countutils/check-tools-test.sh11138380.00329

Function size hotspots (top 50 by SLOC)

????
diff_dirutils/check-enums-codegen-drift.sh9853266914
check_release_toolsutils/check-tools.sh502813256
write_cargo_stubutils/check-tools-test.sh67193210
write_deny_stubutils/check-tools-test.sh91125731
print_release_hintsutils/check-tools.sh79115332
expect_equtils/check-tools-test.sh4263221
expect_containsutils/check-tools-test.sh4963721
expect_absentutils/check-tools-test.sh5663621
expect_equtils/gate-status-test.sh3163221
run_gateutils/gate-status-test.sh3862810
run_release_onlyutils/check-tools-test.sh10454010
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7942710
dieutils/check-deny-manifests.sh5841510
failutils/check-tools-test.sh3742010
usageutils/check-tools.sh1741310
failutils/gate-status-test.sh2642010
emit_make_transcriptutils/gate-status-test.sh6741510
expect_countutils/check-tools-test.sh11132910

ABC magnitude hotspots (top 50 by ABC)

???
diff_dirutils/check-enums-codegen-drift.sh9820.753266
check_release_toolsutils/check-tools.sh5015.728132
print_release_hintsutils/check-tools.sh796.41153
write_deny_stubutils/check-tools-test.sh915.41257
expect_containsutils/check-tools-test.sh493.2637
expect_absentutils/check-tools-test.sh563.2636
run_release_onlyutils/check-tools-test.sh1043.2540
expect_equtils/check-tools-test.sh422.2632
write_cargo_stubutils/check-tools-test.sh672.21932
expect_equtils/gate-status-test.sh312.2632
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh792.0427
dieutils/check-deny-manifests.sh582.0415
expect_countutils/check-tools-test.sh1112.0329
usageutils/check-tools.sh172.0413
emit_make_transcriptutils/gate-status-test.sh672.0415
failutils/check-tools-test.sh371.4420
failutils/gate-status-test.sh261.4420
run_gateutils/gate-status-test.sh381.4628

JavaScript

Summary

Files: 2 | SLOC: 1,958 | PLOC: 1,701 | Comment ratio: 8.0%

Average MI (SLOC-weighted): -22.7 (LOW)

Actionable Summary

Advisory thresholds: sourced from the bca.toml [thresholds] table.

Raw counts across all functions, ignoring suppression markers.

No major quality concerns detected.

Maintainability Index hotspots (lowest 50 by MI)

???
utils/bca-check-plugin-test.mjs0.01,22112,907
utils/bca-claude-hook-test.mjs0.07378,168

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.

Cyclomatic complexity hotspots (top 50 by CC)

????
bcaRegistrationsutils/bca-claude-hook-test.mjs19313913117
<anon@L939>utils/bca-check-plugin-test.mjs939101552536
<anon@L350>utils/bca-check-plugin-test.mjs35051120236
<anon@L597>utils/bca-check-plugin-test.mjs5975434319
<anon@L245>utils/bca-claude-hook-test.mjs24551113167
fixtureutils/bca-check-plugin-test.mjs464387797
controlledAnalyzer::<anon@L150>utils/bca-check-plugin-test.mjs1504529233
<anon@L187>utils/bca-check-plugin-test.mjs1874519316
<anon@L269>utils/bca-check-plugin-test.mjs2694715183
<anon@L289>utils/bca-check-plugin-test.mjs2894819267
<anon@L787>utils/bca-check-plugin-test.mjs7874621274
fixture::binaryutils/bca-claude-hook-test.mjs1324212116
<anon@L323>utils/bca-claude-hook-test.mjs3234816193
fixture::<anon@L76>utils/bca-check-plugin-test.mjs7636645
fixture::<anon@L106>utils/bca-check-plugin-test.mjs10633882
fixture::callsutils/bca-check-plugin-test.mjs12335867
adviceutils/bca-check-plugin-test.mjs14231334
<anon@L150>::completeutils/bca-check-plugin-test.mjs15732763
<anon@L207>utils/bca-check-plugin-test.mjs2073217239
<anon@L422>utils/bca-check-plugin-test.mjs4223217201
<anon@L555>utils/bca-check-plugin-test.mjs5553617202
<anon@L647>utils/bca-check-plugin-test.mjs6473512109
<anon@L753>utils/bca-check-plugin-test.mjs7533419241
<anon@L883>utils/bca-check-plugin-test.mjs8833341341
<anon@L883>::<anon@L890>utils/bca-check-plugin-test.mjs890361082
<anon@L939>::<anon@L947>utils/bca-check-plugin-test.mjs94734998
<anon@L1018>utils/bca-check-plugin-test.mjs10183222180
discovery::<anon@L1112>utils/bca-check-plugin-test.mjs111231130
baseEnv::<anon@L15>utils/bca-claude-hook-test.mjs1531131
fixture::armedutils/bca-claude-hook-test.mjs11135461
fixture::callsutils/bca-claude-hook-test.mjs12435461
fixture::probesutils/bca-claude-hook-test.mjs14435454
<anon@L598>utils/bca-claude-hook-test.mjs5983330313
redirectExecutables::<anon@L36>utils/bca-check-plugin-test.mjs3622342
controlledAnalyzer::<anon@L184>utils/bca-check-plugin-test.mjs18422132
<anon@L241>utils/bca-check-plugin-test.mjs2412212151
<anon@L254>utils/bca-check-plugin-test.mjs2542214164
<anon@L254>::<anon@L266>utils/bca-check-plugin-test.mjs26621122
<anon@L289>::<anon@L305>utils/bca-check-plugin-test.mjs30521135
<anon@L320>utils/bca-check-plugin-test.mjs3202022280
<anon@L320>::<anon@L333>utils/bca-check-plugin-test.mjs33321131
<anon@L371>utils/bca-check-plugin-test.mjs3712212117
<anon@L384>utils/bca-check-plugin-test.mjs3842219353
<anon@L440>::<anon@L445>utils/bca-check-plugin-test.mjs44520115
<anon@L448>utils/bca-check-plugin-test.mjs4482024193
<anon@L473>utils/bca-check-plugin-test.mjs4732021155
<anon@L573>utils/bca-check-plugin-test.mjs5732211103
<anon@L773>utils/bca-check-plugin-test.mjs7732213190
<anon@L787>::<anon@L795>utils/bca-check-plugin-test.mjs79524438
<anon@L829>utils/bca-check-plugin-test.mjs8292216173

Average CC: 1.7; Max: 13; CC > 15: 0 functions; CC > 30: 0 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

????
<anon@L939>utils/bca-check-plugin-test.mjs939151052536
<anon@L350>utils/bca-check-plugin-test.mjs35011520236
<anon@L245>utils/bca-claude-hook-test.mjs24511513167
bcaRegistrationsutils/bca-claude-hook-test.mjs19391313117
<anon@L289>utils/bca-check-plugin-test.mjs2898419267
<anon@L323>utils/bca-claude-hook-test.mjs3238416193
<anon@L269>utils/bca-check-plugin-test.mjs2697415183
fixture::<anon@L76>utils/bca-check-plugin-test.mjs7663645
<anon@L555>utils/bca-check-plugin-test.mjs5556317202
<anon@L787>utils/bca-check-plugin-test.mjs7876421274
<anon@L883>::<anon@L890>utils/bca-check-plugin-test.mjs890631082
fixture::callsutils/bca-check-plugin-test.mjs12353867
controlledAnalyzer::<anon@L150>utils/bca-check-plugin-test.mjs1505429233
<anon@L187>utils/bca-check-plugin-test.mjs1875419316
<anon@L647>utils/bca-check-plugin-test.mjs6475312109
fixture::armedutils/bca-claude-hook-test.mjs11153461
fixture::callsutils/bca-claude-hook-test.mjs12453461
fixture::probesutils/bca-claude-hook-test.mjs14453454
<anon@L597>utils/bca-check-plugin-test.mjs5974534319
<anon@L753>utils/bca-check-plugin-test.mjs7534319241
<anon@L787>::<anon@L795>utils/bca-check-plugin-test.mjs79542438
<anon@L939>::<anon@L947>utils/bca-check-plugin-test.mjs94743998
fixtureutils/bca-check-plugin-test.mjs463487797
fixture::<anon@L106>utils/bca-check-plugin-test.mjs10633882
<anon@L883>utils/bca-check-plugin-test.mjs8833341341
<anon@L1079>::<anon@L1103>utils/bca-check-plugin-test.mjs110332341
<anon@L598>utils/bca-claude-hook-test.mjs5983330313
redirectExecutables::<anon@L36>utils/bca-check-plugin-test.mjs3622342
<anon@L150>::completeutils/bca-check-plugin-test.mjs15723763
controlledAnalyzer::<anon@L184>utils/bca-check-plugin-test.mjs18422132
<anon@L207>utils/bca-check-plugin-test.mjs2072317239
<anon@L241>utils/bca-check-plugin-test.mjs2412212151
<anon@L254>utils/bca-check-plugin-test.mjs2542214164
<anon@L371>utils/bca-check-plugin-test.mjs3712212117
<anon@L384>utils/bca-check-plugin-test.mjs3842219353
<anon@L422>utils/bca-check-plugin-test.mjs4222317201
<anon@L573>utils/bca-check-plugin-test.mjs5732211103
<anon@L773>utils/bca-check-plugin-test.mjs7732213190
<anon@L829>utils/bca-check-plugin-test.mjs8292216173
<anon@L1018>utils/bca-check-plugin-test.mjs10182322180
<anon@L1041>utils/bca-check-plugin-test.mjs10412213247
fixture::routeutils/bca-claude-hook-test.mjs10022972
fixture::runutils/bca-claude-hook-test.mjs11822696
fixture::binaryutils/bca-claude-hook-test.mjs1322412116
fixture::digestutils/bca-claude-hook-test.mjs152221083
<anon@L207>utils/bca-claude-hook-test.mjs2072237446
<anon@L259>utils/bca-claude-hook-test.mjs259229103
<anon@L269>utils/bca-claude-hook-test.mjs2692212193
<anon@L572>utils/bca-claude-hook-test.mjs5722225368
<anon@L635>utils/bca-claude-hook-test.mjs635229101

Halstead effort hotspots (top 50 by Effort)

?????
fixtureutils/bca-claude-hook-test.mjs29157,0805,3460.971361,067
fixtureutils/bca-check-plugin-test.mjs46119,3424,1280.8187797
<anon@L939>utils/bca-check-plugin-test.mjs93984,4892,8770.6452536
<anon@L1079>utils/bca-check-plugin-test.mjs107974,4123,4400.5942689
<anon@L716>utils/bca-check-plugin-test.mjs71646,2902,1420.4336419
<anon@L883>utils/bca-check-plugin-test.mjs88339,0971,7810.3841341
<anon@L1124>utils/bca-check-plugin-test.mjs112438,1102,2940.3834513
<anon@L1185>utils/bca-check-plugin-test.mjs118532,5811,8680.3437408
<anon@L572>utils/bca-claude-hook-test.mjs57232,5121,8040.3425368
<anon@L207>utils/bca-claude-hook-test.mjs20731,9492,1960.3437446
controlledAnalyzerutils/bca-check-plugin-test.mjs14631,1321,6570.3340330
<anon@L597>utils/bca-check-plugin-test.mjs59730,3691,5180.3234319
<anon@L405>utils/bca-claude-hook-test.mjs40530,3121,5590.3218354
<anon@L598>utils/bca-claude-hook-test.mjs59826,6281,4910.3030313
<anon@L690>utils/bca-check-plugin-test.mjs69025,0681,6230.2925327
<anon@L787>utils/bca-check-plugin-test.mjs78723,5051,2570.2721274
<anon@L187>utils/bca-check-plugin-test.mjs18722,2511,3950.2619316
<anon@L698>utils/bca-claude-hook-test.mjs69821,6191,5060.2625349
<anon@L289>utils/bca-check-plugin-test.mjs28921,0351,2310.2519267
<anon@L384>utils/bca-check-plugin-test.mjs38421,0101,4460.2519353
<anon@L660>utils/bca-check-plugin-test.mjs66020,8801,1710.2529286
<anon@L374>utils/bca-claude-hook-test.mjs37420,8071,1220.2516265
<anon@L320>utils/bca-check-plugin-test.mjs32019,2521,2980.2422280
<anon@L674>utils/bca-claude-hook-test.mjs67418,4431,3470.2321334
<anon@L753>utils/bca-check-plugin-test.mjs75318,1811,0530.2319241
<anon@L350>utils/bca-check-plugin-test.mjs35018,0979800.2320236
controlledAnalyzer::<anon@L150>utils/bca-check-plugin-test.mjs15017,9011,1060.2329233
<anon@L1159>utils/bca-check-plugin-test.mjs115917,3791,2140.2223297
<anon@L447>utils/bca-claude-hook-test.mjs44717,0791,1810.2217276
<anon@L555>utils/bca-check-plugin-test.mjs55515,6658730.2117202
<anon@L245>utils/bca-claude-hook-test.mjs24515,2897280.2113167
<anon@L657>utils/bca-claude-hook-test.mjs65713,9161,1450.1916286
<anon@L207>utils/bca-check-plugin-test.mjs20713,2781,0230.1917239
<anon@L514>utils/bca-check-plugin-test.mjs51413,0801,0650.1926224
<anon@L269>utils/bca-check-plugin-test.mjs26912,8918060.1815183
<anon@L773>utils/bca-check-plugin-test.mjs77312,8898150.1813190
<anon@L323>utils/bca-claude-hook-test.mjs32312,5258420.1816193
<anon@L269>utils/bca-claude-hook-test.mjs26911,4627710.1712193
<anon@L829>utils/bca-check-plugin-test.mjs82911,3757690.1716173
<anon@L538>utils/bca-claude-hook-test.mjs53811,2489110.1713209
<anon@L846>utils/bca-check-plugin-test.mjs84611,0058950.1622203
<anon@L992>utils/bca-check-plugin-test.mjs99210,5879550.1625208
<anon@L516>utils/bca-claude-hook-test.mjs51610,3538310.1611193
<anon@L448>utils/bca-check-plugin-test.mjs44810,2568570.1624193
<anon@L282>utils/bca-claude-hook-test.mjs28210,1588990.1612229
<anon@L304>utils/bca-claude-hook-test.mjs3049,5168570.1518196
<anon@L1018>utils/bca-check-plugin-test.mjs10189,3096880.1522180
<anon@L632>utils/bca-check-plugin-test.mjs6329,0288310.1414184
<anon@L422>utils/bca-check-plugin-test.mjs4228,8648230.1417201
<anon@L254>utils/bca-check-plugin-test.mjs2548,7816750.1414164

Function size hotspots (top 50 by SLOC)

????
fixtureutils/bca-claude-hook-test.mjs291361,06710
fixtureutils/bca-check-plugin-test.mjs468779743
<anon@L939>utils/bca-check-plugin-test.mjs939525361015
<anon@L1079>utils/bca-check-plugin-test.mjs10794268920
<anon@L883>utils/bca-check-plugin-test.mjs8834134133
controlledAnalyzerutils/bca-check-plugin-test.mjs1464033010
<anon@L1185>utils/bca-check-plugin-test.mjs11853740820
<anon@L207>utils/bca-claude-hook-test.mjs2073744622
<anon@L716>utils/bca-check-plugin-test.mjs7163641910
<anon@L597>utils/bca-check-plugin-test.mjs5973431954
<anon@L1124>utils/bca-check-plugin-test.mjs11243451320
<anon@L598>utils/bca-claude-hook-test.mjs5983031333
controlledAnalyzer::<anon@L150>utils/bca-check-plugin-test.mjs1502923345
<anon@L660>utils/bca-check-plugin-test.mjs6602928610
<anon@L514>utils/bca-check-plugin-test.mjs5142622410
<anon@L690>utils/bca-check-plugin-test.mjs6902532710
<anon@L992>utils/bca-check-plugin-test.mjs9922520810
<anon@L572>utils/bca-claude-hook-test.mjs5722536822
<anon@L698>utils/bca-claude-hook-test.mjs6982534910
<anon@L448>utils/bca-check-plugin-test.mjs4482419320
<anon@L1159>utils/bca-check-plugin-test.mjs11592329720
<anon@L320>utils/bca-check-plugin-test.mjs3202228020
<anon@L846>utils/bca-check-plugin-test.mjs8462220310
<anon@L1018>utils/bca-check-plugin-test.mjs10182218032
<anon@L473>utils/bca-check-plugin-test.mjs4732115520
<anon@L787>utils/bca-check-plugin-test.mjs7872127446
<anon@L674>utils/bca-claude-hook-test.mjs6742133410
<anon@L350>utils/bca-check-plugin-test.mjs35020236511
<anon@L187>utils/bca-check-plugin-test.mjs1871931645
<anon@L289>utils/bca-check-plugin-test.mjs2891926748
<anon@L384>utils/bca-check-plugin-test.mjs3841935322
<anon@L753>utils/bca-check-plugin-test.mjs7531924134
<anon@L1055>utils/bca-check-plugin-test.mjs10551919110
<anon@L350>utils/bca-claude-hook-test.mjs3501919110
<anon@L495>utils/bca-check-plugin-test.mjs4951817710
<anon@L304>utils/bca-claude-hook-test.mjs3041819610
<anon@L405>utils/bca-claude-hook-test.mjs4051835410
<anon@L207>utils/bca-check-plugin-test.mjs2071723932
<anon@L404>utils/bca-check-plugin-test.mjs4041716710
<anon@L422>utils/bca-check-plugin-test.mjs4221720132
<anon@L555>utils/bca-check-plugin-test.mjs5551720236
<anon@L447>utils/bca-claude-hook-test.mjs4471727610
<anon@L829>utils/bca-check-plugin-test.mjs8291617322
<anon@L323>utils/bca-claude-hook-test.mjs3231619348
<anon@L374>utils/bca-claude-hook-test.mjs3741626510
<anon@L657>utils/bca-claude-hook-test.mjs6571628610
<anon@L225>utils/bca-check-plugin-test.mjs2251521210
<anon@L269>utils/bca-check-plugin-test.mjs2691518347
<anon@L813>utils/bca-check-plugin-test.mjs8131512010
<anon@L254>utils/bca-check-plugin-test.mjs2541416422

Exit points hotspots (top 50 by Exits)

????
fixtureutils/bca-claude-hook-test.mjs291311361,067
fixtureutils/bca-check-plugin-test.mjs466487797
controlledAnalyzerutils/bca-check-plugin-test.mjs1465140330
controlledAnalyzer::<anon@L150>utils/bca-check-plugin-test.mjs1504429233
fixture::callsutils/bca-check-plugin-test.mjs12333867
<anon@L939>utils/bca-check-plugin-test.mjs93931052536
fixture::armedutils/bca-claude-hook-test.mjs11133461
fixture::callsutils/bca-claude-hook-test.mjs12433461
fixture::probesutils/bca-claude-hook-test.mjs14433454

ABC magnitude hotspots (top 50 by ABC)

???
<anon@L1124>utils/bca-check-plugin-test.mjs112447.034513
<anon@L1185>utils/bca-check-plugin-test.mjs118540.037408
<anon@L1079>utils/bca-check-plugin-test.mjs107939.042689
<anon@L207>utils/bca-claude-hook-test.mjs20739.037446
<anon@L405>utils/bca-claude-hook-test.mjs40537.118354
fixtureutils/bca-claude-hook-test.mjs2936.01361,067
<anon@L939>utils/bca-check-plugin-test.mjs93934.552536
<anon@L660>utils/bca-check-plugin-test.mjs66033.029286
<anon@L674>utils/bca-claude-hook-test.mjs67433.021334
<anon@L716>utils/bca-check-plugin-test.mjs71632.036419
<anon@L698>utils/bca-claude-hook-test.mjs69832.025349
<anon@L690>utils/bca-check-plugin-test.mjs69031.025327
<anon@L572>utils/bca-claude-hook-test.mjs57230.225368
<anon@L1159>utils/bca-check-plugin-test.mjs115930.023297
<anon@L447>utils/bca-claude-hook-test.mjs44729.017276
<anon@L597>utils/bca-check-plugin-test.mjs59728.634319
<anon@L374>utils/bca-claude-hook-test.mjs37427.116265
fixtureutils/bca-check-plugin-test.mjs4626.887797
<anon@L992>utils/bca-check-plugin-test.mjs99226.025208
<anon@L657>utils/bca-claude-hook-test.mjs65726.016286
<anon@L350>utils/bca-claude-hook-test.mjs35025.019191
<anon@L598>utils/bca-claude-hook-test.mjs59824.130313
<anon@L846>utils/bca-check-plugin-test.mjs84623.022203
<anon@L883>utils/bca-check-plugin-test.mjs88322.241341
<anon@L384>utils/bca-check-plugin-test.mjs38422.019353
<anon@L753>utils/bca-check-plugin-test.mjs75321.619241
<anon@L320>utils/bca-check-plugin-test.mjs32021.122280
<anon@L269>utils/bca-claude-hook-test.mjs26921.012193
<anon@L480>utils/bca-claude-hook-test.mjs48020.111187
<anon@L516>utils/bca-claude-hook-test.mjs51620.011193
<anon@L538>utils/bca-claude-hook-test.mjs53820.013209
<anon@L448>utils/bca-check-plugin-test.mjs44819.024193
<anon@L514>utils/bca-check-plugin-test.mjs51419.026224
<anon@L632>utils/bca-check-plugin-test.mjs63219.014184
<anon@L1055>utils/bca-check-plugin-test.mjs105519.019191
<anon@L289>utils/bca-check-plugin-test.mjs28918.519267
<anon@L187>utils/bca-check-plugin-test.mjs18718.219316
<anon@L422>utils/bca-check-plugin-test.mjs42218.017201
<anon@L473>utils/bca-check-plugin-test.mjs47318.021155
<anon@L282>utils/bca-claude-hook-test.mjs28218.012229
<anon@L323>utils/bca-claude-hook-test.mjs32317.516193
<anon@L207>utils/bca-check-plugin-test.mjs20717.017239
<anon@L430>utils/bca-claude-hook-test.mjs43017.012197
<anon@L773>utils/bca-check-plugin-test.mjs77316.213190
<anon@L245>utils/bca-claude-hook-test.mjs24516.213167
<anon@L813>utils/bca-check-plugin-test.mjs81316.015120
<anon@L787>utils/bca-check-plugin-test.mjs78715.721274
<anon@L1018>utils/bca-check-plugin-test.mjs101815.122180
<anon@L304>utils/bca-claude-hook-test.mjs30415.018196
<anon@L225>utils/bca-check-plugin-test.mjs22515.015212

Python

Summary

Files: 69 | SLOC: 35,581 | PLOC: 23,376 | Comment ratio: 24.6%

Average MI (SLOC-weighted): -7.7 (LOW)

Actionable Summary

Advisory thresholds: sourced from the bca.toml [thresholds] table.

Raw counts across all functions, ignoring suppression markers.

Maintainability Index hotspots (lowest 50 by MI)

???
utils/check-test-lang-gates.py0.02,88613,040
utils/check-role-bypass.py0.01,0876,957
utils/check-test-lang-gates-test.py0.02,9439,779
utils/role_tables.py0.09436,204
utils/check-role-coverage.py0.08616,191
utils/perturb-test.py0.01,15010,927
utils/check-rumdl-lockstep-test.py0.01,0326,822
utils/check-role-coverage-test.py0.01,0449,581
utils/check-feature-gates.py0.07343,338
utils/perturb.py0.07013,933
utils/mutation-workflow-test.py0.06784,361
utils/coverage-diff.py0.05603,679
utils/check-rustfmt-bail.py0.06502,912
utils/check-grammar-marker-sync-test.py0.01,0274,907
utils/check-publish-metadata-test.py0.06244,598
utils/check-snapshot-anchors.py0.05782,493
utils/check-grammar-marker-sync.py0.07212,677
utils/check-excluded-manifests-test.py0.07243,300
utils/check-role-census-test.py0.06565,462
utils/mutation-report-test.py0.25764,633
utils/check-deny-manifests-test.py0.27094,370
utils/check-role-bypass-test.py0.36234,030
utils/check-rumdl-lockstep.py1.76252,760
utils/check-versions-test.py3.55723,024
utils/check-ruff-lockstep-test.py4.75122,825
utils/check-versions.py5.66002,221
utils/check-diagnostic-prefix-test.py8.14422,453
utils/mutation-report.py8.43772,204
utils/check-feature-gates-test.py8.65412,174
utils/check-manpage-drift-test.py10.54702,605
utils/check-rustfmt-bail-test.py10.94472,448
utils/check-excluded-manifests.py11.04881,692
utils/check-grammar-build-watch-test.py12.04102,012
utils/self-scan-bca-test.py12.63632,797
utils/check-diagnostic-prefix.py13.13941,409
utils/coverage-diff-test.py14.22893,574
utils/worktree-setup-test.py14.73612,245
utils/check-publish-metadata.py14.94051,490
utils/check-enums-codegen-drift-test.py15.04181,984
utils/check-role-census.py15.02411,707
utils/check-ruff-lockstep.py15.83391,464
utils/recovery-oracle-test.py16.12742,521
utils/drift-oracle.py16.82701,935
utils/check-grammar-crate.py16.94481,651
utils/drift-compare-test.py17.02352,283
utils/verify-name-only-churn.py17.92761,326
utils/check-safety-doc-pin-test.py18.92811,337
utils/check-snapshot-anchors-test.py18.93201,504
utils/patch-coverage.py19.12011,178
utils/check-grammar-crate-test.py19.62121,019

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.

Cyclomatic complexity hotspots (top 50 by CC)

????
scan_sourceutils/check-test-lang-gates.py10621012494162,339
mainutils/check-role-coverage.py706711481521,717
resolve_needsutils/check-test-lang-gates.py173463139259942
scanutils/check-role-bypass.py614521132411,962
mainutils/check-test-lang-gates.py264043852431,197
mainutils/drift-compare.py76406290897
_parse_ownerutils/role_tables.py4244068110769
scan_sourceutils/check-feature-gates.py3343673132669
scan_ignore_spansutils/check-rustfmt-bail.py190356884496
run_bodyutils/mutation-workflow-test.py78324882637
reportutils/mutation-report.py1643038159977
mainutils/check-manpage-assets.py1462941121706
exemptionsutils/check-role-bypass.py420264457390
find_macro_call_endutils/check-snapshot-anchors.py134254273304
mainutils/drift-oracle.py16024421071,089
mainutils/recovery-oracle.py912440991,095
_parse_row_bodyutils/role_tables.py6322445108935
line_countsutils/coverage-diff.py204233540321
_scan_literalsutils/check-diagnostic-prefix.py208223693322
dead_spansutils/check-feature-gates.py173223655347
scan_ignore_spansutils/check-snapshot-anchors.py231223682340
dead_spansutils/check-test-lang-gates.py383223655347
mainutils/check-feature-gates.py6282131103544
mainutils/check-role-bypass.py998213086703
sweeputils/perturb.py586213090728
mainutils/check-role-census.py177202761602
observation_statusutils/check-role-coverage.py654203145463
required_markerutils/check-test-lang-gates.py2061202967285
mainutils/check-versions.py512203985563
render_markdownutils/coverage-diff.py409202366775
mainutils/patch-coverage.py131203767512
_update_sectionutils/check-grammar-marker-sync.py363192780336
offendersutils/check-test-lang-gates.py2358194079272
analyseutils/check-role-bypass.py912172944464
languagesutils/role_tables.py199173153541
analyseutils/check-role-coverage.py203163453545
mainutils/check-rumdl-lockstep.py565162857297
lang_scopesutils/check-role-bypass.py341152451454
summarizeutils/mutation-report.py63151257274
cargo_argv_problemutils/perturb.py235152038220
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py114142136308
_scan_for_markerutils/check-grammar-marker-sync.py134142550167
_is_value_positionutils/check-test-lang-gates.py265141730164
_inner_cfg_extentsutils/check-test-lang-gates.py986142439234
computeutils/coverage-diff.py488141639363
populationsutils/drift_common.py54142626265
_mk_langs_tuplesutils/check-grammar-crate-test.py77132535167
mainutils/check-grammar-marker-sync.py619131899483
evaluateutils/check-rumdl-lockstep.py455131574602
mainutils/check-rustfmt-bail.py5321316115575

Average CC: 2.9; Max: 101; CC > 15: 37 functions; CC > 30: 10 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

????
scan_sourceutils/check-test-lang-gates.py10622491014162,339
mainutils/check-role-coverage.py706148711521,717
resolve_needsutils/check-test-lang-gates.py173413963259942
scanutils/check-role-bypass.py614113522411,962
mainutils/check-test-lang-gates.py264085432431,197
scan_sourceutils/check-feature-gates.py3347336132669
scan_ignore_spansutils/check-rustfmt-bail.py190683584496
_parse_ownerutils/role_tables.py4246840110769
mainutils/drift-compare.py76624090897
run_bodyutils/mutation-workflow-test.py78483282637
_parse_row_bodyutils/role_tables.py6324524108935
exemptionsutils/check-role-bypass.py420442657390
find_macro_call_endutils/check-snapshot-anchors.py134422573304
mainutils/drift-oracle.py16042241071,089
mainutils/check-manpage-assets.py1464129121706
offendersutils/check-test-lang-gates.py2358401979272
mainutils/recovery-oracle.py914024991,095
mainutils/check-versions.py512392085563
reportutils/mutation-report.py1643830159977
mainutils/patch-coverage.py131372067512
_scan_literalsutils/check-diagnostic-prefix.py208362293322
dead_spansutils/check-feature-gates.py173362255347
scan_ignore_spansutils/check-snapshot-anchors.py231362282340
dead_spansutils/check-test-lang-gates.py383362255347
_module_declarationsutils/check-test-lang-gates.py1510351253346
line_countsutils/coverage-diff.py204352340321
analyseutils/check-role-coverage.py203341653545
mainutils/check-feature-gates.py6283121103544
observation_statusutils/check-role-coverage.py654312045463
languagesutils/role_tables.py199311753541
mainutils/check-role-bypass.py998302186703
sweeputils/perturb.py586302190728
analyseutils/check-role-bypass.py912291744464
required_markerutils/check-test-lang-gates.py2061292067285
mainutils/check-rumdl-lockstep.py565281657297
_update_sectionutils/check-grammar-marker-sync.py363271980336
mainutils/check-role-census.py177272061602
membershiputils/check-test-lang-gates.py868261231222
populationsutils/drift_common.py54261426265
_mk_langs_tuplesutils/check-grammar-crate-test.py77251335167
_scan_for_markerutils/check-grammar-marker-sync.py134251450167
lang_scopesutils/check-role-bypass.py341241551454
parse_macrosutils/check-role-bypass.py525241257345
test_only_filesutils/check-role-bypass.py867241031236
_inner_cfg_extentsutils/check-test-lang-gates.py986241439234
censusutils/check-role-census.py71231243406
rust_sourcesutils/check-test-lang-gates.py148023924135
render_markdownutils/coverage-diff.py409232066775
python_argv_problemutils/perturb.py370221117139
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py114211436308

Halstead effort hotspots (top 50 by Effort)

?????
scan_sourceutils/check-test-lang-gates.py10621,343,10915,3624.064162,339
scanutils/check-role-bypass.py6141,038,36311,8323.422411,962
mainutils/check-role-coverage.py706603,7609,4962.381521,717
resolve_needsutils/check-test-lang-gates.py1734414,8975,5331.85259942
mainutils/drift-oracle.py160301,5146,1501.501071,089
mainutils/recovery-oracle.py91233,9566,2261.27991,095
mainutils/check-test-lang-gates.py2640227,1466,2201.242431,197
_parse_row_bodyutils/role_tables.py632218,5034,8311.21108935
_parse_ownerutils/role_tables.py424198,6113,4801.13110769
mainutils/drift-compare.py76196,3844,2591.1390897
scan_ignore_spansutils/check-rustfmt-bail.py190185,1812,4691.0884496
scan_sourceutils/check-feature-gates.py334164,9833,7791.00132669
run_bodyutils/mutation-workflow-test.py78161,0102,9520.9982637
reportutils/mutation-report.py164137,6864,2710.89159977
sweeputils/perturb.py586134,8973,5530.8890728
mainutils/check-role-bypass.py998119,8783,3300.8186703
mainutils/check-manpage-assets.py146115,3483,0890.79121706
analyseutils/check-role-coverage.py20395,0642,7720.6953545
dead_spansutils/check-feature-gates.py17389,7721,6690.6755347
dead_spansutils/check-test-lang-gates.py38389,7721,6690.6755347
scan_ignore_spansutils/check-snapshot-anchors.py23185,8661,6590.6582340
mainutils/check-role-census.py17784,2972,7450.6461602
lang_scopesutils/check-role-bypass.py34183,7692,3400.6451454
languagesutils/role_tables.py19981,4772,5450.6353541
exemptionsutils/check-role-bypass.py42080,4211,9990.6257390
analyseutils/check-role-bypass.py91279,0652,5800.6144464
_scan_literalsutils/check-diagnostic-prefix.py20878,3931,5540.6193322
find_macro_call_endutils/check-snapshot-anchors.py13478,2731,4780.6173304
censusutils/check-role-census.py7176,1751,8080.6043406
observation_statusutils/check-role-coverage.py65475,9932,1790.6045463
UnitTests::test_per_file_counts_are_compared_so_a_swap_between_files_is_visibleutils/coverage-diff-test.py15075,4262,7570.6040692
mainutils/patch-coverage.py13171,9962,4590.5867512
_update_sectionutils/check-grammar-marker-sync.py36368,5131,6620.5680336
parse_tableutils/role_tables.py74267,8552,1050.5546446
mainutils/check-versions.py51267,2882,5360.5585563
evaluateutils/check-rumdl-lockstep.py45567,0762,1810.5574602
mainutils/check-feature-gates.py62866,3542,5290.55103544
patch_tallyutils/coverage-diff.py31257,3922,0800.5058402
CoverageTests::test_recorded_corpus_shas_read_the_index_before_headutils/check-role-coverage-test.py78055,7912,5800.4928619
line_countsutils/coverage-diff.py20455,4351,6800.4840321
observeutils/check-role-coverage.py48254,2742,5440.4855520
PerturbTests::test_unittest_argv_ruleutils/perturb-test.py101753,7972,6210.4859659
mainutils/check-rustfmt-bail.py53253,0002,7920.47115575
render_markdownutils/coverage-diff.py40950,2482,5680.4566775
_module_declarationsutils/check-test-lang-gates.py151047,9041,7170.4453346
parse_enumutils/role_tables.py84745,0811,7160.4234382
CensusTests::test_no_chain_is_read_per_fn_and_only_after_a_gate_or_opens_byutils/check-role-census-test.py37143,0492,4040.4160539
populationsutils/drift_common.py5442,9041,0950.4126265
offendersutils/check-test-lang-gates.py235841,0791,3770.4079272
mainutils/mutation-report.py32540,2562,4460.3949494

Function size hotspots (top 50 by SLOC)

????
scan_sourceutils/check-test-lang-gates.py10624162,339101249
resolve_needsutils/check-test-lang-gates.py173425994263139
mainutils/check-test-lang-gates.py26402431,1974385
scanutils/check-role-bypass.py6142411,96252113
reportutils/mutation-report.py1641599773038
mainutils/check-role-coverage.py7061521,71771148
scan_sourceutils/check-feature-gates.py3341326693673
mainutils/check-manpage-assets.py1461217062941
mainutils/check-grammar-crate.py32711839821
mainutils/check-rustfmt-bail.py5321155751316
_parse_ownerutils/role_tables.py4241107694068
_parse_row_bodyutils/role_tables.py6321089352445
mainutils/drift-oracle.py1601071,0892442
mainutils/check-feature-gates.py6281035442131
mainutils/check-grammar-marker-sync.py619994831318
mainutils/recovery-oracle.py91991,0952440
_scan_literalsutils/check-diagnostic-prefix.py208933222236
mainutils/drift-compare.py76908974062
sweeputils/perturb.py586907282130
write_baselineutils/check-grammar-marker-sync.py461893941011
mainutils/check-snapshot-anchors.py487884671317
mainutils/check-role-bypass.py998867032130
flatten_spacesbig-code-analysis-py/python/big_code_analysis/_flatten.py55856321
mainutils/check-versions.py512855632039
scan_ignore_spansutils/check-rustfmt-bail.py190844963568
scan_ignore_spansutils/check-snapshot-anchors.py231823402236
run_bodyutils/mutation-workflow-test.py78826373248
_update_sectionutils/check-grammar-marker-sync.py363803361927
offendersutils/check-test-lang-gates.py2358792721940
evaluateutils/check-rumdl-lockstep.py455746021315
find_macro_call_endutils/check-snapshot-anchors.py134733042542
_self_testutils/verify-name-only-churn.py192704221012
CompareTest::test_a_gate_that_narrowed_since_the_reference_is_reportedutils/check-test-lang-gates-test.py27646735721
required_markerutils/check-test-lang-gates.py2061672852029
mainutils/patch-coverage.py131675122037
render_markdownutils/coverage-diff.py409667752023
CensusTests::test_owner_parent_lists_are_read_and_read_the_chainutils/check-role-census-test.py4586347543
FixTest::test_fix_widens_a_stranded_helper_rather_than_stackingutils/check-test-lang-gates-test.py21966225010
mainutils/check-role-census.py177616022027
CompareTest::test_a_root_mod_gate_that_narrowed_is_reportedutils/check-test-lang-gates-test.py28326136432
CensusTests::test_no_chain_is_read_per_fn_and_only_after_a_gate_or_opens_byutils/check-role-census-test.py3716053932
PerturbTests::test_unittest_argv_ruleutils/perturb-test.py1017596591212
patch_tallyutils/coverage-diff.py312584021018
exemptionsutils/check-role-bypass.py420573902644
parse_macrosutils/check-role-bypass.py525573451224
mainutils/check-rumdl-lockstep.py565572971628
summarizeutils/mutation-report.py63572741512
dead_spansutils/check-feature-gates.py173553472236
observeutils/check-role-coverage.py482555201120
dead_spansutils/check-test-lang-gates.py383553472236

Many parameters hotspots (top 50 by Args)

???
build_manifestutils/drift_common.py1771336213
_parse_row_bodyutils/role_tables.py6328108935
RepoCase::_repoutils/check-rumdl-lockstep-test.py485724280
summarizeutils/mutation-report.py63757274
MainTest::_runutils/check-feature-gates-test.py444617142
_make_fixtureutils/check-grammar-marker-sync-test.py50650254
ExcludedLockfileTest::_buildutils/check-versions-test.py334647279
_segutils/coverage-diff-test.py386250
computeutils/coverage-diff.py488639363
_captureutils/drift-compare-test.py42633298
_summaryutils/mutation-report-test.py45621128
SweepTests::_runutils/recovery-oracle-test.py89613149

Type hotspots (top 50 by WMC)

??????
PerturbTestsutils/perturb-test.py1991197237094810,233
CoverageTestsutils/check-role-coverage-test.py23675611598058,220
GrammarMarkerSyncTestutils/check-grammar-marker-sync-test.py12656521518984,478
CensusTestsutils/check-role-census-test.py11056371375435,062
BypassTestsutils/check-role-bypass-test.py11054461465103,136
ReportTestsutils/mutation-report-test.py17440332333232,709
ScanTextNonOffendersutils/check-diagnostic-prefix-test.py1203323023180874
DerivationTestutils/check-test-lang-gates-test.py22431200204491,422
StrandedHelperTestutils/check-test-lang-gates-test.py79230239238391,903
DenyManifestsTestutils/check-deny-manifests-test.py17929240242772,189
MainTestutils/check-rumdl-lockstep-test.py52823120122161,637
LintsTableTestutils/check-excluded-manifests-test.py1982216016187746
ExcludedLockfileTestutils/check-versions-test.py31122152152461,381
DriftGateTestutils/check-enums-codegen-drift-test.py5821161162831,465
BaselineTestutils/check-rumdl-lockstep-test.py74621150152502,012
SweepTestsutils/recovery-oracle-test.py7720154151942,117
ReleaseCheckTestutils/check-deny-manifests-test.py55519929151922
Mainutils/check-grammar-build-watch-test.py22519140141601,097
DriftCompareTestsutils/drift-compare-test.py7719162161551,812
ScanTextOffendersutils/check-diagnostic-prefix-test.py541890964531
CiRecipePinTestutils/check-versions-test.py1981870775416
InternalVendoredPinTestutils/check-versions-test.py67171019129668
MutantsStepTestsutils/mutation-workflow-test.py44417505102913
SummarizeTestsutils/mutation-report-test.py681616216104981
Harnessutils/mutation-workflow-test.py2211656576613
UnpinnedGrammarDepsTestutils/check-excluded-manifests-test.py3871514014132540
AuditTestutils/check-publish-metadata-test.py4301513412109931
DriftOracleTestsutils/drift-oracle-test.py4815126111181,490
MainTestutils/check-excluded-manifests-test.py5471412011140909
DockerShaTestutils/check-rumdl-lockstep-test.py2861412012133798
ReportJobTestsutils/mutation-workflow-test.py54814102101271,231
ResolverTestsutils/self-scan-bca-test.py19614132121641,645
FixtureRepoutils/check-deny-manifests-test.py941376783657
PortedLexerHelpersutils/check-diagnostic-prefix-test.py3021370771464
OverGatedTestutils/check-test-lang-gates-test.py163313909194504
UnitTestsutils/coverage-diff-test.py77137071191,840
CountBareTestutils/check-snapshot-anchors-test.py1031211011133419
PreCommitRevTestutils/check-ruff-lockstep-test.py108111101167456
RepositoryTestutils/check-test-lang-gates-test.py28951152545326
EndToEndTestsutils/coverage-diff-test.py19811857881,476
RecordingResultutils/perturb_unittest_recorder.py521162641336
ScannerTestutils/check-feature-gates-test.py1001010010127487
PyprojectSpecifierTestutils/check-ruff-lockstep-test.py309101001059413
MainTestutils/check-rustfmt-bail-test.py31410104101201,083
CompareTestutils/check-test-lang-gates-test.py2684107062091,119
PopulationTestsutils/drift_common-test.py401050543584
ExtractorTestsutils/mutation-workflow-test.py3121091991374
MetadataFieldsTestutils/check-publish-metadata-test.py94970741343
MainTestutils/check-ruff-lockstep-test.py393990988705
FixTestutils/check-test-lang-gates-test.py211399093101,556

Exit points hotspots (top 50 by Exits)

????
_parse_ownerutils/role_tables.py4241440110769
mainutils/check-role-coverage.py70613711521,717
_parse_row_bodyutils/role_tables.py6321324108935
mainutils/check-test-lang-gates.py264011432431,197
scanutils/check-role-bypass.py61410522411,962
languagesutils/role_tables.py199101753541
mainutils/check-feature-gates.py628921103544
mainutils/check-role-bypass.py99892186703
mainutils/check-role-census.py17792061602
mainutils/drift-compare.py7694090897
load_summaryutils/mutation-report.py13491328260
classify_unittestutils/perturb.py44491228264
run_bodyutils/mutation-workflow-test.py7883282637
mainutils/check-rustfmt-bail.py532713115575
unittest_argv_problemutils/perturb.py3897830188
parse_tableutils/role_tables.py74271046446
_asset_sourceutils/check-manpage-assets.py706835144
mainutils/check-manpage-assets.py146629121706
mainutils/check-snapshot-anchors.py48761388467
evaluate_predicateutils/check-test-lang-gates.py62961034246
summarizeutils/mutation-report.py6361557274
parse_enumutils/role_tables.py84761234382
resolveutils/self-scan-bca.py11161136276
lints_table_problemutils/check-excluded-manifests.py2705934140
mainutils/check-excluded-manifests.py4375848206
_scan_for_markerutils/check-grammar-marker-sync.py13451450167
mainutils/check-grammar-marker-sync.py61951399483
evaluateutils/check-rumdl-lockstep.py45551374602
mainutils/check-safety-doc-pin.py1445852299
required_markerutils/check-test-lang-gates.py206152067285
classifyutils/perturb.py3145820168
sweeputils/perturb.py58652190728
char_literal_endutils/check-diagnostic-prefix.py1254931134
char_literal_endutils/check-feature-gates.py1044928134
check_crateutils/check-grammar-build-watch.py2084418147
read_markerutils/check-grammar-marker-sync.py1864544132
asset_basenamesutils/check-manpage-assets.py1074137251
auditutils/check-publish-metadata.py3454838229
_only_forwards_its_kindutils/check-role-bypass.py5004518131
scan::recordutils/check-role-bypass.py6294722157
load_baselineutils/check-role-coverage.py2664924321
corpus_repoutils/check-role-coverage.py3454418149
corpus_listingutils/check-role-coverage.py3934838204
read_pyproject_specifierutils/check-ruff-lockstep.py23841027230
mainutils/check-rumdl-lockstep.py56541657297
char_literal_endutils/check-rustfmt-bail.py1604828121
char_literal_endutils/check-snapshot-anchors.py494943134
char_literal_endutils/check-test-lang-gates.py3144928134
module_gatesutils/check-test-lang-gates.py15824836260
_caller_markerutils/check-test-lang-gates.py21304823128

ABC magnitude hotspots (top 50 by ABC)

???
scan_sourceutils/check-test-lang-gates.py1062214.54162,339
scanutils/check-role-bypass.py614118.42411,962
mainutils/check-role-coverage.py706107.71521,717
mainutils/check-test-lang-gates.py264080.92431,197
_parse_ownerutils/role_tables.py42474.4110769
_parse_row_bodyutils/role_tables.py63273.2108935
run_bodyutils/mutation-workflow-test.py7869.882637
mainutils/drift-compare.py7667.790897
scan_sourceutils/check-feature-gates.py33467.2132669
resolve_needsutils/check-test-lang-gates.py173465.8259942
mainutils/drift-oracle.py16060.81071,089
reportutils/mutation-report.py16456.4159977
mainutils/recovery-oracle.py9156.2991,095
mainutils/check-role-census.py17754.161602
mainutils/check-role-bypass.py99852.886703
mainutils/check-versions.py51251.485563
scan_ignore_spansutils/check-rustfmt-bail.py19050.784496
sweeputils/perturb.py58650.490728
mainutils/patch-coverage.py13148.767512
languagesutils/role_tables.py19948.153541
parse_tableutils/role_tables.py74240.046446
observeutils/check-role-coverage.py48239.455520
exemptionsutils/check-role-bypass.py42038.657390
mainutils/check-feature-gates.py62837.7103544
mainutils/check-rustfmt-bail.py53237.2115575
lang_scopesutils/check-role-bypass.py34136.251454
mainutils/check-manpage-assets.py14636.0121706
find_macro_call_endutils/check-snapshot-anchors.py13434.473304
scan_ignore_spansutils/check-snapshot-anchors.py23133.782340
dead_spansutils/check-feature-gates.py17333.455347
dead_spansutils/check-test-lang-gates.py38333.455347
runutils/verify-name-only-churn.py13733.050323
parse_enumutils/role_tables.py84732.634382
observation_statusutils/check-role-coverage.py65432.445463
_scan_literalsutils/check-diagnostic-prefix.py20832.293322
CoverageTests::test_a_new_language_names_the_deliberate_remedyutils/check-role-coverage-test.py38332.132400
mainutils/check-snapshot-anchors.py48731.888467
_self_testutils/verify-name-only-churn.py19231.870422
_shadowed_referencesutils/check-test-lang-gates.py102731.327256
load_observedutils/check-role-coverage.py56931.124305
parse_macrosutils/check-role-bypass.py52530.757345
CoverageTests::test_recorded_corpus_shas_read_the_index_before_headutils/check-role-coverage-test.py78030.428619
analyseutils/check-role-bypass.py91230.044464
line_countsutils/coverage-diff.py20429.940321
UnitTests::test_per_file_counts_are_compared_so_a_swap_between_files_is_visibleutils/coverage-diff-test.py15029.240692
analyseutils/check-role-coverage.py20328.953545
mainutils/mutation-report.py32528.949494
mainutils/check-grammar-marker-sync.py61928.799483
_update_sectionutils/check-grammar-marker-sync.py36328.480336
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py11428.336308

Rust

Summary

Files: 475 | SLOC: 132,432 | PLOC: 68,034 | Comment ratio: 43.2%

Average MI (SLOC-weighted): 12.1 (MODERATE)

Actionable Summary

Advisory thresholds: sourced from the bca.toml [thresholds] table.

Raw counts across all functions; the hotspot tables hide suppressed rows (cyclomatic: 8, cognitive: 4, halstead: 2, nargs: 1, abc: 7) — re-run with --no-suppress to list them.

Maintainability Index hotspots (lowest 50 by MI)

???
big-code-analysis-bench/src/shapes.rs0.05,10218,013
src/metrics/npa/cpp_declarators.rs0.01,1213,794
big-code-analysis-cli/src/markdown_report/hotspot.rs0.01,0754,902
src/metrics/nargs.rs0.09303,861
big-code-analysis-cli/src/thresholds.rs0.01,1954,120
big-code-analysis-ast/src/lang_helpers/python.rs0.08233,747
big-code-analysis-cli/src/markdown_report.rs0.08704,201
big-code-analysis-cli/src/metric_diff.rs0.09093,879
big-code-analysis-ast/src/tools.rs0.08923,369
big-code-analysis-cli/src/formats.rs0.07773,660
big-code-analysis-cli/src/walk.rs0.01,0403,716
big-code-analysis-cli/src/vcs_command.rs0.08083,877
big-code-analysis-ast/src/alterator.rs0.07303,453
big-code-analysis-cli/src/dispatch.rs0.07773,717
src/metrics/loc/shared.rs0.09333,443
big-code-analysis-ast/src/lang_helpers/elixir_decisions.rs0.08343,343
src/metrics/abc/perl.rs0.07922,670
big-code-analysis-ast/src/lang_helpers/doc_comment.rs0.06983,498
big-code-analysis-ast/src/preproc.rs0.08743,859
big-code-analysis-cli/src/commands/check.rs0.01,0123,573
big-code-analysis-ast/src/roles/mod.rs0.02,34210,188
src/spaces/compute.rs0.01,0973,502
big-code-analysis-cli/src/baseline.rs0.01,1163,274
big-code-analysis-ast/src/node.rs0.01,0803,414
src/metrics/loc.rs0.01,1553,384
src/metrics/loc/python.rs0.07372,796
big-code-analysis-cli/src/vcs_report.rs0.07623,631
big-code-analysis-ast/src/checker.rs0.01,2883,341
big-code-analysis-ast/src/lang_helpers/doxygen.rs0.16162,898
big-code-analysis-py/src/node.rs0.27443,308
big-code-analysis-py/src/sarif.rs0.49053,377
big-code-analysis-ast/src/getter.rs0.71,2193,164
big-code-analysis-cli/src/manifest.rs1.08272,815
src/suppression.rs1.18182,569
src/metric_catalog/threshold.rs1.36882,401
big-code-analysis-py/src/types_codegen.rs1.48814,950
big-code-analysis-py/src/lib.rs1.59703,721
big-code-analysis-cli/src/lib.rs2.11,0183,100
big-code-analysis-ast/src/lang_helpers/perl.rs2.45882,461
big-code-analysis-ast/src/lang_helpers/doc_text.rs2.54182,327
src/metric_catalog.rs2.78513,494
big-code-analysis-ast/src/lang_helpers/elixir.rs2.75282,113
big-code-analysis-web/src/web/server/handlers.rs3.56253,117
big-code-analysis-ast/src/node/ancestors/folds.rs3.67942,640
big-code-analysis-cli/src/check_format.rs4.06042,733
src/metrics/abc/csharp.rs4.57361,991
big-code-analysis-cli/src/html_report/sections.rs4.76132,920
big-code-analysis-cli/src/threshold_path.rs5.36262,753
src/vcs/git/diff_parse.rs5.64952,021
src/metrics/npa/shared.rs5.75542,202

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.

Cyclomatic complexity hotspots (top 50 by CC)

????
sanitize_identifierenums/src/common.rs25451769381
KotlinCode::computesrc/metrics/abc/kotlin.rs270308236441
RubyCode::computesrc/metrics/abc/ruby.rs2262813169517
PerlCode::computesrc/metrics/abc/perl.rs561278231622
ObjcCode::computesrc/metrics/abc/objc.rs46256117422
PhpCode::computesrc/metrics/abc/php.rs145257151438
GoCode::computesrc/metrics/abc/go.rs2242310136422
CCode::computesrc/metrics/abc/c.rs32224128376
PhpCode::computesrc/metrics/cognitive/php.rs17223118449
PythonCode::computesrc/metrics/cognitive/python.rs108211163412
IrulesCode::computesrc/metrics/abc/irules.rs91201180336
PythonCode::computesrc/metrics/abc/python.rs189205156421
ElixirCode::computesrc/metrics/cognitive/elixir.rs129205162414
RubyCode::computesrc/metrics/cognitive/ruby.rs32204124403
TclCode::computesrc/metrics/cognitive/tcl.rs18207100396
ElixirCode::computesrc/metrics/cyclomatic/elixir.rs32207175379
ElixirCode::computesrc/metrics/abc/elixir.rs308197223390
TclCode::computesrc/metrics/abc/tcl.rs198191186330
GroovyCode::computesrc/metrics/cognitive/groovy.rs1719394351
JavaCode::computesrc/metrics/cognitive/java.rs1719391351
csharp_walk_for_conditionssrc/metrics/abc/csharp.rs558189115359
LuaCode::computesrc/metrics/abc/lua.rs103186116377
RustCode::computesrc/metrics/abc/rust.rs186186124321
BashCode::computesrc/metrics/cognitive/bash.rs117184110420
CsharpCode::computesrc/metrics/cognitive/csharp.rs17183108377
KotlinCode::computesrc/metrics/cognitive/kotlin.rs3618584346
RustCode::computesrc/metrics/cognitive/rust.rs1718684347
IrulesCode::computesrc/metrics/cognitive/irules.rs1717282369
PerlCode::computesrc/metrics/cognitive/perl.rs53173100324
PythonCode::computesrc/metrics/loc/python.rs26178136380
java_walk_for_conditionssrc/metrics/abc/java.rs30616597344
GoCode::computesrc/metrics/cognitive/go.rs1716361328
ObjcCode::computesrc/metrics/cognitive/objc.rs1716369328
DiffError::fmtbig-code-analysis-cli/src/metric_diff.rs17115178353
BashCode::computesrc/metrics/abc/bash.rs1815278233
metric_doc_anchorbig-code-analysis-cli/src/markdown_report/hotspot.rs17314119163
Metric::fmtsrc/metric_set.rs19214118142
Metric::from_strsrc/metric_set.rs25314118180
LuaCode::computesrc/metrics/cognitive/lua.rs1714165290
XmlAttr<'_>::fmtsrc/output/checkstyle.rs11714442159
PhpCode::get_op_typebig-code-analysis-ast/src/getter/php.rs271310301536
bound_doc_runbig-code-analysis-ast/src/lang_helpers/doc_comment.rs28113753441
pod_comment_regionbig-code-analysis-ast/src/lang_helpers/doc_text.rs32713933207
mainbig-code-analysis-bench/benches/scaling.rs48131294452
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs234131487350
FieldType::annotationbig-code-analysis-py/src/types_codegen.rs8213116174
negotiatebig-code-analysis-web/src/web/negotiate.rs100131353321
groovy_walk_for_conditionssrc/metrics/abc/groovy.rs38013566301
CCode::computesrc/metrics/cognitive/c.rs1713363288
compute_per_nodesrc/spaces/compute.rs392131376490

Average CC: 2.0; Max: 45; CC > 15: 33 functions; CC > 30: 1 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

????
CorpusSlice::from_roots_withbig-code-analysis-bench/src/corpus.rs13617948265
sanitize_identifierenums/src/common.rs25174569381
GroovyCode::computesrc/metrics/npa/groovy.rs2315640222
greedy_truck_factorsrc/vcs/bus_factor.rs37715846270
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs234141387350
comment_spanssrc/metrics/loc/continuation.rs17514824137
unquote_git_pathsrc/vcs/git/diff_parse.rs414141342340
experience_featuressrc/vcs/git/jit.rs48714955333
elixir_when_is_guard::<anon@L188>big-code-analysis-ast/src/lang_helpers/elixir_decisions.rs18813628198
run_command_diffbig-code-analysis-cli/src/commands/diff_cmd.rs71131265334
legacy_hintbig-code-analysis-cli/src/lib.rs927131291524
negotiatebig-code-analysis-web/src/web/negotiate.rs100131353321
RubyCode::computesrc/metrics/abc/ruby.rs2261328169517
CsharpCode::computesrc/metrics/npa/csharp.rs1213959265
CsharpCode::computesrc/metrics/npm/csharp.rs107131164304
compute_per_nodesrc/spaces/compute.rs392131376490
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs189131246222
mainbig-code-analysis-bench/benches/scaling.rs48121394452
classify_check_outcomebig-code-analysis-cli/src/commands/check/outcome.rs70121034142
dispatch_opsbig-code-analysis-cli/src/dispatch.rs41412836244
dispatch_check_filebig-code-analysis-cli/src/dispatch.rs63412871315
ExemptionsReport::render_ttybig-code-analysis-cli/src/exemptions.rs12112828243
ExemptionsReport::render_markdownbig-code-analysis-cli/src/exemptions.rs15012828246
walk_pathsbig-code-analysis-py/src/walk.rs15512735214
get_token_namesenums/src/common.rs20512647266
LimitWarning::fmtsrc/metric_catalog/threshold.rs15512736162
GapScan<'_, 'a>::gapsrc/metrics/loc/shared.rs701121030231
build_cursorbig-code-analysis-ast/src/ast.rs47911627156
classify_preproc_nodebig-code-analysis-ast/src/preproc.rs80411941268
parse_argsbig-code-analysis-bench/src/cli.rs74111248285
run_with_budgetbig-code-analysis-bench/src/scaling.rs39611783463
run_with_budgetbig-code-analysis-bench/src/vcs.rs21911762407
unchecked_summarybig-code-analysis-cli/src/commands/check/skipped.rs4811839244
warn_deprecated_aliasesbig-code-analysis-cli/src/deprecations.rs8411947221
dispatch_reportbig-code-analysis-cli/src/dispatch.rs57511855238
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs598111690357
expand_seed_pathsbig-code-analysis-cli/src/walk.rs40611878305
options_frombig-code-analysis-py/src/vcs.rs81111148376
options_frombig-code-analysis-web/src/web/vcs.rs180111149382
ConcurrentRunner<Config>::runsrc/concurrent_files.rs403111057285
go_count_unary_conditionssrc/metrics/abc/go.rs19911723117
IrulesCode::computesrc/metrics/abc/irules.rs91112080336
TclCode::computesrc/metrics/abc/tcl.rs198111986330
GroovyCode::computesrc/metrics/npm/groovy.rs1911750230
parse_metric_listsrc/suppression.rs56811955223
pick_top_authorsrc/vcs/bus_factor.rs42811931186
CochangeGraph::record_commitsrc/vcs/entropy.rs11811717155
parse_unified_diffsrc/vcs/git/diff_parse.rs6811956229
LineEnding::extend_newlinesbig-code-analysis-ast/src/comment_rm.rs6510620113
rm_commentsbig-code-analysis-ast/src/comment_rm.rs8910652283

Halstead effort hotspots (top 50 by Effort)

?????
metrics_innersrc/spaces/compute.rs845146,0914,3120.92218703
PerlCode::computesrc/metrics/abc/perl.rs561136,2103,7360.88231622
runbig-code-analysis-cli/src/commands.rs103136,0013,6040.8889692
RubyCode::computesrc/metrics/abc/ruby.rs226125,3212,9220.83169517
PerlCode::get_op_typebig-code-analysis-ast/src/getter/perl.rs28114,6155,0350.79263701
RubyCode::get_op_typebig-code-analysis-ast/src/getter/ruby.rs35101,2185,0710.72305704
ObjcCode::computesrc/metrics/abc/objc.rs4696,7992,3450.70117422
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs13796,1172,3680.7058455
PhpCode::computesrc/metrics/cognitive/php.rs1796,0142,5130.70118449
KotlinCode::computesrc/metrics/abc/kotlin.rs27095,7252,5130.70236441
PhpCode::computesrc/metrics/abc/php.rs14595,6752,4480.70151438
Parser<T>::filtersbig-code-analysis-ast/src/parser.rs13590,3631,9860.6784399
metric_valuessrc/output/funcspace_row.rs3489,5796,2750.67148978
Accumulator::finalizesrc/vcs/stats.rs24189,2213,0490.6798503
TclCode::computesrc/metrics/cognitive/tcl.rs1888,8242,1020.66100396
run_parsebig-code-analysis-web/src/web/server.rs12187,8022,5030.66101449
ops_innersrc/ops.rs30186,6722,8640.65107503
replacebig-code-analysis-ast/src/c_macro.rs34686,0552,1660.6553382
GoCode::computesrc/metrics/abc/go.rs22482,5552,3010.63136422
run_with_budgetbig-code-analysis-bench/src/scaling.rs39681,0932,6330.6283463
build_cachedsrc/vcs/git/cached.rs9879,5722,9760.62113507
ElixirCode::computesrc/metrics/abc/elixir.rs30877,5072,1500.61223390
PhpCode::get_op_typebig-code-analysis-ast/src/getter/php.rs2777,4883,5980.61301536
PythonCode::computesrc/metrics/abc/python.rs18977,0172,3210.60156421
ElixirCode::get_op_typebig-code-analysis-ast/src/getter/elixir.rs15676,3443,6670.60179540
RubyCode::computesrc/metrics/cognitive/ruby.rs3275,7012,2000.60124403
bound_doc_runbig-code-analysis-ast/src/lang_helpers/doc_comment.rs28174,8702,3520.5953441
CsharpCode::computesrc/metrics/cognitive/csharp.rs1774,6162,0680.59108377
GroovyCode::computesrc/metrics/cognitive/groovy.rs1774,1981,8880.5994351
JavaCode::computesrc/metrics/cognitive/java.rs1774,1981,8880.5991351
ElixirCode::computesrc/metrics/cyclomatic/elixir.rs3274,1752,0790.59175379
unquote_git_pathsrc/vcs/git/diff_parse.rs41474,1171,8470.5942340
BashCode::computesrc/metrics/cognitive/bash.rs11772,7532,3080.58110420
compute_per_nodesrc/spaces/compute.rs39272,0822,6840.5876490
CCode::computesrc/metrics/abc/c.rs3270,5342,0430.57128376
step_normalbig-code-analysis-ast/src/c_macro.rs14870,2121,8420.5774330
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs8970,1052,8040.5799501
IrulesCode::computesrc/metrics/cognitive/irules.rs1769,2901,9670.5682369
KotlinCode::computesrc/metrics/cognitive/kotlin.rs3669,2131,8570.5684346
PhpCode::computesrc/metrics/npa/php.rs1267,9541,8550.5672347
PythonCode::computesrc/metrics/cognitive/python.rs10867,4312,2760.55163412
PerlCode::computesrc/metrics/loc/perl.rs3967,0512,5720.55101420
edit_distance_with_cutoffsrc/suggestion.rs3067,0091,4410.5526293
RustCode::computesrc/metrics/cognitive/rust.rs1766,9681,8750.5584347
LuaCode::computesrc/metrics/abc/lua.rs10364,7831,9910.54116377
run_checkbig-code-analysis-cli/src/commands/check.rs2264,7702,6420.54141468
write_code_climatesrc/output/code_climate.rs7464,4992,4350.5457422
ElixirCode::computesrc/metrics/cognitive/elixir.rs12964,4212,3130.54162414
run_with_budgetbig-code-analysis-bench/src/vcs.rs21964,0602,2530.5362407
ObjcCode::computesrc/metrics/cognitive/objc.rs1763,7061,7530.5369328

Function size hotspots (top 50 by SLOC)

????
RubyCode::get_op_typebig-code-analysis-ast/src/getter/ruby.rs35305704101
PhpCode::get_op_typebig-code-analysis-ast/src/getter/php.rs273015361310
PerlCode::get_op_typebig-code-analysis-ast/src/getter/perl.rs28263701112
KotlinCode::computesrc/metrics/abc/kotlin.rs270236441308
PerlCode::computesrc/metrics/abc/perl.rs561231622278
TclCode::get_op_typebig-code-analysis-ast/src/getter/tcl.rs2622827684
ElixirCode::computesrc/metrics/abc/elixir.rs308223390197
metrics_innersrc/spaces/compute.rs8452187031116
CppCode::get_op_typebig-code-analysis-ast/src/getter/cpp.rs8619329782
BashCode::computesrc/metrics/loc/bash.rs1718327793
ElixirCode::get_op_typebig-code-analysis-ast/src/getter/elixir.rs15617954092
ElixirCode::computesrc/metrics/cyclomatic/elixir.rs32175379207
GroovyCode::get_op_typebig-code-analysis-ast/src/getter/groovy.rs88173292102
RubyCode::computesrc/metrics/abc/ruby.rs2261695172813
BashCode::get_op_typebig-code-analysis-ast/src/getter/bash.rs5116444164
PythonCode::computesrc/metrics/cognitive/python.rs108163412211
ElixirCode::computesrc/metrics/cognitive/elixir.rs129162414205
CsharpCode::get_op_typebig-code-analysis-ast/src/getter/csharp.rs144158406117
PythonCode::computesrc/metrics/abc/python.rs189156421205
PhpCode::computesrc/metrics/abc/php.rs145151438257
csharp_count_token_conditionsrc/metrics/abc/csharp.rs40814920893
metric_valuessrc/output/funcspace_row.rs3414897810
run_checkbig-code-analysis-cli/src/commands/check.rs2214146898
IrulesCode::get_op_typebig-code-analysis-ast/src/getter/irules.rs2613931684
GoCode::computesrc/metrics/abc/go.rs2241364222310
PythonCode::computesrc/metrics/loc/python.rs26136380178
CCode::computesrc/metrics/abc/c.rs32128376224
RustCode::computesrc/metrics/abc/rust.rs186124321186
RubyCode::computesrc/metrics/cognitive/ruby.rs32124403204
PhpCode::computesrc/metrics/cognitive/php.rs17118449223
JavaCode::get_op_typebig-code-analysis-ast/src/getter/java.rs80117304104
ObjcCode::computesrc/metrics/abc/objc.rs46117422256
LuaCode::computesrc/metrics/abc/lua.rs103116377186
csharp_walk_for_conditionssrc/metrics/abc/csharp.rs558115359189
KotlinCode::get_op_typebig-code-analysis-ast/src/getter/kotlin.rs20611328997
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs8411133271110
build_cachedsrc/vcs/git/cached.rs9811350788
BashCode::computesrc/metrics/cognitive/bash.rs117110420184
ElixirCode::computesrc/metrics/loc/elixir.rs33110264109
CsharpCode::computesrc/metrics/cognitive/csharp.rs17108377183
ops_innersrc/ops.rs30110750358
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs13710538754
run_parsebig-code-analysis-web/src/web/server.rs12110144976
PerlCode::computesrc/metrics/loc/perl.rs39101420104
PythonCode::get_op_typebig-code-analysis-ast/src/getter/python.rs52100345108
PerlCode::computesrc/metrics/cognitive/perl.rs53100324173
TclCode::computesrc/metrics/cognitive/tcl.rs18100396207
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs89995011210
RubyCode::computesrc/metrics/loc/ruby.rs179834561
Accumulator::finalizesrc/vcs/stats.rs2419850334

Many parameters hotspots (top 50 by Args)

???
PyVcsOptions::py_newbig-code-analysis-py/src/lib.rs6541536168
analyze_pathsbig-code-analysis-py/src/batch.rs6401264353
analyze_batchbig-code-analysis-py/src/batch.rs373953245
analyzebig-code-analysis-py/src/lib.rs334969276
Alterator::get_ast_nodebig-code-analysis-ast/src/alterator.rs145717130
print_effective_configbig-code-analysis-cli/src/commands/check/effective_config.rs73731158
dispatch_metricsbig-code-analysis-cli/src/dispatch.rs359754313
dispatch_opsbig-code-analysis-cli/src/dispatch.rs414736244
write_table_classed_with_tooltipsbig-code-analysis-cli/src/html_report.rs190747386
write_language_sectionbig-code-analysis-cli/src/html_report/sections.rs559755262
select_forbig-code-analysis-cli/src/markdown_report/hotspot.rs1029730195
vcs_trendbig-code-analysis-py/src/lib.rs801716119
compute_per_nodesrc/spaces/compute.rs392776490
process_commitsrc/vcs/git/history.rs769764341
compute_featuressrc/vcs/git/jit.rs163740255
Span::newbig-code-analysis-ast/src/ast.rs7461748
filter_by_baselinebig-code-analysis-cli/src/commands/check.rs614656304
EffectiveConfig::from_resolvedbig-code-analysis-cli/src/commands/check/effective_config.rs389627163
scaffold_baselinebig-code-analysis-cli/src/commands/init.rs140670344
dispatch_strip_commentsbig-code-analysis-cli/src/dispatch.rs451628163
dispatch_findbig-code-analysis-cli/src/dispatch.rs512637205
dispatch_countbig-code-analysis-cli/src/dispatch.rs554616117
write_table_with_tooltipsbig-code-analysis-cli/src/html_report.rs7861081
generate_html_report_with_vcsbig-code-analysis-cli/src/html_report.rs263674327
generate_report_with_vcsbig-code-analysis-cli/src/markdown_report.rs814649214
write_language_sectionbig-code-analysis-cli/src/markdown_report.rs1017644224
assemble_globalsbig-code-analysis-cli/src/walk.rs43632202
analyze_sourcebig-code-analysis-py/src/lib.rs415636153
vcs_rankbig-code-analysis-py/src/lib.rs762616102
record_threshold_breachesbig-code-analysis-py/src/sarif.rs610641211
open_func_spacesrc/spaces/compute.rs561626163
incremental_eventssrc/vcs/git/cached.rs219632236
assemblesrc/vcs/git/cached.rs29661179
persistsrc/vcs/git/cached.rs321622113
experience_featuressrc/vcs/git/jit.rs487655333

Type hotspots (top 50 by WMC)

??????
Node<'a>big-code-analysis-ast/src/node.rs13757440376161,813
Thresholdsrc/metric_catalog/threshold.rs23157190163251,210
Getterbig-code-analysis-ast/src/getter.rs35956260218291,828
Manifestbig-code-analysis-cli/src/manifest.rs5025420073251,294
PyNodebig-code-analysis-py/src/node.rs3965447003371,976
MetricDiffbig-code-analysis-cli/src/metric_diff.rs3494320062701,463
GapScan<'_, 'a>src/metrics/loc/shared.rs6674312001951,028
Baselinebig-code-analysis-cli/src/baseline.rs5814224072941,131
BaselineDiffbig-code-analysis-cli/src/baseline_diff.rs1324217052111,397
RubyBodyState<'a, 'chain>src/metrics/npa/ruby_body.rs2634213032921,412
Nestingfuzz/src/nested.rs18640402122891
Ancestors<'tree, 'chain>big-code-analysis-ast/src/node/ancestors/folds.rs1639200103291,246
LineSetsrc/metrics/loc/line_set.rs11439250102511,193
PerFunctionBlamesrc/vcs/git/blame.rs2393830043311,402
PathLayerbig-code-analysis-cli/src/threshold_path.rs3553730072621,410
Statssrc/metrics/loc.rs57334320325151,535
ElixirCallTargetbig-code-analysis-ast/src/lang_helpers/elixir.rs1323241398497
KotlinCodesrc/metrics/abc/kotlin.rs26931200238447
RubyCodesrc/metrics/abc/ruby.rs22530300171523
PerlCodebig-code-analysis-ast/src/getter/perl.rs10296003471,074
PyAstbig-code-analysis-py/src/ast.rs1072927002281,254
PerlCodesrc/metrics/abc/perl.rs56029300233628
LanguageThresholdsbig-code-analysis-cli/src/threshold_lang.rs1642822010152759
PhpCodesrc/metrics/cognitive/php.rs1627300120455
ElixirCodebig-code-analysis-ast/src/getter/elixir.rs3826800300996
KotlinCodebig-code-analysis-ast/src/getter/kotlin.rs14426900243769
ThresholdSetbig-code-analysis-cli/src/thresholds.rs966261608260834
ObjcCodesrc/metrics/abc/objc.rs4526200119428
PhpCodesrc/metrics/abc/php.rs14426200153444
Trendsrc/vcs/trend.rs120261809160758
Checkerbig-code-analysis-ast/src/checker.rs37325232285321,045
Ancestors<'tree, 'chain>big-code-analysis-ast/src/node/ancestors/siblings.rs9251005155746
ExemptionsReportbig-code-analysis-cli/src/exemptions.rs10425801111798
CsharpCodebig-code-analysis-ast/src/getter/csharp.rs9324900261782
JavaCodebig-code-analysis-ast/src/getter/java.rs1324700227681
CppCodebig-code-analysis-ast/src/getter/cpp.rs2023600285723
MozcppCodebig-code-analysis-ast/src/getter/mozcpp.rs1823600174723
RustCodebig-code-analysis-ast/src/getter/rust.rs2723700157669
Parser<T>big-code-analysis-ast/src/parser.rs104231300116569
Statssrc/metrics/abc.rs2092320020171797
CCodesrc/metrics/abc/c.rs3123200130382
GoCodesrc/metrics/abc/go.rs22323100138428
PythonCodesrc/metrics/abc/python.rs18823400158427
Ancestors<'tree, 'chain>big-code-analysis-ast/src/node/ancestors.rs1462216012337851
CorpusSlicebig-code-analysis-bench/src/corpus.rs110221206138701
SharedLayersbig-code-analysis-cli/src/commands/check/thresholds.rs364211400132732
ElixirCodesrc/metrics/abc/elixir.rs27821300254396
LuaCodesrc/metrics/abc/lua.rs10221400118383
BashCodesrc/metrics/cognitive/bash.rs11621300112426
ElixirCodesrc/metrics/cognitive/elixir.rs8921200203420

Exit points hotspots (top 50 by Exits)

????
_nativebig-code-analysis-py/src/lib.rs89035149453
register_vcs_submodulebig-code-analysis-py/src/lib.rs95314121164
dump_ops_valuessrc/output/dump_ops.rs14012334220
build_cachedsrc/vcs/git/cached.rs98128113507
collect_touchedsrc/vcs/git/jit.rs20710168381
materialize_treebig-code-analysis-cli/src/diff.rs4789780426
dump_spacesrc/output/dump_metrics.rs1049339304
dump_spacesrc/output/dump_ops.rs759339301
process_commitsrc/vcs/git/history.rs7699864341
Report::fmtbig-code-analysis-bench/src/scaling.rs2028654323
PyAnalysisError::__repr__big-code-analysis-py/src/batch.rs1618120129
options_frombig-code-analysis-py/src/vcs.rs8181148376
options_frombig-code-analysis-web/src/web/vcs.rs18081149382
CodeMetrics::fmtsrc/spaces/code_metrics.rs338111153
diff_collectsrc/vcs/git/history.rs8418164330
read_gatedbig-code-analysis-ast/src/tools.rs2877753282
resolve_thresholdsbig-code-analysis-py/src/sarif.rs3797640271
write_checkstylesrc/output/checkstyle.rs457630228
collect_eventssrc/vcs/git/history.rs6767788356
collect_touched::<anon@L235>src/vcs/git/jit.rs2357735210
buildsrc/vcs/git/mod.rs547242230
parse_iso8601src/vcs/options.rs41771050274
step_normalbig-code-analysis-ast/src/c_macro.rs14861574330
parse_argsbig-code-analysis-bench/src/cli.rs7461248285
runbig-code-analysis-bench/src/verbatim.rs1086219230
parse_ls_tree_recordbig-code-analysis-cli/src/diff.rs5696216156
analyze_pathbig-code-analysis-py/src/analysis.rs3716871223
analyze_batchbig-code-analysis-py/src/batch.rs3736653245
PyNode::spanbig-code-analysis-py/src/node.rs4986112175
collect_offendersbig-code-analysis-py/src/sarif.rs6896742289
dump_metricssrc/output/dump_metrics.rs1486333217
parse_nativesrc/suppression.rs49861069311
PerFunctionBlame::opensrc/vcs/git/blame.rs2506144287
PerFunctionBlame::resolve_commitsrc/vcs/git/blame.rs4976339208
diff_collect::<anon@L865>src/vcs/git/history.rs8656435168
score_commitsrc/vcs/git/jit.rs666145271
experience_featuressrc/vcs/git/jit.rs4876955333
enumerate_target_filessrc/vcs/git/repo.rs1946158280
bound_doc_runbig-code-analysis-ast/src/lang_helpers/doc_comment.rs28151353441
elixir_pair_sectionbig-code-analysis-ast/src/lang_helpers/elixir_decisions.rs7305730272
documentation_runbig-code-analysis-ast/src/lang_helpers/python.rs3535531165
mainbig-code-analysis-bench/benches/scaling.rs4851394452
write_outcomebig-code-analysis-cli/src/commands/check/explain.rs4765548212
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs13755105387
dispatch_findbig-code-analysis-cli/src/dispatch.rs5125337205
dispatch_exemptionsbig-code-analysis-cli/src/dispatch.rs7095646200
parse_cli_thresholdbig-code-analysis-cli/src/thresholds.rs3535628186
split_thresholds_tablebig-code-analysis-cli/src/thresholds.rs4405523168
write_tablebig-code-analysis-cli/src/vcs_command.rs5105438235
relative_tail_viabig-code-analysis-cli/src/walk_seed.rs1915727201

ABC magnitude hotspots (top 50 by ABC)

???
metric_valuessrc/output/funcspace_row.rs34115.8148978
register_endpointsbig-code-analysis-web/src/web/server/routing.rs10191.056450
sanitize_identifierenums/src/common.rs2545.769381
extract_summaries_innerbig-code-analysis-cli/src/markdown_report.rs13540.193551
run_command_reportbig-code-analysis-cli/src/commands/report.rs539.997522
options_frombig-code-analysis-py/src/vcs.rs8137.648376
RubyCode::computesrc/metrics/abc/ruby.rs22636.7169517
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs8936.499501
run_with_budgetbig-code-analysis-bench/src/scaling.rs39636.183463
EffectiveCheck::from_resolvedbig-code-analysis-cli/src/commands/check/effective_config.rs32036.161442
options_frombig-code-analysis-web/src/web/vcs.rs18035.949382
KotlinCode::computesrc/metrics/abc/kotlin.rs27035.9236441
process_commitsrc/vcs/git/history.rs76935.964341
experience_featuressrc/vcs/git/jit.rs48735.555333
materialize_treebig-code-analysis-cli/src/diff.rs47835.380426
run_check_walkbig-code-analysis-cli/src/commands/check.rs31534.889422
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs13734.2105387
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs59834.190357
PhpCode::computesrc/metrics/cognitive/php.rs1733.6118449
collect_eventssrc/vcs/git/history.rs67633.288356
PythonCode::computesrc/metrics/cognitive/python.rs10833.2163412
PhpCode::computesrc/metrics/abc/php.rs14532.5151438
TclCode::computesrc/metrics/cognitive/tcl.rs1832.3100396
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs13732.158455
CodeMetrics::fromsrc/wire.rs33831.626414
unquote_git_pathsrc/vcs/git/diff_parse.rs41431.642340
ObjcCode::computesrc/metrics/abc/objc.rs4631.3117422
RubyCode::computesrc/metrics/cognitive/ruby.rs3230.9124403
PythonCode::computesrc/metrics/loc/python.rs2630.8136380
GoCode::computesrc/metrics/abc/go.rs22430.6136422
BashCode::computesrc/metrics/cognitive/bash.rs11730.4110420
ElixirCode::computesrc/metrics/cognitive/elixir.rs12930.2162414
run_command_opsbig-code-analysis-cli/src/commands/analyze.rs28130.053393
PythonCode::computesrc/metrics/abc/python.rs18929.7156421
scoresrc/vcs/jit.rs26229.650324
legacy_hintbig-code-analysis-cli/src/lib.rs92729.391524
run_with_budgetbig-code-analysis-bench/src/vcs.rs21929.262407
rm_commentsbig-code-analysis-ast/src/comment_rm.rs8929.052283
elixir_call_target_wordbig-code-analysis-ast/src/lang_helpers/elixir.rs23829.035261
ElixirCode::computesrc/metrics/cyclomatic/elixir.rs3229.0175379
Workload::walkbig-code-analysis-bench/src/shapes.rs191728.927259
build_trendsrc/vcs/git/trend.rs4228.850264
csharp_walk_for_conditionssrc/metrics/abc/csharp.rs55828.7115359
GroovyCode::computesrc/metrics/cognitive/groovy.rs1728.694351
JavaCode::computesrc/metrics/cognitive/java.rs1728.691351
read_gatedbig-code-analysis-ast/src/tools.rs28728.553282
write_code_climatesrc/output/code_climate.rs7428.557422
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs23428.387350
create_macros_fileenums/src/rust.rs9828.241264
run_parsebig-code-analysis-web/src/web/server.rs12128.1101449
Legend
MI
Maintainability Index (Visual Studio rescale, clamped to 0–100 in the per-file tables): composite of Halstead volume, cyclomatic complexity, and PLOC (the rows that carry code); higher is more maintainable. GOOD ≥ 20, MODERATE ≥ 10, else LOW. Large files commonly clamp to 0 — a property of the formula's range, not a meaningful score. The overview's Avg MI is unclamped and can be negative.
SLOC
Source Lines Of Code: total physical lines, including blanks and comments.
Tokens
Total lexical tokens (AST leaves excluding comments) of the function or file.
CC
Cyclomatic Complexity: number of linearly independent control-flow paths through the function.
Cognitive
Cognitive Complexity: how hard the code is for a human to follow; nesting and breaks in linear flow add weight.
Effort
Halstead effort: estimated mental effort to (re)create the code.
Volume
Halstead volume: program length weighted by vocabulary size.
Est. Bugs
Halstead bugs: estimated defect count derived from program volume.
Args
Number of declared parameters of the function.
WMC
Weighted Methods per Class: sum of cyclomatic complexity across a type's methods, including the methods of any type nested in it. "Type" covers all six kinds counted here: class, struct, trait, impl, interface, namespace.
Methods
Number of functions, methods and closures in the type, including those of any type nested in it.
NPA
Number of Public Attributes in the type, including those of any type nested in it.
NPM
Number of Public Methods in the type, including those of any type nested in it.
Exits
Number of exit points (returns, throws, breaks out of the function), summed over the function and every function or closure nested in it.
ABC
ABC magnitude: sqrt(A² + B² + C²) over Assignments, Branches, and Conditions.
PLOC
Physical Lines Of Code: source lines excluding blank lines and comments.
Comments
Comment lines (CLOC): lines carrying a comment, whether standalone or trailing code; a line with both code and a comment counts toward PLOC and CLOC alike.
Comment ratio
Comment ratio: comment lines as a percentage of source lines (CLOC / SLOC).
Files
Number of source files analysed.
Functions
Number of functions and methods analysed.
Avg MI
Average Maintainability Index, SLOC-weighted across the language's files so larger files dominate. Unlike the per-file MI column it uses the unclamped Visual Studio value, so a codebase of unmaintainable files reads negative rather than saturating at 0. GOOD ≥ 20, MODERATE ≥ 10, else LOW; any value below 10, however negative, is LOW.
Avg CC
Mean Cyclomatic Complexity over every function and method in the language, ignoring suppression markers. The Average CC under the cyclomatic hotspot table covers every function eligible for that table before its top-N cut (CC above 0 and, by default, not suppressed), so the two can differ.
Avg Cognitive
Mean Cognitive Complexity over every function and method in the language, ignoring suppression markers.

Change-history risk

Long window 365d, recent window 90d, risk formula v2. Risk is ordinal: only relative ranks carry meaning, not the absolute value.

1src/metrics/halstead.rs13.912522811,99720,637220.570.5516500200364.23104.618.629.19491,877
2src/metrics/abc.rs12.19722915,07337,551230.680.4217800301345.53110.518.009.63783,796
3src/metrics/loc.rs10.3731708,06525,972230.690.4311900301331.1566.988.448.99645,200
4big-code-analysis-ast/src/roles/mod.rs10.065656,7946,794111.001.00300024323.9223.928.008.00264,966
5src/metrics/npm.rs9.8671486,32513,077220.610.4510000200130.0452.618.299.61297,275
6big-code-analysis-bench/src/shapes.rs8.976885,5766,930220.820.867000114023.3527.818.218.291,533,400
7big-code-analysis-ast/src/node/ancestors.rs8.642425,1305,130111.001.00230037315.2515.258.088.08184,680
8src/metrics/cognitive.rs8.2481853,67021,267230.770.2613200301314.6461.838.569.36172,490
9big-code-analysis-ast/src/checker.rs8.2621554,06112,617230.660.4011100301415.7440.588.348.77349,246
10big-code-analysis-ast/src/getter.rs8.1681493,6059,894230.640.4610000301316.3435.048.318.79306,425
11src/metrics/loc/dloc.rs7.618184,2414,241111.001.00120031410.1310.138.068.0638,169
12src/metrics/cyclomatic.rs7.5331243,73317,294220.770.278500200310.7037.858.469.40138,121
13src/metrics/npa/shared.rs7.344514,3534,922220.760.863700151314.6116.548.158.23404,829
14src/metrics/nargs.rs7.3221023,32910,754230.800.226300301310.7828.377.999.10512,666
15src/metrics/npa.rs7.3391312,34912,174220.760.30880020009.7443.778.429.64110,403
16big-code-analysis-ast/src/node.rs7.0401031,7554,705250.630.39800130109.0125.168.368.58175,500
17big-code-analysis-ast/src/roles/java.rs6.933331,7521,752111.001.0015002436.946.947.687.6857,816
18big-code-analysis-ast/src/roles/groovy.rs6.839391,3481,348111.001.0019002437.447.447.647.6453,920
19big-code-analysis-ast/src/lang_helpers/doc_comment.rs6.719192,7342,734111.001.0012003155.785.788.068.06319,878
20src/metrics/abc/perl.rs6.643492,2312,579220.800.88360015239.599.947.437.60283,337
21utils/check-test-lang-gates-test.py6.510102,9812,981220.901.00100061154.874.877.097.09563,409
22utils/check-test-lang-gates.py6.410103,1863,186220.901.009006193.713.717.567.561,959,390
23src/metrics/loc/shared.rs6.427372,0162,281220.590.73280015139.1011.507.557.89235,872
24big-code-analysis-ast/src/lang_helpers/elixir_decisions.rs6.415151,5861,586111.001.0010003856.586.587.287.28206,180
25src/metrics/npa/cpp_declarators.rs6.317172,0352,035111.001.001000317.077.072.922.92350,020
26src/metrics/nexits.rs6.321781,7855,745220.790.27490020045.4114.548.718.9728,560
27big-code-analysis-ast/src/lang_helpers/elixir.rs6.317171,1921,192220.881.0012006855.315.318.088.08125,160
28src/metrics/abc/csharp.rs6.237432,0002,416220.580.86280015236.817.828.028.11190,000
29big-code-analysis-ast/src/lang_helpers/doxygen.rs6.213131,5671,567111.001.008002855.855.857.137.13164,535
30big-code-analysis-ast/src/roles/js_family.rs6.124241,1401,140111.001.009002434.254.257.697.6919,380
31big-code-analysis-ast/src/lang_helpers/python.rs6.113131,1871,187220.851.0010006834.324.328.718.71169,741
32src/metrics/wmc.rs6.119859915,351220.840.22580020034.6419.628.039.3764,415
33big-code-analysis-ast/src/roles/c_family.rs6.122221,1281,128111.001.008002434.584.587.617.6111,280
34big-code-analysis-ast/src/lang_helpers/perl.rs6.01717976976111.001.0014003945.475.475.745.74109,312
35big-code-analysis-ast/src/roles/elixir.rs6.02121856856111.001.0010002434.514.517.657.6510,272
36big-code-analysis-cli/src/vcs_command.rs5.913461,7773,283120.720.28384016285.7411.905.418.72197,247
37utils/role_tables.py5.818181,1431,143111.001.0040024113.363.367.377.37252,603
38big-code-analysis-ast/src/roles/kotlin.rs5.82424738738111.001.0011002433.573.577.997.9916,974
39big-code-analysis-cli/src/markdown_report.rs5.813738656,305220.840.18490017784.5820.086.507.74108,990
40src/metrics/abc/ruby.rs5.827371,1931,563220.700.73250015296.147.947.918.0168,001
41big-code-analysis-ast/src/roles/csharp.rs5.72424736736111.001.0011002432.852.858.008.004,416
42big-code-analysis-ast/src/roles/python.rs5.72020765765111.001.0011002432.932.937.627.626,885
43src/metrics/npm/ruby.rs5.719252,1282,201220.680.761600151126.106.257.828.0659,584
44src/metrics/abc/cpp.rs5.725301,5701,954220.770.831900152135.055.347.667.8184,780
45src/metrics/abc/js_family.rs5.725281,6442,050220.710.89150015245.035.347.897.9778,912
46src/vcs/git/history.rs5.713231,7892,551120.570.571840162126.158.265.297.15105,551
47big-code-analysis-ast/src/macros/kind_sets.rs5.720282,4063,032220.680.71250017134.696.478.278.542,406
48big-code-analysis-ast/src/roles/php.rs5.62222602602111.001.0010002433.463.467.557.557,224
49src/metrics/loc/python.rs5.621261,1931,311220.770.81160015135.735.867.928.18125,265
50src/ops.rs5.621606622,295220.700.35470020043.8712.166.758.1015,888

Bus factor

Bus factor: the number of authors whose departure would orphan more than half the files; lower is riskier.

Repository: 1 (over 820 files, coverage threshold 0.50).

.claude12
.claude/hooks12
.opencode21
.opencode/plugins21
big-code-analysis-ast2170
big-code-analysis-ast/src2170
big-code-analysis-bench110
big-code-analysis-bench/benches12
big-code-analysis-bench/src28
big-code-analysis-cli1136
big-code-analysis-cli/src194
big-code-analysis-cli/tests241
big-code-analysis-py150
big-code-analysis-py/examples110
big-code-analysis-py/python15
big-code-analysis-py/src112
big-code-analysis-py/tests122
big-code-analysis-web116
big-code-analysis-web/src115
big-code-analysis-web/tests11
enums114
enums/data12
enums/src18
enums/templates13
enums/tests11
fuzz114
fuzz/fuzz_targets112
fuzz/src12
generate-grammars13
scripts12
scripts/smoke12
src1258
src/macros11
src/metric_catalog12
src/metrics2158
src/output115
src/spaces16
src/vcs149
src/wire13
tests147
tests/api18
tests/common14
tests/corpus19
tests/grammars14
tests/output_formats12
tests/parity114
tests/vcs16
tree-sitter-ccomment14
tree-sitter-ccomment/bindings21
tree-sitter-ccomment/src13
tree-sitter-mozcpp14
tree-sitter-mozcpp/bindings21
tree-sitter-mozcpp/src13
tree-sitter-mozjs14
tree-sitter-mozjs/bindings11
tree-sitter-mozjs/src13
tree-sitter-preproc14
tree-sitter-preproc/bindings21
tree-sitter-preproc/src13
tree-sitter-tcl15
tree-sitter-tcl/bindings22
tree-sitter-tcl/src13
utils274
xtask11
xtask/src11
Legend
Risk
Composite change-history risk score: recent churn and commit frequency dominate, raised by author dilution, bug-/security-fix history, and newness. Ordinal: only relative ranks carry meaning, not the absolute value.
Commits (recent)
Distinct commits that touched this file in the recent window (default 90 days, set via --recent-window). Wire key: commits_recent.
Commits (long)
Distinct commits that touched this file in the long window (default 365 days, set via --long-window) — not all history. Wire key: commits_long.
Churn (recent)
Lines added + deleted to this file in the recent window (default 90 days, set via --recent-window). Wire key: churn_recent.
Churn (long)
Lines added + deleted to this file in the long window (default 365 days, set via --long-window) — not all history. Wire key: churn_long.
Authors (recent)
Distinct authors who touched this file in the recent window (default 90 days, set via --recent-window). Wire key: authors_recent.
Authors (long)
Distinct authors who touched this file in the long window (default 365 days, set via --long-window) — not all history. Wire key: authors_long.
Ownership
Top-author edit share (0–1): fraction of edits by the single most active author; lower means more diluted ownership.
Burst
Recency of change (0–1): recent commits as a share of long-window commits.
Bug fixes
Commits classified as bug fixes (by message) within the long window.
Sec fixes
Commits classified as security fixes (by message) within the long window; weighted more heavily than bug fixes.
Reverts
Revert commits touching this file within the long window.
Age (d)
Days since the first in-window commit touching this file (capped at the long window).
Last mod (d)
Days since the most recent in-window commit touching this file.
Change entropy (recent)
Change entropy (bits): how scattered the changes to this file are across commits (Hassan 2009), over the recent window (default 90 days, --recent-window). Higher means more diffuse, fault-prone change. Wire key: change_entropy_recent.
Change entropy (long)
Change entropy (bits): how scattered the changes to this file are across commits (Hassan 2009), over the long window (default 365 days, --long-window). Higher means more diffuse, fault-prone change. Wire key: change_entropy_long.
Co-change entropy (recent)
Co-change entropy (bits): how widely changes to this file ripple to other files, over the recent window (default 90 days, --recent-window). Higher means coupling to many different partners. Wire key: cochange_entropy_recent.
Co-change entropy (long)
Co-change entropy (bits): how widely changes to this file ripple to other files, over the long window (default 365 days, --long-window). Higher means coupling to many different partners. Wire key: cochange_entropy_long.
Hotspot
Complexity × recent churn: high-complexity files that also change often. Shown only when AST metrics are joined (e.g. report --vcs); omitted by plain bca vcs.
Bus factor
Number of authors whose departure would orphan more than half the files (by Avelino Degree-of-Authorship); lower is riskier.
Files
Files in this directory contributing to its bus factor.