Code Quality Metrics Summary

Files analyzed: 451 Languages: Bash, Python, Rust

Total SLOC: 119,592 PLOC: 63,940 Comments: 47,980

Functions/methods: 5,320 Types: 721

Comment ratio: 40.1%

Actionable summary (all languages)

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

Per-language overview

Click a column header to sort any table.

LanguageFilesSLOCFunctionsAvg MIAvg CCAvg Cognitive
Bash121,4861526.62.21.7
Python3719,336891-13.22.82.8
Rust40298,7704,4148.92.11.0

Bash

Summary

Files: 12 | SLOC: 1,486 | PLOC: 794 | Comment ratio: 33.4%

Average MI (SLOC-weighted): 26.6 (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)

FileMISLOCTokens
utils/check-tools.sh8.43721,592
utils/check-enums-codegen-drift.sh25.5173582
utils/check-tools-test.sh29.1136484
utils/deploy-book-to-gh-pages.sh29.8126530
utils/gate-status-test.sh30.5129425
generate-grammars/generate-mozcpp.sh32.4122277
utils/check-grammars-crates.sh33.992352
scripts/smoke/cli_wheel_smoke.sh35.699235
generate-grammars/generate-mozjs.sh37.083208
utils/gate-status.sh37.992143
generate-grammars/generate-grammar.sh49.54328
recreate-grammars.sh58.71922

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)

FunctionFileLineCCCognitiveSLOCTokens
diff_dirutils/check-enums-codegen-drift.sh9891453266
check_release_toolsutils/check-tools.sh425621108
print_release_hintsutils/check-tools.sh64321153
expect_equtils/check-tools-test.sh3121632
expect_containsutils/check-tools-test.sh3821637
expect_absentutils/check-tools-test.sh4521636
expect_equtils/gate-status-test.sh3121632
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7910427
failutils/check-tools-test.sh2610420
write_cargo_stubutils/check-tools-test.sh56101932
run_release_onlyutils/check-tools-test.sh7610434
usageutils/check-tools.sh1110413
failutils/gate-status-test.sh2610420
run_gateutils/gate-status-test.sh3810628
emit_make_transcriptutils/gate-status-test.sh6710415

Average CC: 2.2 | Max: 9 | CC > 15: 0 functions | CC > 30: 0 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

FunctionFileLineCognitiveCCSLOCTokens
diff_dirutils/check-enums-codegen-drift.sh9814953266
check_release_toolsutils/check-tools.sh426521108
print_release_hintsutils/check-tools.sh64231153
expect_equtils/check-tools-test.sh3112632
expect_containsutils/check-tools-test.sh3812637
expect_absentutils/check-tools-test.sh4512636
expect_equtils/gate-status-test.sh3112632

Halstead effort hotspots (top 50 by Effort)

FunctionFileLineEffortVolumeEst. BugsSLOCTokens
diff_dirutils/check-enums-codegen-drift.sh9817,8209160.2353266
check_release_toolsutils/check-tools.sh426,1383930.1121108
print_release_hintsutils/check-tools.sh645791100.021153
expect_equtils/check-tools-test.sh31311560.02632
expect_equtils/gate-status-test.sh31311560.02632
expect_containsutils/check-tools-test.sh38308720.02637
expect_absentutils/check-tools-test.sh45244660.01636
write_cargo_stubutils/check-tools-test.sh56193570.011932
failutils/check-tools-test.sh26133470.01420
failutils/gate-status-test.sh26133470.01420
run_release_onlyutils/check-tools-test.sh76122610.01434
run_gateutils/gate-status-test.sh3883420.01628
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7980530.01427
emit_make_transcriptutils/gate-status-test.sh6755320.00415
usageutils/check-tools.sh1149270.00413

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
diff_dirutils/check-enums-codegen-drift.sh9853266914
check_release_toolsutils/check-tools.sh422110856
write_cargo_stubutils/check-tools-test.sh56193210
print_release_hintsutils/check-tools.sh64115332
expect_equtils/check-tools-test.sh3163221
expect_containsutils/check-tools-test.sh3863721
expect_absentutils/check-tools-test.sh4563621
expect_equtils/gate-status-test.sh3163221
run_gateutils/gate-status-test.sh3862810
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7942710
failutils/check-tools-test.sh2642010
run_release_onlyutils/check-tools-test.sh7643410
usageutils/check-tools.sh1141310
failutils/gate-status-test.sh2642010
emit_make_transcriptutils/gate-status-test.sh6741510

ABC magnitude hotspots (top 50 by ABC)

FunctionFileLineABCSLOCTokens
diff_dirutils/check-enums-codegen-drift.sh9820.753266
check_release_toolsutils/check-tools.sh4214.021108
print_release_hintsutils/check-tools.sh646.41153
expect_containsutils/check-tools-test.sh383.2637
expect_absentutils/check-tools-test.sh453.2636
expect_equtils/check-tools-test.sh312.2632
write_cargo_stubutils/check-tools-test.sh562.21932
run_release_onlyutils/check-tools-test.sh762.2434
expect_equtils/gate-status-test.sh312.2632
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh792.0427
usageutils/check-tools.sh112.0413
emit_make_transcriptutils/gate-status-test.sh672.0415
failutils/check-tools-test.sh261.4420
failutils/gate-status-test.sh261.4420
run_gateutils/gate-status-test.sh381.4628

Python

Summary

Files: 37 | SLOC: 19,336 | PLOC: 11,776 | Comment ratio: 29.3%

Average MI (SLOC-weighted): -13.2 (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)

FileMISLOCTokens
utils/check-test-lang-gates.py0.02,69211,906
utils/check-test-lang-gates-test.py0.02,5488,338
utils/check-feature-gates.py0.07343,338
utils/check-rustfmt-bail.py0.06512,912
utils/check-snapshot-anchors.py0.05782,492
utils/check-grammar-marker-sync-test.py0.01,0274,907
utils/check-publish-metadata-test.py0.06244,598
utils/check-grammar-marker-sync.py0.07212,677
utils/check-excluded-manifests-test.py0.06813,041
utils/check-versions.py0.05942,198
utils/check-ruff-lockstep-test.py1.55122,825
utils/check-versions-test.py2.15152,657
utils/check-diagnostic-prefix-test.py2.24422,453
utils/check-feature-gates-test.py4.25412,174
utils/check-manpage-drift-test.py5.14702,605
utils/check-diagnostic-prefix.py5.63941,409
utils/check-excluded-manifests.py6.34421,484
utils/check-rustfmt-bail-test.py6.64472,448
utils/check-publish-metadata.py7.84051,490
utils/check-enums-codegen-drift-test.py9.64181,984
utils/check-ruff-lockstep.py10.03391,464
utils/worktree-setup-test.py10.13612,245
utils/check-grammar-crate.py12.04481,651
utils/check-snapshot-anchors-test.py12.83201,504
utils/verify-name-only-churn.py13.02761,326
utils/check-manpage-assets.py14.22701,220
utils/check-safety-doc-pin-test.py14.72811,337
utils/check-grammar-crate-test.py15.72121,019
utils/worktree-setup.py17.9227953
big-code-analysis-py/python/big_code_analysis/__init__.py22.2241615
utils/check-manpage-drift.py22.4225496
utils/check-safety-doc-pin.py22.6199686
big-code-analysis-py/python/big_code_analysis/_flatten.py22.9216526
scripts/smoke/lib_wheel_smoke.py25.0131663
enums/data/special.py39.052344
enums/data/mac.py40.548389
big-code-analysis-py/python/big_code_analysis/vcs.py45.85463

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)

FunctionFileLineCCCognitiveSLOCTokens
scan_sourceutils/check-test-lang-gates.py10101002454062,256
resolve_needsutils/check-test-lang-gates.py161148104195740
mainutils/check-test-lang-gates.py244643852431,197
scan_sourceutils/check-feature-gates.py3343673132669
scan_ignore_spansutils/check-rustfmt-bail.py191356884496
mainutils/check-manpage-assets.py1462941121706
find_macro_call_endutils/check-snapshot-anchors.py134254273304
_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.py380223655347
mainutils/check-feature-gates.py6282131103544
required_markerutils/check-test-lang-gates.py1874202967285
mainutils/check-versions.py506203985560
_update_sectionutils/check-grammar-marker-sync.py363192780336
offendersutils/check-test-lang-gates.py2170194079272
_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.py262141730164
_inner_cfg_extentsutils/check-test-lang-gates.py969142439234
_mk_langs_tuplesutils/check-grammar-crate-test.py77132535167
mainutils/check-grammar-marker-sync.py619131899483
mainutils/check-rustfmt-bail.py5331316115575
mainutils/check-snapshot-anchors.py487131788467
test_scope_filesutils/check-test-lang-gates.py1448133347290
runutils/verify-name-only-churn.py137131950323
over_declaredutils/check-test-lang-gates.py2008121229171
raw_string_endutils/check-diagnostic-prefix.py15811927155
raw_string_endutils/check-feature-gates.py13411923155
raw_string_endutils/check-snapshot-anchors.py9411924155
raw_string_endutils/check-test-lang-gates.py34111923155
parse_build_flagsutils/check-feature-gates.py491101431258
write_baselineutils/check-grammar-marker-sync.py461101189394
read_pyproject_specifierutils/check-ruff-lockstep.py238101127230
probe_armsutils/check-rustfmt-bail.py294101048296
evaluate_predicateutils/check-test-lang-gates.py626101534246
_self_testutils/verify-name-only-churn.py192101270422
char_literal_endutils/check-diagnostic-prefix.py12591431134
lints_table_problemutils/check-excluded-manifests.py24291134140
char_literal_endutils/check-feature-gates.py10491428134
_strip_line_commentutils/check-grammar-crate-test.py5591320105
char_literal_endutils/check-snapshot-anchors.py4991443134
char_literal_endutils/check-test-lang-gates.py31191428134
split_top_levelutils/check-test-lang-gates.py60291119136
membershiputils/check-test-lang-gates.py86291820166
rust_sourcesutils/check-test-lang-gates.py141892324135
_check_flatten_spacesscripts/smoke/lib_wheel_smoke.py76849128
discover_targetsutils/check-diagnostic-prefix.py8381121131
unpinned_grammar_depsutils/check-excluded-manifests.py33281122122
_asset_sourceutils/check-manpage-assets.py708935144

Average CC: 2.8 | Max: 100 | CC > 15: 16 functions | CC > 30: 5 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

FunctionFileLineCognitiveCCSLOCTokens
scan_sourceutils/check-test-lang-gates.py10102451004062,256
resolve_needsutils/check-test-lang-gates.py161110448195740
mainutils/check-test-lang-gates.py244685432431,197
scan_sourceutils/check-feature-gates.py3347336132669
scan_ignore_spansutils/check-rustfmt-bail.py191683584496
find_macro_call_endutils/check-snapshot-anchors.py134422573304
mainutils/check-manpage-assets.py1464129121706
offendersutils/check-test-lang-gates.py2170401979272
mainutils/check-versions.py506392085560
_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.py380362255347
test_scope_filesutils/check-test-lang-gates.py1448331347290
mainutils/check-feature-gates.py6283121103544
required_markerutils/check-test-lang-gates.py1874292067285
_update_sectionutils/check-grammar-marker-sync.py363271980336
_mk_langs_tuplesutils/check-grammar-crate-test.py77251335167
_scan_for_markerutils/check-grammar-marker-sync.py134251450167
_inner_cfg_extentsutils/check-test-lang-gates.py969241439234
rust_sourcesutils/check-test-lang-gates.py141823924135
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py114211436308
edition_forutils/check-rustfmt-bail.py8819830152
resolve_needs::reachableutils/check-test-lang-gates.py163519824132
runutils/verify-name-only-churn.py137191350323
mainutils/check-grammar-marker-sync.py619181399483
membershiputils/check-test-lang-gates.py86218920166
mainutils/check-snapshot-anchors.py487171388467
_is_value_positionutils/check-test-lang-gates.py262171430164
CiRecipePinTest::test_real_ci_md_pins_are_at_a_published_releaseutils/check-versions-test.py1941771496
mainutils/check-rustfmt-bail.py5331613115575
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py17615741191
RepositoryTest::test_the_derivation_reproduces_every_hand_written_gateutils/check-test-lang-gates-test.py252515720114
evaluate_predicateutils/check-test-lang-gates.py626151034246
char_literal_endutils/check-diagnostic-prefix.py12514931134
char_literal_endutils/check-feature-gates.py10414928134
parse_build_flagsutils/check-feature-gates.py491141031258
char_literal_endutils/check-snapshot-anchors.py4914943134
char_literal_endutils/check-test-lang-gates.py31114928134
check_excluded_lockfilesutils/check-versions.py45114853211
_strip_line_commentutils/check-grammar-crate-test.py5513920105
char_literal_endutils/check-rustfmt-bail.py16113828121
_hand_written_featuresutils/check-test-lang-gates.py93913723131
apply_fixesutils/check-test-lang-gates.py232613742220
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py14212732225
over_declaredutils/check-test-lang-gates.py2008121229171
compare_revisionsutils/check-test-lang-gates.py240612838177
_self_testutils/verify-name-only-churn.py192121070422
discover_targetsutils/check-diagnostic-prefix.py8311821131
lints_table_problemutils/check-excluded-manifests.py24211934140

Halstead effort hotspots (top 50 by Effort)

FunctionFileLineEffortVolumeEst. BugsSLOCTokens
scan_sourceutils/check-test-lang-gates.py10101,293,99814,7523.964062,256
resolve_needsutils/check-test-lang-gates.py1611262,1044,2071.37195740
mainutils/check-test-lang-gates.py2446227,1466,2201.242431,197
scan_ignore_spansutils/check-rustfmt-bail.py191185,1812,4691.0884496
scan_sourceutils/check-feature-gates.py334164,9833,7791.00132669
mainutils/check-manpage-assets.py146115,3483,0890.79121706
dead_spansutils/check-feature-gates.py17389,7721,6690.6755347
dead_spansutils/check-test-lang-gates.py38089,7721,6690.6755347
scan_ignore_spansutils/check-snapshot-anchors.py23185,8661,6590.6582340
_scan_literalsutils/check-diagnostic-prefix.py20878,3931,5540.6193322
find_macro_call_endutils/check-snapshot-anchors.py13478,2731,4780.6173304
_update_sectionutils/check-grammar-marker-sync.py36368,5131,6620.5680336
mainutils/check-versions.py50666,6032,5230.5585560
mainutils/check-feature-gates.py62866,3542,5290.55103544
mainutils/check-rustfmt-bail.py53353,0002,7920.47115575
offendersutils/check-test-lang-gates.py217041,0791,3770.4079272
write_baselineutils/check-grammar-marker-sync.py46138,0191,6010.3889394
mainutils/check-snapshot-anchors.py48737,9112,1410.3888467
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py11437,3901,5170.3736308
_inner_cfg_extentsutils/check-test-lang-gates.py96936,9671,1600.3739234
required_markerutils/check-test-lang-gates.py187435,8181,4870.3667285
test_scope_filesutils/check-test-lang-gates.py144835,2511,4690.3647290
_self_testutils/verify-name-only-churn.py19233,5701,8160.3570422
mainutils/check-grammar-marker-sync.py61933,1121,9550.3499483
_drop_widenable_gatesutils/check-test-lang-gates.py229328,7218410.3131184
raw_string_endutils/check-diagnostic-prefix.py15827,1556900.3027155
raw_string_endutils/check-feature-gates.py13427,1556900.3023155
raw_string_endutils/check-snapshot-anchors.py9427,1556900.3024155
raw_string_endutils/check-test-lang-gates.py34127,1556900.3023155
probe_armsutils/check-rustfmt-bail.py29426,4691,4440.3048296
parse_build_flagsutils/check-feature-gates.py49126,1641,1190.2931258
_join_attributesutils/check-test-lang-gates.py89826,0778610.2939202
runutils/verify-name-only-churn.py13724,5881,3720.2850323
evaluate_predicateutils/check-test-lang-gates.py62623,3829940.2734246
apply_fixesutils/check-test-lang-gates.py232623,2161,0960.2742220
_make_fixtureutils/check-grammar-marker-sync-test.py5023,0191,0890.2750254
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py14222,9701,0440.2732225
_scan_for_markerutils/check-grammar-marker-sync.py13422,6748580.2750167
read_pyproject_specifierutils/check-ruff-lockstep.py23822,3369330.2627230
CompareTest::test_a_gate_that_narrowed_since_the_reference_is_reportedutils/check-test-lang-gates-test.py243121,0021,5430.2567357
auditutils/check-publish-metadata.py34520,6199960.2538229
membershiputils/check-test-lang-gates.py86220,5117490.2520166
_mk_langs_tuplesutils/check-grammar-crate-test.py7720,0677400.2535167
asset_basenamesutils/check-manpage-assets.py10718,8771,0420.2437251
mainutils/check-safety-doc-pin.py14418,8019880.2452299
owned_package_versionsutils/check-versions.py37918,4177190.2326171
char_literal_endutils/check-diagnostic-prefix.py12518,2805980.2331134
char_literal_endutils/check-feature-gates.py10418,2805980.2328134
char_literal_endutils/check-snapshot-anchors.py4918,2805980.2343134
char_literal_endutils/check-test-lang-gates.py31118,2805980.2328134

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
scan_sourceutils/check-test-lang-gates.py10104062,256100245
mainutils/check-test-lang-gates.py24462431,1974385
resolve_needsutils/check-test-lang-gates.py161119574048104
scan_sourceutils/check-feature-gates.py3341326693673
mainutils/check-manpage-assets.py1461217062941
mainutils/check-grammar-crate.py32711839821
mainutils/check-rustfmt-bail.py5331155751316
mainutils/check-feature-gates.py6281035442131
mainutils/check-grammar-marker-sync.py619994831318
_scan_literalsutils/check-diagnostic-prefix.py208933222236
write_baselineutils/check-grammar-marker-sync.py461893941011
mainutils/check-snapshot-anchors.py487884671317
flatten_spacesbig-code-analysis-py/python/big_code_analysis/_flatten.py55856321
mainutils/check-versions.py506855602039
scan_ignore_spansutils/check-rustfmt-bail.py191844963568
scan_ignore_spansutils/check-snapshot-anchors.py231823402236
_update_sectionutils/check-grammar-marker-sync.py363803361927
offendersutils/check-test-lang-gates.py2170792721940
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.py24316735721
required_markerutils/check-test-lang-gates.py1874672852029
FixTest::test_fix_widens_a_stranded_helper_rather_than_stackingutils/check-test-lang-gates-test.py18796225010
dead_spansutils/check-feature-gates.py173553472236
dead_spansutils/check-test-lang-gates.py380553472236
check_excluded_lockfilesutils/check-versions.py45153211814
mainutils/check-safety-doc-pin.py1445229989
compare_metricsutils/check-grammar-crate.py2745122510
stranded_by_callersutils/check-test-lang-gates.py21175112768
_make_fixtureutils/check-grammar-marker-sync-test.py505025467
_scan_for_markerutils/check-grammar-marker-sync.py134501671425
runutils/verify-name-only-churn.py137503231319
probe_armsutils/check-rustfmt-bail.py294482961010
FixTest::test_fix_keeps_a_helpers_hand_written_featureutils/check-test-lang-gates-test.py19524819310
test_scope_filesutils/check-test-lang-gates.py1448472901333
ExcludedLockfileTest::_buildutils/check-versions-test.py2774727943
compute_ci_metricsutils/check-grammar-crate.py1744620544
mainutils/check-ruff-lockstep.py2904626454
FixTest::test_fix_converges_on_a_sweep_that_pins_a_parserutils/check-test-lang-gates-test.py18334520910
read_markerutils/check-grammar-marker-sync.py1864413254
_self_testutils/check-snapshot-anchors.py4414419866
FixTest::test_both_directions_are_reported_in_one_runutils/check-test-lang-gates-test.py20254419110
language_tableutils/check-test-lang-gates.py4994421157
mainutils/check-excluded-manifests.py3964318677
mainutils/check-manpage-drift.py1794315877
char_literal_endutils/check-snapshot-anchors.py4943134914
compute_metricsutils/check-grammar-crate.py2234222443
_read_currentutils/check-grammar-marker-sync.py5654218157
apply_fixesutils/check-test-lang-gates.py232642220713
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py17641191715

Many parameters hotspots (top 50 by Args)

FunctionFileLineArgsSLOCTokens
MainTest::_runutils/check-feature-gates-test.py444617142
_make_fixtureutils/check-grammar-marker-sync-test.py50650254
ExcludedLockfileTest::_buildutils/check-versions-test.py277647279

Type hotspots (top 50 by WMC)

TypeFileLineWMCMethodsNPANPMSLOCTokens
GrammarMarkerSyncTestutils/check-grammar-marker-sync-test.py12656521518984,478
ScanTextNonOffendersutils/check-diagnostic-prefix-test.py1203323023180874
DerivationTestutils/check-test-lang-gates-test.py22327190194101,131
LintsTableTestutils/check-excluded-manifests-test.py1982216016187746
ExcludedLockfileTestutils/check-versions-test.py25422152152461,381
DriftGateTestutils/check-enums-codegen-drift-test.py5821161162831,465
StrandedHelperTestutils/check-test-lang-gates-test.py75220156155931,347
ScanTextOffendersutils/check-diagnostic-prefix-test.py541890964531
CiRecipePinTestutils/check-versions-test.py1411870775416
UnpinnedGrammarDepsTestutils/check-excluded-manifests-test.py3871514014132540
AuditTestutils/check-publish-metadata-test.py4301513412109931
PortedLexerHelpersutils/check-diagnostic-prefix-test.py3021370771464
OverGatedTestutils/check-test-lang-gates-test.py134713909194504
CountBareTestutils/check-snapshot-anchors-test.py1031211011133419
MainTestutils/check-excluded-manifests-test.py5471110010113752
PreCommitRevTestutils/check-ruff-lockstep-test.py108111101167456
RepositoryTestutils/check-test-lang-gates-test.py25001152545326
ScannerTestutils/check-feature-gates-test.py1001010010127487
PyprojectSpecifierTestutils/check-ruff-lockstep-test.py309101001059413
MainTestutils/check-rustfmt-bail-test.py31410104101201,083
MetadataFieldsTestutils/check-publish-metadata-test.py94970741343
MainTestutils/check-ruff-lockstep-test.py393990988705
FixTestutils/check-test-lang-gates-test.py179699093121,556
InternalVendoredPinTestutils/check-versions-test.py64971775311
ClassifyTestutils/worktree-setup-test.py121992954498
MacroGeneratorPruneTestutils/check-enums-codegen-drift-test.py343865672368
ReadExcludedCratesTestutils/check-excluded-manifests-test.py80880862242
MissingWorkspaceTableTestutils/check-excluded-manifests-test.py144870752373
RepositoryTestutils/check-feature-gates-test.py511820227149
ManDirFixtureutils/check-manpage-drift-test.py95863674567
LockSpecifierTestutils/check-ruff-lockstep-test.py231880838297
FindArmLinesTestutils/check-rustfmt-bail-test.py85880866284
ModuleDocLinesutils/check-safety-doc-pin-test.py83850554265
NestedSubjectTestutils/check-feature-gates-test.py3167606115279
Subjectutils/check-feature-gates.py236732354158
ExtensionsSyncTestutils/check-grammar-crate-test.py152730332161
AnnotationTestutils/check-manpage-drift-test.py430750537286
ResolveIncludeTestutils/check-publish-metadata-test.py137760635373
CheckIncludeTestutils/check-publish-metadata-test.py174770734424
ProbeTestutils/check-rustfmt-bail-test.py243770748304
Mainutils/check-safety-doc-pin-test.py205770761414
LanguageTableTestutils/check-test-lang-gates-test.py125761644299
FeatureAtomTestutils/check-test-lang-gates-test.py635740448188
MainOverSyntheticRootutils/check-diagnostic-prefix-test.py375650547373
MainTestutils/check-feature-gates-test.py437681672475
GitFailureTestutils/check-manpage-drift-test.py359672569406
RealRepositoryTestutils/check-publish-metadata-test.py571630350212
LockVersionTestutils/check-ruff-lockstep-test.py190660639268
SweepHardcodesTestutils/check-test-lang-gates-test.py16676404111324
CompareTestutils/check-test-lang-gates-test.py23696504129603

Exit points hotspots (top 50 by Exits)

FunctionFileLineExitsCCSLOCTokens
mainutils/check-test-lang-gates.py244611432431,197
mainutils/check-feature-gates.py628921103544
mainutils/check-rustfmt-bail.py533713115575
_asset_sourceutils/check-manpage-assets.py706835144
mainutils/check-manpage-assets.py146629121706
mainutils/check-snapshot-anchors.py48761388467
evaluate_predicateutils/check-test-lang-gates.py62661034246
lints_table_problemutils/check-excluded-manifests.py2425934140
_scan_for_markerutils/check-grammar-marker-sync.py13451450167
mainutils/check-grammar-marker-sync.py61951399483
mainutils/check-safety-doc-pin.py1445852299
required_markerutils/check-test-lang-gates.py187452067285
char_literal_endutils/check-diagnostic-prefix.py1254931134
mainutils/check-excluded-manifests.py3964743186
char_literal_endutils/check-feature-gates.py1044928134
read_markerutils/check-grammar-marker-sync.py1864544132
asset_basenamesutils/check-manpage-assets.py1074137251
auditutils/check-publish-metadata.py3454838229
read_pyproject_specifierutils/check-ruff-lockstep.py23841027230
char_literal_endutils/check-rustfmt-bail.py1614828121
char_literal_endutils/check-snapshot-anchors.py494943134
char_literal_endutils/check-test-lang-gates.py3114928134
_caller_markerutils/check-test-lang-gates.py19434823128
over_declaredutils/check-test-lang-gates.py200841229171
_is_allowedutils/check-diagnostic-prefix.py106351771
raw_string_endutils/check-diagnostic-prefix.py15831127155
read_excluded_cratesutils/check-excluded-manifests.py1713719107
_dependency_entriesutils/check-excluded-manifests.py292362188
raw_string_endutils/check-feature-gates.py13431123155
parse_build_flagsutils/check-feature-gates.py49131031258
list_testsutils/check-feature-gates.py5633533184
_coerce_baseline_valueutils/check-grammar-marker-sync.py2323636173
asset_basenames::basenamesutils/check-manpage-assets.py1253415108
mainutils/check-manpage-drift.py1793743158
run_cargoutils/check-publish-metadata.py1623319139
cargo_metadatautils/check-publish-metadata.py183331591
load_tomlutils/check-publish-metadata.py25933985
resolve_includeutils/check-publish-metadata.py2703623149
check_includeutils/check-publish-metadata.py295361597
_packagesutils/check-ruff-lockstep.py153351099
_requires_distutils/check-ruff-lockstep.py20335985
edition_forutils/check-rustfmt-bail.py883830152
probe_armsutils/check-rustfmt-bail.py29431048296
pinned_versionutils/check-safety-doc-pin.py1153427142
raw_string_endutils/check-snapshot-anchors.py9431124155
raw_string_endutils/check-test-lang-gates.py34131123155
language_tableutils/check-test-lang-gates.py4993544211
balanced_grouputils/check-test-lang-gates.py5823718103
cfg_predicateutils/check-test-lang-gates.py74033969
effective_predicateutils/check-test-lang-gates.py8843512104

ABC magnitude hotspots (top 50 by ABC)

FunctionFileLineABCSLOCTokens
scan_sourceutils/check-test-lang-gates.py1010209.54062,256
mainutils/check-test-lang-gates.py244680.92431,197
scan_sourceutils/check-feature-gates.py33467.2132669
scan_ignore_spansutils/check-rustfmt-bail.py19150.784496
mainutils/check-versions.py50650.585560
resolve_needsutils/check-test-lang-gates.py161147.8195740
mainutils/check-feature-gates.py62837.7103544
mainutils/check-rustfmt-bail.py53337.2115575
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.py38033.455347
runutils/verify-name-only-churn.py13733.050323
_scan_literalsutils/check-diagnostic-prefix.py20832.293322
mainutils/check-snapshot-anchors.py48731.888467
_self_testutils/verify-name-only-churn.py19231.870422
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
test_scope_filesutils/check-test-lang-gates.py144827.447290
parse_build_flagsutils/check-feature-gates.py49126.931258
BaselineTest::test_pass_regress_and_ratchetutils/check-snapshot-anchors-test.py25226.928267
evaluate_predicateutils/check-test-lang-gates.py62625.434246
FixTest::test_fix_widens_a_stranded_helper_rather_than_stackingutils/check-test-lang-gates-test.py187925.362250
write_baselineutils/check-grammar-marker-sync.py46124.889394
auditutils/check-publish-metadata.py34523.938229
FixTest::test_fix_inserts_above_the_attribute_run_and_the_gate_then_passesutils/check-test-lang-gates-test.py179723.335225
read_pyproject_specifierutils/check-ruff-lockstep.py23823.227230
required_markerutils/check-test-lang-gates.py187423.067285
offendersutils/check-test-lang-gates.py217022.879272
mainutils/check-grammar-crate.py32721.9118398
FixTest::test_fix_keeps_a_helpers_hand_written_featureutils/check-test-lang-gates-test.py195221.248193
FixTest::test_fix_converges_on_a_sweep_that_pins_a_parserutils/check-test-lang-gates-test.py183320.445209
CompareTest::test_a_gate_that_narrowed_since_the_reference_is_reportedutils/check-test-lang-gates-test.py243120.467357
probe_armsutils/check-rustfmt-bail.py29420.148296
mainutils/check-ruff-lockstep.py29020.146264
MainTest::test_update_does_not_duplicate_a_drifted_headerutils/check-rustfmt-bail-test.py39019.427206
_inner_cfg_extentsutils/check-test-lang-gates.py96918.739234
_scan_for_markerutils/check-grammar-marker-sync.py13418.550167
_mk_langs_tuplesutils/check-grammar-crate-test.py7718.435167
compute_metricsutils/check-grammar-crate.py22317.942224
ManDirFixture::setUputils/check-manpage-drift-test.py10917.521239
_join_attributesutils/check-test-lang-gates.py89817.439202
FixTest::test_both_directions_are_reported_in_one_runutils/check-test-lang-gates-test.py202517.344191
mainutils/check-excluded-manifests.py39616.843186
_make_fixtureutils/check-grammar-marker-sync-test.py5016.150254
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py14215.932225
over_declaredutils/check-test-lang-gates.py200815.829171
compute_ci_metricsutils/check-grammar-crate.py17415.746205

Rust

Summary

Files: 402 | SLOC: 98,770 | PLOC: 51,370 | Comment ratio: 42.3%

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

Actionable Summary

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

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

Maintainability Index hotspots (lowest 50 by MI)

FileMISLOCTokens
big-code-analysis-cli/src/markdown_report/hotspot.rs0.01,0664,871
src/metrics/nargs.rs0.08713,544
big-code-analysis-ast/src/node.rs0.01,1353,862
big-code-analysis-ast/src/tools.rs0.08813,345
big-code-analysis-cli/src/thresholds.rs0.01,1303,844
big-code-analysis-cli/src/markdown_report.rs0.08614,236
big-code-analysis-cli/src/formats.rs0.07773,654
big-code-analysis-cli/src/vcs_command.rs0.08384,159
big-code-analysis-ast/src/alterator.rs0.07984,022
big-code-analysis-bench/src/shapes.rs0.01,5074,626
big-code-analysis-ast/src/checker.rs0.01,1993,259
src/metrics/npa/shared.rs0.07402,677
src/metrics/abc/perl.rs0.07432,586
big-code-analysis-cli/src/walk.rs0.09483,135
big-code-analysis-ast/src/preproc.rs0.08743,859
big-code-analysis-cli/src/commands/check.rs0.09913,485
big-code-analysis-cli/src/dispatch.rs0.07593,642
big-code-analysis-cli/src/metric_diff.rs0.07613,481
src/spaces/compute.rs0.09943,164
src/suppression.rs0.08092,555
src/metrics/loc.rs0.01,0372,999
big-code-analysis-cli/src/manifest.rs0.08122,780
big-code-analysis-cli/src/lib.rs0.09963,042
big-code-analysis-cli/src/baseline.rs0.09522,754
big-code-analysis-py/src/sarif.rs0.08383,095
big-code-analysis-cli/src/vcs_report.rs0.07213,550
big-code-analysis-py/src/lib.rs0.09223,545
src/metrics/abc/csharp.rs0.07741,751
big-code-analysis-py/src/batch.rs0.07452,608
big-code-analysis-ast/src/getter.rs0.09722,200
src/wire.rs0.07143,479
big-code-analysis-cli/src/html_report/sections.rs0.07133,389
big-code-analysis-cli/src/check_format.rs0.06042,685
big-code-analysis-cli/src/diff.rs0.06002,246
src/vcs/git/blame.rs0.07232,399
src/metrics/nexits.rs0.05302,025
big-code-analysis-py/src/node.rs0.06342,609
big-code-analysis-web/src/web/server/handlers.rs0.06253,117
src/metrics/cognitive.rs0.07362,215
big-code-analysis-py/src/types_codegen.rs0.08774,914
src/vcs/git/diff_parse.rs0.04952,021
big-code-analysis-cli/src/path_io.rs0.05012,333
src/metrics/abc.rs0.38621,901
big-code-analysis-py/src/vcs.rs1.95232,548
src/metrics/cyclomatic.rs2.06671,998
big-code-analysis-web/src/web/vcs.rs2.77362,519
src/metrics/elixir_decisions.rs3.04691,824
src/metrics/wmc.rs3.44611,347
src/vcs/options.rs3.54891,664
src/vcs/git/jit.rs3.65332,716

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)

FunctionFileLineCCCognitiveSLOCTokens
sanitize_identifierenums/src/common.rs25451769381
KotlinCode::computesrc/metrics/abc/kotlin.rs254205232335
RustCode::computesrc/metrics/abc/rust.rs159155114292
TclCode::computesrc/metrics/cognitive/tcl.rs1715586304
GroovyCode::get_op_typebig-code-analysis-ast/src/getter/groovy.rs100142171386
metric_doc_anchorbig-code-analysis-cli/src/markdown_report/hotspot.rs16614119163
Metric::fmtsrc/metric_set.rs18514118142
Metric::from_strsrc/metric_set.rs24614118180
csharp_walk_for_conditionssrc/metrics/abc/csharp.rs62614785276
RustCode::computesrc/metrics/cognitive/rust.rs1714462273
XmlAttr<'_>::fmtsrc/output/checkstyle.rs11714442159
PhpCode::get_op_typebig-code-analysis-ast/src/getter/php.rs311310305646
mainbig-code-analysis-bench/benches/scaling.rs47131288399
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs232131487350
FieldType::annotationbig-code-analysis-py/src/types_codegen.rs8213116174
negotiatebig-code-analysis-web/src/web/negotiate.rs100131353321
LuaCode::computesrc/metrics/abc/lua.rs11013583315
PythonCode::computesrc/metrics/cognitive/python.rs117131127280
RubyCode::computesrc/metrics/cognitive/ruby.rs30133132362
metrics_innersrc/spaces/compute.rs7301322230641
unquote_git_pathsrc/vcs/git/diff_parse.rs414131442340
replacebig-code-analysis-ast/src/c_macro.rs34612953382
PythonCode::get_op_typebig-code-analysis-ast/src/getter/python.rs40121294455
parse_argsbig-code-analysis-bench/src/cli.rs74121148285
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs88121099501
dispatch_actionbig-code-analysis-cli/src/dispatch.rs18012132336
legacy_hintbig-code-analysis-cli/src/lib.rs905121391522
classify_dropped_childbig-code-analysis-cli/src/walk.rs592121148223
vcs_error_kindbig-code-analysis-web/src/web/server/errors.rs32412121150
IrulesCode::computesrc/metrics/abc/irules.rs84121075323
java_walk_for_conditionssrc/metrics/abc/java.rs29812353233
PhpCode::computesrc/metrics/abc/php.rs162125120316
TclCode::computesrc/metrics/abc/tcl.rs192121070287
ruby_walk_class_bodysrc/metrics/npa/shared.rs378121449258
CppCode::computesrc/metrics/npm/cpp.rs12121292260
MozcppCode::computesrc/metrics/npm/mozcpp.rs12121292260
compute_per_nodesrc/spaces/compute.rs382121161448
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs189121346222
Getter::is_braced_literal_slotbig-code-analysis-ast/src/getter.rs66611951317
PerlCode::get_op_typebig-code-analysis-ast/src/getter/perl.rs21112231746
auto_quoted_key_rolebig-code-analysis-ast/src/getter/perl.rs31411153208
fills_script_slotbig-code-analysis-ast/src/lang_helpers/tcl_family.rs31211460236
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs8201110113327
classify_check_outcomebig-code-analysis-cli/src/commands/check/outcome.rs69111245161
run_command_diffbig-code-analysis-cli/src/commands/diff_cmd.rs57111255311
options_frombig-code-analysis-py/src/vcs.rs80111148376
options_frombig-code-analysis-web/src/web/vcs.rs180111149382
BashCode::computesrc/metrics/abc/bash.rs1711197288
GroovyCode::computesrc/metrics/cognitive/groovy.rs1711179253
IrulesCode::computesrc/metrics/cognitive/irules.rs1711169272

Average CC: 2.1 | Max: 45 | CC > 15: 2 functions | CC > 30: 1 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

FunctionFileLineCognitiveCCSLOCTokens
CorpusSlice::from_roots_withbig-code-analysis-bench/src/corpus.rs13617948265
run_with_budgetbig-code-analysis-bench/src/scaling.rs34017984454
sanitize_identifierenums/src/common.rs25174569381
greedy_truck_factorsrc/vcs/bus_factor.rs37515846270
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs232141387350
MetricDiff::from_setsbig-code-analysis-cli/src/metric_diff.rs26914958300
collect_leavesbig-code-analysis-cli/src/metric_diff.rs55214944283
csharp_switch_expression_arm_is_bare_discard::classify_patternsrc/metrics/cyclomatic.rs51214833115
ObjcCode::computesrc/metrics/npa/objc.rs56141044233
ObjcCode::computesrc/metrics/npm/objc.rs2214948197
unquote_git_pathsrc/vcs/git/diff_parse.rs414141342340
experience_featuressrc/vcs/git/jit.rs47814955333
legacy_hintbig-code-analysis-cli/src/lib.rs905131291522
VcsRepoCache::attachbig-code-analysis-py/src/batch.rs55513945264
negotiatebig-code-analysis-web/src/web/negotiate.rs100131353321
CsharpCode::computesrc/metrics/npa/csharp.rs1213957247
KotlinCode::computesrc/metrics/npa/kotlin.rs3313857213
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs189131246222
PythonCode::get_op_typebig-code-analysis-ast/src/getter/python.rs40121294455
mainbig-code-analysis-bench/benches/scaling.rs47121388399
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs117121071498
classify_check_outcomebig-code-analysis-cli/src/commands/check/outcome.rs69121145161
run_command_diffbig-code-analysis-cli/src/commands/diff_cmd.rs57121155311
dispatch_opsbig-code-analysis-cli/src/dispatch.rs41212836244
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
CppCode::computesrc/metrics/npa/cpp.rs12121064233
MozcppCode::computesrc/metrics/npa/mozcpp.rs12121064233
objc_count_instance_variablessrc/metrics/npa/objc.rs1812727188
CppCode::computesrc/metrics/npm/cpp.rs12121292260
MozcppCode::computesrc/metrics/npm/mozcpp.rs12121292260
classify_preproc_nodebig-code-analysis-ast/src/preproc.rs80411941268
parse_argsbig-code-analysis-bench/src/cli.rs74111248285
Baseline::from_strbig-code-analysis-cli/src/baseline.rs447118104361
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.rs57411852245
write_table_headbig-code-analysis-cli/src/html_report.rs14411848283
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs583111690357
expand_seed_pathsbig-code-analysis-cli/src/walk.rs40511878303
classify_dropped_childbig-code-analysis-cli/src/walk.rs592111248223
analyzebig-code-analysis-py/src/lib.rs28811774277
options_frombig-code-analysis-py/src/vcs.rs80111148376
options_frombig-code-analysis-web/src/web/vcs.rs180111149382
ConcurrentRunner<Config>::runsrc/concurrent_files.rs403111057285
go_count_unary_conditionssrc/metrics/abc/go.rs19011721117
GroovyCode::computesrc/metrics/npa/groovy.rs2211534188
GroovyCode::computesrc/metrics/npm/groovy.rs1911528147

Halstead effort hotspots (top 50 by Effort)

FunctionFileLineEffortVolumeEst. BugsSLOCTokens
runbig-code-analysis-cli/src/commands.rs103136,0013,6040.8889692
PerlCode::get_op_typebig-code-analysis-ast/src/getter/perl.rs21131,0015,4170.86231746
metrics_innersrc/spaces/compute.rs730121,1703,8130.82230641
RubyCode::get_op_typebig-code-analysis-ast/src/getter/ruby.rs21120,6435,5940.81294766
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs117118,2412,6680.8071498
run_with_budgetbig-code-analysis-bench/src/scaling.rs34095,7552,5810.7084454
PhpCode::get_op_typebig-code-analysis-ast/src/getter/php.rs3192,7124,5980.68305646
buildbig-code-analysis-ast/src/ast.rs25792,6482,2060.6889422
Accumulator::finalizesrc/vcs/stats.rs23889,2213,0490.6798503
Parser<T>::filtersbig-code-analysis-ast/src/parser.rs13587,3911,9500.6682392
metric_valuessrc/output/funcspace_row.rs3486,3046,0540.65143948
replacebig-code-analysis-ast/src/c_macro.rs34686,0552,1660.6553382
run_parsebig-code-analysis-web/src/web/server.rs10384,1522,2680.6490416
build_cachedsrc/vcs/git/cached.rs5878,7432,9240.61112498
ElixirCode::get_op_typebig-code-analysis-ast/src/getter/elixir.rs14276,8413,5750.60132525
unquote_git_pathsrc/vcs/git/diff_parse.rs41474,1171,8470.5942340
apply_percentilesrc/vcs/score.rs20071,4532,0470.5748367
ops_innersrc/ops.rs30170,9032,4280.5799442
step_normalbig-code-analysis-ast/src/c_macro.rs14870,2121,8420.5774330
edit_distance_with_cutoffbig-code-analysis-cli/src/threshold_suggestion.rs2870,1781,4590.5726297
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs8870,1052,8040.5799501
write_code_climatesrc/output/code_climate.rs7464,4992,4350.5457422
run_command_reportbig-code-analysis-cli/src/commands/report.rs563,9922,9750.5396516
run_checkbig-code-analysis-cli/src/commands/check.rs2263,7992,6030.53141462
compute_per_nodesrc/spaces/compute.rs38263,6462,4370.5361448
Baseline::from_strbig-code-analysis-cli/src/baseline.rs44761,9841,9990.52104361
PythonCode::get_op_typebig-code-analysis-ast/src/getter/python.rs4061,9002,9640.5294455
materialize_treebig-code-analysis-cli/src/diff.rs47760,5752,1400.5180426
closest_namesbig-code-analysis-cli/src/threshold_suggestion.rs7759,9851,7520.5139335
legacy_hintbig-code-analysis-cli/src/lib.rs90559,3522,5600.5191522
Accumulator::recordsrc/vcs/stats.rs15458,8781,7710.5046322
bench_corpusbig-code-analysis-bench/benches/metric_walk.rs7358,4132,0810.5075424
BashCode::get_op_typebig-code-analysis-ast/src/getter/bash.rs3457,3003,3270.50149493
CodeMetrics::fromsrc/wire.rs33755,8212,1260.4926414
Nesting::pairfuzz/src/nested.rs26554,5942,0660.4842506
write_aggregatebig-code-analysis-cli/src/commands/analyze.rs21154,5571,9800.4868379
history_featuressrc/vcs/git/jit.rs39154,1001,8460.4854319
PerlCode::computesrc/metrics/loc/perl.rs1751,9542,1780.4681363
options_frombig-code-analysis-web/src/web/vcs.rs18051,8462,0400.4649382
collect_eventssrc/vcs/git/history.rs4951,4872,1040.4669369
IrulesCode::get_op_typebig-code-analysis-ast/src/getter/irules.rs2251,4772,8010.46161430
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs58349,4431,7070.4590357
experience_featuressrc/vcs/git/jit.rs47849,0411,9450.4555333
sweep_orphansxtask/src/main.rs18148,8721,7540.4573354
replaysrc/vcs/replay.rs16548,7311,8740.4450338
negotiatebig-code-analysis-web/src/web/negotiate.rs10048,6211,6400.4453321
scoresrc/vcs/jit.rs26248,5861,7710.4450324
computesrc/vcs/bus_factor.rs19248,3221,9640.4455362
Getter::is_braced_literal_slotbig-code-analysis-ast/src/getter.rs66648,0101,6760.4451317
write_github_annotationsbig-code-analysis-cli/src/check_format.rs16748,0061,8090.4473335

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
PhpCode::get_op_typebig-code-analysis-ast/src/getter/php.rs313056461310
RubyCode::get_op_typebig-code-analysis-ast/src/getter/ruby.rs21294766101
TclCode::get_op_typebig-code-analysis-ast/src/getter/tcl.rs1724235084
csharp_count_token_conditionsrc/metrics/abc/csharp.rs385240223101
PerlCode::computesrc/metrics/abc/perl.rs505238700226
KotlinCode::computesrc/metrics/abc/kotlin.rs254232335205
PerlCode::get_op_typebig-code-analysis-ast/src/getter/perl.rs21231746112
metrics_innersrc/spaces/compute.rs7302306411322
ElixirCode::computesrc/metrics/abc/elixir.rs271198333165
CppCode::get_op_typebig-code-analysis-ast/src/getter/cpp.rs8919233982
CppCode::computesrc/metrics/abc/cpp.rs223177341183
BashCode::computesrc/metrics/loc/bash.rs1717725993
GroovyCode::get_op_typebig-code-analysis-ast/src/getter/groovy.rs100171386142
IrulesCode::get_op_typebig-code-analysis-ast/src/getter/irules.rs2216143084
BashCode::get_op_typebig-code-analysis-ast/src/getter/bash.rs3414949377
RubyCode::computesrc/metrics/abc/ruby.rs233146382167
ElixirCode::computesrc/metrics/cyclomatic/elixir.rs29143327188
metric_valuessrc/output/funcspace_row.rs3414394810
run_checkbig-code-analysis-cli/src/commands/check.rs2214146298
ElixirCode::get_op_typebig-code-analysis-ast/src/getter/elixir.rs14213252572
MozcppCode::computesrc/metrics/abc/mozcpp.rs21132341183
RubyCode::computesrc/metrics/cognitive/ruby.rs30132362133
GoCode::computesrc/metrics/abc/go.rs213131374177
PythonCode::computesrc/metrics/abc/python.rs169128328153
PythonCode::computesrc/metrics/cognitive/python.rs117127280131
KotlinCode::get_op_typebig-code-analysis-ast/src/getter/kotlin.rs27512434076
PhpCode::computesrc/metrics/abc/php.rs162120316125
CsharpCode::get_op_typebig-code-analysis-ast/src/getter/csharp.rs91119462106
groovy_count_token_conditionsrc/metrics/abc/groovy.rs24311818565
RustCode::computesrc/metrics/abc/rust.rs159114292155
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs8201133271110
CCode::computesrc/metrics/abc/c.rs20113299153
build_cachedsrc/vcs/git/cached.rs5811249888
Baseline::from_strbig-code-analysis-cli/src/baseline.rs447104361811
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs88995011210
ops_innersrc/ops.rs3019944258
csharp_count_token_branchsrc/metrics/abc/csharp.rs2869813342
CsharpCode::computesrc/metrics/cognitive/csharp.rs1798284101
Accumulator::finalizesrc/vcs/stats.rs2389850334
BashCode::computesrc/metrics/abc/bash.rs1797288111
PhpCode::computesrc/metrics/cognitive/php.rs1797289101
run_command_reportbig-code-analysis-cli/src/commands/report.rs59651697
JavaCode::get_op_typebig-code-analysis-ast/src/getter/java.rs8895401104
PythonCode::get_op_typebig-code-analysis-ast/src/getter/python.rs40944551212
PythonCode::computesrc/metrics/loc/python.rs179323696
extract_summaries_innerbig-code-analysis-cli/src/markdown_report.rs12892541510
CppCode::computesrc/metrics/npm/cpp.rs12922601212
MozcppCode::computesrc/metrics/npm/mozcpp.rs12922601212
legacy_hintbig-code-analysis-cli/src/lib.rs905915221213
Stats::clamp_line_sets_to_spansrc/metrics/loc.rs8539121032

Many parameters hotspots (top 50 by Args)

FunctionFileLineArgsSLOCTokens
PyVcsOptions::py_newbig-code-analysis-py/src/lib.rs6111536168
analyze_pathsbig-code-analysis-py/src/batch.rs6541162347
incremental_eventssrc/vcs/git/cached.rs179934236
analyze_batchbig-code-analysis-py/src/batch.rs377851239
analyzebig-code-analysis-py/src/lib.rs288874277
process_commitsrc/vcs/git/history.rs124864337
Alterator::get_ast_nodebig-code-analysis-ast/src/alterator.rs124717130
print_effective_configbig-code-analysis-cli/src/commands/check/effective_config.rs73731158
dispatch_metricsbig-code-analysis-cli/src/dispatch.rs357754313
dispatch_opsbig-code-analysis-cli/src/dispatch.rs412736244
write_table_classed_with_tooltipsbig-code-analysis-cli/src/html_report.rs126714130
write_table_corebig-code-analysis-cli/src/html_report.rs196746378
write_language_sectionbig-code-analysis-cli/src/html_report/sections.rs659755262
select_forbig-code-analysis-cli/src/markdown_report/hotspot.rs1020730195
vcs_trendbig-code-analysis-py/src/lib.rs758716119
compute_per_nodesrc/spaces/compute.rs382761448
compute_featuressrc/vcs/git/jit.rs164740255
Span::newbig-code-analysis-ast/src/ast.rs7261748
filter_by_baselinebig-code-analysis-cli/src/commands/check.rs596653281
EffectiveConfig::from_resolvedbig-code-analysis-cli/src/commands/check/effective_config.rs338618116
scaffold_baselinebig-code-analysis-cli/src/commands/init.rs118670344
dispatch_strip_commentsbig-code-analysis-cli/src/dispatch.rs449628163
dispatch_findbig-code-analysis-cli/src/dispatch.rs510638187
dispatch_countbig-code-analysis-cli/src/dispatch.rs553616117
write_table_with_tooltipsbig-code-analysis-cli/src/html_report.rs11361081
generate_html_report_with_vcsbig-code-analysis-cli/src/html_report.rs268674327
generate_report_with_vcsbig-code-analysis-cli/src/markdown_report.rs778649214
write_language_sectionbig-code-analysis-cli/src/markdown_report.rs999644224
assemble_globalsbig-code-analysis-cli/src/walk.rs43631196
vcs_rankbig-code-analysis-py/src/lib.rs719616102
record_threshold_breachesbig-code-analysis-py/src/sarif.rs551643190
open_func_spacesrc/spaces/compute.rs492624163
assemblesrc/vcs/git/cached.rs25861179
persistsrc/vcs/git/cached.rs283622113
experience_featuressrc/vcs/git/jit.rs478655333

Type hotspots (top 50 by WMC)

TypeFileLineWMCMethodsNPANPMSLOCTokens
PyNodebig-code-analysis-py/src/node.rs2895952003351,986
Getterbig-code-analysis-ast/src/getter.rs17457270197661,741
Node<'a>big-code-analysis-ast/src/node.rs11355420355521,728
Manifestbig-code-analysis-cli/src/manifest.rs4895420073231,270
BaselineDiffbig-code-analysis-cli/src/baseline_diff.rs1124517052241,440
Nestingfuzz/src/nested.rs18640402122891
LineSetsrc/metrics/loc/line_set.rs1143925092511,189
PerFunctionBlamesrc/vcs/git/blame.rs2553830043391,407
Baselinebig-code-analysis-cli/src/baseline.rs428351604266943
MetricDiffbig-code-analysis-cli/src/metric_diff.rs2483414062061,153
JavaCodebig-code-analysis-ast/src/getter/java.rs1332900208775
RubyClassBody<'a>src/metrics/npm/ruby.rs64311300124659
CppCodebig-code-analysis-ast/src/getter/cpp.rs2030600287781
MozcppCodebig-code-analysis-ast/src/getter/mozcpp.rs1830600175781
PerlCodebig-code-analysis-ast/src/getter/perl.rs10295002971,065
PyAstbig-code-analysis-py/src/ast.rs1052927002251,241
ElixirCodebig-code-analysis-ast/src/getter/elixir.rs3628700241951
Statssrc/metrics/loc.rs54828260264431,233
KotlinCodebig-code-analysis-ast/src/getter/kotlin.rs18727700276821
GroovyCodebig-code-analysis-ast/src/getter/groovy.rs2326500266679
PerlCodesrc/metrics/abc/perl.rs50426500240706
Trendsrc/vcs/trend.rs120261809160758
ExemptionsReportbig-code-analysis-cli/src/exemptions.rs10425801111798
CsharpCodebig-code-analysis-ast/src/getter/csharp.rs4924600237767
PhpCodebig-code-analysis-ast/src/getter/php.rs624600333744
Parser<T>big-code-analysis-ast/src/parser.rs104231300114562
Statssrc/metrics/abc.rs2052320020171797
CorpusSlicebig-code-analysis-bench/src/corpus.rs110221206138701
Statssrc/metrics/halstead.rs1542115015202545
Checkerbig-code-analysis-ast/src/checker.rs4072019019341686
ObjcCodebig-code-analysis-ast/src/getter/objc.rs4320500135603
PythonCodebig-code-analysis-ast/src/getter/python.rs3020500107521
AggregatedFormatbig-code-analysis-cli/src/check_format.rs562080349268
KotlinCodesrc/metrics/abc/kotlin.rs25320100234341
RustCodebig-code-analysis-ast/src/getter/rust.rs2419500102588
LanguageThresholdsbig-code-analysis-cli/src/threshold_lang.rs14819140899488
CppCodesrc/metrics/abc/cpp.rs22219200179347
MozcppCodesrc/metrics/abc/mozcpp.rs2019200134347
Statssrc/metrics/nargs.rs821917017147636
Statssrc/metrics/npa.rs831917017163537
Statssrc/metrics/npm.rs851917017163537
DiffFilesrc/vcs/git/diff_parse.rs1381950098379
Accumulatorsrc/vcs/stats.rs143191004194948
Ancestors<'tree, 'chain>big-code-analysis-ast/src/node.rs68218908160558
ThresholdSetbig-code-analysis-cli/src/thresholds.rs921181006209682
VcsRepoCachebig-code-analysis-py/src/batch.rs5201890081421
GoCodesrc/metrics/abc/go.rs21218200133380
ObjcCodesrc/metrics/abc/objc.rs331830091330
PythonCodesrc/metrics/abc/python.rs16818400130334
RubyCodesrc/metrics/abc/ruby.rs23218300148388

Exit points hotspots (top 50 by Exits)

FunctionFileLineExitsCCSLOCTokens
_nativebig-code-analysis-py/src/lib.rs84235149453
register_vcs_submodulebig-code-analysis-py/src/lib.rs90514121164
dump_ops_valuessrc/output/dump_ops.rs14012334220
build_cachedsrc/vcs/git/cached.rs58118112498
collect_touchedsrc/vcs/git/jit.rs20810158372
materialize_treebig-code-analysis-cli/src/diff.rs4779780426
dump_spacesrc/output/dump_metrics.rs1049339304
dump_spacesrc/output/dump_ops.rs759339301
process_commitsrc/vcs/git/history.rs1249864337
Report::fmtbig-code-analysis-bench/src/scaling.rs2028654323
PyAnalysisError::__repr__big-code-analysis-py/src/batch.rs1668120129
options_frombig-code-analysis-py/src/vcs.rs8081148376
options_frombig-code-analysis-web/src/web/vcs.rs18081149382
CodeMetrics::fmtsrc/spaces/code_metrics.rs338111153
collect_eventssrc/vcs/git/history.rs498769369
diff_collectsrc/vcs/git/history.rs1968156326
read_gatedbig-code-analysis-ast/src/tools.rs2817748258
write_checkstylesrc/output/checkstyle.rs457630228
collect_touched::<anon@L227>src/vcs/git/jit.rs2277735221
enumerate_target_filessrc/vcs/git/repo.rs1937144262
parse_iso8601src/vcs/options.rs41771050274
step_normalbig-code-analysis-ast/src/c_macro.rs14861574330
parse_argsbig-code-analysis-bench/src/cli.rs7461248285
parse_ls_tree_recordbig-code-analysis-cli/src/diff.rs5686216156
analyze_batchbig-code-analysis-py/src/batch.rs3776651239
PyNode::spanbig-code-analysis-py/src/node.rs3916112175
resolve_thresholdsbig-code-analysis-py/src/sarif.rs3376646288
collect_offendersbig-code-analysis-py/src/sarif.rs6326742289
python_self_attr_name_bytessrc/metrics/npa/python.rs2976425161
dump_metricssrc/output/dump_metrics.rs1486333217
parse_nativesrc/suppression.rs49861069311
PerFunctionBlame::opensrc/vcs/git/blame.rs2666142270
PerFunctionBlame::resolve_commitsrc/vcs/git/blame.rs5186339208
diff_collect::<anon@L213>src/vcs/git/history.rs2136435179
score_commitsrc/vcs/git/jit.rs676145271
experience_featuressrc/vcs/git/jit.rs4786955333
buildsrc/vcs/git/mod.rs516236209
mainbig-code-analysis-bench/benches/scaling.rs4751388399
dispatch_findbig-code-analysis-cli/src/dispatch.rs5105438187
dispatch_exemptionsbig-code-analysis-cli/src/dispatch.rs6915646200
write_tablebig-code-analysis-cli/src/vcs_command.rs4755438235
relative_tail_withbig-code-analysis-cli/src/walk_seed.rs1745726188
analyze_pathsbig-code-analysis-py/src/batch.rs6545362347
extract_as_ofbig-code-analysis-py/src/lib.rs5445314107
extract_line_numberbig-code-analysis-py/src/sarif.rs4265520133
compute_vcs_jitbig-code-analysis-web/src/web/vcs.rs5395221150
create_macros_fileenums/src/rust.rs875341264
dump_valuesrc/output/dump_metrics.rs2415218125
Ast::from_pathsrc/spaces/ast.rs1045117125
compute_featuressrc/vcs/git/jit.rs1645340255

ABC magnitude hotspots (top 50 by ABC)

FunctionFileLineABCSLOCTokens
metric_valuessrc/output/funcspace_row.rs34111.9143948
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.rs12839.292541
run_command_reportbig-code-analysis-cli/src/commands/report.rs539.196516
options_frombig-code-analysis-py/src/vcs.rs8037.648376
collect_eventssrc/vcs/git/history.rs4936.969369
PerlCode::computesrc/metrics/abc/perl.rs50536.6238700
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs8836.499501
run_with_budgetbig-code-analysis-bench/src/scaling.rs34036.084454
options_frombig-code-analysis-web/src/web/vcs.rs18035.949382
process_commitsrc/vcs/git/history.rs12435.664337
experience_featuressrc/vcs/git/jit.rs47835.555333
materialize_treebig-code-analysis-cli/src/diff.rs47735.380426
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs58334.190357
EffectiveCheck::from_resolvedbig-code-analysis-cli/src/commands/check/effective_config.rs27134.159423
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs11733.871498
ops_innersrc/ops.rs30131.899442
CodeMetrics::fromsrc/wire.rs33731.626414
unquote_git_pathsrc/vcs/git/diff_parse.rs41431.642340
run_check_walkbig-code-analysis-cli/src/commands/check.rs31430.176377
run_command_opsbig-code-analysis-cli/src/commands/analyze.rs28030.053393
scoresrc/vcs/jit.rs26229.650324
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs11329.390358
legacy_hintbig-code-analysis-cli/src/lib.rs90529.391522
rm_commentsbig-code-analysis-ast/src/comment_rm.rs8929.049283
build_trendsrc/vcs/git/trend.rs4228.850264
write_code_climatesrc/output/code_climate.rs7428.557422
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs23228.387350
create_macros_fileenums/src/rust.rs8728.241264
parse_iso8601src/vcs/options.rs41727.750274
Accumulator::finalizesrc/vcs/stats.rs23827.698503
read_gatedbig-code-analysis-ast/src/tools.rs28127.648258
ConcurrentRunner<Config>::runsrc/concurrent_files.rs40327.657285
dump_spacesrc/output/dump_metrics.rs10427.539304
dump_spacesrc/output/dump_ops.rs7527.539301
Baseline::from_strbig-code-analysis-cli/src/baseline.rs44727.5104361
parse_nativesrc/suppression.rs49827.469311
resolve_thresholdsbig-code-analysis-py/src/sarif.rs33727.246288
analyze_pathsbig-code-analysis-py/src/batch.rs65427.262347
Accumulator::recordsrc/vcs/stats.rs15427.146322
CodeMetrics::selectedsrc/wire.rs37327.122244
history_featuressrc/vcs/git/jit.rs39126.754319
dispatch_actionbig-code-analysis-cli/src/dispatch.rs18026.432336
language_display_namebig-code-analysis-cli/src/markdown_report.rs31326.439266
build_optionsbig-code-analysis-cli/src/vcs_command.rs23426.251352
parse_argsbig-code-analysis-bench/src/cli.rs7426.248285
register_vcs_submodulebig-code-analysis-py/src/lib.rs90526.121164
Parser<T>::filtersbig-code-analysis-ast/src/parser.rs13525.982392
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs18925.946222
Legend
MI
Maintainability Index (Visual Studio rescale, clamped to 0–100): composite of Halstead volume, cyclomatic complexity, and SLOC; 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.
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. "Type" covers all six kinds counted here: class, struct, trait, impl, interface, namespace.
Methods
Number of methods declared on the class.
NPA
Number of Public Attributes declared on the class.
NPM
Number of Public Methods declared on the class.
Exits
Number of exit points (returns, throws, breaks out of the function).
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 that are entirely comment.
Comment ratio
Comment ratio: comment lines as a percentage of source lines (CLOC / SLOC).

Change-history risk

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

RankFileRiskCommits (recent)Commits (long)Churn (recent)Churn (long)Authors (recent)Authors (long)OwnershipBurstBug fixesSec fixesRevertsAge (d)Last mod (d)Change entropy (recent)Change entropy (long)Co-change entropy (recent)Co-change entropy (long)Hotspot
1src/metrics/abc.rs12.38219414,23535,247230.800.4215800263049.05102.907.459.53754455.0
2src/metrics/halstead.rs12.18016010,45316,308220.820.5013100161049.7876.228.218.99439026.0
3src/metrics/loc.rs8.8401194,80721,479120.990.3490002632321.7448.547.378.75379753.0
4src/metrics/cognitive.rs8.7481523,28518,599230.930.3211800263020.7451.907.449.05203670.0
5big-code-analysis-ast/src/checker.rs7.420204,1384,138220.651.0017003007.147.148.088.08380696.0
6big-code-analysis-ast/src/getter.rs7.022222,6202,620220.681.0018003006.576.578.018.01165060.0
7src/metrics/nargs.rs6.931832,3657,866120.990.375500263239.4719.497.128.84364210.0
8src/metrics/cyclomatic.rs6.8201001,76414,678220.950.20760016108.5231.017.539.13100548.0
9big-code-analysis-bench/src/shapes.rs6.820201,7841,784220.801.0017007606.306.307.427.42132016.0
10src/metrics/npm.rs6.722901,6017,650111.000.246400161238.7726.338.369.6065641.0
11big-code-analysis-ast/src/macros/kind_sets.rs6.316162,8952,895220.621.0016003013.943.947.957.952895.0
12src/ops.rs6.024481,2292,088220.880.50370016106.0310.537.828.2328267.0
13src/metrics/abc/perl.rs5.926271,6331,940220.630.96230011406.306.427.036.98199226.0
14big-code-analysis-ast/src/node.rs5.9772,1652,165220.861.006003002.132.138.128.12268460.0
15utils/check-test-lang-gates-test.py5.8662,5642,564220.831.006002303.053.055.025.02435880.0
16utils/check-test-lang-gates.py5.8662,8702,870220.831.006002302.472.475.025.021618680.0
17src/metrics/npa.rs5.8169968010,230111.000.167100161232.9535.028.369.5930600.0
18src/metrics/abc/ruby.rs5.725271,1391,333220.590.93220011416.867.066.786.7053533.0
19src/metrics/abc/csharp.rs5.724251,4561,784220.720.96200011414.804.927.337.27125216.0
20big-code-analysis-cli/src/commands/check.rs5.725261,1021,715111.000.962100113256.366.686.997.02101384.0
21src/spaces/compute.rs5.626278811,408111.000.962100113266.126.307.527.5378409.0
22src/metrics/npa/shared.rs5.617191,5802,028220.630.89180011304.795.877.567.53200660.0
23src/metrics/nexits.rs5.59637034,606220.980.14400016103.5312.266.508.2964676.0
24src/metrics/wmc.rs5.59717505,018111.000.135100161232.8517.176.779.1261500.0
25src/suppression.rs5.411281,1882,891220.960.39200013943.868.787.457.87121176.0
26big-code-analysis-ast/src/alterator.rs5.4661,3971,397220.831.006003040.890.898.058.05170434.0
27big-code-analysis-cli/src/lib.rs5.41413749112,696111.000.1010420139422.5034.036.317.6234370.0
28src/macros/mod.rs5.315601,0403,409220.930.25440016112.9014.318.298.7510400.0
29big-code-analysis-cli/src/dispatch.rs5.217496481,745111.000.353010137423.258.146.227.7271280.0
30src/metrics/loc/line_set.rs5.277903903111.001.0060071262.632.635.605.6045150.0
31big-code-analysis-ast/src/getter/kotlin.rs5.299566566220.781.008003001.741.747.877.8735092.0
32big-code-analysis-cli/src/thresholds.rs5.211426022,947111.000.263500139313.6511.106.677.7369230.0
33src/spaces.rs5.213933278,386111.000.147010161302.9627.678.068.593924.0
34src/metrics/abc/cpp.rs5.116189271,258220.610.89150011403.063.157.357.2856547.0
35big-code-analysis-ast/src/langs.rs5.166813813220.671.003003001.131.138.238.23813.0
36big-code-analysis-cli/src/commands/check/explain.rs5.177846846111.001.0050069493.143.144.844.8446530.0
37big-code-analysis-cli/src/walk.rs5.114159771,371111.000.931100113424.064.236.356.4096723.0
38utils/check-rustfmt-bail.py5.055721721111.001.0040068302.852.858.018.0189404.0
39src/metrics/abc/elixir.rs5.015168731,099220.500.94130011402.702.787.247.1852380.0
40big-code-analysis-ast/src/getter/csharp.rs5.01010361361220.801.009003001.851.857.857.8512996.0
41src/metrics/nom.rs5.010603473,107111.000.174100161231.517.847.408.8610063.0
42src/output/dump.rs5.011335811,326111.000.332210161232.797.158.188.2818011.0
43src/metrics/abc/kotlin.rs4.91617678934220.650.94140011412.812.916.936.8632544.0
44src/metrics/abc/js_family.rs4.912139981,359220.620.92100011412.712.856.596.5148902.0
45big-code-analysis-ast/src/macros/mod.rs4.966636636220.671.006003010.120.128.008.008268.0
46fuzz/src/nested.rs4.966677677111.001.0030062282.522.526.016.0139943.0
47big-code-analysis-ast/src/lang_helpers/tcl_family.rs4.955676676220.601.005002842.122.124.184.1828392.0
48src/metrics/abc/java.rs4.813148151,145220.640.93110011412.452.576.746.6657050.0
49big-code-analysis-ast/src/getter/cpp.rs4.899360360220.891.009003000.830.837.827.8211880.0
50big-code-analysis-cli/src/formats.rs4.84417072,237111.000.103330161422.557.984.527.9690496.0

Bus factor

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

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

DirectoryBus factorFiles
.claude11
.claude/hooks11
.opencode11
.opencode/plugins11
big-code-analysis-ast1118
big-code-analysis-ast/src1118
big-code-analysis-bench17
big-code-analysis-bench/benches12
big-code-analysis-bench/src15
big-code-analysis-cli1106
big-code-analysis-cli/src180
big-code-analysis-cli/tests126
big-code-analysis-py149
big-code-analysis-py/examples110
big-code-analysis-py/python15
big-code-analysis-py/src112
big-code-analysis-py/tests121
big-code-analysis-web116
big-code-analysis-web/src115
big-code-analysis-web/tests11
enums114
enums/data12
enums/src18
enums/templates13
enums/tests11
fuzz113
fuzz/fuzz_targets111
fuzz/src12
generate-grammars13
scripts12
scripts/smoke12
src1236
src/macros11
src/metrics1148
src/output115
src/spaces15
src/vcs142
src/wire13
tests140
tests/api17
tests/common14
tests/corpus18
tests/grammars14
tests/output_formats12
tests/parity113
tests/vcs12
tree-sitter-ccomment14
tree-sitter-ccomment/bindings11
tree-sitter-ccomment/src13
tree-sitter-mozcpp14
tree-sitter-mozcpp/bindings11
tree-sitter-mozcpp/src13
tree-sitter-mozjs13
tree-sitter-mozjs/src13
tree-sitter-preproc14
tree-sitter-preproc/bindings11
tree-sitter-preproc/src13
tree-sitter-tcl15
tree-sitter-tcl/bindings12
tree-sitter-tcl/src13
utils138
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.