refactor(decnet_web/MazeNET): bump coverage floor after Inspector split
Suite is now 51 files / 259 tests, 25.68% lines / 21.43% branches. Floor: lines 24->25, functions 21->22, branches 19->21, statements 23->24. Inspector/index.tsx ends at 172 LOC, the only other > 250 LOC file in MazeNET/ is NodeInspector (362) — the node branch was the bulk of the original 606 LOC and its 7 add-service / tarpit form states stay co-located there.
This commit is contained in:
@@ -15,16 +15,16 @@ export default defineConfig({
|
|||||||
include: ['src/**/*.{ts,tsx}'],
|
include: ['src/**/*.{ts,tsx}'],
|
||||||
exclude: ['src/**/*.d.ts', 'src/test/**', 'src/main.tsx'],
|
exclude: ['src/**/*.d.ts', 'src/test/**', 'src/main.tsx'],
|
||||||
// Baseline floors. Each refactor PR raises these; never lower.
|
// Baseline floors. Each refactor PR raises these; never lower.
|
||||||
// Phase 10 (AttackerDetail follow-through): page shell down from
|
// Phase 11 (MazeNET/Inspector split): Inspector.tsx (606 LOC)
|
||||||
// 1652 to 450 LOC. Lifted fingerprint renderers (12), behaviour
|
// split into per-selection panels. Inspector/index.tsx is now
|
||||||
// panel (8 sub-pieces + lookups), and IntelPanel into focused
|
// a 175 LOC dispatcher; NodeInspector keeps the 7 form-state
|
||||||
// sub-modules. 13 new tests. Suite: 50 files, 249 tests,
|
// useStates that are node-only. 10 new dispatcher tests. Suite:
|
||||||
// 24.8% lines / 19.53% branches.
|
// 51 files, 259 tests, 25.68% lines / 21.43% branches.
|
||||||
thresholds: {
|
thresholds: {
|
||||||
lines: 24,
|
lines: 25,
|
||||||
functions: 21,
|
functions: 22,
|
||||||
branches: 19,
|
branches: 21,
|
||||||
statements: 23,
|
statements: 24,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user