Code Quality Metrics Summary

Files analyzed: 350 Languages: Bash, Python, Rust

Total SLOC: 73,560 PLOC: 43,211 Comments: 25,634

Functions/methods: 3,302 Types: 545

Comment ratio: 34.8%

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
Bash4381231.45.07.0
Python46321425.73.82.6
Rust34272,5473,28611.62.21.3

Bash

Summary

Files: 4 | SLOC: 381 | PLOC: 166 | Comment ratio: 43.3%

Average MI (SLOC-weighted): 31.4 (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
check-enums-codegen-drift.sh25.2171581
check-grammars-crates.sh33.492352
scripts/smoke/cli_wheel_smoke.sh35.099235
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_dircheck-enums-codegen-drift.sh9691453266
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7910427

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

Cognitive complexity hotspots (top 50 by Cognitive)

FunctionFileLineCognitiveCCSLOCTokens
diff_dircheck-enums-codegen-drift.sh9614953266

Halstead effort hotspots (top 50 by Effort)

FunctionFileLineEffortVolumeEst. BugsSLOCTokens
diff_dircheck-enums-codegen-drift.sh9623,0351,0040.2753266
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7996640.01427

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
diff_dircheck-enums-codegen-drift.sh9653266914
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh7942710

ABC magnitude hotspots (top 50 by ABC)

FunctionFileLineABCSLOCTokens
diff_dircheck-enums-codegen-drift.sh9621.153266
extract_cyclomatic_sumscripts/smoke/cli_wheel_smoke.sh792.0427

Python

Summary

Files: 4 | SLOC: 632 | PLOC: 282 | Comment ratio: 47.6%

Average MI (SLOC-weighted): 25.7 (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
big-code-analysis-py/python/big_code_analysis/__init__.py22.5241615
big-code-analysis-py/python/big_code_analysis/_flatten.py24.1206526
scripts/smoke/lib_wheel_smoke.py25.7131663
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
_check_flatten_spacesscripts/smoke/lib_wheel_smoke.py76849128
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13271232225
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py16671541191
_check_batch_never_raisesscripts/smoke/lib_wheel_smoke.py996019147
_check_sarifscripts/smoke/lib_wheel_smoke.py875110120
_check_package_loadedscripts/smoke/lib_wheel_smoke.py3940853
_check_analyze_sourcescripts/smoke/lib_wheel_smoke.py61401387
supported_languagesbig-code-analysis-py/python/big_code_analysis/__init__.py10321928
language_for_filebig-code-analysis-py/python/big_code_analysis/__init__.py114212656
language_for_extensionbig-code-analysis-py/python/big_code_analysis/__init__.py142211137
flatten_spacesbig-code-analysis-py/python/big_code_analysis/_flatten.py48218263
_check_language_resolutionscripts/smoke/lib_wheel_smoke.py49201052
language_extensionsbig-code-analysis-py/python/big_code_analysis/__init__.py155101327
mainscripts/smoke/lib_wheel_smoke.py12010839

Average CC: 3.8 | Max: 8 | CC > 15: 0 functions | CC > 30: 0 functions (excluding suppressed functions)

Cognitive complexity hotspots (top 50 by Cognitive)

FunctionFileLineCognitiveCCSLOCTokens
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py16615741191
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13212732225
_check_flatten_spacesscripts/smoke/lib_wheel_smoke.py76489128
supported_languagesbig-code-analysis-py/python/big_code_analysis/__init__.py10312928
language_for_filebig-code-analysis-py/python/big_code_analysis/__init__.py114122656
language_for_extensionbig-code-analysis-py/python/big_code_analysis/__init__.py142121137
flatten_spacesbig-code-analysis-py/python/big_code_analysis/_flatten.py48128263
_check_sarifscripts/smoke/lib_wheel_smoke.py871510120

Halstead effort hotspots (top 50 by Effort)

FunctionFileLineEffortVolumeEst. BugsSLOCTokens
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13213,9288020.1932225
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py1668,7966170.1441191
_check_batch_never_raisesscripts/smoke/lib_wheel_smoke.py995,1394760.1019147
_check_flatten_spacesscripts/smoke/lib_wheel_smoke.py763,6923430.089128
_check_sarifscripts/smoke/lib_wheel_smoke.py872,0882960.0510120
language_for_filebig-code-analysis-py/python/big_code_analysis/__init__.py1142,0681880.052656
_check_analyze_sourcescripts/smoke/lib_wheel_smoke.py611,3452160.041387
language_for_extensionbig-code-analysis-py/python/big_code_analysis/__init__.py1421,1471040.041137
_check_language_resolutionscripts/smoke/lib_wheel_smoke.py499961470.031052
flatten_spacesbig-code-analysis-py/python/big_code_analysis/_flatten.py489101520.038263
_check_package_loadedscripts/smoke/lib_wheel_smoke.py396861210.03853
language_extensionsbig-code-analysis-py/python/big_code_analysis/__init__.py155311590.021327
mainscripts/smoke/lib_wheel_smoke.py120241830.01839
supported_languagesbig-code-analysis-py/python/big_code_analysis/__init__.py103232480.01928

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
flatten_spacesbig-code-analysis-py/python/big_code_analysis/_flatten.py48826321
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py16641191715
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13232225712
language_for_filebig-code-analysis-py/python/big_code_analysis/__init__.py114265621
_check_batch_never_raisesscripts/smoke/lib_wheel_smoke.py991914760
language_extensionsbig-code-analysis-py/python/big_code_analysis/__init__.py155132710
_check_analyze_sourcescripts/smoke/lib_wheel_smoke.py61138740
language_for_extensionbig-code-analysis-py/python/big_code_analysis/__init__.py142113721
_check_language_resolutionscripts/smoke/lib_wheel_smoke.py49105220
_check_sarifscripts/smoke/lib_wheel_smoke.py871012051
supported_languagesbig-code-analysis-py/python/big_code_analysis/__init__.py10392821
_check_flatten_spacesscripts/smoke/lib_wheel_smoke.py76912884
_check_package_loadedscripts/smoke/lib_wheel_smoke.py3985340
mainscripts/smoke/lib_wheel_smoke.py12083910

ABC magnitude hotspots (top 50 by ABC)

FunctionFileLineABCSLOCTokens
_walkbig-code-analysis-py/python/big_code_analysis/_flatten.py13215.932225
_check_batch_never_raisesscripts/smoke/lib_wheel_smoke.py9913.919147
_flatten_metricsbig-code-analysis-py/python/big_code_analysis/_flatten.py16612.241191
_check_sarifscripts/smoke/lib_wheel_smoke.py8710.910120
_check_flatten_spacesscripts/smoke/lib_wheel_smoke.py768.89128
mainscripts/smoke/lib_wheel_smoke.py1207.1839
_check_analyze_sourcescripts/smoke/lib_wheel_smoke.py615.71387
_check_language_resolutionscripts/smoke/lib_wheel_smoke.py494.61052
_check_package_loadedscripts/smoke/lib_wheel_smoke.py394.5853
flatten_spacesbig-code-analysis-py/python/big_code_analysis/_flatten.py484.18263
language_for_filebig-code-analysis-py/python/big_code_analysis/__init__.py1143.02656
language_for_extensionbig-code-analysis-py/python/big_code_analysis/__init__.py1423.01137
supported_languagesbig-code-analysis-py/python/big_code_analysis/__init__.py1032.0928
language_extensionsbig-code-analysis-py/python/big_code_analysis/__init__.py1551.01327

Rust

Summary

Files: 342 | SLOC: 72,547 | PLOC: 42,763 | Comment ratio: 34.7%

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

Actionable Summary

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

Raw counts across all functions; the hotspot tables hide suppressed rows (cyclomatic: 5, cognitive: 2, halstead: 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.09874,522
big-code-analysis-cli/src/markdown_report.rs0.08834,414
big-code-analysis-cli/src/baseline.rs0.01,0803,359
big-code-analysis-cli/src/thresholds.rs0.09083,486
big-code-analysis-cli/src/vcs_command.rs0.08154,170
src/alterator.rs0.07283,848
src/tools.rs0.07673,159
src/metrics/nargs.rs0.05522,595
big-code-analysis-cli/src/manifest.rs0.07602,691
big-code-analysis-cli/src/formats.rs0.06062,977
big-code-analysis-py/src/lib.rs0.09133,546
big-code-analysis-cli/src/vcs_report.rs0.07223,557
src/metrics/halstead.rs0.05322,762
big-code-analysis-cli/src/metric_diff.rs0.06123,027
big-code-analysis-cli/src/dispatch.rs0.06163,215
big-code-analysis-cli/src/html_report/sections.rs0.07293,570
big-code-analysis-cli/src/check_format.rs0.06242,831
big-code-analysis-py/src/batch.rs0.07102,602
big-code-analysis-py/src/sarif.rs0.07573,029
src/suppression.rs0.06152,100
src/metrics/loc.rs0.07202,607
big-code-analysis-cli/src/diff.rs0.06022,261
big-code-analysis-cli/src/commands/check.rs0.06132,586
big-code-analysis-web/src/web/server/handlers.rs0.16333,150
big-code-analysis-py/src/types_codegen.rs0.18754,908
src/preproc.rs0.15762,666
src/node.rs0.85212,230
src/metrics/cognitive.rs1.15772,302
src/vcs/git/diff_parse.rs1.14841,976
src/spaces/compute.rs1.95272,338
src/metrics/npa/shared.rs2.14481,764
big-code-analysis-py/src/node.rs2.75022,306
big-code-analysis-py/src/vcs.rs2.85132,526
big-code-analysis-web/src/web/vcs.rs2.97372,526
src/metrics/nexits.rs2.94161,904
src/vcs/git/blame.rs3.85512,016
src/vcs/git/jit.rs4.15342,711
big-code-analysis-cli/src/baseline_diff.rs4.24542,422
src/vcs/options.rs4.34671,654
src/metrics/wmc.rs4.34411,357
big-code-analysis-cli/src/lib.rs5.06222,183
src/wire/metrics.rs5.15732,835
src/metrics/npa.rs5.15511,836
src/macros/mod.rs5.27423,077
src/vcs/bus_factor.rs5.25032,018
src/metric_set.rs5.54321,430
src/metrics/cyclomatic.rs5.65561,716
src/wire.rs6.04862,526
big-code-analysis-cli/src/path_io.rs6.13651,863
big-code-analysis-web/src/web/server/errors.rs6.14631,701

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
KotlinCode::computesrc/metrics/abc/kotlin.rs154165102296
ObjcCode::computesrc/metrics/abc/objc.rs3116562315
RustCode::computesrc/metrics/abc/rust.rs128167120309
CCode::computesrc/metrics/abc/c.rs1715599290
CppCode::computesrc/metrics/abc/cpp.rs105155119302
GoCode::computesrc/metrics/abc/go.rs95159102336
MozcppCode::computesrc/metrics/abc/mozcpp.rs17155119302
write_table_corebig-code-analysis-cli/src/html_report.rs144141783569
metric_doc_anchorbig-code-analysis-cli/src/markdown_report/hotspot.rs16614119163
Metric::fmtsrc/metric_set.rs17314118142
Metric::from_strsrc/metric_set.rs23414118180
PythonCode::computesrc/metrics/cognitive/python.rs86143104331
XmlAttr<'_>::fmtsrc/output/checkstyle.rs11714442159
emitbig-code-analysis-cli/src/vcs_command.rs44413947338
FieldType::annotationbig-code-analysis-py/src/types_codegen.rs8213116174
CppCode::computesrc/metrics/npm/cpp.rs12131472279
MozcppCode::computesrc/metrics/npm/mozcpp.rs12131472279
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs88121099508
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs510121377394
act_on_filebig-code-analysis-cli/src/dispatch.rs6912225312
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs102121463314
legacy_hintbig-code-analysis-cli/src/lib.rs519121391522
replacesrc/c_macro.rs27512953375
csharp_walk_for_conditionssrc/metrics/abc/csharp.rs21012745193
groovy_walk_for_conditionssrc/metrics/abc/groovy.rs18012733181
perl_inspect_containersrc/metrics/abc/perl.rs55122062309
compute_per_nodesrc/spaces/compute.rs202121150420
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs189121346222
classify_check_outcomebig-code-analysis-cli/src/commands/check/outcome.rs57111246177
dispatch_metricsbig-code-analysis-cli/src/dispatch.rs191112360333
Manifest::merge_globalsbig-code-analysis-cli/src/manifest.rs492111047234
options_frombig-code-analysis-py/src/vcs.rs80111148376
vcs_error_kindbig-code-analysis-web/src/web/server/errors.rs28211121139
options_frombig-code-analysis-web/src/web/vcs.rs180111149382
cpp_inspect_containersrc/metrics/abc/cpp.rs27111742257
csharp_inspect_containersrc/metrics/abc/csharp.rs18111659262
groovy_inspect_containersrc/metrics/abc/groovy.rs16111648256
java_inspect_containersrc/metrics/abc/java.rs18111661256
LuaCode::computesrc/metrics/abc/lua.rs11611757248
PerlCode::computesrc/metrics/abc/perl.rs200113107434
php_inspect_containersrc/metrics/abc/php.rs23111739258
PythonCode::computesrc/metrics/abc/python.rs14411381198
GroovyCode::computesrc/metrics/cognitive/groovy.rs1711177269
KotlinCode::computesrc/metrics/cognitive/kotlin.rs3611357282
RubyCode::computesrc/metrics/cognitive/ruby.rs29113109364
RustCode::computesrc/metrics/cognitive/rust.rs1711450255
TclCode::computesrc/metrics/cognitive/tcl.rs1711150255
ElixirCode::computesrc/metrics/cyclomatic/elixir.rs5111758215
CppCode::computesrc/metrics/npa/cpp.rs12111461252
MozcppCode::computesrc/metrics/npa/mozcpp.rs12111461252

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

Cognitive complexity hotspots (top 50 by Cognitive)

FunctionFileLineCognitiveCCSLOCTokens
perl_inspect_containersrc/metrics/abc/perl.rs55201262309
php_count_unary_conditionssrc/metrics/abc/php.rs9620946191
ThresholdSet::evaluate_with_policybig-code-analysis-cli/src/thresholds.rs7901910105375
rm_commentssrc/comment_rm.rs8619830222
ExemptionsReport::render_markdownbig-code-analysis-cli/src/exemptions.rs151181062411
write_language_sectionbig-code-analysis-cli/src/html_report/sections.rs66418966370
write_language_sectionbig-code-analysis-cli/src/markdown_report.rs99218960344
elixir_inspect_containersrc/metrics/abc/elixir.rs23181043244
ruby_inspect_containersrc/metrics/abc/ruby.rs44181044248
GoCode::computesrc/metrics/npa/go.rs42181057297
PhpCode::computesrc/metrics/npm/php.rs12181142270
write_table_corebig-code-analysis-cli/src/html_report.rs144171483569
cpp_inspect_containersrc/metrics/abc/cpp.rs27171142257
php_inspect_containersrc/metrics/abc/php.rs23171139258
collapse_sccsrc/preproc.rs25617755327
dispatch_opsbig-code-analysis-cli/src/dispatch.rs25216943256
dispatch_check_filebig-code-analysis-cli/src/dispatch.rs46816964311
step_normalsrc/c_macro.rs106161574326
csharp_inspect_containersrc/metrics/abc/csharp.rs18161159262
groovy_inspect_containersrc/metrics/abc/groovy.rs16161148256
java_inspect_containersrc/metrics/abc/java.rs18161161256
ruby_walk_class_bodysrc/metrics/npa/shared.rs16916932206
last_quoted_tokensrc/vcs/git/diff_parse.rs319161036185
normalize_bodybig-code-analysis-cli/src/baseline.rs79015831158
ExemptionsReport::render_ttybig-code-analysis-cli/src/exemptions.rs11215938284
findsrc/find.rs3315732210
CppCode::get_func_space_namesrc/getter/cpp.rs715852265
JavascriptCode::get_func_space_namesrc/getter/javascript.rs2315724158
MozcppCode::get_func_space_namesrc/getter/mozcpp.rs715852265
MozjsCode::get_func_space_namesrc/getter/mozjs.rs2315724158
TsxCode::get_func_space_namesrc/getter/tsx.rs2415724158
TypescriptCode::get_func_space_namesrc/getter/typescript.rs2415724158
go_inspect_containersrc/metrics/abc/go.rs2115935220
kotlin_inspect_containersrc/metrics/abc/kotlin.rs5415942212
rust_inspect_containersrc/metrics/abc/rust.rs3315935212
CsharpCode::computesrc/metrics/npa/csharp.rs12151056255
KotlinCode::computesrc/metrics/npa/kotlin.rs33151058220
ObjcCode::computesrc/metrics/npa/objc.rs57151142235
ObjcCode::computesrc/metrics/npm/objc.rs23151046199
Node<'a>::first_occurrencesrc/node.rs45815727159
validate_and_resolve_filebig-code-analysis-cli/src/dispatch.rs102141263314
collect_leavesbig-code-analysis-cli/src/metric_diff.rs46014944283
VcsRepoCache::attachbig-code-analysis-py/src/batch.rs53714942280
csharp_switch_expression_arm_is_bare_discard::classify_patternsrc/metrics/cyclomatic.rs42914833115
CppCode::computesrc/metrics/npa/cpp.rs12141161252
MozcppCode::computesrc/metrics/npa/mozcpp.rs12141161252
CppCode::computesrc/metrics/npm/cpp.rs12141372279
MozcppCode::computesrc/metrics/npm/mozcpp.rs12141372279
greedy_truck_factorsrc/vcs/bus_factor.rs37514746270
experience_featuressrc/vcs/git/jit.rs47514958333

Halstead effort hotspots (top 50 by Effort)

FunctionFileLineEffortVolumeEst. BugsSLOCTokens
runbig-code-analysis-cli/src/commands.rs99136,0013,6040.8889692
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs109116,9322,6880.8071498
metrics_innersrc/spaces/compute.rs346109,8113,2820.76147558
write_table_corebig-code-analysis-cli/src/html_report.rs14491,5962,6290.6883569
replacesrc/c_macro.rs27582,5102,0970.6353375
run_parsebig-code-analysis-web/src/web/server.rs9182,4782,2230.6390416
metric_valuessrc/output/funcspace_row.rs3480,3516,0390.62143948
Accumulator::finalizesrc/vcs/stats.rs23879,5702,8430.6298503
build_cachedsrc/vcs/git/cached.rs4076,7402,8380.60112487
RubyCode::get_op_typesrc/getter/ruby.rs2172,6354,6720.5892636
buildsrc/ast.rs20672,5811,8880.5870375
unquote_git_pathsrc/vcs/git/diff_parse.rs40171,4941,8360.5742340
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs8870,3002,8360.5799508
run_checkbig-code-analysis-cli/src/commands/check.rs1369,8242,9570.57152510
apply_percentilesrc/vcs/score.rs20068,4512,0290.5648367
PerlCode::computesrc/metrics/abc/perl.rs20067,8632,6910.55107434
step_normalsrc/c_macro.rs10667,1491,7750.5574326
edit_distance_with_cutoffbig-code-analysis-cli/src/threshold_suggestion.rs2866,7371,4350.5526297
compute_per_nodesrc/spaces/compute.rs20266,0132,2420.5450420
PerlCode::get_op_typesrc/getter/perl.rs1765,9954,2550.5460588
run_command_reportbig-code-analysis-cli/src/commands/report.rs565,8703,0270.5496530
GoCode::computesrc/metrics/npm/go.rs1264,1401,7280.5381332
write_code_climatesrc/output/code_climate.rs7360,4722,3510.5157419
ConcurrentRunner<Config>::runsrc/concurrent_files.rs36060,4101,9280.5159374
materialize_treebig-code-analysis-cli/src/diff.rs47760,3902,1330.5180426
legacy_hintbig-code-analysis-cli/src/lib.rs51959,3522,5600.5191522
write_language_sectionbig-code-analysis-cli/src/html_report/sections.rs66458,2061,9490.5066370
Baseline::from_strbig-code-analysis-cli/src/baseline.rs38056,9421,9480.49104368
ops_innersrc/ops.rs20456,6412,0110.4971369
ThresholdSet::evaluate_with_policybig-code-analysis-cli/src/thresholds.rs79056,5312,0190.49105375
Accumulator::recordsrc/vcs/stats.rs15456,2401,7650.4946322
closest_namesbig-code-analysis-cli/src/threshold_suggestion.rs7755,7861,7420.4939335
BashCode::get_op_typesrc/getter/bash.rs3154,6813,3880.4895497
perl_inspect_containersrc/metrics/abc/perl.rs5553,3451,6430.4762309
RubyCode::computesrc/metrics/cognitive/ruby.rs2953,1012,0630.47109364
write_language_sectionbig-code-analysis-cli/src/markdown_report.rs99252,9931,8140.4760344
history_featuressrc/vcs/git/jit.rs38852,5601,7940.4754319
options_frombig-code-analysis-web/src/web/vcs.rs18051,8462,0400.4649382
Parser<T>::filterssrc/parser.rs17550,3601,4230.4543298
write_csvbig-code-analysis-cli/src/vcs_command.rs55650,1082,4310.4571466
CodeMetrics::fromsrc/wire.rs33049,7902,0220.4526414
PhpCode::computesrc/metrics/npa/php.rs1249,6151,6240.4561315
collect_eventssrc/vcs/git/history.rs4948,9282,0790.4573369
write_aggregatebig-code-analysis-cli/src/commands/analyze.rs21148,5441,7830.4454351
PhpCode::get_op_typesrc/getter/php.rs3148,2803,4840.44139471
ElixirCode::get_op_typesrc/getter/elixir.rs12348,2413,1390.4479456
write_github_annotationsbig-code-analysis-cli/src/check_format.rs17347,8341,8020.4473335
PerlCode::computesrc/metrics/loc/perl.rs1747,7582,1090.4480353
computesrc/vcs/bus_factor.rs19247,6951,9380.4455362
options_frombig-code-analysis-py/src/vcs.rs8047,6622,0050.4448376

Function size hotspots (top 50 by SLOC)

FunctionFileLineSLOCTokensCCCognitive
run_checkbig-code-analysis-cli/src/commands/check.rs1315251098
metrics_innersrc/spaces/compute.rs3461475581119
metric_valuessrc/output/funcspace_row.rs3414394810
PhpCode::get_op_typesrc/getter/php.rs3113947154
IrulesCode::get_op_typesrc/getter/irules.rs1913740764
RustCode::computesrc/metrics/abc/rust.rs128120309167
CppCode::computesrc/metrics/abc/cpp.rs105119302155
MozcppCode::computesrc/metrics/abc/mozcpp.rs17119302155
build_cachedsrc/vcs/git/cached.rs4011248778
RubyCode::computesrc/metrics/cognitive/ruby.rs29109364113
PerlCode::computesrc/metrics/abc/perl.rs200107434113
ThresholdSet::evaluate_with_policybig-code-analysis-cli/src/thresholds.rs7901053751019
Baseline::from_strbig-code-analysis-cli/src/baseline.rs380104368811
PythonCode::computesrc/metrics/cognitive/python.rs86104331143
GoCode::computesrc/metrics/abc/go.rs95102336159
KotlinCode::computesrc/metrics/abc/kotlin.rs154102296165
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs88995081210
CCode::computesrc/metrics/abc/c.rs1799290155
Accumulator::finalizesrc/vcs/stats.rs2389850334
CsharpCode::computesrc/metrics/cognitive/csharp.rs1797304101
run_command_reportbig-code-analysis-cli/src/commands/report.rs59653097
BashCode::get_op_typesrc/getter/bash.rs319549777
TclCode::get_op_typesrc/getter/tcl.rs159528241
ElixirCode::computesrc/metrics/abc/elixir.rs13294327107
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs1139339643
RubyCode::get_op_typesrc/getter/ruby.rs219263641
legacy_hintbig-code-analysis-cli/src/lib.rs519915221213
run_parsebig-code-analysis-web/src/web/server.rs919041676
runbig-code-analysis-cli/src/commands.rs9989692183
PhpCode::computesrc/metrics/cognitive/php.rs1789291101
expand_seed_pathsbig-code-analysis-cli/src/walk.rs19288306811
apply_changed_only_innerbig-code-analysis-cli/src/commands/check.rs4228730046
PhpCode::computesrc/metrics/abc/php.rs1448722793
extract_summaries_innerbig-code-analysis-cli/src/markdown_report.rs12885541510
PythonCode::computesrc/metrics/loc/python.rs178527498
write_table_corebig-code-analysis-cli/src/html_report.rs144835691417
PythonCode::computesrc/metrics/abc/python.rs14481198113
GoCode::computesrc/metrics/npm/go.rs12813321113
materialize_treebig-code-analysis-cli/src/diff.rs4778042668
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs543803621813
PerlCode::computesrc/metrics/loc/perl.rs178035384
ElixirCode::get_op_typesrc/getter/elixir.rs1237945641
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs510773941213
PythonCode::get_op_typesrc/getter/python.rs16773551010
GroovyCode::computesrc/metrics/cognitive/groovy.rs1777269111
ObjcCode::computesrc/metrics/loc/objc.rs177627485
generate_html_report_with_vcsbig-code-analysis-cli/src/html_report.rs2537432766
step_normalsrc/c_macro.rs106743261516
write_github_annotationsbig-code-analysis-cli/src/check_format.rs1737333546
LuaCode::get_op_typesrc/getter/lua.rs187325831

Many parameters hotspots (top 50 by Args)

FunctionFileLineArgsSLOCTokens
PyVcsOptions::py_newbig-code-analysis-py/src/lib.rs5991536168
EffectiveConfig::from_resolvedbig-code-analysis-cli/src/commands/check/effective_config.rs1361453415
apply_percentilesrc/vcs/score.rs2001348367
analyze_pathsbig-code-analysis-py/src/batch.rs6221258339
incremental_eventssrc/vcs/git/cached.rs1611234236
materialize_treebig-code-analysis-cli/src/diff.rs4771080426
computesrc/vcs/bus_factor.rs1921055362
print_effective_configbig-code-analysis-cli/src/commands/check/effective_config.rs22925157
write_table_classed_with_tooltipsbig-code-analysis-cli/src/html_report.rs126914130
closest_namesbig-code-analysis-cli/src/threshold_suggestion.rs77939335
PhpCode::computesrc/metrics/npa/php.rs12961315
GoCode::computesrc/metrics/npm/go.rs12981332
authors_of_filesrc/vcs/bus_factor.rs322941259
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs109871498
BaselineDiff::column_widthsbig-code-analysis-cli/src/baseline_diff.rs299828246
filter_by_baselinebig-code-analysis-cli/src/commands/check.rs321837221
emit_check_resultsbig-code-analysis-cli/src/commands/check.rs510877394
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs113893396
dispatch_opsbig-code-analysis-cli/src/dispatch.rs252843256
write_table_with_tooltipsbig-code-analysis-cli/src/html_report.rs11381081
emit_section_mdbig-code-analysis-cli/src/markdown_report/sections.rs68820191
MetricDiff::from_setsbig-code-analysis-cli/src/metric_diff.rs177858300
build_optionsbig-code-analysis-cli/src/vcs_command.rs231851352
write_html_bodybig-code-analysis-cli/src/vcs_report.rs620861328
analyze_batchbig-code-analysis-py/src/batch.rs369851239
analyzebig-code-analysis-py/src/lib.rs284866275
process_commitsrc/vcs/git/history.rs128864337
VcsTrend::from_trendsrc/wire/vcs.rs255862366

Type hotspots (top 50 by WMC)

TypeFileLineWMCMethodsNPANPMSLOCTokens
PyNodebig-code-analysis-py/src/node.rs1355952003361,880
Manifestbig-code-analysis-cli/src/manifest.rs4715718072871,232
BaselineDiffbig-code-analysis-cli/src/baseline_diff.rs1044517052241,440
Node<'a>src/node.rs7540310292791,135
Baselinebig-code-analysis-cli/src/baseline.rs361351604260949
PerFunctionBlamesrc/vcs/git/blame.rs2513527032631,277
MetricDiffbig-code-analysis-cli/src/metric_diff.rs1563314062061,153
PyAstbig-code-analysis-py/src/ast.rs1052927002251,241
ExemptionsReportbig-code-analysis-cli/src/exemptions.rs95288011551,004
ElixirCodesrc/getter/elixir.rs3625700169839
Trendsrc/vcs/trend.rs120251809160758
CppCodesrc/getter/cpp.rs624500117600
MozcppCodesrc/getter/mozcpp.rs624500109600
Statssrc/metrics/loc.rs4432424024223874
Statssrc/metrics/abc.rs1892320020171797
ObjcCodesrc/getter/objc.rs62250097524
Statssrc/metrics/halstead.rs1322115015202545
AggregatedFormatbig-code-analysis-cli/src/check_format.rs562080355271
DiffFilesrc/vcs/git/diff_parse.rs1381950098379
Accumulatorsrc/vcs/stats.rs143191004194948
ThresholdSetbig-code-analysis-cli/src/thresholds.rs71018704186622
VcsRepoCachebig-code-analysis-py/src/batch.rs5021890078437
KotlinCodesrc/getter/kotlin.rs11818500139460
PythonCodesrc/getter/python.rs61850092443
KotlinCodesrc/metrics/abc/kotlin.rs15318300104302
ObjcCodesrc/metrics/abc/objc.rs301830064321
RustCodesrc/metrics/abc/rust.rs12718300122315
Statssrc/metrics/nargs.rs811816016129606
Statssrc/metrics/npa.rs641816016152506
Statssrc/metrics/npm.rs651816016152506
Parser<T>src/parser.rs11118800108560
Errorsrc/vcs/error.rs1231810044343
CodeMetricssrc/wire.rs32918150028428
ElixirCodesrc/checker/elixir.rs6171000107431
RustCodesrc/getter/rust.rs61740088482
CCodesrc/metrics/abc/c.rs1617300101296
CppCodesrc/metrics/abc/cpp.rs10417300121308
MozcppCodesrc/metrics/abc/mozcpp.rs1617300121308
Statssrc/metrics/nom.rs861715015132580
CppCodesrc/metrics/npm/cpp.rs111730074285
GoCodesrc/metrics/npm/go.rs111770083338
MozcppCodesrc/metrics/npm/mozcpp.rs111730074285
Node<'a>src/node.rs4571750063407
Checkersrc/checker.rs226161501594324
RustCodesrc/checker/rust.rs6161000118490
CCodesrc/getter/c.rs61640085440
GoCodesrc/metrics/abc/go.rs9416200104342
Statssrc/metrics/cyclomatic.rs921614014141514
Astsrc/spaces/ast.rs241616016294662
PythonCodesrc/checker/python.rs615110095339

Exit points hotspots (top 50 by Exits)

FunctionFileLineExitsCCSLOCTokens
_nativebig-code-analysis-py/src/lib.rs83035149453
register_vcs_submodulebig-code-analysis-py/src/lib.rs89314121164
dump_ops_valuessrc/output/dump_ops.rs12112334244
build_cachedsrc/vcs/git/cached.rs40117112487
collect_touchedsrc/vcs/git/jit.rs20510158372
materialize_treebig-code-analysis-cli/src/diff.rs4779680426
dump_spacesrc/output/dump_metrics.rs959442328
dump_spacesrc/output/dump_ops.rs669437324
process_commitsrc/vcs/git/history.rs1289864337
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
parse_nativesrc/suppression.rs3808957319
collect_eventssrc/vcs/git/history.rs498773369
diff_collectsrc/vcs/git/history.rs2008156326
write_checkstylesrc/output/checkstyle.rs457530228
collect_touched::<anon@L224>src/vcs/git/jit.rs2247635221
enumerate_target_filessrc/vcs/git/repo.rs1277144262
parse_iso8601src/vcs/options.rs39371050274
parse_ls_tree_recordbig-code-analysis-cli/src/diff.rs5686216156
analyze_batchbig-code-analysis-py/src/batch.rs3696651239
PyNode::spanbig-code-analysis-py/src/node.rs2376112167
resolve_thresholdsbig-code-analysis-py/src/sarif.rs2786546288
collect_offendersbig-code-analysis-py/src/sarif.rs5596642289
step_normalsrc/c_macro.rs10661574326
ConcurrentRunner<Config>::runsrc/concurrent_files.rs36061059374
tcl_switch_decision_armssrc/metrics/cognitive.rs4486541240
python_self_attr_name_bytessrc/metrics/npa/python.rs2976425161
dump_metricssrc/output/dump_metrics.rs1386331226
read_file_with_eolsrc/tools.rs1406639224
PerFunctionBlame::opensrc/vcs/git/blame.rs2626142264
PerFunctionBlame::resolve_commitsrc/vcs/git/blame.rs4386339208
diff_collect::<anon@L217>src/vcs/git/history.rs2176335179
score_commitsrc/vcs/git/jit.rs676142261
experience_featuressrc/vcs/git/jit.rs4756958333
buildsrc/vcs/git/mod.rs516136209
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs1135493396
dispatch_exemptionsbig-code-analysis-cli/src/dispatch.rs5365557249
emitbig-code-analysis-cli/src/vcs_command.rs44451347338
write_tablebig-code-analysis-cli/src/vcs_command.rs4945438235
emitbig-code-analysis-cli/src/vcs_jit.rs1135938258
analyze_pathsbig-code-analysis-py/src/batch.rs6225358339
extract_as_ofbig-code-analysis-py/src/lib.rs5325314107
extract_line_numberbig-code-analysis-py/src/sarif.rs3675320133
compute_vcs_jitbig-code-analysis-web/src/web/vcs.rs5395221150
dump_valuesrc/output/dump_metrics.rs2175218125
Ast::from_pathsrc/spaces/ast.rs975117125
compute_featuressrc/vcs/git/jit.rs1615340255
resolve_anchorsrc/vcs/git/mod.rs965119143

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
run_command_reportbig-code-analysis-cli/src/commands/report.rs540.896530
extract_summaries_innerbig-code-analysis-cli/src/markdown_report.rs12839.285541
ConcurrentRunner<Config>::runsrc/concurrent_files.rs36038.059374
options_frombig-code-analysis-py/src/vcs.rs8037.648376
compute_since_diffbig-code-analysis-cli/src/commands/diff_cmd.rs11337.593396
run_command_metricsbig-code-analysis-cli/src/commands/analyze.rs8836.999508
collect_eventssrc/vcs/git/history.rs4936.973369
options_frombig-code-analysis-web/src/web/vcs.rs18035.949382
process_commitsrc/vcs/git/history.rs12835.664337
experience_featuressrc/vcs/git/jit.rs47535.558333
materialize_treebig-code-analysis-cli/src/diff.rs47735.380426
parse_nativesrc/suppression.rs38035.357319
BaselineDiff::computebig-code-analysis-cli/src/baseline_diff.rs10933.871498
Manifest::merge_checkbig-code-analysis-cli/src/manifest.rs54333.080362
emitbig-code-analysis-cli/src/vcs_command.rs44432.447338
write_csvbig-code-analysis-cli/src/vcs_command.rs55632.371466
CodeMetrics::fromsrc/wire.rs33031.626414
unquote_git_pathsrc/vcs/git/diff_parse.rs40131.642340
run_command_opsbig-code-analysis-cli/src/commands/analyze.rs26630.753400
scoresrc/vcs/jit.rs26229.650324
ops_innersrc/ops.rs20429.271369
legacy_hintbig-code-analysis-cli/src/lib.rs51928.991522
collapse_sccsrc/preproc.rs25628.655327
build_trendsrc/vcs/git/trend.rs4227.949254
parse_iso8601src/vcs/options.rs39327.750274
write_code_climatesrc/output/code_climate.rs7327.657419
Accumulator::finalizesrc/vcs/stats.rs23827.698503
resolve_thresholdsbig-code-analysis-py/src/sarif.rs27827.246288
Accumulator::recordsrc/vcs/stats.rs15427.146322
CodeMetrics::selectedsrc/wire.rs36627.122244
history_featuressrc/vcs/git/jit.rs38826.754319
Baseline::from_strbig-code-analysis-cli/src/baseline.rs38026.6104368
language_display_namebig-code-analysis-cli/src/markdown_report.rs30626.439266
build_optionsbig-code-analysis-cli/src/vcs_command.rs23126.251352
analyze_pathsbig-code-analysis-py/src/batch.rs62226.258339
register_vcs_submodulebig-code-analysis-py/src/lib.rs89326.121164
DiffFile::classify_body_linesrc/vcs/git/diff_parse.rs18925.946222
dispatch_metricsbig-code-analysis-cli/src/dispatch.rs19125.560333
expand_seed_pathsbig-code-analysis-cli/src/walk.rs19225.588306
metrics_plainbig-code-analysis-web/src/web/server/handlers.rs35925.546288
runbig-code-analysis-cli/src/vcs_command.rs5825.457357
emitbig-code-analysis-cli/src/vcs_jit.rs11325.438258
classify_preproc_nodesrc/preproc.rs49525.441268
dump_aggregatebig-code-analysis-cli/src/formats.rs23125.339268
EffectiveConfig::from_resolvedbig-code-analysis-cli/src/commands/check/effective_config.rs13625.253415
collect_leavesbig-code-analysis-cli/src/metric_diff.rs46025.144283
parse_unified_diffsrc/vcs/git/diff_parse.rs6825.056229
run_command_diffbig-code-analysis-cli/src/commands/diff_cmd.rs5724.955311
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.611111220,93821,012120.990.9985001701052.8953.879.399.39774706.0
2src/metrics/npa.rs11.383839,5509,550111.001.00600069932.0732.079.299.29477500.0
3big-code-analysis-cli/src/lib.rs11.212312312,20512,205111.001.009220462031.5331.537.477.47439380.0
4src/metrics/halstead.rs10.480805,8555,855111.001.006000691026.4526.458.418.41632340.0
5src/metrics/cyclomatic.rs10.4808012,91412,914111.001.005800691022.4822.488.968.96606958.0
6src/metrics/cognitive.rs10.210310415,30615,314120.990.9981001701031.0531.168.898.881071420.0
7src/spaces.rs10.080808,0598,059111.001.006010692024.7024.707.967.9672531.0
8big-code-analysis-cli/src/commands.rs9.884847,8287,828111.001.006310442023.6223.627.237.23297464.0
9src/metrics/loc.rs9.7787916,65916,672120.990.9956001701026.6326.808.568.551232766.0
10src/metrics/npm.rs9.368686,0496,049111.001.00460069917.5617.569.309.30266156.0
11src/metrics/wmc.rs8.862624,2684,268111.001.00430069914.3114.319.039.03341440.0
12big-code-analysis-cli/src/html_report.rs8.745457,1487,148111.001.003010462016.0716.077.447.44207292.0
13big-code-analysis-web/src/web/server.rs8.759596,7946,794111.001.004420692015.8215.827.857.85115498.0
14big-code-analysis-cli/src/markdown_report.rs8.656565,2475,247111.001.003800462113.9213.927.507.50666369.0
15src/checker.rs8.175767,3067,316120.990.9954001702017.8317.967.697.68357994.0
16src/metrics/nexits.rs7.954543,9033,903111.001.00330069108.748.748.188.18335658.0
17src/macros/mod.rs7.745452,3692,369111.001.003200692211.4111.417.867.8647380.0
18src/getter.rs7.669705,8765,921120.990.9953001702015.7816.387.857.8499892.0
19src/metrics/nom.rs7.450502,7602,760111.001.00320069106.336.338.648.6480040.0
20src/metrics/nargs.rs7.251525,4915,501120.980.983300170109.9010.038.728.71675393.0
21big-code-analysis-cli/src/main.rs7.132324,6154,615111.001.00242069469.949.947.417.419230.0
22big-code-analysis-cli/src/baseline.rs7.026262,8392,839111.001.00170046227.797.797.127.12300934.0
23big-code-analysis-cli/src/thresholds.rs7.031312,3452,345111.001.00240046217.457.457.457.45274365.0
24big-code-analysis-cli/src/vcs_report.rs6.819192,0312,031111.001.00140031227.367.368.858.85160449.0
25big-code-analysis-py/src/analysis.rs6.822221,5581,558111.001.00190046279.769.765.645.64
26big-code-analysis-py/src/lib.rs6.837371,5431,543111.001.00331046226.296.297.197.1995666.0
27big-code-analysis-cli/src/vcs_command.rs6.831311,4361,436111.001.00254031225.925.928.718.71160832.0
28big-code-analysis-cli/src/check_format.rs6.721211,6001,600111.001.00170046227.847.847.057.05136000.0
29big-code-analysis-cli/src/formats.rs6.737371,5301,530111.001.00293069225.435.437.947.94157590.0
30big-code-analysis-py/src/sarif.rs6.719191,7241,724111.001.00150046226.646.649.499.49115508.0
31big-code-analysis-cli/src/markdown_report/hotspot.rs6.618181,9971,997111.001.00110036226.736.737.137.13247628.0
32src/langs.rs6.634341,0381,038111.001.0016006996.826.827.497.491038.0
33src/wire.rs6.615152,8062,806111.001.00101033205.645.649.759.75126270.0
34src/vcs/git/jit.rs6.415152,4792,479111.001.00151031226.186.186.916.91118992.0
35big-code-analysis-cli/src/manifest.rs6.425251,1691,169111.001.00220041226.046.047.097.09106379.0
36src/lib.rs6.44949729729111.001.0034206984.894.897.647.64729.0
37big-code-analysis-cli/src/dispatch.rs6.432321,0971,097111.001.00171044224.884.887.527.5298730.0
38src/output/csv.rs6.320201,1631,163111.001.00192046225.005.008.958.9515119.0
39src/tools.rs6.340411,8631,865120.980.98270017098.448.467.597.58206793.0
40src/suppression.rs6.317171,7031,703111.001.00120046224.924.927.097.09151567.0
41big-code-analysis-web/src/web/vcs.rs6.218181,1491,149111.001.00162031224.214.218.708.7043662.0
42big-code-analysis-cli/src/markdown_report/sections.rs6.220201,6861,686111.001.00130045225.125.127.087.0847208.0
43big-code-analysis-py/src/language.rs6.120201,0931,093111.001.00150046225.525.527.247.2418581.0
44src/ops.rs6.12424859859111.001.00170069224.504.507.347.3421475.0
45src/output/sarif.rs6.116161,1141,114111.001.00112046225.685.687.037.0345674.0
46big-code-analysis-py/src/vcs.rs6.12121947947111.001.00181031224.014.018.708.7059661.0
47src/concurrent_files.rs6.01919851851111.001.00140046225.965.967.147.1450209.0
48big-code-analysis-py/src/batch.rs6.017171,4671,467111.001.00120046223.513.517.107.10110025.0
49src/preproc.rs6.020201,1881,188111.001.00130046223.403.407.057.0586724.0
50src/output/dump_metrics.rs6.018181,1661,166111.001.00151069223.293.299.179.1730316.0

Bus factor

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

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

DirectoryBus factorFiles
.claude11
.claude/hooks11
.opencode11
.opencode/plugins11
big-code-analysis-cli1102
big-code-analysis-cli/src166
big-code-analysis-cli/tests136
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
generate-grammars13
scripts12
scripts/smoke12
src1315
src/c_langs_macros13
src/checker125
src/getter125
src/languages126
src/macros12
src/metrics1139
src/output114
src/spaces16
src/vcs142
src/wire12
tests133
tests/common14
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
utils12
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.