Code Quality Metrics Summary

Files analyzed: 431 Languages: Bash, Python, Rust

Total SLOC: 103,562 PLOC: 57,400 Comments: 39,215

Functions/methods: 4,599 Types: 678

Comment ratio: 37.9%

Actionable summary (all languages)

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

Per-language overview

Click a column header to sort any table.

LanguageFilesSLOCFunctionsAvg MIAvg CCAvg Cognitive
Bash121,4841526.12.21.7
Python3312,2626456.22.31.9
Rust38689,8163,93910.02.11.1

Bash

Summary

Files: 12 | SLOC: 1,484 | PLOC: 776 | Comment ratio: 33.3%

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

FileMISLOCTokens
utils/check-tools.sh7.93721,592
utils/check-enums-codegen-drift.sh25.2171582
utils/check-tools-test.sh28.5136484
utils/deploy-book-to-gh-pages.sh29.4126530
utils/gate-status-test.sh29.9129425
generate-grammars/generate-mozcpp.sh31.7122277
utils/check-grammars-crates.sh33.492352
scripts/smoke/cli_wheel_smoke.sh35.099235
generate-grammars/generate-mozjs.sh36.383208
utils/gate-status.sh37.492143
generate-grammars/generate-grammar.sh48.44328
recreate-grammars.sh58.21922

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.sh9691453266
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.sh9614953266
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.sh9623,0351,0040.2753266
check_release_toolsutils/check-tools.sh428,8534540.1421108
print_release_hintsutils/check-tools.sh649161310.031153
expect_containsutils/check-tools-test.sh38457840.02637
expect_equtils/check-tools-test.sh31379590.02632
expect_equtils/gate-status-test.sh31379590.02632
expect_absentutils/check-tools-test.sh45365780.02636
write_cargo_stubutils/check-tools-test.sh56267650.011932
failutils/check-tools-test.sh26161500.01420
failutils/gate-status-test.sh26161500.01420
run_release_onlyutils/check-tools-test.sh76133660.01434
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7996640.01427
run_gateutils/gate-status-test.sh3893470.01628
emit_make_transcriptutils/gate-status-test.sh6786380.01415
usageutils/check-tools.sh1179330.01413

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
diff_dirutils/check-enums-codegen-drift.sh9653266914
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.sh9620.253266
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: 33 | SLOC: 12,262 | PLOC: 7,218 | Comment ratio: 30.0%

Average MI (SLOC-weighted): 6.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-rustfmt-bail.py0.06482,912
utils/check-snapshot-anchors.py0.05782,492
utils/check-grammar-marker-sync-test.py0.01,0274,907
utils/check-grammar-marker-sync.py0.07212,677
utils/check-publish-metadata-test.py0.06024,589
utils/check-excluded-manifests-test.py0.06813,041
utils/check-ruff-lockstep-test.py2.25122,825
utils/check-diagnostic-prefix-test.py2.94412,453
utils/check-manpage-drift-test.py5.64702,605
utils/check-diagnostic-prefix.py6.13941,409
utils/check-excluded-manifests.py7.04421,484
utils/check-rustfmt-bail-test.py8.14232,377
utils/check-publish-metadata.py8.54051,490
utils/check-enums-codegen-drift-test.py9.94281,990
utils/worktree-setup-test.py10.63612,245
utils/check-ruff-lockstep.py10.73391,464
utils/check-grammar-crate.py12.54481,651
utils/check-versions.py12.63501,276
utils/check-snapshot-anchors-test.py13.53201,504
utils/verify-name-only-churn.py13.72761,326
utils/check-manpage-assets.py15.02701,220
utils/check-safety-doc-pin-test.py15.32811,337
utils/check-versions-test.py15.52471,235
utils/check-grammar-crate-test.py16.42121,012
utils/worktree-setup.py18.5227953
big-code-analysis-py/python/big_code_analysis/__init__.py22.5241615
utils/check-manpage-drift.py23.0225496
utils/check-safety-doc-pin.py23.3199686
big-code-analysis-py/python/big_code_analysis/_flatten.py23.9209526
scripts/smoke/lib_wheel_smoke.py25.7131663
enums/data/special.py39.452344
enums/data/mac.py40.748389
big-code-analysis-py/python/big_code_analysis/vcs.py45.95463

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_ignore_spansutils/check-rustfmt-bail.py190356884496
mainutils/check-manpage-assets.py1462941121706
find_macro_call_endutils/check-snapshot-anchors.py134254273304
_scan_literalsutils/check-diagnostic-prefix.py208223693322
scan_ignore_spansutils/check-snapshot-anchors.py231223682340
mainutils/check-versions.py266203981536
_update_sectionutils/check-grammar-marker-sync.py363192780336
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py114142136305
_scan_for_markerutils/check-grammar-marker-sync.py134142550167
_mk_langs_tuplesutils/check-grammar-crate-test.py77132535167
mainutils/check-grammar-marker-sync.py619131899483
mainutils/check-rustfmt-bail.py5301316115575
mainutils/check-snapshot-anchors.py487131788467
runutils/verify-name-only-churn.py137131950323
raw_string_endutils/check-diagnostic-prefix.py15811927155
raw_string_endutils/check-snapshot-anchors.py9411924155
write_baselineutils/check-grammar-marker-sync.py461101189394
read_pyproject_specifierutils/check-ruff-lockstep.py238101127230
probe_armsutils/check-rustfmt-bail.py293101047296
_self_testutils/verify-name-only-churn.py192101270422
char_literal_endutils/check-diagnostic-prefix.py12591431134
lints_table_problemutils/check-excluded-manifests.py24291134140
_strip_line_commentutils/check-grammar-crate-test.py5591320105
char_literal_endutils/check-snapshot-anchors.py4991443134
_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
auditutils/check-publish-metadata.py34581038229
edition_forutils/check-rustfmt-bail.py8781930152
char_literal_endutils/check-rustfmt-bail.py16081328121
discover_targetsutils/check-rustfmt-bail.py35981123131
mainutils/check-safety-doc-pin.py1448952299
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13571232225
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py16971541191
read_excluded_cratesutils/check-excluded-manifests.py1717819107
mainutils/check-excluded-manifests.py3967743186
load_baselineutils/check-grammar-marker-sync.py27071033189
mainutils/check-manpage-drift.py1797743158
read_lock_specifierutils/check-ruff-lockstep.py1807821117
load_baselineutils/check-rustfmt-bail.py4157814134
read_notesutils/check-rustfmt-bail.py4807926125
_showutils/check-rustfmt-bail.py50871120179
count_bare_in_sourceutils/check-snapshot-anchors.py33571129117
load_baselineutils/check-snapshot-anchors.py3927814134
CiRecipePinTest::test_real_ci_md_pins_are_at_a_published_releaseutils/check-versions-test.py1747171496
classifyutils/worktree-setup.py1367816157
mainutils/worktree-setup.py1857939177
_check_batch_never_raisesscripts/smoke/lib_wheel_smoke.py996019147
_dependency_entriesutils/check-excluded-manifests.py292672188

Average CC: 2.3 | Max: 35 | CC > 15: 7 functions | CC > 30: 1 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

FunctionFileLineCognitiveCCSLOCTokens
scan_ignore_spansutils/check-rustfmt-bail.py190683584496
find_macro_call_endutils/check-snapshot-anchors.py134422573304
mainutils/check-manpage-assets.py1464129121706
mainutils/check-versions.py266392081536
_scan_literalsutils/check-diagnostic-prefix.py208362293322
scan_ignore_spansutils/check-snapshot-anchors.py231362282340
_update_sectionutils/check-grammar-marker-sync.py363271980336
_mk_langs_tuplesutils/check-grammar-crate-test.py77251335167
_scan_for_markerutils/check-grammar-marker-sync.py134251450167
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py114211436305
edition_forutils/check-rustfmt-bail.py8719830152
runutils/verify-name-only-churn.py137191350323
mainutils/check-grammar-marker-sync.py619181399483
mainutils/check-snapshot-anchors.py487171388467
CiRecipePinTest::test_real_ci_md_pins_are_at_a_published_releaseutils/check-versions-test.py1741771496
mainutils/check-rustfmt-bail.py5301613115575
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py16915741191
char_literal_endutils/check-diagnostic-prefix.py12514931134
char_literal_endutils/check-snapshot-anchors.py4914943134
_strip_line_commentutils/check-grammar-crate-test.py5513920105
char_literal_endutils/check-rustfmt-bail.py16013828121
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13512732225
_self_testutils/verify-name-only-churn.py192121070422
discover_targetsutils/check-diagnostic-prefix.py8311821131
lints_table_problemutils/check-excluded-manifests.py24211934140
unpinned_grammar_depsutils/check-excluded-manifests.py33211822122
write_baselineutils/check-grammar-marker-sync.py461111089394
read_pyproject_specifierutils/check-ruff-lockstep.py238111027230
discover_targetsutils/check-rustfmt-bail.py35911823131
_showutils/check-rustfmt-bail.py50811720179
count_bare_in_sourceutils/check-snapshot-anchors.py33511729117
load_baselineutils/check-grammar-marker-sync.py27010733189
auditutils/check-publish-metadata.py34510838229
probe_armsutils/check-rustfmt-bail.py293101047296
raw_string_endutils/check-diagnostic-prefix.py15891127155
_asset_sourceutils/check-manpage-assets.py709835144
read_notesutils/check-rustfmt-bail.py4809726125
mainutils/check-safety-doc-pin.py1449852299
raw_string_endutils/check-snapshot-anchors.py9491124155
mainutils/worktree-setup.py1859739177
read_excluded_cratesutils/check-excluded-manifests.py1718719107
resolve_includeutils/check-publish-metadata.py2708623149
read_lock_specifierutils/check-ruff-lockstep.py1808721117
load_baselineutils/check-rustfmt-bail.py4158714134
has_preceding_anchorutils/check-snapshot-anchors.py319861479
load_baselineutils/check-snapshot-anchors.py3928714134
CiRecipePinTest::_stale_linesutils/check-versions-test.py12485779
classifyutils/worktree-setup.py1368716157
_dependency_entriesutils/check-excluded-manifests.py292762188
mainutils/check-excluded-manifests.py3967743186

Halstead effort hotspots (top 50 by Effort)

FunctionFileLineEffortVolumeEst. BugsSLOCTokens
scan_ignore_spansutils/check-rustfmt-bail.py190141,2842,1410.9084496
mainutils/check-manpage-assets.py14676,3462,4340.60121706
scan_ignore_spansutils/check-snapshot-anchors.py23164,1301,4250.5382340
find_macro_call_endutils/check-snapshot-anchors.py13459,6361,2870.5173304
_scan_literalsutils/check-diagnostic-prefix.py20858,7301,3390.5093322
_update_sectionutils/check-grammar-marker-sync.py36347,7351,3230.4480336
mainutils/check-versions.py26643,2861,9300.4181536
mainutils/check-rustfmt-bail.py53038,1822,4140.38115575
mainutils/check-snapshot-anchors.py48726,0201,8090.2988467
write_baselineutils/check-grammar-marker-sync.py46125,0221,3340.2989394
_self_testutils/verify-name-only-churn.py19224,9301,5870.2870422
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py11424,2761,2030.2836305
mainutils/check-grammar-marker-sync.py61920,8921,6450.2599483
raw_string_endutils/check-diagnostic-prefix.py15820,0715870.2527155
raw_string_endutils/check-snapshot-anchors.py9420,0715870.2524155
probe_armsutils/check-rustfmt-bail.py29317,2651,1300.2247296
_scan_for_markerutils/check-grammar-marker-sync.py13417,0957150.2250167
_make_fixtureutils/check-grammar-marker-sync-test.py5016,1898840.2150254
read_pyproject_specifierutils/check-ruff-lockstep.py23815,2957350.2127230
runutils/verify-name-only-churn.py13715,0561,0340.2050323
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13513,9288020.1932225
auditutils/check-publish-metadata.py34513,6087800.1938229
_mk_langs_tuplesutils/check-grammar-crate-test.py7712,9455800.1835167
mainutils/check-safety-doc-pin.py14412,9198250.1852299
char_literal_endutils/check-diagnostic-prefix.py12512,7894920.1831134
char_literal_endutils/check-snapshot-anchors.py4912,7894920.1843134
mainutils/check-grammar-crate.py32711,7061,6610.17118398
load_baselineutils/check-grammar-marker-sync.py27011,2436630.1733189
asset_basenamesutils/check-manpage-assets.py10711,0597730.1737251
char_literal_endutils/check-rustfmt-bail.py16011,0004400.1628121
compute_ci_metricsutils/check-grammar-crate.py17410,6538000.1646205
compute_metricsutils/check-grammar-crate.py22310,6238610.1642224
_read_currentutils/check-grammar-marker-sync.py56510,2005520.1642181
BaselineTest::test_pass_regress_and_ratchetutils/check-snapshot-anchors-test.py2529,9419170.1528267
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py1698,7966170.1441191
verify_pairutils/verify-name-only-churn.py1067,7884980.1316157
SuperprojectFixture::__init__utils/worktree-setup-test.py867,7858180.1326250
ManDirFixture::setUputils/check-manpage-drift-test.py1097,3118850.1321239
mainutils/check-excluded-manifests.py3967,2256020.1243186
edition_forutils/check-rustfmt-bail.py877,2205550.1230152
_showutils/check-rustfmt-bail.py5086,9835700.1220179
lints_table_problemutils/check-excluded-manifests.py2426,7984440.1234140
compare_metricsutils/check-grammar-crate.py2746,6817980.1251225
classifyutils/worktree-setup.py1366,5985550.1216157
unpinned_grammar_depsutils/check-excluded-manifests.py3326,5493910.1222122
resolve_includeutils/check-publish-metadata.py2706,3274260.1123149
_strip_line_commentutils/check-grammar-crate-test.py555,9793370.1120105
collect_countsutils/check-rustfmt-bail.py3985,9014610.1115139
MainTest::test_update_does_not_duplicate_a_drifted_headerutils/check-rustfmt-bail-test.py3665,8706920.1127206
run_cargoutils/check-publish-metadata.py1625,8434480.1119139

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
mainutils/check-manpage-assets.py1461217062941
mainutils/check-grammar-crate.py32711839821
mainutils/check-rustfmt-bail.py5301155751316
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.py48856321
scan_ignore_spansutils/check-rustfmt-bail.py190844963568
scan_ignore_spansutils/check-snapshot-anchors.py231823402236
mainutils/check-versions.py266815362039
_update_sectionutils/check-grammar-marker-sync.py363803361927
find_macro_call_endutils/check-snapshot-anchors.py134733042542
_self_testutils/verify-name-only-churn.py192704221012
mainutils/check-safety-doc-pin.py1445229989
compare_metricsutils/check-grammar-crate.py2745122510
_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.py293472961010
compute_ci_metricsutils/check-grammar-crate.py1744620544
mainutils/check-ruff-lockstep.py2904626454
read_markerutils/check-grammar-marker-sync.py1864413254
_self_testutils/check-snapshot-anchors.py4414419866
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
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py16941191715
mainutils/worktree-setup.py1853917779
auditutils/check-publish-metadata.py34538229810
asset_basenamesutils/check-manpage-assets.py1073725110
_derive_extensions_from_langs_rsutils/check-grammar-crate-test.py114363051421
_coerce_baseline_valueutils/check-grammar-marker-sync.py2323617367
module_doc_linesutils/check-safety-doc-pin.py68369533
_mk_langs_tuplesutils/check-grammar-crate-test.py77351671325
_asset_sourceutils/check-manpage-assets.py703514489
lints_table_problemutils/check-excluded-manifests.py24234140911
DriftGateTest::setUputils/check-enums-codegen-drift-test.py763315932
load_baselineutils/check-grammar-marker-sync.py27033189710
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13532225712
GitFailureTest::setUputils/check-manpage-drift-test.py3673217121
char_literal_endutils/check-diagnostic-prefix.py12531134914
GrammarMarkerSyncTest::test_metadata_key_does_not_shadow_real_markerutils/check-grammar-marker-sync-test.py283309010
edition_forutils/check-rustfmt-bail.py8730152819
GrammarMarkerSyncTest::test_update_with_last_body_line_lacking_newlineutils/check-grammar-marker-sync-test.py8842914410
count_bare_in_sourceutils/check-snapshot-anchors.py33529117711
scan_textutils/check-diagnostic-prefix.py303288746
GrammarMarkerSyncTest::test_update_preserves_per_section_commentsutils/check-grammar-marker-sync-test.py5922816310

Many parameters hotspots (top 50 by Args)

FunctionFileLineArgsSLOCTokens
_make_fixtureutils/check-grammar-marker-sync-test.py50650254

Type hotspots (top 50 by WMC)

TypeFileLineWMCMethodsNPANPMSLOCTokens
GrammarMarkerSyncTestutils/check-grammar-marker-sync-test.py12656521518984,478
ScanTextNonOffendersutils/check-diagnostic-prefix-test.py1203323023179874
LintsTableTestutils/check-excluded-manifests-test.py1982216016187746
DriftGateTestutils/check-enums-codegen-drift-test.py5721161162921,476
ScanTextOffendersutils/check-diagnostic-prefix-test.py541890964531
CiRecipePinTestutils/check-versions-test.py1211870775416
UnpinnedGrammarDepsTestutils/check-excluded-manifests-test.py3871514014132540
AuditTestutils/check-publish-metadata-test.py4191513412106928
PortedLexerHelpersutils/check-diagnostic-prefix-test.py3011370771464
CountBareTestutils/check-snapshot-anchors-test.py1031211011133419
MainTestutils/check-excluded-manifests-test.py5471110010113752
PreCommitRevTestutils/check-ruff-lockstep-test.py108111101167456
PyprojectSpecifierTestutils/check-ruff-lockstep-test.py309101001059413
MainTestutils/check-rustfmt-bail-test.py29010104101201,083
MetadataFieldsTestutils/check-publish-metadata-test.py94970741343
MainTestutils/check-ruff-lockstep-test.py393990988705
ClassifyTestutils/worktree-setup-test.py121992954498
MacroGeneratorPruneTestutils/check-enums-codegen-drift-test.py351865674368
ReadExcludedCratesTestutils/check-excluded-manifests-test.py80880862242
MissingWorkspaceTableTestutils/check-excluded-manifests-test.py144870752373
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
InternalVendoredPinTestutils/check-versions-test.py58861661272
ExtensionsSyncTestutils/check-grammar-crate-test.py152730332161
AnnotationTestutils/check-manpage-drift-test.py430750537286
ResolveIncludeTestutils/check-publish-metadata-test.py137760633373
CheckIncludeTestutils/check-publish-metadata-test.py172770734424
ProbeTestutils/check-rustfmt-bail-test.py219770748304
Mainutils/check-safety-doc-pin-test.py205770761414
MainOverSyntheticRootutils/check-diagnostic-prefix-test.py374650547373
GitFailureTestutils/check-manpage-drift-test.py359672569406
RealRepositoryTestutils/check-publish-metadata-test.py555630344207
LockVersionTestutils/check-ruff-lockstep-test.py190660639268
MainTestutils/worktree-setup-test.py225652587590
PinSuggestionTestutils/check-excluded-manifests-test.py521540424128
RequirementsVersionTestutils/check-ruff-lockstep-test.py271550536174
ChangelogReleaseTestutils/check-versions-test.py198551534246
AddedPageTestutils/check-manpage-drift-test.py196440452311
ModifiedPageTestutils/check-manpage-drift-test.py250440437278
MeasureListingTestutils/check-publish-metadata-test.py230440428251
PackagedSizeTestutils/check-publish-metadata-test.py260442430308
LockfileRemedyTestutils/check-publish-metadata-test.py309441444264
ClauseSetTestutils/check-ruff-lockstep-test.py370440421122
CharLiteralEndTestutils/check-rustfmt-bail-test.py153420227169
PinnedVersionutils/check-safety-doc-pin-test.py159440421130
CharLiteralEndTestutils/check-snapshot-anchors-test.py50420230184
RawStringEndTestutils/check-snapshot-anchors-test.py82420219145
RepositoryTestutils/check-snapshot-anchors-test.py302420215101

Exit points hotspots (top 50 by Exits)

FunctionFileLineExitsCCSLOCTokens
mainutils/check-rustfmt-bail.py530713115575
_asset_sourceutils/check-manpage-assets.py706835144
mainutils/check-manpage-assets.py146629121706
mainutils/check-snapshot-anchors.py48761388467
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
char_literal_endutils/check-diagnostic-prefix.py1254931134
mainutils/check-excluded-manifests.py3964743186
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.py1604828121
char_literal_endutils/check-snapshot-anchors.py494943134
_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
_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.py873830152
probe_armsutils/check-rustfmt-bail.py29331047296
pinned_versionutils/check-safety-doc-pin.py1153427142
raw_string_endutils/check-snapshot-anchors.py9431124155
normalizeutils/check-versions.py20034970
strip_headerutils/verify-name-only-churn.py68351291
runutils/verify-name-only-churn.py13731350323
gitutils/worktree-setup.py853424129
classifyutils/worktree-setup.py1363716157

ABC magnitude hotspots (top 50 by ABC)

FunctionFileLineABCSLOCTokens
scan_ignore_spansutils/check-rustfmt-bail.py19050.784496
mainutils/check-versions.py26646.981536
mainutils/check-rustfmt-bail.py53037.2115575
mainutils/check-manpage-assets.py14636.0121706
find_macro_call_endutils/check-snapshot-anchors.py13434.473304
scan_ignore_spansutils/check-snapshot-anchors.py23133.782340
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.336305
BaselineTest::test_pass_regress_and_ratchetutils/check-snapshot-anchors-test.py25226.928267
write_baselineutils/check-grammar-marker-sync.py46124.889394
auditutils/check-publish-metadata.py34523.938229
read_pyproject_specifierutils/check-ruff-lockstep.py23823.227230
mainutils/check-grammar-crate.py32721.9118398
mainutils/check-ruff-lockstep.py29020.146264
probe_armsutils/check-rustfmt-bail.py29319.847296
MainTest::test_update_does_not_duplicate_a_drifted_headerutils/check-rustfmt-bail-test.py36619.427206
_mk_langs_tuplesutils/check-grammar-crate-test.py7718.435167
compute_metricsutils/check-grammar-crate.py22317.942224
_scan_for_markerutils/check-grammar-marker-sync.py13417.750167
ManDirFixture::setUputils/check-manpage-drift-test.py10917.521239
mainutils/check-excluded-manifests.py39616.843186
_make_fixtureutils/check-grammar-marker-sync-test.py5016.150254
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13515.932225
compute_ci_metricsutils/check-grammar-crate.py17415.746205
mainutils/check-safety-doc-pin.py14415.752299
_synthetic_repoutils/check-safety-doc-pin-test.py18315.317191
resolve_includeutils/check-publish-metadata.py27014.823149
char_literal_endutils/check-diagnostic-prefix.py12514.631134
BaselineTest::test_zero_counts_are_omitted_from_the_written_baselineutils/check-snapshot-anchors-test.py28114.619161
char_literal_endutils/check-snapshot-anchors.py4914.643134
raw_string_endutils/check-diagnostic-prefix.py15814.527155
raw_string_endutils/check-snapshot-anchors.py9414.524155
_asset_sourceutils/check-manpage-assets.py7014.535144
_check_batch_never_raisesscripts/smoke/lib_wheel_smoke.py9913.919147
verify_pairutils/verify-name-only-churn.py10613.616157
count_bare_in_sourceutils/check-snapshot-anchors.py33513.229117
SuperprojectFixture::__init__utils/worktree-setup-test.py8613.226250
read_pre_commit_revutils/check-ruff-lockstep.py12513.126124
lints_table_problemutils/check-excluded-manifests.py24213.034140
pinned_versionutils/check-safety-doc-pin.py11513.027142
load_baselineutils/check-grammar-marker-sync.py27012.833189
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py16912.741191
compare_metricsutils/check-grammar-crate.py27412.651225
_coerce_baseline_valueutils/check-grammar-marker-sync.py23212.636173
edition_forutils/check-rustfmt-bail.py8712.430152

Rust

Summary

Files: 386 | SLOC: 89,816 | PLOC: 49,406 | Comment ratio: 39.0%

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

Actionable Summary

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

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

Maintainability Index hotspots (lowest 50 by MI)

FileMISLOCTokens
big-code-analysis-cli/src/markdown_report/hotspot.rs0.01,0684,887
src/metrics/nargs.rs0.08553,579
src/tools.rs0.08973,483
big-code-analysis-cli/src/thresholds.rs0.01,1403,913
big-code-analysis-cli/src/markdown_report.rs0.08744,304
big-code-analysis-cli/src/formats.rs0.07883,698
big-code-analysis-cli/src/vcs_command.rs0.08394,166
src/alterator.rs0.07333,840
src/node.rs0.09063,266
big-code-analysis-cli/src/walk.rs0.09503,150
big-code-analysis-cli/src/metric_diff.rs0.07613,481
big-code-analysis-cli/src/dispatch.rs0.07603,649
big-code-analysis-cli/src/commands/check.rs0.09723,440
src/preproc.rs0.07993,671
src/suppression.rs0.08102,562
src/spaces/compute.rs0.08682,954
big-code-analysis-cli/src/manifest.rs0.08142,795
big-code-analysis-cli/src/lib.rs0.01,0083,094
big-code-analysis-py/src/lib.rs0.09253,566
big-code-analysis-cli/src/vcs_report.rs0.07223,557
src/metrics/cognitive.rs0.08322,556
big-code-analysis-bench/src/shapes.rs0.01,1023,321
big-code-analysis-py/src/batch.rs0.07462,615
src/metrics/loc.rs0.07922,659
src/wire.rs0.07253,514
big-code-analysis-cli/src/baseline.rs0.08562,458
big-code-analysis-cli/src/html_report/sections.rs0.07133,389
big-code-analysis-py/src/sarif.rs0.07573,029
src/checker.rs0.08082,576
big-code-analysis-cli/src/check_format.rs0.06052,692
big-code-analysis-cli/src/diff.rs0.06022,261
src/vcs/git/blame.rs0.07252,414
src/metrics/npa/shared.rs0.05371,920
big-code-analysis-py/src/node.rs0.06342,609
src/metrics/nexits.rs0.05122,052
big-code-analysis-py/src/types_codegen.rs0.18754,908
big-code-analysis-web/src/web/server/handlers.rs0.16253,117
big-code-analysis-cli/src/path_io.rs0.25012,333
src/vcs/git/diff_parse.rs0.54972,036
big-code-analysis-py/src/vcs.rs2.45232,548
big-code-analysis-web/src/web/vcs.rs2.97372,526
src/metrics/wmc.rs3.34711,384
big-code-analysis-cli/src/baseline_diff.rs3.64562,430
src/vcs/options.rs3.74871,679
src/vcs/git/jit.rs4.15342,723
src/macros/mod.rs4.17933,240
src/c_macro.rs4.84081,729
src/metrics/npa.rs4.86111,859
big-code-analysis-web/src/web/server/errors.rs4.85051,784
big-code-analysis-cli/src/exemptions.rs4.94302,264

MI shown is the Visual Studio rescale (mi_visual_studio), clamped to 0–100: GOOD ≥ 20, MODERATE ≥ 10, else LOW. Large files commonly clamp to 0 — a property of the formula's range, not a meaningful score; rows are still ranked by the unclamped value so the order remains informative. The bca check gate may evaluate a different MI variant (mi.original or mi.sei), so its threshold is not directly comparable to this column.

Cyclomatic complexity hotspots (top 50 by CC)

FunctionFileLineCCCognitiveSLOCTokens
sanitize_identifierenums/src/common.rs25451769381
GoCode::computesrc/metrics/abc/go.rs94179122379
KotlinCode::computesrc/metrics/abc/kotlin.rs156165111307
RustCode::computesrc/metrics/abc/rust.rs127167125325
TclCode::computesrc/metrics/cognitive/tcl.rs1715586304
metric_doc_anchorbig-code-analysis-cli/src/markdown_report/hotspot.rs16614119163
Metric::fmtsrc/metric_set.rs18514118142
Metric::from_strsrc/metric_set.rs24614118180
XmlAttr<'_>::fmtsrc/output/checkstyle.rs11714442159
mainbig-code-analysis-bench/benches/scaling.rs47131288399
FieldType::annotationbig-code-analysis-py/src/types_codegen.rs8213116174
PhpCode::get_op_typesrc/getter/php.rs311310304646
RubyCode::computesrc/metrics/abc/ruby.rs21113575313
PythonCode::computesrc/metrics/cognitive/python.rs117131127280
RubyCode::computesrc/metrics/cognitive/ruby.rs30133132362
metrics_innersrc/spaces/compute.rs6271321207628
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
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs232121387350
legacy_hintbig-code-analysis-cli/src/lib.rs905121391522
vcs_error_kindbig-code-analysis-web/src/web/server/errors.rs32412121150
replacesrc/c_macro.rs34412953382
csharp_walk_for_conditionssrc/metrics/abc/csharp.rs22212749218
ElixirCode::computesrc/metrics/abc/elixir.rs134127108363
groovy_walk_for_conditionssrc/metrics/abc/groovy.rs21012737206
IrulesCode::computesrc/metrics/abc/irules.rs87121075327
perl_inspect_containersrc/metrics/abc/perl.rs55121972302
PerlCode::computesrc/metrics/abc/perl.rs243123126468
PythonCode::computesrc/metrics/abc/python.rs18512391230
ruby_inspect_containersrc/metrics/abc/ruby.rs47121972289
TclCode::computesrc/metrics/abc/tcl.rs230121073291
ElixirCode::computesrc/metrics/cyclomatic/elixir.rs15012887238
compute_per_nodesrc/spaces/compute.rs323121161448
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs189121346222
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs7991110113327
classify_check_outcomebig-code-analysis-cli/src/commands/check/outcome.rs69111245161
classify_dropped_childbig-code-analysis-cli/src/walk.rs592111148223
options_frombig-code-analysis-py/src/vcs.rs80111148376
options_frombig-code-analysis-web/src/web/vcs.rs180111149382
cpp_inspect_containersrc/metrics/abc/cpp.rs27111648242
csharp_inspect_containersrc/metrics/abc/csharp.rs18111558247
groovy_inspect_containersrc/metrics/abc/groovy.rs16111547241
java_inspect_containersrc/metrics/abc/java.rs18111560241
LuaCode::computesrc/metrics/abc/lua.rs11511762263
php_inspect_containersrc/metrics/abc/php.rs23111641243
GroovyCode::computesrc/metrics/cognitive/groovy.rs1711179253
IrulesCode::computesrc/metrics/cognitive/irules.rs1711165257
KotlinCode::computesrc/metrics/cognitive/kotlin.rs3611377266
RustCode::computesrc/metrics/cognitive/rust.rs1711452235

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

Cognitive complexity hotspots (top 50 by Cognitive)

FunctionFileLineCognitiveCCSLOCTokens
run_with_budgetbig-code-analysis-bench/src/scaling.rs34017984454
sanitize_identifierenums/src/common.rs25174569381
CorpusSlice::from_roots_withbig-code-analysis-bench/src/corpus.rs13615848265
csharp_inspect_containersrc/metrics/abc/csharp.rs18151158247
groovy_inspect_containersrc/metrics/abc/groovy.rs16151147241
java_inspect_containersrc/metrics/abc/java.rs18151160241
collect_leavesbig-code-analysis-cli/src/metric_diff.rs55214944283
go_inspect_containersrc/metrics/abc/go.rs2114934209
kotlin_inspect_containersrc/metrics/abc/kotlin.rs5714941201
rust_inspect_containersrc/metrics/abc/rust.rs3314934201
csharp_switch_expression_arm_is_bare_discard::classify_patternsrc/metrics/cyclomatic.rs44514833115
ObjcCode::computesrc/metrics/npa/objc.rs56141044233
ObjcCode::computesrc/metrics/npm/objc.rs2214948197
greedy_truck_factorsrc/vcs/bus_factor.rs37514746270
experience_featuressrc/vcs/git/jit.rs47814955333
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs232131287350
legacy_hintbig-code-analysis-cli/src/lib.rs905131291522
MetricDiff::from_setsbig-code-analysis-cli/src/metric_diff.rs26913858300
VcsRepoCache::attachbig-code-analysis-py/src/batch.rs55513945264
CsharpCode::computesrc/metrics/npa/csharp.rs1213857247
KotlinCode::computesrc/metrics/npa/kotlin.rs3313857213
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs189131246222
unquote_git_pathsrc/vcs/git/diff_parse.rs414131142340
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
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
CppCode::computesrc/metrics/npa/cpp.rs1212964233
MozcppCode::computesrc/metrics/npa/mozcpp.rs1212964233
objc_count_instance_variablessrc/metrics/npa/objc.rs1812727188
CppCode::computesrc/metrics/npm/cpp.rs12121192260
MozcppCode::computesrc/metrics/npm/mozcpp.rs12121192260
parse_argsbig-code-analysis-bench/src/cli.rs74111248285
Baseline::from_strbig-code-analysis-cli/src/baseline.rs446118104361
unchecked_summarybig-code-analysis-cli/src/commands/check/skipped.rs4811839244
warn_deprecated_aliasesbig-code-analysis-cli/src/deprecations.rs8411947221
write_table_headbig-code-analysis-cli/src/html_report.rs14411848283
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs583111690357
classify_dropped_childbig-code-analysis-cli/src/walk.rs592111148223
analyzebig-code-analysis-py/src/lib.rs28811774277
options_frombig-code-analysis-py/src/vcs.rs80111148376
negotiatebig-code-analysis-web/src/web/negotiate.rs100111053321
options_frombig-code-analysis-web/src/web/vcs.rs180111149382
ConcurrentRunner<Config>::runsrc/concurrent_files.rs403111057285
cpp_count_unary_conditionssrc/metrics/abc/cpp.rs12211721122
csharp_count_unary_conditionssrc/metrics/abc/csharp.rs7711629127
elixir_count_unary_conditionssrc/metrics/abc/elixir.rs7211728143
go_count_unary_conditionssrc/metrics/abc/go.rs6711725135

Halstead effort hotspots (top 50 by Effort)

FunctionFileLineEffortVolumeEst. BugsSLOCTokens
runbig-code-analysis-cli/src/commands.rs103136,0013,6040.8889692
metrics_innersrc/spaces/compute.rs627120,0103,7090.81207628
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs117118,8022,6800.8171498
RubyCode::get_op_typesrc/getter/ruby.rs2193,0434,9270.68132673
PhpCode::get_op_typesrc/getter/php.rs3192,7124,5980.68304646
run_with_budgetbig-code-analysis-bench/src/scaling.rs34090,8012,5290.6784454
PerlCode::get_op_typesrc/getter/perl.rs1789,0414,7170.66119649
run_parsebig-code-analysis-web/src/web/server.rs10382,4782,2230.6390416
replacesrc/c_macro.rs34482,0752,1340.6353382
metric_valuessrc/output/funcspace_row.rs3480,3516,0390.62143948
Accumulator::finalizesrc/vcs/stats.rs23879,5702,8430.6298503
build_cachedsrc/vcs/git/cached.rs4173,1802,8510.58112490
buildsrc/ast.rs23972,5811,8880.5870375
unquote_git_pathsrc/vcs/git/diff_parse.rs41471,4941,8360.5742340
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs8869,6082,7840.5699501
apply_percentilesrc/vcs/score.rs20068,4512,0290.5648367
ElixirCode::get_op_typesrc/getter/elixir.rs14268,4263,4500.56121505
ops_innersrc/ops.rs30167,6622,4270.5599442
edit_distance_with_cutoffbig-code-analysis-cli/src/threshold_suggestion.rs2866,7371,4350.5526297
step_normalsrc/c_macro.rs14666,5161,8050.5574330
run_checkbig-code-analysis-cli/src/commands/check.rs2263,6362,5970.53141462
run_command_reportbig-code-analysis-cli/src/commands/report.rs563,1132,9340.5396516
compute_per_nodesrc/spaces/compute.rs32363,0082,4130.5361448
write_code_climatesrc/output/code_climate.rs7460,5962,3690.5157422
materialize_treebig-code-analysis-cli/src/diff.rs47760,3902,1330.5180426
legacy_hintbig-code-analysis-cli/src/lib.rs90559,3522,5600.5191522
BashCode::get_op_typesrc/getter/bash.rs3159,1283,4340.5192505
Parser<T>::filterssrc/parser.rs18058,8611,6200.5069335
Baseline::from_strbig-code-analysis-cli/src/baseline.rs44658,4111,9490.50104361
Accumulator::recordsrc/vcs/stats.rs15456,2401,7650.4946322
closest_namesbig-code-analysis-cli/src/threshold_suggestion.rs7755,7861,7420.4939335
bench_corpusbig-code-analysis-bench/benches/metric_walk.rs7355,6432,0680.4975424
GoCode::computesrc/metrics/abc/go.rs9455,5772,0660.49122379
write_aggregatebig-code-analysis-cli/src/commands/analyze.rs21154,2111,9670.4868379
IrulesCode::get_op_typesrc/getter/irules.rs2053,7462,8510.47146437
history_featuressrc/vcs/git/jit.rs39152,5601,7940.4754319
PerlCode::computesrc/metrics/loc/perl.rs1752,1352,1710.4781365
options_frombig-code-analysis-web/src/web/vcs.rs18051,8462,0400.4649382
CodeMetrics::fromsrc/wire.rs33749,7902,0220.4526414
sweep_orphansxtask/src/main.rs18149,0511,7610.4573354
collect_eventssrc/vcs/git/history.rs4948,9282,0790.4569369
PythonCode::get_op_typesrc/getter/python.rs1648,3472,5450.4478394
write_github_annotationsbig-code-analysis-cli/src/check_format.rs16747,8341,8020.4473335
computesrc/vcs/bus_factor.rs19247,6951,9380.4455362
options_frombig-code-analysis-py/src/vcs.rs8047,6622,0050.4448376
PhpCode::computesrc/metrics/npa/php.rs1247,4931,5550.4461307
ObjcCode::computesrc/metrics/abc/objc.rs3347,3041,9100.4477346
collect_touchedsrc/vcs/git/jit.rs20847,2961,9740.4458372
negotiatebig-code-analysis-web/src/web/negotiate.rs10047,0221,6470.4353321
perl_inspect_containersrc/metrics/abc/perl.rs5546,7591,5710.4372302

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
PhpCode::get_op_typesrc/getter/php.rs313046461310
metrics_innersrc/spaces/compute.rs6272076281321
TclCode::get_op_typesrc/getter/tcl.rs1514935384
IrulesCode::get_op_typesrc/getter/irules.rs2014643784
metric_valuessrc/output/funcspace_row.rs3414394810
run_checkbig-code-analysis-cli/src/commands/check.rs2214146298
CppCode::computesrc/metrics/abc/cpp.rs145138333165
MozcppCode::computesrc/metrics/abc/mozcpp.rs19134333165
RubyCode::get_op_typesrc/getter/ruby.rs2113267361
RubyCode::computesrc/metrics/cognitive/ruby.rs30132362133
PythonCode::computesrc/metrics/cognitive/python.rs117127280131
PerlCode::computesrc/metrics/abc/perl.rs243126468123
RustCode::computesrc/metrics/abc/rust.rs127125325167
GoCode::computesrc/metrics/abc/go.rs94122379179
ElixirCode::get_op_typesrc/getter/elixir.rs14212150561
PerlCode::get_op_typesrc/getter/perl.rs1711964961
CCode::computesrc/metrics/abc/c.rs19114321165
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs7991133271110
build_cachedsrc/vcs/git/cached.rs4111249078
GroovyCode::get_op_typesrc/getter/groovy.rs8311130561
KotlinCode::computesrc/metrics/abc/kotlin.rs156111307165
ElixirCode::computesrc/metrics/abc/elixir.rs134108363127
Baseline::from_strbig-code-analysis-cli/src/baseline.rs446104361811
PhpCode::computesrc/metrics/abc/php.rs176100259103
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs88995011210
ops_innersrc/ops.rs3019944258
CsharpCode::computesrc/metrics/cognitive/csharp.rs1798284101
Accumulator::finalizesrc/vcs/stats.rs2389850334
run_command_reportbig-code-analysis-cli/src/commands/report.rs59651697
extract_summaries_innerbig-code-analysis-cli/src/markdown_report.rs12892551510
BashCode::get_op_typesrc/getter/bash.rs319250577
CppCode::computesrc/metrics/npm/cpp.rs12922601112
MozcppCode::computesrc/metrics/npm/mozcpp.rs12922601112
legacy_hintbig-code-analysis-cli/src/lib.rs905915221213
PythonCode::computesrc/metrics/abc/python.rs18591230123
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs1139035843
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs583903571611
run_parsebig-code-analysis-web/src/web/server.rs1039041676
PhpCode::computesrc/metrics/cognitive/php.rs1790271101
runbig-code-analysis-cli/src/commands.rs10389692183
mainbig-code-analysis-bench/benches/scaling.rs47883991312
apply_changed_only_innerbig-code-analysis-cli/src/commands/check.rs6928730046
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs232873501213
ElixirCode::computesrc/metrics/cyclomatic/elixir.rs15087238128
PythonCode::computesrc/metrics/loc/python.rs178728498
TclCode::computesrc/metrics/cognitive/tcl.rs1786304155
run_with_budgetbig-code-analysis-bench/src/scaling.rs34084454917
ElixirCode::computesrc/metrics/cognitive/elixir.rs668424393
MozjsCode::computesrc/metrics/loc/mozjs.rs178428884
ResolvedThreshold::violation_forbig-code-analysis-cli/src/thresholds.rs7808330665

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.rs162934236
analyze_batchbig-code-analysis-py/src/batch.rs377851239
analyzebig-code-analysis-py/src/lib.rs288874277
process_commitsrc/vcs/git/history.rs124864337
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.rs323761448
compute_featuressrc/vcs/git/jit.rs164740255
filter_by_baselinebig-code-analysis-cli/src/commands/check.rs591637221
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.rs492643190
Alterator::get_ast_nodesrc/alterator.rs9061480
Span::newsrc/ast.rs6961748
open_func_spacesrc/spaces/compute.rs433624163
assemblesrc/vcs/git/cached.rs24161179
persistsrc/vcs/git/cached.rs266622113
experience_featuressrc/vcs/git/jit.rs478655333

Type hotspots (top 50 by WMC)

TypeFileLineWMCMethodsNPANPMSLOCTokens
PyNodebig-code-analysis-py/src/node.rs2895952003351,986
Manifestbig-code-analysis-cli/src/manifest.rs4895420073231,270
BaselineDiffbig-code-analysis-cli/src/baseline_diff.rs1124517052241,440
Node<'a>src/node.rs10040340313791,209
PerFunctionBlamesrc/vcs/git/blame.rs2553830043391,407
Baselinebig-code-analysis-cli/src/baseline.rs427351604266943
MetricDiffbig-code-analysis-cli/src/metric_diff.rs2483314062061,153
Nestingfuzz/src/nested.rs16633402104770
PyAstbig-code-analysis-py/src/ast.rs1052927002251,241
LineSetsrc/metrics/loc/line_set.rs101292207174943
ElixirCodesrc/getter/elixir.rs3627700230931
ExemptionsReportbig-code-analysis-cli/src/exemptions.rs10425801111798
Trendsrc/vcs/trend.rs120251809160758
PhpCodesrc/getter/php.rs624600332744
Statssrc/metrics/loc.rs5112424024224872
KotlinCodesrc/getter/kotlin.rs12523600187657
Statssrc/metrics/abc.rs1892320020171797
CorpusSlicebig-code-analysis-bench/src/corpus.rs110211206138701
Statssrc/metrics/halstead.rs1432115015202545
AggregatedFormatbig-code-analysis-cli/src/check_format.rs562080349268
CppCodesrc/getter/cpp.rs720400139573
MozcppCodesrc/getter/mozcpp.rs720400118573
LanguageThresholdsbig-code-analysis-cli/src/threshold_lang.rs14819140899488
Checkersrc/checker.rs3171918018215562
ObjcCodesrc/metrics/abc/objc.rs321930079352
Statssrc/metrics/npa.rs831917017163537
Statssrc/metrics/npm.rs841917017163537
Parser<T>src/parser.rs11619900134597
DiffFilesrc/vcs/git/diff_parse.rs1381950098379
Accumulatorsrc/vcs/stats.rs143191004194948
ThresholdSetbig-code-analysis-cli/src/thresholds.rs918181006210689
VcsRepoCachebig-code-analysis-py/src/batch.rs5201890081421
PythonCodesrc/getter/python.rs61850093482
CCodesrc/metrics/abc/c.rs1818300116327
CppCodesrc/metrics/abc/cpp.rs14418300140339
GoCodesrc/metrics/abc/go.rs9318200124385
MozcppCodesrc/metrics/abc/mozcpp.rs1818300136339
RustCodesrc/metrics/abc/rust.rs12618300127331
Statssrc/metrics/nargs.rs821816016129606
Errorsrc/vcs/error.rs2031810044343
CodeMetricssrc/wire.rs33618150028428
SharedLayers<'a>big-code-analysis-cli/src/commands/check/thresholds.rs312171100113581
GroovyCodesrc/getter/groovy.rs617400199552
JavaCodesrc/getter/java.rs617400124509
RustCodesrc/getter/rust.rs61740092522
KotlinCodesrc/metrics/abc/kotlin.rs15517200113313
Statssrc/metrics/nom.rs861715015132580
Ancestors<'tree, 'chain>src/node.rs49617908146526
Violationbig-code-analysis-cli/src/thresholds.rs56016100494454
RustCodesrc/checker/rust.rs6161000118569

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.rs14012234220
build_cachedsrc/vcs/git/cached.rs41117112490
collect_touchedsrc/vcs/git/jit.rs20810158372
materialize_treebig-code-analysis-cli/src/diff.rs4779680426
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
write_checkstylesrc/output/checkstyle.rs457530228
read_gatedsrc/tools.rs2807748258
collect_touched::<anon@L227>src/vcs/git/jit.rs2277635221
enumerate_target_filessrc/vcs/git/repo.rs1277144262
parse_iso8601src/vcs/options.rs41371050274
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.rs2786546288
collect_offendersbig-code-analysis-py/src/sarif.rs5596642289
step_normalsrc/c_macro.rs14661574330
python_self_attr_name_bytessrc/metrics/npa/python.rs2976425161
dump_metricssrc/output/dump_metrics.rs1486233217
parse_nativesrc/suppression.rs4986869311
PerFunctionBlame::opensrc/vcs/git/blame.rs2666142270
PerFunctionBlame::resolve_commitsrc/vcs/git/blame.rs5186339208
diff_collect::<anon@L213>src/vcs/git/history.rs2136335179
score_commitsrc/vcs/git/jit.rs676145271
experience_featuressrc/vcs/git/jit.rs4786955333
buildsrc/vcs/git/mod.rs516136209
mainbig-code-analysis-bench/benches/scaling.rs4751388399
dispatch_findbig-code-analysis-cli/src/dispatch.rs5105338187
dispatch_exemptionsbig-code-analysis-cli/src/dispatch.rs6915446200
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.rs3675320133
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.rs1015117125
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.rs12840.192551
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
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs8836.199501
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
EffectiveCheck::from_resolvedbig-code-analysis-cli/src/commands/check/effective_config.rs27134.159423
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs11733.871498
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs58333.690357
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.rs28029.853393
scoresrc/vcs/jit.rs26229.650324
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs11329.390358
rm_commentssrc/comment_rm.rs8729.049286
legacy_hintbig-code-analysis-cli/src/lib.rs90528.991522
build_trendsrc/vcs/git/trend.rs4228.850264
write_code_climatesrc/output/code_climate.rs7428.557422
create_macros_fileenums/src/rust.rs8728.241264
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs23227.987350
parse_iso8601src/vcs/options.rs41327.750274
Accumulator::finalizesrc/vcs/stats.rs23827.698503
ConcurrentRunner<Config>::runsrc/concurrent_files.rs40327.657285
read_gatedsrc/tools.rs28027.648258
dump_spacesrc/output/dump_metrics.rs10427.539304
dump_spacesrc/output/dump_ops.rs7527.539301
Baseline::from_strbig-code-analysis-cli/src/baseline.rs44627.5104361
parse_nativesrc/suppression.rs49827.469311
resolve_thresholdsbig-code-analysis-py/src/sarif.rs27827.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
register_vcs_submodulebig-code-analysis-py/src/lib.rs90526.121164
Parser<T>::filterssrc/parser.rs18025.969335
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs18925.946222
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs79925.9113327
parse_argsbig-code-analysis-bench/src/cli.rs7425.748285
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/cognitive.rs9.3581378,70817,601120.990.42105002201823.9747.208.918.96635684.0
2src/metrics/abc.rs8.8471328,93822,450120.990.36101002201819.1265.009.459.50330706.0
3src/metrics/loc.rs8.74910010,26318,540120.990.497400220018.5738.958.048.64759462.0
4src/metrics/halstead.rs8.7481066,0009,160111.000.458100119021.7743.118.658.64240000.0
5big-code-analysis-cli/src/lib.rs8.7801376,70212,696111.000.581042096022.6534.037.677.62469140.0
6src/metrics/nargs.rs7.446805,1467,427120.990.5752002202210.9217.598.558.77756462.0
7big-code-analysis-cli/src/commands.rs7.462885,0897,843111.000.706710942614.8123.677.517.31193382.0
8src/node.rs7.441632,7212,950240.920.6550012201714.4216.147.887.92291147.0
9src/metrics/cyclomatic.rs7.332916,32713,557111.000.356700119188.9227.149.029.05297369.0
10src/checker.rs7.334943,8908,595120.990.367000220011.7324.997.978.19256740.0
11src/wire.rs7.120203,2603,260111.001.00151083287.487.489.749.74231460.0
12src/spaces.rs7.041904,7258,336111.000.4669101192511.2227.497.888.2456700.0
13big-code-analysis-cli/src/markdown_report.rs6.940602,2415,440111.000.674100962511.7415.507.467.59277884.0
14big-code-analysis-cli/src/html_report.rs6.934474,0957,191111.000.723210962511.7016.237.377.48122850.0
15big-code-analysis-web/src/web/server.rs6.937623,7536,840111.000.6046201192112.7217.177.377.9571307.0
16big-code-analysis-cli/src/vcs_command.rs6.933331,5061,506111.001.00274081286.166.168.718.71170178.0
17src/metrics/npa.rs6.933923,4899,827111.000.366800119247.2134.039.189.39157005.0
18src/metrics/npm.rs6.935822,6546,762111.000.43590011908.2622.609.179.39108814.0
19big-code-analysis-cli/src/vcs_report.rs6.819192,0312,031111.001.00140081727.367.368.858.85160449.0
20big-code-analysis-cli/src/markdown_report/hotspot.rs6.820202,0862,086111.001.00120086257.457.457.237.23279524.0
21big-code-analysis-cli/src/commands/check.rs6.725251,6801,680111.001.0020007006.666.666.726.72144480.0
22src/vcs/git/jit.rs6.516162,4882,488111.001.00161081196.416.416.896.89119424.0
23src/getter.rs6.325833,6066,345120.990.30650022005.8919.147.918.2768514.0
24src/spaces/compute.rs6.321211,1661,166111.001.0016007005.085.087.557.5596778.0
25big-code-analysis-web/src/web/vcs.rs6.218181,1491,149111.001.00162081724.214.218.708.7043662.0
26big-code-analysis-cli/src/metric_diff.rs6.11919935935111.001.00150089195.535.537.147.14100980.0
27big-code-analysis-py/src/vcs.rs6.12121947947111.001.00181081724.014.018.708.7060608.0
28big-code-analysis-cli/src/dispatch.rs6.143491,2031,745111.000.8830109407.058.147.757.72123909.0
29big-code-analysis-bench/src/shapes.rs6.012121,3541,354111.001.00100033284.454.457.397.3970408.0
30big-code-analysis-cli/src/walk_seed.rs6.01616727727111.001.00150089256.386.387.097.0938531.0
31big-code-analysis-cli/src/walk.rs6.015151,3711,371111.001.0011007004.234.236.406.40130245.0
32src/metrics/wmc.rs5.921671,1304,603111.000.31480011903.2716.118.719.0692660.0
33src/metrics/nexits.rs5.922591,9784,349111.000.37370011902.9310.497.338.17181976.0
34src/suppression.rs5.923261,6462,869111.000.88180096266.268.557.647.66164600.0
35big-code-analysis-py/src/types_codegen.rs5.810101,4871,487111.001.0080079242.312.319.789.7850558.0
36big-code-analysis-cli/src/thresholds.rs5.824411,1192,932111.000.59340096196.3811.017.567.62128685.0
37src/macros/mod.rs5.827539482,498111.000.513800119246.1412.917.868.3620856.0
38src/ops.rs5.825401,3531,695111.000.62300011905.198.507.858.0531119.0
39src/metrics/nom.rs5.825581,5963,025111.000.434000119182.157.768.668.8146284.0
40src/tools.rs5.723517562,324120.980.45350022005.8812.517.007.59102060.0
41big-code-analysis-py/src/lib.rs5.524391,0251,551111.000.62351096194.186.797.247.2063550.0
42big-code-analysis-cli/src/formats.rs5.518419722,237111.000.44333011903.697.987.477.96123444.0
43src/langs.rs5.522367611,058111.000.611700119215.767.507.357.51761.0
44src/c_declarator.rs5.41313801801111.001.0050023224.674.673.333.3314418.0
45src/output/dump_metrics.rs5.417221,3771,434111.000.771810119284.214.859.059.1633048.0
46big-code-analysis-cli/src/manifest.rs5.420288311,293111.000.71250091195.076.587.367.2074790.0
47src/preproc.rs5.417281,4361,993111.000.61190096193.655.477.087.21132112.0
48src/output/dump.rs5.318308381,308111.000.602010119274.637.137.057.5125978.0
49big-code-analysis-cli/src/baseline.rs5.315318723,430111.000.48200096194.009.407.377.2658424.0
50src/vcs/options.rs5.21111548548111.001.00111081192.572.577.087.0838908.0

Bus factor

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

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

DirectoryBus factorFiles
.claude11
.claude/hooks11
.opencode11
.opencode/plugins11
big-code-analysis-bench17
big-code-analysis-bench/benches12
big-code-analysis-bench/src15
big-code-analysis-cli1105
big-code-analysis-cli/src180
big-code-analysis-cli/tests125
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-web115
big-code-analysis-web/src114
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
src1328
src/c_langs_macros13
src/checker125
src/getter125
src/languages126
src/macros12
src/metrics1141
src/node11
src/output115
src/spaces16
src/vcs142
src/wire13
tests121
tests/api12
tests/common14
tests/corpus13
tests/grammars11
tests/output_formats11
tests/parity19
tests/vcs11
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
utils134
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.