Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4a52180
fix(spaces): key the span end line on the end column
dekobon Aug 2, 2026
35f4aff
fix(functions): read the source bytes in the function seam
dekobon Aug 2, 2026
e8cd387
fix(find): read the source bytes in the function filter
dekobon Aug 2, 2026
c9aaca0
fix(java): open a function space for a compact constructor
dekobon Aug 2, 2026
a36da15
fix(metrics/cognitive): apply the JS function boundary to methods
dekobon Aug 2, 2026
3f7cb56
fix(abc): route Ruby's ternary operand slots
dekobon Aug 2, 2026
fc97211
fix(abc): route Python's ternary condition slot
dekobon Aug 2, 2026
305ff4a
fix(check): anchor manifest exclude globs at the manifest root
dekobon Aug 2, 2026
251a16c
build(lint): gate the rustfmt in-pattern-comment bail
dekobon Aug 2, 2026
e4a9ac4
style(cognitive): hoist the else-if comment out of the pattern
dekobon Aug 2, 2026
36cef33
style(getter): wrap java.rs's over-length match arms
dekobon Aug 2, 2026
2ba1644
chore(self-scan): converge cognitive onto the shipped default of 15
dekobon Aug 2, 2026
2dc9553
docs(changelog): consolidate entries from the #1136-#1164 batch
dekobon Aug 2, 2026
8af4f1c
fix: resolve findings from three dimension reviews
dekobon Aug 2, 2026
92af1f4
refactor(walk_seed): narrow root_relative_match_path to private
dekobon Aug 2, 2026
8aeec8c
fix: resolve findings from the correctness and test reviews
dekobon Aug 2, 2026
ad1449f
test(check): read the effective config as TOML, not as a substring
dekobon Aug 2, 2026
3394cb1
fix: resolve three findings from the branch code review
dekobon Aug 2, 2026
53a243c
docs(lint): record that the rustfmt bails stay
dekobon Aug 2, 2026
a5b82e7
docs(changelog): retire the #1130 note that #1162 superseded
dekobon Aug 2, 2026
bb46fae
docs(lessons): add 88, and merge #1163 into 59 and 83
dekobon Aug 2, 2026
3badb7c
test(check): canonicalise the fixture root before comparing paths
dekobon Aug 2, 2026
955fd29
test(check): compare exclude_from paths by canonical form
dekobon Aug 2, 2026
48a143d
fix: resolve findings from the PR #1193 review
dekobon Aug 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 89 additions & 35 deletions .bca-baseline.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ value = 60852.18615151166
path = "big-code-analysis-cli/src/commands/check/effective_config.rs"
qualified = "EffectiveConfig::from_resolved"
metric = "nargs"
value = 14.0
value = 12.0

[[entry]]
path = "big-code-analysis-cli/src/commands/check/effective_config.rs"
Expand Down Expand Up @@ -179,12 +179,6 @@ qualified = "write_table_classed_with_tooltips"
metric = "nargs"
value = 9.0

[[entry]]
path = "big-code-analysis-cli/src/html_report.rs"
qualified = "write_table_core"
metric = "halstead.effort"
value = 91596.1159616176

[[entry]]
path = "big-code-analysis-cli/src/html_report.rs"
qualified = "write_table_core"
Expand All @@ -201,13 +195,7 @@ value = 8.0
path = "big-code-analysis-cli/src/html_report/sections.rs"
qualified = "<file>"
metric = "loc.ploc"
value = 551.0

[[entry]]
path = "big-code-analysis-cli/src/html_report/sections.rs"
qualified = "write_language_section"
metric = "halstead.effort"
value = 58205.59941550624
value = 547.0

[[entry]]
path = "big-code-analysis-cli/src/html_report/sections.rs"
Expand All @@ -225,20 +213,14 @@ value = 59351.805921378844
path = "big-code-analysis-cli/src/markdown_report.rs"
qualified = "<file>"
metric = "loc.ploc"
value = 601.0
value = 597.0

[[entry]]
path = "big-code-analysis-cli/src/markdown_report.rs"
qualified = "extract_summaries_inner"
metric = "abc"
value = 39.153543900903784

[[entry]]
path = "big-code-analysis-cli/src/markdown_report.rs"
qualified = "write_language_section"
metric = "halstead.effort"
value = 52993.355167839094

[[entry]]
path = "big-code-analysis-cli/src/markdown_report/hotspot.rs"
qualified = "<file>"
Expand Down Expand Up @@ -275,12 +257,6 @@ qualified = "edit_distance_with_cutoff"
metric = "halstead.effort"
value = 66737.04848699087

[[entry]]
path = "big-code-analysis-cli/src/thresholds.rs"
qualified = "ThresholdSet::evaluate_with_policy"
metric = "halstead.effort"
value = 57580.96697647807

[[entry]]
path = "big-code-analysis-cli/src/vcs_command.rs"
qualified = "<file>"
Expand Down Expand Up @@ -311,6 +287,12 @@ qualified = "write_html_body"
metric = "nargs"
value = 8.0

[[entry]]
path = "big-code-analysis-py/python/big_code_analysis/_flatten.py"
qualified = "_flatten_metrics"
metric = "cognitive"
value = 15.0

[[entry]]
path = "big-code-analysis-py/src/batch.rs"
qualified = "PyAnalysisError::__repr__"
Expand Down Expand Up @@ -503,6 +485,12 @@ qualified = "BashCode::get_op_type"
metric = "halstead.effort"
value = 64170.027458982564

[[entry]]
path = "src/getter/cpp.rs"
qualified = "CppCode::get_func_space_name"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/getter/elixir.rs"
qualified = "ElixirCode::get_op_type"
Expand All @@ -515,6 +503,24 @@ qualified = "IrulesCode::get_op_type"
metric = "halstead.effort"
value = 53163.06867422894

[[entry]]
path = "src/getter/javascript.rs"
qualified = "JavascriptCode::get_func_space_name"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/getter/mozcpp.rs"
qualified = "MozcppCode::get_func_space_name"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/getter/mozjs.rs"
qualified = "MozjsCode::get_func_space_name"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/getter/perl.rs"
qualified = "PerlCode::get_op_type"
Expand All @@ -539,6 +545,24 @@ qualified = "RubyCode::get_op_type"
metric = "halstead.effort"
value = 84039.86210807812

[[entry]]
path = "src/getter/tsx.rs"
qualified = "TsxCode::get_func_space_name"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/getter/typescript.rs"
qualified = "TypescriptCode::get_func_space_name"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/metrics/abc/csharp.rs"
qualified = "csharp_inspect_container"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/metrics/abc/go.rs"
qualified = "GoCode::compute"
Expand All @@ -551,6 +575,18 @@ qualified = "GoCode::compute"
metric = "halstead.effort"
value = 50933.14135135399

[[entry]]
path = "src/metrics/abc/groovy.rs"
qualified = "groovy_inspect_container"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/metrics/abc/java.rs"
qualified = "java_inspect_container"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/metrics/abc/kotlin.rs"
qualified = "KotlinCode::compute"
Expand Down Expand Up @@ -645,7 +681,7 @@ value = 7.0
path = "src/metrics/nargs.rs"
qualified = "<file>"
metric = "loc.ploc"
value = 525.0
value = 542.0

[[entry]]
path = "src/metrics/nargs.rs"
Expand All @@ -656,15 +692,27 @@ value = 7.0
[[entry]]
path = "src/metrics/npa/csharp.rs"
qualified = "CsharpCode::compute"
metric = "nargs"
value = 7.0
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/metrics/npa/go.rs"
qualified = "GoCode::compute"
path = "src/metrics/npa/csharp.rs"
qualified = "CsharpCode::compute"
metric = "nargs"
value = 7.0

[[entry]]
path = "src/metrics/npa/kotlin.rs"
qualified = "KotlinCode::compute"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/metrics/npa/objc.rs"
qualified = "ObjcCode::compute"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/metrics/npa/php.rs"
qualified = "PhpCode::compute"
Expand Down Expand Up @@ -695,11 +743,17 @@ qualified = "GoCode::compute"
metric = "nargs"
value = 10.0

[[entry]]
path = "src/metrics/npm/objc.rs"
qualified = "ObjcCode::compute"
metric = "cognitive"
value = 15.0

[[entry]]
path = "src/node.rs"
qualified = "Node<'a>"
metric = "nom"
value = 34.0
value = 35.0

[[entry]]
path = "src/ops.rs"
Expand Down Expand Up @@ -771,7 +825,7 @@ value = 7.0
path = "src/parser.rs"
qualified = "Parser<T>::filters"
metric = "halstead.effort"
value = 53278.10526315789
value = 58860.61554860244

[[entry]]
path = "src/spaces/ast.rs"
Expand Down Expand Up @@ -801,7 +855,7 @@ value = 7.0
path = "src/spaces/compute.rs"
qualified = "metrics_inner"
metric = "halstead.effort"
value = 122031.61766024183
value = 120010.12175375846

[[entry]]
path = "src/suppression.rs"
Expand Down
Loading