返回 CodeWhale
dead-code-budget.json
根目录 / scripts / dead-code-budget.json
1 {
2 "_comment": "Ceiling for dead-code suppressions across crates/, counting both `#[allow(dead_code)]` and `#[expect(dead_code)]`. `total` is the sum and is the ratcheted figure. It may go down freely; raising it needs a reviewer to say why in the PR. Regenerate with: python3 scripts/check-dead-code-budget.py --update",
3 "_issue": "https://github.com/codewhale-hq/CodeWhale/issues/4785",
4 "_expect_blind_spot": "Until #6241 this gate counted only the `allow` spelling, so rewriting an allow as an expect lowered the number without removing any dead code. The ceiling was re-based to the true combined count when that was fixed; it is not a regression.",
5 "total": 13,
6 "allow_total": 10,
7 "expect_total": 3,
8 "per_crate": {
9 "app-server": {
10 "allow": 1,
11 "expect": 3
12 },
13 "app-server-protocol": {
14 "allow": 2,
15 "expect": 0
16 },
17 "tui": {
18 "allow": 7,
19 "expect": 0
20 }
21 }
22 }
23
23 lines JSON