Public report of Ahoo-Wang/Wow, published 22 October 2026. It has the same score, grades and number of
findings as the full report. The details of security findings (where they are in the code, which known
vulnerabilities and which passwords or keys were found) are left out, so nobody can use them against the project.
Public
Executive reportMeasured under the Code Assurance Index, an open standard for code quality, using its published scoring rules (rubric version 2026.10.5). Watchdog signed this survey and filed it in the standard's public register, where anyone can look it up by its survey ID. Check this survey →
Signed and filed in the standard's public register, 22 October 2026, 23:03 UTC · Survey ID cd_2f98de1d4bb14fb391e349e59045ceae
Ahoo-Wang/Wow
Measured 22 October 2026, 21:49 UTC, at code version b3456b4
CAI scoreAt riskUp 1 since the last survey
The score is built from these lenses. Each lens grades one area of the code, such as how easy it is to change or how well it is protected. The weakest lens counts most, so one weak area pulls the score down instead of being averaged away.
A large codebase: 359,721 lines of product code in 63 projects, tests not counted · Estimated rebuild effort: about 5.1 person-years · Weakest lens: Maturity, 49
Findings by how serious they are
180 critical946 serious140 minor
12 dimensions are left out of the score. For each one, Watchdog either couldn't measure it in this code, or found no evidence of the safeguard it looks for, such as a tested backup restore. They count neither for nor against the score, and Limitations lists each one with its reason.
This survey was produced by
Watchdog
Producer
Canine Development
Analyzer
Watchdog engine 1.0.0
Measured
22 October 2026, 21:49 UTC
A measurement, not a certificate. The Code Assurance Index records a number
together with the evidence it was worked out from, so anyone can recalculate it, but it doesn't certify or guarantee
the code. The standard was written by Canine Development, which also builds Watchdog. It is open to any tool that
implements it, and today Watchdog is the only one that does.
A critical security finding is open, such as a library with a known critical vulnerability or a password or key found in the code. The score itself is unchanged, but its band shows At risk until the finding is fixed. See the Security and Compliance lens.
The score is deterministic, which means the same code always gets the same score. Watchdog works it out with tools that follow published rules, and an AI model never decides it, so anyone who applies the same rules to the same code gets the same number. How it is done is explained under Methodology ▸
89of 94 dimensions measured by tools. The other 5 are advisory notes from an AI model, which explain the code but don't count towards the score.
1245of 1266 findings point to an exact file and line, so you can open each one in the code. The other 21 concern the repository as a whole, such as missing documentation.
94dimensions across 7 lenses, read from 359,721 lines of product code in 63 projects.
Ahoo-Wang/Wow scores 56 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Maturity, which scores 49 and is rated Weak. Its Documentation accuracy dimension scores 0 out of 10, and until that reaches 4, Maturity can't be rated higher than Adequate. The first actions are to resolve the 1 No ADRs found finding(s) in ADR Quality and to reconcile the README with reality: skills/README.md names the package `@ahoo-wang/*`, but no package.json of the workspace declares or depends on it; documentation/designs/01-programming-model.md names `infra/prepare`, but no file or folder `infra/prepare` exists; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_VERSIONED`, but no code, script or configuration file names it; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TIME_BASED`, but no code, script or configuration file names it; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TRACING`, but no code, script or configuration file names it, and if Maturity rose to 70, the score would rise from 56 to about 61.
180 findings are critical: 93 in Secrets (history), 74 in Static Analysis (SAST), nine in IaC & Container Security and four in Dependency Vulnerabilities.
Watchdog couldn't measure 12 dimensions in this code, among them Code Coverage, Test Reliability and Dependency Hygiene, so they are left out of the score. The product code is 359,721 lines, which would take an estimated 5.1 person-years, around €740,000, to rebuild.
A lens is capped at Adequate while one of its dimensions scores below 4 out of 10, however well the rest of the lens does. That way a serious problem in one place always shows in the lens's rating.
How the score is built: what each lens counts forThe lenses don't count equally. The weakest lens counts most, the next weakest a little less, and so on, so a weak area pulls the score down instead of being averaged away. In the bar below, each part's width shows how much that lens counts and its colour shows its rating. Improving the widest part moves the score most, and as that lens improves, it counts for less, because another lens becomes the weakest.
If Maturity rose from 49 to 70, the lowest score rated Strong, the score would rise from 56 to about 61.
Code composition: what the lines of code are
Product code 49%Tests 51%
New since the last survey: 491 findings
These 491 critical or serious findings weren't in the previous survey, on 8 October 2026. The first 100 are listed here, and the findings file in the download package lists them all.
Watchdog compares every finding with the previous survey's. A finding that has only moved to another line in the same file counts as the same finding, so only new findings appear here. Advisory notes from the AI model are left out, because the model words them afresh in every survey.
Fixed since the last survey: 752 findings
These 752 critical or serious findings were in the previous survey, on 8 October 2026, and are gone from this one. The first 100 are listed here.
€240,000 to €1,200,000, for 4,071 to 12,915 hours of work, about 5.1 person-years for 3 to 10 engineers
Difficulty of the problem
Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write.
Quality factor
×0.8 at a score of 56. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it.
Size
Large: 359,721 lines of product code
How the estimate is made: Watchdog prices the hours a team would need to write this code again, at €60 to €95 an hour. Declarations and boilerplate are priced at a fast rate and logic at a slower one, and the logic is then multiplied by the difficulty of the problem and by the quality factor. The estimate can be about 30% off either way, and it moves most with the hourly rate and the difficulty. For this code, every line is priced as straight logic, which keeps the estimate on the low side.
Top priorities
The three actions that raise the score most for the work they take. The full ranked list is in the Roadmap.
1
Resolve the 1 No ADRs found finding(s) in ADR Quality.
Raises the score by about 6 points · Low effort · ADR Quality
2
Reconcile the README with reality: skills/README.md names the package `@ahoo-wang/*`, but no package.json of the workspace declares or depends on it; documentation/designs/01-programming-model.md names `infra/prepare`, but no file or folder `infra/prepare` exists; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_VERSIONED`, but no code, script or configuration file names it; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TIME_BASED`, but no code, script or configuration file names it; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TRACING`, but no code, script or configuration file names it.
Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
Each conclusion below combines several dimensions into one point that no single dimension shows, and lists the measurements it rests on.
Where the investment is most exposed · Value at risk
This code would cost about €740,000 to build again, about 5.1 person-years of work. Its weakest lens is Maturity, at 49 (Weak). Maturity is about how well the project explains and looks after itself, which decides whether a new developer, or a new supplier, can take over. Because the weakest lens counts most in the score, work on Maturity also moves the score most.
Based on: the rebuild estimate · the Maturity grade · how much each lens counts
What to do: Start with the Maturity actions in Top priorities.
If you do one thing first · First action
Resolve the 1 No ADRs found finding(s) in ADR Quality. Of all the actions in this report, it raises the score most for the work it takes: about 6 points for low effort, because it clears the 1 ADR Quality findings. The next survey will show the change in the score.
Based on: the ranked actions in Top priorities, by score gain and effort
Architecture — module dependency graph
Project dependencies, layered top-to-bottom; arrows show direction. Any dashed red edge points upward or sideways — a layering smell or cycle. A clean layered graph has none.
Architecture: which parts of the code depend on which
The code is divided into modules, groups of code that each handle one part of the product, and a module depends on another when it uses code from it. The table lists the modules both down the side and across the top, in an order where each module should only use modules listed above it. A number in a cell means the module on that row uses the module in that column, and it counts the pairs of building blocks (types) that connect them. The one thing to look for is a mark above the diagonal line. It means two or more modules use each other in a loop (a dependency cycle), so none of them can be changed, tested or released on its own.
1714 modules, with 3678 dependencies between them. 22 loops run through 103 of the modules, marked above the diagonal.
The table shows the 40 modules with the most connections; 1674 more are left out to keep it readable.
Which modules use which. The module on each row uses the module in each column, and the number counts the pairs of types that connect them. A cell above the diagonal is part of a loop.
me.ahoo.wow.api.caller uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.api.caller, while a change to me.ahoo.wow.api.caller can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.api.caller uses a module listed above it, which is the healthy direction.
me.ahoo.wow.api.result uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.api.result, while a change to me.ahoo.wow.api.result can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.api.result uses a module listed above it, which is the healthy direction.
me.ahoo.wow.api.schedule uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.api.schedule, while a change to me.ahoo.wow.api.schedule can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.api.schedule uses a module listed above it, which is the healthy direction.
me.ahoo.wow.query.schema uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.query.schema, while a change to me.ahoo.wow.query.schema can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.query.schema uses a module listed above it, which is the healthy direction.
39 pairs of types, where a type in me.ahoo.wow.query.schema uses a type in me.ahoo.wow.api.query. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
me.ahoo.wow.query.schema uses me.ahoo.wow.api.query, so a change to me.ahoo.wow.api.query can break me.ahoo.wow.query.schema, while a change to me.ahoo.wow.query.schema can't break me.ahoo.wow.api.query.
Position
Below the diagonal: me.ahoo.wow.query.schema uses a module listed above it, which is the healthy direction.
me.ahoo.wow.query.schema uses me.ahoo.wow.manifest, so a change to me.ahoo.wow.manifest can break me.ahoo.wow.query.schema, while a change to me.ahoo.wow.query.schema can't break me.ahoo.wow.manifest.
Position
Below the diagonal: me.ahoo.wow.query.schema uses a module listed above it, which is the healthy direction.
15→23 me.ahoo.wow.query.schema uses me.ahoo.wow.querypart of a loop✕
Connections
5 pairs of types, where a type in me.ahoo.wow.query.schema uses a type in me.ahoo.wow.query.
me.ahoo.wow.query.schema uses me.ahoo.wow.query, so a change to me.ahoo.wow.query can break me.ahoo.wow.query.schema, while a change to me.ahoo.wow.query.schema can't break me.ahoo.wow.query.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
me.ahoo.wow.spi.ledger uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.spi.ledger, while a change to me.ahoo.wow.spi.ledger can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.spi.ledger uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.filter.fieldKind uses typescript.wow-view-engine.src.model.field, so a change to typescript.wow-view-engine.src.model.field can break typescript.wow-view-engine.src.filter.fieldKind, while a change to typescript.wow-view-engine.src.filter.fieldKind can't break typescript.wow-view-engine.src.model.field.
Position
Below the diagonal: typescript.wow-view-engine.src.filter.fieldKind uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.filter.fieldKind uses typescript.wow-view-engine.src.model.filter, so a change to typescript.wow-view-engine.src.model.filter can break typescript.wow-view-engine.src.filter.fieldKind, while a change to typescript.wow-view-engine.src.filter.fieldKind can't break typescript.wow-view-engine.src.model.filter.
Position
Below the diagonal: typescript.wow-view-engine.src.filter.fieldKind uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.filter.fieldKind uses typescript.wow-view-engine.src.model.limits, so a change to typescript.wow-view-engine.src.model.limits can break typescript.wow-view-engine.src.filter.fieldKind, while a change to typescript.wow-view-engine.src.filter.fieldKind can't break typescript.wow-view-engine.src.model.limits.
Position
Below the diagonal: typescript.wow-view-engine.src.filter.fieldKind uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.filter.fieldKind uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.filter.fieldKind, while a change to typescript.wow-view-engine.src.filter.fieldKind can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.filter.fieldKind uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.model.dashboard uses typescript.wow-view-engine.src.model.chart, so a change to typescript.wow-view-engine.src.model.chart can break typescript.wow-view-engine.src.model.dashboard, while a change to typescript.wow-view-engine.src.model.dashboard can't break typescript.wow-view-engine.src.model.chart.
Position
Below the diagonal: typescript.wow-view-engine.src.model.dashboard uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.model.dashboard uses typescript.wow-view-engine.src.model.field, so a change to typescript.wow-view-engine.src.model.field can break typescript.wow-view-engine.src.model.dashboard, while a change to typescript.wow-view-engine.src.model.dashboard can't break typescript.wow-view-engine.src.model.field.
Position
Below the diagonal: typescript.wow-view-engine.src.model.dashboard uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.model.dashboard uses typescript.wow-view-engine.src.model.filter, so a change to typescript.wow-view-engine.src.model.filter can break typescript.wow-view-engine.src.model.dashboard, while a change to typescript.wow-view-engine.src.model.dashboard can't break typescript.wow-view-engine.src.model.filter.
Position
Below the diagonal: typescript.wow-view-engine.src.model.dashboard uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.record.project uses typescript.wow-view-engine.src.model.field, so a change to typescript.wow-view-engine.src.model.field can break typescript.wow-view-engine.src.record.project, while a change to typescript.wow-view-engine.src.record.project can't break typescript.wow-view-engine.src.model.field.
Position
Below the diagonal: typescript.wow-view-engine.src.record.project uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.charts uses typescript.wow-view-engine.src.model.chart, so a change to typescript.wow-view-engine.src.model.chart can break typescript.wow-view-engine.src.ui.charts, while a change to typescript.wow-view-engine.src.ui.charts can't break typescript.wow-view-engine.src.model.chart.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.charts uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.charts uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.ui.charts, while a change to typescript.wow-view-engine.src.ui.charts can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.charts uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.kit uses typescript.wow-view-engine.src.model.field, so a change to typescript.wow-view-engine.src.model.field can break typescript.wow-view-engine.src.ui.kit, while a change to typescript.wow-view-engine.src.ui.kit can't break typescript.wow-view-engine.src.model.field.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.kit uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.kit uses typescript.wow-view-engine.src.model.filter, so a change to typescript.wow-view-engine.src.model.filter can break typescript.wow-view-engine.src.ui.kit, while a change to typescript.wow-view-engine.src.ui.kit can't break typescript.wow-view-engine.src.model.filter.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.kit uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.kit uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.ui.kit, while a change to typescript.wow-view-engine.src.ui.kit can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.kit uses a module listed above it, which is the healthy direction.
me.ahoo.wow.api.decide uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.api.decide, while a change to me.ahoo.wow.api.decide can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.api.decide uses a module listed above it, which is the healthy direction.
me.ahoo.wow.api.decide uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.api.decide, while a change to me.ahoo.wow.api.decide can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.api.decide uses a module listed above it, which is the healthy direction.
me.ahoo.wow.api.decide uses me.ahoo.wow.api.result, so a change to me.ahoo.wow.api.result can break me.ahoo.wow.api.decide, while a change to me.ahoo.wow.api.decide can't break me.ahoo.wow.api.result.
Position
Below the diagonal: me.ahoo.wow.api.decide uses a module listed above it, which is the healthy direction.
me.ahoo.wow.api.decide uses me.ahoo.wow.api.schedule, so a change to me.ahoo.wow.api.schedule can break me.ahoo.wow.api.decide, while a change to me.ahoo.wow.api.decide can't break me.ahoo.wow.api.schedule.
Position
Below the diagonal: me.ahoo.wow.api.decide uses a module listed above it, which is the healthy direction.
me.ahoo.wow.query uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.query, while a change to me.ahoo.wow.query can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.query uses a module listed above it, which is the healthy direction.
104 pairs of types, where a type in me.ahoo.wow.query uses a type in me.ahoo.wow.api.query. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
me.ahoo.wow.query uses me.ahoo.wow.api.query, so a change to me.ahoo.wow.api.query can break me.ahoo.wow.query, while a change to me.ahoo.wow.query can't break me.ahoo.wow.api.query.
Position
Below the diagonal: me.ahoo.wow.query uses a module listed above it, which is the healthy direction.
me.ahoo.wow.query uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.query, while a change to me.ahoo.wow.query can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.query uses a module listed above it, which is the healthy direction.
27 pairs of types, where a type in me.ahoo.wow.query uses a type in me.ahoo.wow.query.schema. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
me.ahoo.wow.query uses me.ahoo.wow.query.schema, so a change to me.ahoo.wow.query.schema can break me.ahoo.wow.query, while a change to me.ahoo.wow.query can't break me.ahoo.wow.query.schema.
Position
Below the diagonal: me.ahoo.wow.query uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spi.snapshot uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.spi.snapshot, while a change to me.ahoo.wow.spi.snapshot can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.spi.snapshot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spi.snapshot uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.spi.snapshot, while a change to me.ahoo.wow.spi.snapshot can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.spi.snapshot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spi.snapshot uses me.ahoo.wow.api.schedule, so a change to me.ahoo.wow.api.schedule can break me.ahoo.wow.spi.snapshot, while a change to me.ahoo.wow.spi.snapshot can't break me.ahoo.wow.api.schedule.
Position
Below the diagonal: me.ahoo.wow.spi.snapshot uses a module listed above it, which is the healthy direction.
52 pairs of types, where a type in typescript.wow-view-engine.src.analysis uses a type in typescript.wow-view-engine.src.model.chart. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
typescript.wow-view-engine.src.analysis uses typescript.wow-view-engine.src.model.chart, so a change to typescript.wow-view-engine.src.model.chart can break typescript.wow-view-engine.src.analysis, while a change to typescript.wow-view-engine.src.analysis can't break typescript.wow-view-engine.src.model.chart.
Position
Below the diagonal: typescript.wow-view-engine.src.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.analysis uses typescript.wow-view-engine.src.model.field, so a change to typescript.wow-view-engine.src.model.field can break typescript.wow-view-engine.src.analysis, while a change to typescript.wow-view-engine.src.analysis can't break typescript.wow-view-engine.src.model.field.
Position
Below the diagonal: typescript.wow-view-engine.src.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.analysis uses typescript.wow-view-engine.src.model.filter, so a change to typescript.wow-view-engine.src.model.filter can break typescript.wow-view-engine.src.analysis, while a change to typescript.wow-view-engine.src.analysis can't break typescript.wow-view-engine.src.model.filter.
Position
Below the diagonal: typescript.wow-view-engine.src.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.analysis uses typescript.wow-view-engine.src.model.limits, so a change to typescript.wow-view-engine.src.model.limits can break typescript.wow-view-engine.src.analysis, while a change to typescript.wow-view-engine.src.analysis can't break typescript.wow-view-engine.src.model.limits.
Position
Below the diagonal: typescript.wow-view-engine.src.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.analysis uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.analysis, while a change to typescript.wow-view-engine.src.analysis can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.analysis uses typescript.wow-view-engine.src.filter.fieldKind, so a change to typescript.wow-view-engine.src.filter.fieldKind can break typescript.wow-view-engine.src.analysis, while a change to typescript.wow-view-engine.src.analysis can't break typescript.wow-view-engine.src.filter.fieldKind.
Position
Below the diagonal: typescript.wow-view-engine.src.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime uses typescript.wow-view-engine.src.model.field, so a change to typescript.wow-view-engine.src.model.field can break typescript.wow-view-engine.src.runtime, while a change to typescript.wow-view-engine.src.runtime can't break typescript.wow-view-engine.src.model.field.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime uses typescript.wow-view-engine.src.model.filter, so a change to typescript.wow-view-engine.src.model.filter can break typescript.wow-view-engine.src.runtime, while a change to typescript.wow-view-engine.src.runtime can't break typescript.wow-view-engine.src.model.filter.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime uses typescript.wow-view-engine.src.model.instance, so a change to typescript.wow-view-engine.src.model.instance can break typescript.wow-view-engine.src.runtime, while a change to typescript.wow-view-engine.src.runtime can't break typescript.wow-view-engine.src.model.instance.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime uses typescript.wow-view-engine.src.model.limits, so a change to typescript.wow-view-engine.src.model.limits can break typescript.wow-view-engine.src.runtime, while a change to typescript.wow-view-engine.src.runtime can't break typescript.wow-view-engine.src.model.limits.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.runtime, while a change to typescript.wow-view-engine.src.runtime can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime uses typescript.wow-view-engine.src.filter.fieldKind, so a change to typescript.wow-view-engine.src.filter.fieldKind can break typescript.wow-view-engine.src.runtime, while a change to typescript.wow-view-engine.src.runtime can't break typescript.wow-view-engine.src.filter.fieldKind.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime uses typescript.wow-view-engine.src.model.dashboard, so a change to typescript.wow-view-engine.src.model.dashboard can break typescript.wow-view-engine.src.runtime, while a change to typescript.wow-view-engine.src.runtime can't break typescript.wow-view-engine.src.model.dashboard.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime uses typescript.wow-view-engine.src.record.project, so a change to typescript.wow-view-engine.src.record.project can break typescript.wow-view-engine.src.runtime, while a change to typescript.wow-view-engine.src.runtime can't break typescript.wow-view-engine.src.record.project.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime.viewEngine uses typescript.wow-view-engine.src.model.instance, so a change to typescript.wow-view-engine.src.model.instance can break typescript.wow-view-engine.src.runtime.viewEngine, while a change to typescript.wow-view-engine.src.runtime.viewEngine can't break typescript.wow-view-engine.src.model.instance.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime.viewEngine uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime.viewEngine uses typescript.wow-view-engine.src.model.limits, so a change to typescript.wow-view-engine.src.model.limits can break typescript.wow-view-engine.src.runtime.viewEngine, while a change to typescript.wow-view-engine.src.runtime.viewEngine can't break typescript.wow-view-engine.src.model.limits.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime.viewEngine uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.runtime.viewEngine uses typescript.wow-view-engine.src.filter.fieldKind, so a change to typescript.wow-view-engine.src.filter.fieldKind can break typescript.wow-view-engine.src.runtime.viewEngine, while a change to typescript.wow-view-engine.src.runtime.viewEngine can't break typescript.wow-view-engine.src.filter.fieldKind.
Position
Below the diagonal: typescript.wow-view-engine.src.runtime.viewEngine uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.analysis uses typescript.wow-view-engine.src.model.chart, so a change to typescript.wow-view-engine.src.model.chart can break typescript.wow-view-engine.src.ui.analysis, while a change to typescript.wow-view-engine.src.ui.analysis can't break typescript.wow-view-engine.src.model.chart.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.analysis uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.ui.analysis, while a change to typescript.wow-view-engine.src.ui.analysis can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.analysis uses typescript.wow-view-engine.src.record.project, so a change to typescript.wow-view-engine.src.record.project can break typescript.wow-view-engine.src.ui.analysis, while a change to typescript.wow-view-engine.src.ui.analysis can't break typescript.wow-view-engine.src.record.project.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.analysis uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.record uses typescript.wow-view-engine.src.model.limits, so a change to typescript.wow-view-engine.src.model.limits can break typescript.wow-view-engine.src.ui.record, while a change to typescript.wow-view-engine.src.ui.record can't break typescript.wow-view-engine.src.model.limits.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.record uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.record uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.ui.record, while a change to typescript.wow-view-engine.src.ui.record can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.record uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.record uses typescript.wow-view-engine.src.record.project, so a change to typescript.wow-view-engine.src.record.project can break typescript.wow-view-engine.src.ui.record, while a change to typescript.wow-view-engine.src.ui.record can't break typescript.wow-view-engine.src.record.project.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.record uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spi.log uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.spi.log, while a change to me.ahoo.wow.spi.log can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.spi.log uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spi.log uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.spi.log, while a change to me.ahoo.wow.spi.log can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.spi.log uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spi.log uses me.ahoo.wow.api.decide, so a change to me.ahoo.wow.api.decide can break me.ahoo.wow.spi.log, while a change to me.ahoo.wow.spi.log can't break me.ahoo.wow.api.decide.
Position
Below the diagonal: me.ahoo.wow.spi.log uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spi.log uses me.ahoo.wow.spi.snapshot, so a change to me.ahoo.wow.spi.snapshot can break me.ahoo.wow.spi.log, while a change to me.ahoo.wow.spi.log can't break me.ahoo.wow.spi.snapshot.
Position
Below the diagonal: me.ahoo.wow.spi.log uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.react uses typescript.wow-view-engine.src.model.chart, so a change to typescript.wow-view-engine.src.model.chart can break typescript.wow-view-engine.src.react, while a change to typescript.wow-view-engine.src.react can't break typescript.wow-view-engine.src.model.chart.
Position
Below the diagonal: typescript.wow-view-engine.src.react uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.react uses typescript.wow-view-engine.src.model.field, so a change to typescript.wow-view-engine.src.model.field can break typescript.wow-view-engine.src.react, while a change to typescript.wow-view-engine.src.react can't break typescript.wow-view-engine.src.model.field.
Position
Below the diagonal: typescript.wow-view-engine.src.react uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.react uses typescript.wow-view-engine.src.model.filter, so a change to typescript.wow-view-engine.src.model.filter can break typescript.wow-view-engine.src.react, while a change to typescript.wow-view-engine.src.react can't break typescript.wow-view-engine.src.model.filter.
Position
Below the diagonal: typescript.wow-view-engine.src.react uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.react uses typescript.wow-view-engine.src.model.instance, so a change to typescript.wow-view-engine.src.model.instance can break typescript.wow-view-engine.src.react, while a change to typescript.wow-view-engine.src.react can't break typescript.wow-view-engine.src.model.instance.
Position
Below the diagonal: typescript.wow-view-engine.src.react uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.react uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.react, while a change to typescript.wow-view-engine.src.react can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.react uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.react uses typescript.wow-view-engine.src.model.dashboard, so a change to typescript.wow-view-engine.src.model.dashboard can break typescript.wow-view-engine.src.react, while a change to typescript.wow-view-engine.src.react can't break typescript.wow-view-engine.src.model.dashboard.
Position
Below the diagonal: typescript.wow-view-engine.src.react uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.react uses typescript.wow-view-engine.src.record.project, so a change to typescript.wow-view-engine.src.record.project can break typescript.wow-view-engine.src.react, while a change to typescript.wow-view-engine.src.react can't break typescript.wow-view-engine.src.record.project.
Position
Below the diagonal: typescript.wow-view-engine.src.react uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.react uses typescript.wow-view-engine.src.runtime.viewEngine, so a change to typescript.wow-view-engine.src.runtime.viewEngine can break typescript.wow-view-engine.src.react, while a change to typescript.wow-view-engine.src.react can't break typescript.wow-view-engine.src.runtime.viewEngine.
Position
Below the diagonal: typescript.wow-view-engine.src.react uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.dashboard uses typescript.wow-view-engine.src.model.instance, so a change to typescript.wow-view-engine.src.model.instance can break typescript.wow-view-engine.src.ui.dashboard, while a change to typescript.wow-view-engine.src.ui.dashboard can't break typescript.wow-view-engine.src.model.instance.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.dashboard uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.dashboard uses typescript.wow-view-engine.src.ui.analysis.DrillMenu, so a change to typescript.wow-view-engine.src.ui.analysis.DrillMenu can break typescript.wow-view-engine.src.ui.dashboard, while a change to typescript.wow-view-engine.src.ui.dashboard can't break typescript.wow-view-engine.src.ui.analysis.DrillMenu.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.dashboard uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.dashboard uses typescript.wow-view-engine.src.model.dashboard, so a change to typescript.wow-view-engine.src.model.dashboard can break typescript.wow-view-engine.src.ui.dashboard, while a change to typescript.wow-view-engine.src.ui.dashboard can't break typescript.wow-view-engine.src.model.dashboard.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.dashboard uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.dashboard uses typescript.wow-view-engine.src.runtime.viewEngine, so a change to typescript.wow-view-engine.src.runtime.viewEngine can break typescript.wow-view-engine.src.ui.dashboard, while a change to typescript.wow-view-engine.src.ui.dashboard can't break typescript.wow-view-engine.src.runtime.viewEngine.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.dashboard uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.workbench uses typescript.wow-view-engine.src.model.instance, so a change to typescript.wow-view-engine.src.model.instance can break typescript.wow-view-engine.src.ui.workbench, while a change to typescript.wow-view-engine.src.ui.workbench can't break typescript.wow-view-engine.src.model.instance.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.workbench uses a module listed above it, which is the healthy direction.
typescript.wow-view-engine.src.ui.workbench uses typescript.wow-view-engine.src.runtime.viewEngine, so a change to typescript.wow-view-engine.src.runtime.viewEngine can break typescript.wow-view-engine.src.ui.workbench, while a change to typescript.wow-view-engine.src.ui.workbench can't break typescript.wow-view-engine.src.runtime.viewEngine.
Position
Below the diagonal: typescript.wow-view-engine.src.ui.workbench uses a module listed above it, which is the healthy direction.
27 pairs of types, where a type in me.ahoo.wow.kernel uses a type in me.ahoo.wow.api.aggregate. Showing 25 of them; the rest are in namespace-graph.json in this report's bundle.
me.ahoo.wow.kernel uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.kernel, while a change to me.ahoo.wow.kernel can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.kernel uses a module listed above it, which is the healthy direction.
me.ahoo.wow.kernel uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.kernel, while a change to me.ahoo.wow.kernel can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.kernel uses a module listed above it, which is the healthy direction.
me.ahoo.wow.kernel uses me.ahoo.wow.api.result, so a change to me.ahoo.wow.api.result can break me.ahoo.wow.kernel, while a change to me.ahoo.wow.kernel can't break me.ahoo.wow.api.result.
Position
Below the diagonal: me.ahoo.wow.kernel uses a module listed above it, which is the healthy direction.
me.ahoo.wow.kernel uses me.ahoo.wow.api.schedule, so a change to me.ahoo.wow.api.schedule can break me.ahoo.wow.kernel, while a change to me.ahoo.wow.kernel can't break me.ahoo.wow.api.schedule.
Position
Below the diagonal: me.ahoo.wow.kernel uses a module listed above it, which is the healthy direction.
me.ahoo.wow.kernel uses me.ahoo.wow.api.decide, so a change to me.ahoo.wow.api.decide can break me.ahoo.wow.kernel, while a change to me.ahoo.wow.kernel can't break me.ahoo.wow.api.decide.
Position
Below the diagonal: me.ahoo.wow.kernel uses a module listed above it, which is the healthy direction.
me.ahoo.wow.kernel uses me.ahoo.wow.spi.snapshot, so a change to me.ahoo.wow.spi.snapshot can break me.ahoo.wow.kernel, while a change to me.ahoo.wow.kernel can't break me.ahoo.wow.spi.snapshot.
Position
Below the diagonal: me.ahoo.wow.kernel uses a module listed above it, which is the healthy direction.
me.ahoo.wow.kernel uses me.ahoo.wow.spi.log, so a change to me.ahoo.wow.spi.log can break me.ahoo.wow.kernel, while a change to me.ahoo.wow.kernel can't break me.ahoo.wow.spi.log.
Position
Below the diagonal: me.ahoo.wow.kernel uses a module listed above it, which is the healthy direction.
me.ahoo.wow.migrate uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.migrate, while a change to me.ahoo.wow.migrate can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.migrate uses a module listed above it, which is the healthy direction.
me.ahoo.wow.migrate uses me.ahoo.wow.manifest, so a change to me.ahoo.wow.manifest can break me.ahoo.wow.migrate, while a change to me.ahoo.wow.migrate can't break me.ahoo.wow.manifest.
Position
Below the diagonal: me.ahoo.wow.migrate uses a module listed above it, which is the healthy direction.
me.ahoo.wow.migrate uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.migrate, while a change to me.ahoo.wow.migrate can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.migrate uses a module listed above it, which is the healthy direction.
me.ahoo.wow.migrate uses me.ahoo.wow.spi.ledger, so a change to me.ahoo.wow.spi.ledger can break me.ahoo.wow.migrate, while a change to me.ahoo.wow.migrate can't break me.ahoo.wow.spi.ledger.
Position
Below the diagonal: me.ahoo.wow.migrate uses a module listed above it, which is the healthy direction.
me.ahoo.wow.migrate uses me.ahoo.wow.api.decide, so a change to me.ahoo.wow.api.decide can break me.ahoo.wow.migrate, while a change to me.ahoo.wow.migrate can't break me.ahoo.wow.api.decide.
Position
Below the diagonal: me.ahoo.wow.migrate uses a module listed above it, which is the healthy direction.
me.ahoo.wow.migrate uses me.ahoo.wow.spi.snapshot, so a change to me.ahoo.wow.spi.snapshot can break me.ahoo.wow.migrate, while a change to me.ahoo.wow.migrate can't break me.ahoo.wow.spi.snapshot.
Position
Below the diagonal: me.ahoo.wow.migrate uses a module listed above it, which is the healthy direction.
me.ahoo.wow.migrate uses me.ahoo.wow.spi.log, so a change to me.ahoo.wow.spi.log can break me.ahoo.wow.migrate, while a change to me.ahoo.wow.migrate can't break me.ahoo.wow.spi.log.
Position
Below the diagonal: me.ahoo.wow.migrate uses a module listed above it, which is the healthy direction.
me.ahoo.wow.migrate uses me.ahoo.wow.kernel, so a change to me.ahoo.wow.kernel can break me.ahoo.wow.migrate, while a change to me.ahoo.wow.migrate can't break me.ahoo.wow.kernel.
Position
Below the diagonal: me.ahoo.wow.migrate uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.admission uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.runtime.admission, while a change to me.ahoo.wow.runtime.admission can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.runtime.admission uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.admission uses me.ahoo.wow.manifest, so a change to me.ahoo.wow.manifest can break me.ahoo.wow.runtime.admission, while a change to me.ahoo.wow.runtime.admission can't break me.ahoo.wow.manifest.
Position
Below the diagonal: me.ahoo.wow.runtime.admission uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.admission uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.runtime.admission, while a change to me.ahoo.wow.runtime.admission can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.runtime.admission uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.admission uses me.ahoo.wow.api.result, so a change to me.ahoo.wow.api.result can break me.ahoo.wow.runtime.admission, while a change to me.ahoo.wow.runtime.admission can't break me.ahoo.wow.api.result.
Position
Below the diagonal: me.ahoo.wow.runtime.admission uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.admission uses me.ahoo.wow.api.decide, so a change to me.ahoo.wow.api.decide can break me.ahoo.wow.runtime.admission, while a change to me.ahoo.wow.runtime.admission can't break me.ahoo.wow.api.decide.
Position
Below the diagonal: me.ahoo.wow.runtime.admission uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.admission uses me.ahoo.wow.spi.log, so a change to me.ahoo.wow.spi.log can break me.ahoo.wow.runtime.admission, while a change to me.ahoo.wow.runtime.admission can't break me.ahoo.wow.spi.log.
Position
Below the diagonal: me.ahoo.wow.runtime.admission uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.admission uses me.ahoo.wow.kernel, so a change to me.ahoo.wow.kernel can break me.ahoo.wow.runtime.admission, while a change to me.ahoo.wow.runtime.admission can't break me.ahoo.wow.kernel.
Position
Below the diagonal: me.ahoo.wow.runtime.admission uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.subscription uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.runtime.subscription, while a change to me.ahoo.wow.runtime.subscription can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.runtime.subscription uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.subscription uses me.ahoo.wow.api.result, so a change to me.ahoo.wow.api.result can break me.ahoo.wow.runtime.subscription, while a change to me.ahoo.wow.runtime.subscription can't break me.ahoo.wow.api.result.
Position
Below the diagonal: me.ahoo.wow.runtime.subscription uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.subscription uses me.ahoo.wow.spi.ledger, so a change to me.ahoo.wow.spi.ledger can break me.ahoo.wow.runtime.subscription, while a change to me.ahoo.wow.runtime.subscription can't break me.ahoo.wow.spi.ledger.
Position
Below the diagonal: me.ahoo.wow.runtime.subscription uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.subscription uses me.ahoo.wow.spi.snapshot, so a change to me.ahoo.wow.spi.snapshot can break me.ahoo.wow.runtime.subscription, while a change to me.ahoo.wow.runtime.subscription can't break me.ahoo.wow.spi.snapshot.
Position
Below the diagonal: me.ahoo.wow.runtime.subscription uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.subscription uses me.ahoo.wow.spi.log, so a change to me.ahoo.wow.spi.log can break me.ahoo.wow.runtime.subscription, while a change to me.ahoo.wow.runtime.subscription can't break me.ahoo.wow.spi.log.
Position
Below the diagonal: me.ahoo.wow.runtime.subscription uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.subscription uses me.ahoo.wow.kernel, so a change to me.ahoo.wow.kernel can break me.ahoo.wow.runtime.subscription, while a change to me.ahoo.wow.runtime.subscription can't break me.ahoo.wow.kernel.
Position
Below the diagonal: me.ahoo.wow.runtime.subscription uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.cluster uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.runtime.cluster, while a change to me.ahoo.wow.runtime.cluster can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.runtime.cluster uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.cluster uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.runtime.cluster, while a change to me.ahoo.wow.runtime.cluster can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.runtime.cluster uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.cluster uses me.ahoo.wow.api.result, so a change to me.ahoo.wow.api.result can break me.ahoo.wow.runtime.cluster, while a change to me.ahoo.wow.runtime.cluster can't break me.ahoo.wow.api.result.
Position
Below the diagonal: me.ahoo.wow.runtime.cluster uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.cluster uses me.ahoo.wow.api.decide, so a change to me.ahoo.wow.api.decide can break me.ahoo.wow.runtime.cluster, while a change to me.ahoo.wow.runtime.cluster can't break me.ahoo.wow.api.decide.
Position
Below the diagonal: me.ahoo.wow.runtime.cluster uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.cluster uses me.ahoo.wow.kernel, so a change to me.ahoo.wow.kernel can break me.ahoo.wow.runtime.cluster, while a change to me.ahoo.wow.runtime.cluster can't break me.ahoo.wow.kernel.
Position
Below the diagonal: me.ahoo.wow.runtime.cluster uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.cluster uses me.ahoo.wow.runtime.subscription, so a change to me.ahoo.wow.runtime.subscription can break me.ahoo.wow.runtime.cluster, while a change to me.ahoo.wow.runtime.cluster can't break me.ahoo.wow.runtime.subscription.
Position
Below the diagonal: me.ahoo.wow.runtime.cluster uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.manifest, so a change to me.ahoo.wow.manifest can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.manifest.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.spi.ledger, so a change to me.ahoo.wow.spi.ledger can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.spi.ledger.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.spi.snapshot, so a change to me.ahoo.wow.spi.snapshot can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.spi.snapshot.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.spi.log, so a change to me.ahoo.wow.spi.log can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.spi.log.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.kernel, so a change to me.ahoo.wow.kernel can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.kernel.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.runtime.admission, so a change to me.ahoo.wow.runtime.admission can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.runtime.admission.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.runtime.subscription, so a change to me.ahoo.wow.runtime.subscription can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.runtime.subscription.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.runtime.node uses me.ahoo.wow.runtime.cluster, so a change to me.ahoo.wow.runtime.cluster can break me.ahoo.wow.runtime.node, while a change to me.ahoo.wow.runtime.node can't break me.ahoo.wow.runtime.cluster.
Position
Below the diagonal: me.ahoo.wow.runtime.node uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.api.aggregate, so a change to me.ahoo.wow.api.aggregate can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.api.aggregate.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.manifest, so a change to me.ahoo.wow.manifest can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.manifest.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.api.caller, so a change to me.ahoo.wow.api.caller can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.api.caller.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.api.result, so a change to me.ahoo.wow.api.result can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.api.result.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.query.schema, so a change to me.ahoo.wow.query.schema can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.query.schema.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.spi.ledger, so a change to me.ahoo.wow.spi.ledger can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.spi.ledger.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.query, so a change to me.ahoo.wow.query can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.query.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.spi.snapshot, so a change to me.ahoo.wow.spi.snapshot can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.spi.snapshot.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.spi.log, so a change to me.ahoo.wow.spi.log can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.spi.log.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.kernel, so a change to me.ahoo.wow.kernel can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.kernel.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.runtime.admission, so a change to me.ahoo.wow.runtime.admission can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.runtime.admission.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.runtime.subscription, so a change to me.ahoo.wow.runtime.subscription can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.runtime.subscription.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.runtime.cluster, so a change to me.ahoo.wow.runtime.cluster can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.runtime.cluster.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
me.ahoo.wow.spring.boot uses me.ahoo.wow.runtime.node, so a change to me.ahoo.wow.runtime.node can break me.ahoo.wow.spring.boot, while a change to me.ahoo.wow.spring.boot can't break me.ahoo.wow.runtime.node.
Position
Below the diagonal: me.ahoo.wow.spring.boot uses a module listed above it, which is the healthy direction.
Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).
OWASP category
Findings
Severity
A07:2025 — Authentication Failures
94
High / Critical
A02:2025 — Security Misconfiguration
83
High / Critical
A05:2025 — Injection
74
High / Critical
A03:2025 — Software Supply Chain Failures
9
High / Critical
Roadmap
First, resolve the missing architectural decision records to ensure significant design choices are formally documented with their context and consequences. Next, reconcile all documentation with the actual codebase by removing references to non-existent packages, folders, and environment variables to eliminate confusion. Finally, add a clear quick-start section to the root README to help newcomers build and run the project immediately.
Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.
Do this
Helps
Effort
Dimension
Resolve the 1 No ADRs found finding(s) in ADR Quality.
Reconcile the README with reality: skills/README.md names the package `@ahoo-wang/*`, but no package.json of the workspace declares or depends on it; documentation/designs/01-programming-model.md names `infra/prepare`, but no file or folder `infra/prepare` exists; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_VERSIONED`, but no code, script or configuration file names it; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TIME_BASED`, but no code, script or configuration file names it; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TRACING`, but no code, script or configuration file names it.
Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
Every finding carries one of four grades. Three say how serious it is. The fourth says this
survey could not settle it — and it is a grade, not a gap.
Critical — 180
A definite problem that already costs you something and drags the score down: a
missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here
tends to cause failures elsewhere.
Serious — 946
Likely wrong, but not failing yet. It degrades
the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to
carry for two years either.
Minor — 140
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved — 12
Something this survey could not settle
from the outside, and which could be critical or serious. Either a control was required and no
positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves
nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean
result. These are excluded from the score rather than awarded a pass, so the number on the cover neither
rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each
one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 89 of 94 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
Every figure here is one of three kinds, and we label which: ✓ Measured — a deterministic fact (LoC, complexity, coverage); ~ Modeled — an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory — an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): ✓ Tool-verified means the property itself was measured across the surface; ○ Nothing flagged means the probes came back clean — a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence — absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled · advisory marks an LLM verdict over a bounded sample — advisory, never a deterministic measurement.
What we checked — 94 dimensions across the health lenses
Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.
How to trust any code-health report — three questions
Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 1245 of 1266 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
This report answers yes to all three. That's the bar to hold any assessment to.
Tools & methods
The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.
Method
Backs
Version
Evaluator
Roslyn static analysis
Complexity, cohesion, coupling, dead code, API surface, layering
What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.
D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: this repository's production source spans .mts, .ts, .tsx, .kt, and our analyzer cannot run the .kt test suite(s) — so no coverage was collected for the repository as a whole. The JavaScript/TypeScript half did build and run, and its own line coverage came back at 22.0% — but that is a figure for one half of the product, and we do not publish a partial one as if it were complete. This is OUR limitation, not a defect in the repo — coverage is excluded from the score rather than counted as a near-zero. In the meantime, produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`, or JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures and real coverage will be read. You can widen what we reach: optional: produce a coverage report in a standard format (JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then both halves are read on the next scan.
D10 Test Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 7,265 test(s) behind this row are the ones the JavaScript/TypeScript census could read, and this repository also carries at least 1,015 test source file(s) (.java, .kt) that it cannot: it reads JavaScript/TypeScript test declarations off disk, so a JUnit/pytest-style suite is invisible to it. Skipped tests, zero-assertion tests and the other quality signals on this row are UNMEASURED in that suite — their absence from the counts above is a gap in this analyzer's language coverage, not a finding that those tests are sound.
D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT SCORED: this repository's production source includes .kt, and the jvm executor ran against the .kt half and never executed — so reliability was not measured for the repository as a whole. The JavaScript/TypeScript (node:test via `pnpm install --frozen-lockfile --ignore-scripts` in documentation/; vitest via `pnpm install --frozen-lockfile --ignore-scripts` in example/eshop/web/ (7 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in platform/analytics/catalog/console/ (0 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in platform/ops/console/ (0 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in typescript/integration-test/ (0 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in typescript/storybook/ (82 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in typescript/wow-client/ (488 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in typescript/wow-generator/ (653 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in typescript/wow-react/ (3 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in typescript/wow-view-engine/ (7 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in typescript/wow-view-store/ (98 tests)): measured (0 flaky) suite(s) did re-run, and came back with 0 flaky across 1 measured tier(s) — but that is a figure for one half of the product, and we do not publish a partial one as if it were complete. This is OUR limitation, not a defect in the repo — test reliability is excluded from the score rather than counted. The half was driven by a runner we ship, so this is not a missing-runner gap.
D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the node:test suite in documentation/ was NOT MEASURED: the node:test run in documentation/ produced no per-test report (throw new Error(). This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 84 Maven/Gradle manifest(s) were read, stating a version for 24 dependency(ies) and leaving 2 to a parent or an imported BOM, but no build resolved the dependency graph, so the outdated signal was not established. NOT a finding that these dependencies are current or healthy.
D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (6 contributor(s) across 7436 commit(s) sampled, automation and bot accounts excluded). One of them holds 100% of the history; the other 5 hold 0% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `.github/scripts/breaking-label.mjs`, `.github/scripts/release-admission.mjs`, `api/query-api/src/main/kotlin/me/ahoo/wow/api/query/AggregationQuery.kt`, `api/query-api/src/main/kotlin/me/ahoo/wow/api/query/annotation/Sensitive.kt`, `backends/clickhouse/src/main/kotlin/me/ahoo/wow/clickhouse/query/ClickHouseExecutor.kt`, … (+211 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via REDACTED (REDACTED). docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/bui…; runtime evidence skipped.
C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'com.mongodb' is imported (backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoStoreProvider.kt:16), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'com.mongodb' is imported (backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoStoreProvider.kt:16), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'com.mongodb' is imported (backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoStoreProvider.kt:16), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 'com.mongodb' is imported (backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoStoreProvider.kt:16), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
M4 Documentation accuracy — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 546 further occurrence(s) are not listed individually; the score already reflects all 586.
R10 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 195 further occurrence(s) are not listed individually; the score already reflects all 235.
R3 Large Files — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 106 further occurrence(s) are not listed individually; the score already reflects all 146.
S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
Repo exclusion declarations: 22 pattern(s) declared (.gitattributes linguist-generated/vendored, .editorconfig generated_code) excluded 0 source file(s) from code-quality scoring. Declarations are the repo's own visible statement that a tree is machine-written or vendored — auditable in any diff, honored by GitHub the same way.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.
D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts — leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
D40 Network Egress Confinement: Egress confinement is read from committed Kubernetes manifests — a policy applied out-of-band (cluster-default deny, a service mesh, or a cloud firewall/security group off-repo) is invisible, and a present NetworkPolicy is declared config, not proof the cluster admission-controller actually enforces it at runtime.
D41 Kernel & Syscall Confinement: Syscall/MAC confinement is read from committed manifests — a profile applied by a cluster-wide PodSecurity default or a mutating webhook off-repo isn't seen, and a declared seccomp/AppArmor profile is config presence, not proof the node's kernel actually loaded and enforced it.
D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
LLM-set scores this run (5): D19, D21, D22, D26, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score; each names its own sample and method on its card. They are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.
What it measures: How tangled the control flow is — methods with many branches are hard to test and change.
Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.
156 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was generate.generateRetail.project at 107. A further 15 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being FilterExpressionJsonKt.filterType at 54 — they are counted neither in the figure above nor in this dimension's score. 11 files carry no cyclomatic complexity row at all for this reason — every one of their over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: query/query/src/main/kotlin/me/ahoo/wow/query/json/FilterExpressionJson.kt (FilterExpressionJsonKt.filterType at 54), query/query/src/main/kotlin/me/ahoo/wow/query/QueryResolver.kt (QueryResolver.filter at 40), query/query/src/main/kotlin/me/ahoo/wow/query/schema/QueryFieldAliases.kt (QueryFieldAliases.filter at 38), backends/clickhouse/src/main/kotlin/me/ahoo/wow/clickhouse/query/ClickHouseFilterCompiler.kt (ClickHouseFilterCompiler.compile at 32), backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/ElasticsearchIndexMappingResolver.kt (ElasticsearchIndexMappingResolverKt.nullValue at 21), and 6 more not listed here. They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
+ 151 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Bring the 5 bodies over 60 down to 60 or less in Cyclomatic Complexity — start with generate.generateRetail.project (cyclomatic 107), check.checkTheme (cyclomatic 84), AnalysisTable.AnalysisTable (cyclomatic 67). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 5 together lifts Cyclomatic Complexity from 5.9 to about 6.5/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: How hard the code is for a person to follow, beyond raw branching.
Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.
+ 180 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Bring the 7 bodies over 60 down to 60 or less in Cognitive Complexity — start with generate.generateRetail.project (cognitive 146), generate.generateRetail (cognitive 143), check.checkTheme (cognitive 139). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 7 together lifts Cognitive Complexity from 5.6 to about 6.5/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D3 · God Classes8.5 / 10Strong✓ Tool-verified
What it measures: Over-large classes that try to do too much ("god classes").
Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.
Resolve the 92 FunctionTooLong finding(s) in God Classes — start with boards.ts (3), MetricCard.tsx (2), FilterBar.tsx (2). — One of this dimension's main actionable groups (92 warning-level).
Resolve the 16 FileTooLong finding(s) in God Classes — start with generate.ts, views.ts, boards.ts. — One of this dimension's main actionable groups (16 warning-level).
Resolve the 13 TooManyMethods finding(s) in God Classes — start with AggregationQueryDsl.kt, FilterDsl.kt, commands.ts. — One of this dimension's main actionable groups (13 warning-level).
Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Copy-pasted code that should be shared instead.
Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.
34 duplicated block group(s) detected. 1 of the 34 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population. Measured on part of this repository only: .ts, .tsx (63% of production source) was not exposed to THIS dimension's token comparison and is not in this count; duplication there is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream.
+ 9 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 8 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with SubscriptionResolver.kt, CommandGateway.kt, ViewStoreOpenApi.kt. — One of this dimension's main actionable groups (8 warning-level).
Resolve the 6 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with AnalyticsCatalogCallers.kt, ViewPreferences.kt, ElasticsearchEventDocuments.kt. — One of this dimension's main actionable groups (6 warning-level).
Resolve the 5 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with ElasticsearchIndexMappingResolver.kt, MongoEventLog.kt, ViewStoreOpenApi.kt. — One of this dimension's main actionable groups (5 warning-level).
Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D5 · Coupling9.9 / 10Stronggated by 1 serious finding✓ Tool-verified
What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.
Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.
Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type — the population is all types, not a name convention.
63 production modules (Gradle+npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; edges a convention plugin adds from buildSrc or build-logic are not visible there; 1 module(s) off the main sequence, with abstractness counted on 53 of the 63 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
Off the main sequence: @ahoo-wang/wow-client
What to do
Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d5_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether a class's methods are focused on a single responsibility.
Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.
Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class — the population is all types, not a name convention.
Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with DatasetWording.kt. — One of this dimension's main actionable groups (1 warning-level).
Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
Detailed fixes: d6_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D9 · Test Distribution10.0 / 10Exemplary✓ Tool-verified
What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.
Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.
7282 test methods: 7243 unit, 19 integration, 0 BDD, 20 e2e. The JavaScript/TypeScript suite contributes 7265 `it`/`test` case(s) across 542 test file(s) declaring at least one beside 3 .NET test method(s); its tier split is read from package names and paths only. The Python suite contributes 14 test function(s) across 1 file(s) declaring at least one — every `def test…` in a file pytest or unittest would collect, which is those frameworks' own definition of a case; a parametrize table counts once, so this is a floor. Its tier split is read from file names and paths only.
✓ On the Gold path — maintain.
Detailed fixes: d9_recommendation.md.
Do you agree with this assessment?
D10 · Test Quality9.9 / 10Stronggated by 30 serious findings✓ Tool-verified
What it measures: Whether the tests truly assert behaviour rather than just running the code.
Method: Per-test assertions, skips, and mock references analyzed via Roslyn; structured skip-reason tags (BUG:/ENV:) separate documented deferrals from debt. Deterministic.
14 skipped (14 with a documented reason), 30 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 7265 tests. Measured on the JavaScript/TypeScript suite only — at least 1,015 test source file(s) (.java, .kt) went unread, so its test quality is unmeasured and is not in these counts.
No assertions: an approver marks the source reviewed · ×30platform/analytics/catalog/console/e2e/console.spec.ts:111
Mock-dominated test: prints the outcome, warnings and errors by default, without the details · ×10typescript/wow-generator/test/api/logger.test.ts:41
Resolve the 30 No assertions finding(s) in Test Quality — start with hookContract.types.test.ts (7), filterQueryTypes.test.ts (5), projected.test.ts (3). — One of this dimension's main actionable groups (30 warning-level).
Resolve the 10 Mock-dominated test finding(s) in Test Quality — start with logger.test.ts (5), renameInput.test.tsx (2), engineResources.test.ts. — One of this dimension's main actionable groups (10 recommendation-level).
Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d10_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.
Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.
What it measures: Files that change often and are also complex — the riskiest hotspots.
Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.
Top hotspots: typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx (65×64=4160); typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx (49×48=2352); typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx (33×67=2211) Repeated repair below the complexity floor: typescript/wow-view-engine/src/ui/record/columns.ts (13 of 25 changes were fixes); typescript/wow-view-engine/src/ui/filter/inputs/number.tsx (9 of 15 changes were fixes); typescript/wow-view-engine/src/filter/validate.ts (9 of 14 changes were fixes)
Resolve the 112 Hotspot finding(s) in Churn × Complexity Hotspots — start with MetricCard.tsx (2), fields.ts (2), WorkbenchShell.tsx. — One of this dimension's main actionable groups (112 warning-level).
Resolve the 30 Repeated repair finding(s) in Churn × Complexity Hotspots — start with validate.ts (2), columns.ts, number.tsx. — One of this dimension's main actionable groups (30 warning-level).
Detailed fixes: d15_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Acknowledged debt left in the code — TODOs, dead code, suppressed warnings.
Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.
0 deducted task-comment markers across 346900 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What it measures: Whether the project's documentation is clear, complete, and useful.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.
A comprehensive documentation set for a TypeScript client and view-engine package family. The READMEs are well written for their directories: each one states what it documents (e.g., `@ahoo-wang/wow-client` is the typed client of Wow routes) and gives install/build commands, usage examples, and migration-rehearsal stories. There is no single repository-level root README covering installation/usage/contribution; all the project-specific docs are self-contained per directory. The repository's READMEs and architecture/Docs markdown files are well documented for their respective directories. The eShop end-to-end tests load baseline (e2e) is a focused test README with an overview, what the script measures, and its result; the analytics catalog console is a detailed data-plane console README covering sources, datasets, rows, and how it is served; the ops console covers what it does, parked entries, and development. The skills/wow-migrate/evals/h5-inputs/README is an input directory pointing to 9.x modules copied from v10, with a clear migration rationale; test/benchmarks/results/reports/README documents benchmark reports and their status. All visible documents are complete per the outline they name. (10 of 25 sampled documents could not be assessed: 1 of 3 evaluation groups failed.)
What to do
Improve Documentation Quality — currently 8.6/10. — A comprehensive documentation set for a TypeScript client and view-engine package family. The READMEs are well written for their directories: each one states what it documents (e.g., `@ahoo-wang/wow-client` is the typed client of Wow routes) and gives install/build commands, usage examples, and migration-rehearsal stories. There is no single repository-level root README covering installation/usage/contribution; all the project-specific docs are self-contained per directory. The repository's READMEs and architecture/Docs markdown files are well documented for their respective directories. The eShop end-to-end tests load baseline (e2e) is a focused test README with an overview, what the script measures, and its result; the analytics catalog console is a detailed data-plane console README covering sources, datasets, rows, and how it is served; the ops console covers what it does, parked entries, and development. The skills/wow-migrate/evals/h5-inputs/README is an input directory pointing to 9.x modules copied from v10, with a clear migration rationale; test/benchmarks/results/reports/README documents benchmark reports and their status. All visible documents are complete per the outline they name. (10 of 25 sampled documents could not be assessed: 1 of 3 evaluation groups failed.)
Detailed fixes: d19_recommendation.md.
Do you agree with this assessment?
D20 · ADR Quality0.0 / 10Critical✓ Tool-verified
What it measures: Whether architecture decisions are recorded well (context, decision, consequences).
Method: Per-ADR judgment by language model at low temperature with two-pass stability; confidence is share of ADRs evaluated; enforcement-field presence detected deterministically. Advisory.
What it measures: Whether names — types, methods, variables — are clear and consistent.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.
0 naming inconsistencies across 0 sampled symbols.
✓ On the Gold path — maintain.
Detailed fixes: d21_recommendation.md.
Do you agree with this assessment?
D22 · Internal API ConsistencyStrong◐ Sampled · advisory
What it measures: Whether the internal API surface is consistent and coherent.
Method: Judged by language model at low temperature over a sample of the public API surface (IsPackable or .Contracts types). Sampled, advisory; confidence discounted by model uncertainty.
3 API inconsistencies across a 400-member sample of 1011 exposed types.
Inconsistent Scope Modeling: `Scope` uses nullable strings for ownerId/spaceId, while `TargetScope` uses required strings. This creates ambiguity about whether a 'target' scope can be unscoped or if it always requires explicit IDs.
Redundant Scope Fields in Records: `SnapshotRecord` and `EventStreamRecord` duplicate `ownerId` and `spaceId` which are already present in their respective `AggregateRef` (via `tenantId`/`id`) or `Operator` fields, or are derivable from `Scope`. This leads to potential state drift.
Inconsistent Path Parameter Naming: `send` and `stream` use a generic `path: string` parameter, while `lifecycle` uses `aggregatePath: string`. This inconsistency in naming suggests different intent or usage patterns without clear distinction in the type signature.
What to do
Resolve the 1 Inconsistent Scope Modeling finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 Redundant Scope Fields in Records finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 Inconsistent Path Parameter Naming finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d22_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether domain types (IDs, enums, value objects) leak across bounded-context boundaries.
Method: Cross-context domain-type leakage via Roslyn structural classification (strongly-typed IDs / value objects) over every public surface. Exhaustive, deterministic, type-level aggregate-boundary check.
Coverage: Bounded contexts derived from NAMESPACE prefix (or graph-inferred where available); cross-boundary domain-type leakage then checked exhaustively over every public member of every type.
What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.
Method: REDACTED scan via TWO gitleaks detect passes in an isolated checkout — the full git history, then a second --no-git pass over the working tree as it stands — merged and de-duplicated by (rule, file, line); each match flagged High. Both invocations are recorded in the audit trail. Exhaustive; when the tool is absent, or when its output cannot be parsed into the expected shape, the dimension is WITHHELD as an explicit measurement gap on our side — unscored and excluded from the lens, never a hedged middling score.
93 finding(s): 0 critical, 93 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
REDACTED
REDACTED
REDACTED
What to do
Resolve the 73 REDACTED finding(s) in Secrets (history) — start with REDACTED (68), REDACTED (4), REDACTED. — One of this dimension's main actionable groups (73 issue-level).
Resolve the 20 High secret finding(s) in Secrets (history) — start with REDACTED (7), REDACTED (4), REDACTED (2). — One of this dimension's main actionable groups (20 issue-level).
Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d28_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Real static-analysis (SAST) findings — likely security bugs in the code, any language.
Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.
Coverage: semgrep pattern rules over all files — exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).
74 finding(s): 0 critical, 74 high, 0 medium, 0 low. 60 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 137 file(s) — `.github/scripts/breaking-label.mjs` (lines 73–78), `.github/scripts/pr-safety.sh` (line 41), `.github/scripts/release-admission.mjs` (lines 163–164), `backends/clickhouse/src/main/kotlin/me/ahoo/wow/clickhouse/sink/ClickHouseSink.kt` (line 142, line 202), `backends/clickhouse/src/main/kotlin/me/ahoo/wow/clickhouse/sink/FlatColumns.kt` (lines 47–101), … (+132 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
REDACTED
REDACTED
REDACTED
REDACTED
REDACTED
+ 2 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 9 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (9). — One of this dimension's main actionable groups (9 issue-level).
Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
No action in Static Analysis (SAST) — all 60 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (60 issue-level, 0 of them charged here).
Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any dependency has a known published vulnerability (CVE), direct or transitive, in ANY ecosystem the repository declares — Dart pub, Elixir and Erlang via Hex, Go modules, Java and Kotlin via Maven/Gradle, JavaScript/npm, .NET/NuGet, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift.
Method: Dependency-CVE scan across every ecosystem the repository declares, scored ONCE. Three sources are unioned and deduplicated by advisory identity (rule id + alias closure, CVE<->GHSA) scoped to package+version, keeping the worst severity: `osv-scanner --recursive` over osv.dev for Dart pub, Elixir/Hex (and Erlang, whose `rebar.lock` syft first converts to a CycloneDX SBOM the scanner reads, with rows attributed back to the lock), Go, Java and Kotlin via Maven/Gradle (and Scala, whose sbt build's pinned direct declarations are written into a CycloneDX SBOM the scanner reads, with rows attributed back to the build file), npm, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift; `trivy fs --scanners vuln` for npm lockfiles; and `dotnet list package --vulnerable --include-transitive` for NuGet (with per-advisory collapse of the project x target-framework fan-out), plus a DECLARED-dependency arm that resolves a published gem's gemspec against rubygems.org where no Gemfile.lock is committed. `SeverityScore(c,h,m,l, normalizer 8.0)`. NotApplicable only when NO ecosystem is readable; if any applicable ecosystem could not be scanned the findings are REPORTED and the score is withheld. Supersedes the npm and OSV arms, retired 2026-09-05.
Resolve the 2 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
Resolve the 1 Critical vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
Detailed fixes: d30_recommendation.md · top locations in Appendix A, every location in findings.md.
Resolve the 61 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (42), REDACTED (6), REDACTED (6). — One of this dimension's main actionable groups (61 warning-level).
Resolve the 9 High IaC finding(s) in IaC & Container Security — start with REDACTED (6), REDACTED (3). — One of this dimension's main actionable groups (9 issue-level).
Resolve the 13 Low IaC finding(s) in IaC & Container Security — start with REDACTED (12), REDACTED. — One of this dimension's main actionable groups (13 recommendation-level).
Detailed fixes: d31_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned — last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.
Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 1508 of the 1965 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.
Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.
Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling. A non-source file is never a coupling PARTICIPANT either: documentation, schemas, config and data files are dropped with the rest, so a code↔docs pair — a command and the reference page that restates it — is not reported however strongly the two co-change; nor is coupling that runs THROUGH a build step or config file.
Resolve the 11 Change coupling finding(s) in Change Coupling — start with validateDefinition.ts, DashboardWorkbench.tsx, DataTab.tsx. — One of this dimension's main actionable groups (11 warning-level).
Resolve the 4 Change-coupling hub finding(s) in Change Coupling — start with zh-CN.ts, analysis.ts, record.ts. — One of this dimension's main actionable groups (4 warning-level).
Detailed fixes: d35_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the build pipeline provides supply-chain integrity — generated provenance/attestation, signed artifacts (cosign/sigstore), an SBOM, and pinned build actions. Presence of the configuration, not a runtime guarantee.
Method: Supply-chain provenance/signing read deterministically from CI/build config (.github/workflows, .gitlab-ci.yml, azure-pipelines, Jenkinsfile, .circleci) + the release surface: four signals — generated provenance/attestation (SLSA/in-toto/actions-attest), artifact signing (cosign/sigstore/gitsign), an SBOM (syft/sbom-action/*.spdx.json/*.cdx.json), and SHA-pinned build actions — scored 10·present/denom. NotApplicable without a build pipeline. Detects configuration presence, not runtime enforcement.
What it measures: Whether the repository publishes a coordinated-vulnerability-disclosure policy (SECURITY.md or security.txt) with a reporting contact, so finders know how to report a vulnerability. Presence of a policy file with a contact, not whether the policy is adequate or honoured.
Method: Vulnerability-disclosure policy read deterministically from the repo: a SECURITY.md (root/.github/docs) or .well-known/security.txt / security.txt, regex-checked for a reporting contact (email / URL / mailto). Present + contact → 10; present without a contact → 4; NotApplicable when no policy file exists (it may live off-repo). Detects the policy file's presence + contact, not its adequacy.
What it measures: Whether Kubernetes workloads restrict network EGRESS with a NetworkPolicy (or Cilium policy), limiting where a compromised pod can send data or reach a command-and-control server. Presence of committed egress-restricting policy, not runtime enforcement.
Method: Deterministic YAML-manifest inspection (no external tool, no Roslyn — language-agnostic): Kubernetes workloads gate applicability; credits a NetworkPolicy / Cilium policy that restricts egress (policyTypes: [Egress] / egress rules). Reward-leaning (neutral floor climbing to 10, never a deduction — baseline misconfigs stay with D31). Deterministic.
What it measures: Whether Kubernetes workloads confine the kernel boundary — a seccomp profile (RuntimeDefault/Localhost) plus an AppArmor/SELinux mandatory-access-control layer — shrinking the syscall attack surface a container escape would use. Presence of committed confinement config, not runtime enforcement.
Method: Deterministic YAML-manifest inspection (no external tool, no Roslyn): on Kubernetes workloads, credits a seccomp profile (RuntimeDefault/Localhost) and an AppArmor/SELinux MAC layer. Reward-leaning (neutral floor climbing to 10); NotApplicable without workloads. Deterministic.
0/3 workload(s) run every container under a seccomp profile; 0/3 declare an AppArmor/SELinux profile.
No seccomp profile · ×3REDACTED:2
What to do
Resolve the 3 No seccomp profile finding(s) in Kernel & Syscall Confinement — start with REDACTED (3). — One of this dimension's main actionable groups (3 recommendation-level).
Detailed fixes: d41_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any dependency the repository declares is published as MALICIOUS rather than merely vulnerable — a package that is an attacker's work, in any ecosystem osv-scanner reads. Scored apart from D30 because the answer is binary: there is no safe version to upgrade to, and the fix is to remove the package and rotate every credential it could have read.
Method: The same dependency scan D30 reads, partitioned on the scanner's own classification rather than rescanned: a row is MALICIOUS when its id is in the `MAL-` space (the ossf/malicious-packages feed) OR its `database_specific.cwe_ids` carries `CWE-506` ("Embedded Malicious Code"). Both channels are structural; the summary text is deliberately NOT read, because a malicious-package record whose summary says only "Critical severity vulnerability" is a real shape ([GHSA redacted]) and a text matcher misses it. Scored BINARY: any surviving row is 0, whatever its severity and however many CVEs sit beside it — a hostile dependency is not a quantity. Applicability and degradation are D30's: NotApplicable only when no ecosystem is readable, and an unscannable ecosystem degrades rather than reading clean. SCORED, not informational.
What it measures: Whether anyone still ships security patches for the platform this repository RUNS ON — the runtime it pins and the framework majors its own constraints hold it to. Separate from D12 because the question differs: a current Django on an end-of-life Python is perfectly up to date and completely unsupported, and the fix is a migration rather than a version bump. What the repository says it merely SUPPORTS is never charged.
Method: End-of-life PLATFORM read from the repository's own declarations and graded against a FROZEN, dated table of vendor support dates — no network, no feed, no API, so this dimension answers identically inside a closed scan fence. Two subjects: a RUNTIME the project pins (a single or all-end-of-life TargetFramework, a .nvmrc or .python-version, a requires-python CAP) and a FRAMEWORK major a dependency constraint cannot move off (a caret, tilde or exact version; `vue@^2.7.16` pins Vue 2). A FLOOR is deliberately never charged — `requires-python = ">=3.8"` states what a package SUPPORTS, not what it runs on — and a multi-target project is charged only when EVERY target is out of support. Runtime 4.0/product capped 8.0, framework 1.5 capped 4.5. The table is safe to freeze because a statement about support that ended in the past cannot become false: it loses recall as it ages, never precision, and a test asserts every entry predates the freeze date. Disjoint from D31 (a container image's OS layer) and D29 (the toolchain a CI workflow installs). Abstains when the repository declares no platform this pass reads — never scores it clean.
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 5 platform declaration(s) and 24 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
✓ On the Gold path — maintain.
Detailed fixes: d44_recommendation.md.
Do you agree with this assessment?
Frontend & cross-cutting dimensions
R = React/JS · M = Maturity · P = Readiness.
AC1 · Text alternatives10.0 / 10Exemplary○ Nothing flagged
Other · Accessibility — Whether non-text content carries a text alternative — img/area/input[type=image] have alt, a meaningful svg has a title or aria-label, video has a captions track, and object/embed/canvas have a name or fallback content. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: every img/area/input[type=image] checked for alt, svg[role=img] for a title/aria-label, video for a captions <track>. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: image/media elements — img, area, input[type=image], svg, video, object, embed, canvas — across the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and dynamic-attribute elements are skipped. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is NOT read by any producer, so it contributes no element to this population; where such a frontend is present the card discloses it as an analyzer gap rather than scoring around it.
Do you agree with this assessment?
AC2 · Forms & labels10.0 / 10Exemplary○ Nothing flagged
Other · Accessibility — Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, a click handler on a plain element names the control it declares, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.
Coverage: Population: form controls, buttons, links, fieldsets and known UI-library field components in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and spread/dynamic-attribute elements are skipped, so a control whose label arrives through a spread or a runtime expression is deliberately not judged. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
Other · Accessibility — Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.
Coverage: Population: the PARSED MARKUP documents (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx). The page-level checks — lang, title, single main landmark — fire ONCE PER FULL DOCUMENT (an <html> root) and never on a partial or component fragment, so a repo of fragments is assessed only on the per-element checks (heading order, table headers, iframe titles, meta-refresh, zoom). Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope). — platform/analytics/catalog/console/src/detail/DatasetReading.tsx:120
What to do
Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
Other · Accessibility — Whether interactive behaviour is keyboard-reachable — no click handler on a non-interactive element lacking a role, tabindex and key handler, no element the repo's own CSS styles `cursor: pointer` without giving it any of the three, no unfocusable element whose only binding is a mouse enter/leave pair or a double-click, no positive tabindex, no href-less anchor, no placeholder-href (#/javascript) link acting as a button. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: click handlers on non-interactive elements lacking role+tabindex+key handler, positive tabindex values, and href-less anchors. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: elements that pose a keyboard-semantics question, in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) — a non-natively-interactive element carrying a click handler, a double-click or hover enter/leave binding, a pointer-only gesture on a tabindex="0" element, or `cursor: pointer` from the repo's own CSS; an href-less or placeholder-href (#, javascript:) anchor; and any element with a positive tabindex. Natively interactive elements used correctly (<button>, <a href>, form controls) are NOT in the population — there is nothing to judge — so a page of nothing but correct controls gives AC4 nothing to measure. Keyboard reachability is judged from the markup, never from a rendered page. ★ An interactive element declared in a tagged-template (html`…`) or hyperscript frontend is NOT in this population — no producer reads either — so an empty population is reported as an analyzer gap, never as "this repository has no interactive elements".
Other · Accessibility — Whether ARIA is used correctly — valid non-abstract roles, the ARIA state a role requires, valid (non-misspelled) aria-* attribute names, in-enum values for token-typed aria-* attributes, and no aria-hidden on (or wrapping) a focusable element. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: role values checked against the WAI-ARIA role set (abstract/invalid flagged), required ARIA state for a role, and aria-hidden on a focusable element. Deterministic, role/attribute level.
Coverage: Population: elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) that carry a role or an aria-* attribute; roles and token values are checked against the ARIA enums exhaustively within that set. An expression-valued (dynamic) role or aria-* value is skipped rather than guessed, and markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
Other · Accessibility — Whether focus outlines aren't removed without a replacement, motion respects prefers-reduced-motion, and literal CSS colour pairs meet contrast — PARTIAL: inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS literals are read (hex/rgb/hsl/named), never computed/runtime/external-CDN colour. Static markup readiness, not a WCAG conformance claim.
Method: Static markup/CSS scan: inline outline:none/0, literal inline colour/background contrast against the 4.5:1 AA floor, and <style>-block animation without a prefers-reduced-motion guard. Deterministic but PARTIAL — only inline styles and in-repo CSS literals are visible.
Coverage: Population: styled elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx), plus in-repo <style> blocks, in-repo .css files and CSS-in-JS literals. Colour contrast is computed from LITERAL colour pairs only (hex/rgb/hsl/named, including var() tokens and Tailwind neutral utilities) — computed, runtime-themed and external-CDN colour is never resolved, so this is a partial read of contrast by construction. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
`.story-app-page:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — typescript/storybook/.storybook/preview.css:518
What to do
Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
Other · Accessibility — Whether accessibility is ENFORCED in the toolchain — an accessibility checker configured over the markup (an a11y lint rule set, e.g. eslint-plugin-jsx-a11y or vuejs-accessibility where the project lints JavaScript) and an automated accessibility assertion wired into tests or CI (axe/pa11y/Lighthouse or an equivalent) — on the Documented→Verified→Prevented ladder.
Method: Repo config/CI scan: an accessibility checker configured over the markup (an a11y lint rule set such as eslint-plugin-jsx-a11y / vuejs-accessibility where JavaScript is linted) and an automated accessibility assertion in tests or CI (axe/pa11y/Lighthouse or equivalent), graded on the Documented→Verified→Prevented rungs. Deterministic, presence/rung detection.
Coverage: Population: the repository's own tooling configuration — lint config, test and CI files — NOT the markup. It is read for a configured accessibility checker and an automated accessibility assertion (axe/pa11y/Lighthouse, or a native-toolkit equivalent), and it credits an INVOCATION, never a mention: a licence filename, an import comment or a doc reference earns no rung. Enforcement configured entirely outside the repository leaves no evidence here and cannot be credited.
Accessibility checks run in tests (Verified) but aren't gated in CI — run the suite that holds those checks in your pipeline so an accessibility regression blocks the merge (Prevented). What was searched, so you can tell an absence from a miss: the 312 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y, then run the suite that already asserts accessibility in CI so a regression blocks the merge.
Other · Architecture — Whether any singleton service captures a scoped/transient dependency — a silent lifetime/threading bug.
Method: Roslyn scan: DI registrations parsed from AddSingleton/Scoped/Transient; each singleton checked for captured shorter-lifetime dependencies. Exhaustive, deterministic.
Other · Architecture — How the codebase splits by code ROLE — domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified. How each file's role is decided, because the split is only as good as that: a generated name or a build-output tree makes it Generated, a test project makes it Test, and otherwise the file's NAMESPACE and PATH words are matched against fixed vocabularies in a fixed ORDER — domain, then infrastructure, then application — so a file whose words hit two layers is counted under the earlier one. A production file matching none of them counts as application, so that share reads 'application or unclassified' rather than a measured application layer. Roles come from naming convention, never from what the code does. On this repository the split was taken from the source tree on disk rather than from a loaded .NET workspace, so a file's role is decided by its PATH segments alone — no declared namespace was available to add to the evidence — and generated output is excluded from the census entirely rather than counted as a generated share.
Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.
Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention — a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.
What to do
The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
Other · Architecture — Whether singleton services avoid mutable shared instance state that concurrent callers would race on.
Method: Roslyn scan: singleton field mutations unguarded by lock or Interlocked, per type; syntax-based guard detection. Deterministic, traceable per field.
`StoredSystemViews` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (warnedClashes; e.g. `warnedClashes` in `warnClash` at line 69). — skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/system/StoredSystemViews.kt:37
`CatalogWatcher` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (seen; e.g. `seen` in `look` at line 60). — platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/CatalogWatcher.kt:50
`DatasetPublicationWatcher` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (lastFull, watermark, applied; e.g. `lastFull` in `sync` at line 90). — platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/DatasetPublicationWatcher.kt:62
`KafkaPartitionedSource` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (metadata; e.g. `metadata` in `metadata` at line 177). — backends/kafka/src/main/kotlin/me/ahoo/wow/kafka/KafkaPartitionedSource.kt:60
What to do
Java/Kotlin: keep container singletons stateless — move per-request data into locals or a request-scoped bean — or back the state with java.util.concurrent types (ConcurrentHashMap, AtomicInteger/AtomicReference), guard it with synchronized / a Lock (Kotlin: withLock), or mark a flag that is only ever overwritten volatile (@Volatile).
Other · Architecture — Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).
Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.
Other · Architecture — Whether dependencies point inward (Domain ← Application ← Infrastructure/Web) — the clean-architecture dependency rule, checked across the project graph.
Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.
Other · Architecture — Whether interfaces stay focused rather than fat — the Interface-Segregation principle (SOLID 'I').
Method: Roslyn scan: public interface declared-member counts (accessors fold into their property/event); fat-interface threshold (over 15 declared members) flagged per type. Each finding also reports the distinct-OPERATION count — members counted by name, so an overload group counts once — which decides whether it states the caller-side ISP harm or the implementer-side burden of an overload set. TypeScript: exported interfaces that declare behaviour, counted over their REQUIRED operations (method signatures and function-typed properties with no `?`, once per signature) — data-shape interfaces and ambient .d.ts declarations are outside the population; JavaScript declares no interfaces and is not applicable. Deterministic, type-level.
`DashboardEditing` declares 19 required operations: `addPanel`, `removePanel`, `duplicatePanel`, `renamePanel`, `replacePanelView`, `editPanelContent`, `movePanelToTab`, `setPresentation`, `referToSaved`, `setPanelClick`, `addTab`, `renameTab`, `moveTab`, `removeTab`, `place`, `reorderPanel`, `setWidth`, `undo`, `redo`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — typescript/wow-view-engine/src/runtime/dashboard/editing.ts:94
`DashboardRuntime` declares 21 required operations: `getSnapshot`, `ready`, `panelRuntime`, `refreshPanel`, `setBuilding`, `setRefreshInterval`, `preload`, `showTab`, `setFilterValue`, `setGroupingUnit`, `clearFilters`, `holdFilters`, `setFilters`, `wiredOptions`, `crossFilter`, `pressed`, `spanFilters`, `pressSpan`, `destination`, `destinationBoard`, `handOver`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — typescript/wow-view-engine/src/runtime/dashboard/contract.ts:115
`AnalysisEditorController` declares 19 required operations: `undoDrop`, `dismissDrop`, `metricRemoval`, `elementLabel`, `elementFields`, `expand`, `collapse`, `setElementFilter`, `dateUnitFor`, `setSort`, `sortNow`, `setLimit`, `setLayout`, `setChartType`, `updateChart`, `setTotals`, `submit`, `focus`, `blur`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — typescript/wow-view-engine/src/react/useAnalysisEditor.ts:78
`DashboardController` declares 20 required operations: `showTab`, `place`, `refresh`, `refreshPanel`, `setBuilding`, `setFilterValue`, `setGroupingUnit`, `clearFilters`, `setAwaiting`, `filterCandidates`, `filterChoices`, `filterOptions`, `preload`, `crossFilter`, `pressed`, `spanFilters`, `pressSpan`, `destination`, `destinationBoard`, `handOver`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — typescript/wow-view-engine/src/react/useDashboard.ts:83
`RecordTableController` declares 23 required operations: `setCard`, `sortOf`, `toggleSort`, `setSort`, `setLayout`, `hiddenOf`, `setColumns`, `setColumnOrder`, `pinnedOf`, `setPinned`, `setColumnWidth`, `summaryOf`, `setSummary`, `setPageSize`, `isSelected`, `toggle`, `toggleAll`, `clearSelection`, `select`, `goTo`, `next`, `previous`, `refresh`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — typescript/wow-view-engine/src/react/useRecordTable.ts:83
`CartesianPlan` declares 18 required operations: `tickOf`, `stackOf`, `stacked`, `asShares`, `shareAt`, `drawnAt`, `drawnText`, `labelled`, `peaksOnly`, `filledAt`, `insideText`, `span`, `reach`, `wholeOn`, `sharesOn`, `logOn`, `valuesOn`, `extremesOf`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts:244
What to do
Split fat interfaces into focused role-interfaces so clients depend only on what they use.
Do you agree with this assessment?
AX8 · Test isolation10.0 / 10Exemplary✓ Tool-verified
Other · Architecture — Whether production projects stay free of references to test projects — tests may depend on production, never the reverse.
Method: Csproj graph: each production project checked for references to test projects (identified by test-framework presence, not name). Zero violations is clean. Deterministic.
Other · Code Health — Unreviewed-generation residue in this repository's JavaScript/TypeScript: functions whose whole body still throws a "not implemented" error, and placeholder text (lorem ipsum, changeme/replace_me…) left in strings and JSX of non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.
Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.
Other · Code Health — Unfinished work detected by code SHAPE, not keywords, in this repository's JavaScript/TypeScript: functions that only throw a "not implemented" error, functions that take inputs and return a constant or do nothing, async functions that never await, dead `if (false)` branches, and skeleton classes most of whose methods are holes.
Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, guards that return what the code already falls through to, tests an earlier guard already decided, comparisons against NaN, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.
The guard above `return relative;` also returns `relative`, so no input can make it matter. Implement the distinction that was intended, or delete the guard. — typescript/wow-generator/src/naming/paths.ts:25
`noMeasure` has an empty body — confirm it's an intentional no-op and not an unfinished method. — typescript/wow-view-engine/src/ui/analysis/virtualRows.ts:258
`setMode` has an empty body — confirm it's an intentional no-op and not an unfinished method. — typescript/wow-view-engine/src/ui/colorMode.tsx:53
`removing` has an empty body — confirm it's an intentional no-op and not an unfinished method. — typescript/wow-view-engine/src/ui/filter/conditionFocus.ts:87
What to do
Clear the softer debt: re-enable or delete skipped tests, decide whether each empty function is a deliberate no-op (and say so in a comment), and replace blanket `eslint-disable` / `@ts-nocheck` with targeted, justified suppressions.
Maturity · Maturity — Whether the repo and its projects have a README, and whether it's substantive and current.
Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.
What to do
Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
Add a README to the 70 of 82 project(s) that lack one — worth up to 1.7 pts.
Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.
Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.
No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
Maturity · Maturity — Whether the README actually describes the code that exists (LLM-judged, advisory).
Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.
skills/README.md names the package `@ahoo-wang/*`, but no package.json of the workspace declares or depends on it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — skills/README.md:68
documentation/designs/01-programming-model.md names `infra/prepare`, but no file or folder `infra/prepare` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/01-programming-model.md:148
documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_VERSIONED`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/03-log-and-snapshot.md:83
documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TIME_BASED`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/03-log-and-snapshot.md:83
documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TRACING`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/03-log-and-snapshot.md:83
documentation/designs/06-modules.md names `deploy/v10/`, but no file or folder `deploy/v10` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/06-modules.md:143
documentation/designs/09-capability-parity.md names `command/CommandGateway`, but no file or folder `command/CommandGateway` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:26
documentation/designs/09-capability-parity.md names `command/wait/CommandStage`, but no file or folder `command/wait/CommandStage` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:28
documentation/designs/09-capability-parity.md names `command/wait/chain`, but no file or folder `command/wait/chain` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:29
documentation/designs/09-capability-parity.md names `api/event/IgnoreSourcing`, but no file or folder `api/event/IgnoreSourcing` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:78
documentation/designs/09-capability-parity.md names `state/tracing`, but no file or folder `state/tracing` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:97
documentation/designs/09-capability-parity.md names `snapshot/list`, but no file or folder `snapshot/list` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:137
documentation/designs/09-capability-parity.md names `wow-metadata.json`, but no file or folder `wow-metadata.json` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:171
documentation/designs/09-capability-parity.md names `test/validation`, but no file or folder `test/validation` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:194
documentation/designs/09-capability-parity.md names `deploy/compensation`, but no file or folder `deploy/compensation` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:211
documentation/designs/09-capability-parity.md names `client/command`, but no file or folder `client/command` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:242
documentation/designs/09-capability-parity.md names `client/query/state`, but no file or folder `client/query/state` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:245
documentation/designs/09-capability-parity.md names `analytics/console`, but no file or folder `analytics/console` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/09-capability-parity.md:248
documentation/designs/README.md names `documentation/designs/v10/`, but no file or folder `documentation/designs/v10` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/README.md:5
documentation/designs/README.md names `v10.yml`, but no file or folder `v10.yml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/README.md:87
documentation/designs/README.md names `v10-nightly.yml`, but no file or folder `v10-nightly.yml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/README.md:93
documentation/designs/README.md names `handoff.md`, but no file or folder `handoff.md` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/README.md:129
documentation/designs/README.md names `docs/todo.md`, but no file or folder `docs/todo.md` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/README.md:173
documentation/designs/decisions.md names `wow.snapshot.targets`, but no file or folder `wow.snapshot.targets` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/decisions.md:193
documentation/designs/decisions.md names `.snapshot.store`, but no file or folder `.snapshot.store` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/decisions.md:198
documentation/designs/decisions.md names `v10-soak.yml`, but no file or folder `v10-soak.yml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/decisions.md:226
documentation/designs/decisions.md names `v10-nightly.yml`, but no file or folder `v10-nightly.yml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/decisions.md:226
documentation/designs/decisions.md names `v10-e2e-bench.yml`, but no file or folder `v10-e2e-bench.yml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/decisions.md:245
documentation/designs/decisions.md names `benchmark-ab.yml`, but no file or folder `benchmark-ab.yml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/decisions.md:245
documentation/designs/decisions.md documents the environment variable `V10_PATH`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/decisions.md:286
documentation/designs/docs-plan.md names `guide/v10/`, but no file or folder `guide/v10` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:3
documentation/designs/docs-plan.md names `start/why-wow`, but no file or folder `start/why-wow` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:24
documentation/designs/docs-plan.md names `start/quickstart`, but no file or folder `start/quickstart` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:24
documentation/designs/docs-plan.md names `concepts/overview`, but no file or folder `concepts/overview` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:24
documentation/designs/docs-plan.md names `edge/http/read`, but no file or folder `edge/http/read` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:88
documentation/designs/docs-plan.md names `api/api/read`, but no file or folder `api/api/read` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:88
documentation/designs/docs-plan.md names `config-descriptions.zh.json`, but no file or folder `config-descriptions.zh.json` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:176
documentation/designs/docs-plan.md names `api/manifest/schema/manifest.schema.json`, but no file or folder `api/manifest/schema/manifest.schema.json` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:182
documentation/designs/docs-plan.md names `test/architecture/modules.json`, but no file or folder `test/architecture/modules.json` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:183
documentation/designs/docs-plan.md names `guide/test-runtime.md`, but no file or folder `guide/test-runtime.md` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — documentation/designs/docs-plan.md:196
What to do
Reconcile the README with reality: skills/README.md names the package `@ahoo-wang/*`, but no package.json of the workspace declares or depends on it; documentation/designs/01-programming-model.md names `infra/prepare`, but no file or folder `infra/prepare` exists; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_VERSIONED`, but no code, script or configuration file names it; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TIME_BASED`, but no code, script or configuration file names it; documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TRACING`, but no code, script or configuration file names it.
Readiness · Readiness — Whether an automated pipeline builds and tests every change.
Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.
Do you agree with this assessment?
P10 · Library API & versioning10.0 / 10Exemplary○ Nothing flagged
Readiness · Readiness — For a library: a deliberate (small) public API surface and explicit semantic versioning so consumers can depend on it safely.
Method: Roslyn scan: public API surface area and semantic-versioning markers (SemVer attributes, changelog entries) for libraries; off .NET, a library is the ecosystem's publication act (an npm package that is not private and names an entry point, a PyPI distribution with a build system, a Rust library crate, a Maven/Gradle module that publishes, a Go module with no package main, a gemspec, a Composer library, a SwiftPM library product, a pub.dev or Hex package), its surface is the share of types the language model records as public (Rust, Swift, Java, Kotlin, Go, Dart; not measured where the model records no type visibility or, as in TypeScript, only module-level export), and its version is read from the manifest, a semver CHANGELOG, release tooling or semver git tags. Exhaustive, deterministic.
Only 21/24 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `migration/migrate-data`, `skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-server`, `typescript/wow-view-engine`.
`typescript/wow-generator/src/api/logger.ts` reports through `console.*` at line 83 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — typescript/wow-generator/src/api/logger.ts:83
`typescript/wow-generator/src/api/logger.ts` reports through `console.*` at line 88 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — typescript/wow-generator/src/api/logger.ts:88
`typescript/wow-generator/src/api/logger.ts` reports through `console.*` at line 92 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — typescript/wow-generator/src/api/logger.ts:92
`typescript/wow-generator/src/api/logger.ts` reports through `console.*` at line 96 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — typescript/wow-generator/src/api/logger.ts:96
What to do
Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
Route service-code `console.*` output through the module's structured logger (with named fields), so delivery outcomes and failures reach the log pipeline with a level.
Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).
Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step — in this repository's own ecosystem. Exhaustive, deterministic.
No static application security testing detected. For this repository's stack, add spotbugs with find-sec-bugs (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 126758 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
Add a SAST step to CI running what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
Readiness · Readiness — Whether releases are automated and safely reversible (probes, rolling updates, approval gates) — from manifests/pipeline files, not the live environment.
Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.
What to do
The pipeline declares a deployment environment, but whether required reviewers / protection rules are attached to it lives in repository settings we cannot read — confirm the gate is enforced before production promotion.
Do you agree with this assessment?
P5 · DR & Backup4.0 / 10Weak✓ Tool-verified
Readiness · Readiness — Whether disaster recovery is planned and codified — backups, geo-recovery, RTO/RPO, persistence guarantees — from IaC + container manifests + docs, never the live cloud.
Method: Filesystem scan: disaster recovery, backup, geo-recovery, RTO/RPO, persistence guarantees from IaC, manifests, and docs. Exhaustive, deterministic, never a live environment.
What to do
Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
Enable purge protection / soft-delete (and prevent_destroy on critical resources) so data stores can't be lost to an accidental or malicious delete.
Readiness · Readiness — Whether releases are traceable — a maintained changelog and explicit version stamping.
Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.
No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
Readiness · Readiness — Whether outbound HTTP calls are wrapped in resilience (retry/timeout/circuit-breaker) so a failing dependency doesn't cascade.
Method: Source scan: outbound HTTP clients and what bounds them — resilience handlers (Polly, AddStandardResilienceHandler) on .NET; on Go, the JVM, Python, JavaScript/TypeScript, Ruby, PHP, Rust, Elixir, Swift, Dart and Erlang, a timeout, deadline, retry or breaker beside each call, or a process-wide client default (a framework-wide deadline such as Drupal core's, Laravel's or actix's awc counts). Exhaustive, deterministic.
Readiness · Performance — Whether the code protects its performance with benchmarks — a benchmark suite, allocation/memory measurement, and (ideally) a CI gate. Presence is credited as a bonus, never a deduction.
Method: Repo + source scan: BenchmarkDotNet referenced (csproj/source), [Benchmark]/[MemoryDiagnoser] attribute counts, and a benchmark step in CI; off .NET, the same ladder over Go testing.B, Rust criterion/#[bench]/divan, JMH/kotlinx-benchmark, pytest-benchmark/asv/pyperf, tinybench/mitata/vitest bench/benchmark.js and Swift package-benchmark — scored as a bonus ladder (absence is neutral, never a deduction). Deterministic, presence detection.
Readiness · Performance — Whether the code is written to minimise allocations so it doesn't pressure its host's memory manager — buffer/slice views over copies, object pooling, stack or value-type allocation, and buffer writers. Reward-only: credited where present, never penalised where a simpler style is fine.
Method: Production-source scan: density (per 1k LoC) of allocation-aware APIs — in .NET Span/Memory, ArrayPool/ObjectPool, stackalloc, ValueTask, value-type structs, IBufferWriter, string.Create, SkipLocalsInit; off .NET, with comments and strings blanked, Go's sync.Pool, preallocated slices/maps, Grow, strconv.Append* and buf[:0] reuse; the JVM's NIO buffer views, MemorySegment, primitive collections, pools and literal presizes (plus Kotlin primitive arrays and value classes, Scala AnyVal and @specialized); Swift's reserveCapacity, ContiguousArray, withUnsafe* access and ~Copyable. Activated off .NET on the same floor (400 lines, and benchmarks or 8 uses); Rust and garbage-collected scripting languages are not applicable. Reward-only. Deterministic, syntax/text detection.
What to do
Raise allocation-aware density on the hot paths — currently 18 use(s) across 136,431 production line(s) (~0.1/1k). More of the idioms below on the allocation-heavy paths climbs this toward 10.
Kotlin: on hot paths, use primitive arrays (IntArray, LongArray …) and @JvmInline value classes instead of boxed values, primitive collections (androidx.collection, fastutil) instead of boxed ones, and presize collections and StringBuilders.
Readiness · Performance — Whether asynchronous code stays responsive — it avoids sync-over-async blocking (a .NET .Wait()/.GetAwaiter().GetResult(), a time.sleep or blocking HTTP call inside a Python coroutine, a *Sync call inside an async JavaScript function, block_on inside a Rust async fn, runBlocking inside a Kotlin suspend function, block() inside a Reactor publisher) that stalls a thread or event loop and risks deadlock, and, where the code is a reusable library on .NET, awaits with ConfigureAwait(false) so it never captures and stalls its caller's context.
Method: Production-source scan: sync-over-async blocking counted everywhere — .Wait()/.GetAwaiter().GetResult() in .NET; off .NET, read from the language model, a blocking call inside an async function (Python, TS/JS, Rust, Kotlin, Swift, Dart) or inside a Java method returning a Reactor Mono/Flux or a Scala method returning a Future or effect — and, for a .NET library with ≥5 awaits, the share of awaits using ConfigureAwait(false). Deterministic, syntax/text detection.
`fs.readFileSync` in `callback to files.map` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — typescript/wow-generator/src/output/outputStore.ts:218
`fs.mkdirSync` in `attempt("write")` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — typescript/wow-generator/src/output/outputStore.ts:226
`writeFileSync` in `generateCold` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. (×2) — typescript/wow-generator/test/support/generation.ts:119, typescript/wow-generator/test/support/generation.ts:123
`writeFileSync` in `generateProject` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — typescript/wow-generator/test/support/generation.ts:171
`realpathSync` in `generateProject` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — typescript/wow-generator/test/support/generation.ts:199
`writeFileSync` in `generateCompiling` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — typescript/wow-generator/test/support/probes.ts:49
`readFileSync` in `read` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — typescript/wow-generator/test/support/probes.ts:54
What to do
TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
Do you agree with this assessment?
R1 · Type Safety9.9 / 10Exemplary✓ Tool-verified
React / JS · Code Health — How much of the frontend is typed TypeScript vs untyped JavaScript.
Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.
What to do
Migrate the remaining .js/.jsx files to TypeScript.
React / JS · Code Health — Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm over JS/TS tokens, D-386): a block is reported only where its copies still agree on most of their own identifiers and literals, or were renamed as they were pasted but kept most of their constants, and where the copies carry enough code to stand on their own or the copied extent reaches 30 lines — so a re-implementation sharing neither names nor values, and a small pasted declaration, are both found and deliberately not reported, and a clean R10 is not a claim that nothing was copied.
Method: Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm run over JS/TS tokens). Masking finds the candidates; a block is reported when its copies still agree on most of their own identifiers and literals, or when a renamed copy still agrees on most of its constants, AND the copies carry enough code to stand on their own — or when the copied extent reaches 30 lines. So a re-implementation sharing neither names nor values, and a small pasted declaration, are deliberately not counted. Deterministic.
example/eshop/web/src/generated/ and typescript/wow-generator/expected/eshop-manifest/ are near-verbatim copies of each other: 36 files are byte-identical under the same relative paths (~2005 lines; the trees hold 53 and 53 files). That is one structural fact, not 36 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place. — typescript/wow-generator/expected/eshop-manifest/catalog/eshop-catalog/types.ts:1
43 duplicated blocks under platform/ have copies in at least two of the sibling directories analytics, ops — 33 of them are reported below, and 10 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 43 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 43 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 43 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — platform/analytics/catalog/console/src/app/CallerForm.tsx:14
35 duplicated blocks under typescript/wow-view-engine/src/ui/ have copies in at least two of the sibling directories actions, analysis, charts, columns, dashboard, embed (+6 more sibling(s) not listed) — 18 of them are reported below, and 17 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 35 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 35 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 35 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx:412
20 duplicated blocks under typescript/wow-view-engine/src/ have copies in at least two of the sibling directories analysis, capabilities, dashboard, filter, model, react (+4 more sibling(s) not listed) — 12 of them are reported below, and 8 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 20 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 20 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 20 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — typescript/wow-view-engine/src/analysis/validate.ts:40
19 duplicated blocks under typescript/ have copies in at least two of the sibling directories storybook, wow-client, wow-generator, wow-react, wow-view-engine, wow-view-store — 11 of them are reported below, and 8 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 19 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 19 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 19 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — typescript/wow-client/scripts/api-report.mjs:40
platform/analytics/catalog/console/src/app/CallerForm.tsx:14 · platform/ops/console/src/app/CallerForm.tsx:14 — these 2 files are line-for-line copies of one another — 145 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — platform/analytics/catalog/console/src/app/CallerForm.tsx:14
platform/analytics/catalog/console/src/components/ui/dropdown-menu.tsx:14 · platform/ops/console/src/components/ui/dropdown-menu.tsx:14 — these 2 files are line-for-line copies of one another — 132 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — platform/analytics/catalog/console/src/components/ui/dropdown-menu.tsx:14
platform/analytics/catalog/console/src/services/caller.ts:67 · platform/ops/console/src/services/caller.ts:54 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — platform/analytics/catalog/console/src/services/caller.ts:67
typescript/wow-client/scripts/api-report.mjs:40 · typescript/wow-react/scripts/api-report.mjs:40 · typescript/wow-view-store/scripts/api-report.mjs:40 — these 3 files are line-for-line copies of one another — 110 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — typescript/wow-client/scripts/api-report.mjs:40
typescript/wow-view-engine/src/ui/charts/funnelFit.ts:212 · typescript/wow-view-engine/src/ui/charts/funnelFit.ts:378 — the two spans are one implementation copied and then locally edited — 584 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/ui/charts/funnelFit.ts:212
typescript/wow-view-engine/src/ui/analysis/ReferenceOptions.tsx:70 · typescript/wow-view-engine/src/ui/analysis/ReferenceOptions.tsx:264 — the two spans are one implementation copied and then locally edited — 474 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/ui/analysis/ReferenceOptions.tsx:70
typescript/wow-view-engine/src/analysis/boxplot.ts:68 · typescript/wow-view-engine/src/analysis/candlestick.ts:61 — the two spans are one implementation copied and then locally edited — 538 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/analysis/boxplot.ts:68
platform/analytics/catalog/console/src/components/ui/field.tsx:8 · platform/ops/console/src/components/ui/field.tsx:8 — these 2 files are line-for-line copies of one another — 80 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — platform/analytics/catalog/console/src/components/ui/field.tsx:8
platform/analytics/catalog/console/src/i18n.tsx:235 · platform/ops/console/src/i18n.tsx:147 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — platform/analytics/catalog/console/src/i18n.tsx:235
platform/analytics/catalog/console/src/app/App.tsx:14 · platform/ops/console/src/app/App.tsx:14 — these 2 files are line-for-line copies of one another — 69 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — platform/analytics/catalog/console/src/app/App.tsx:14
typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:116 · typescript/wow-view-engine/src/ui/DataWorkbench.tsx:107 — the two spans are one implementation copied and then locally edited — 365 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:116
typescript/wow-view-engine/src/ui/charts/PieSlices.tsx:66 · typescript/wow-view-engine/src/ui/charts/ScatterPoints.tsx:40 — the two spans are one implementation copied and then locally edited — 295 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/ui/charts/PieSlices.tsx:66
typescript/wow-client/scripts/api-report.mjs:92 · typescript/wow-react/scripts/api-report.mjs:90 · typescript/wow-view-engine/scripts/api-report.mjs:105 · typescript/wow-view-store/scripts/api-report.mjs:90 — the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — typescript/wow-client/scripts/api-report.mjs:92
platform/analytics/catalog/console/playwright.config.ts:20 · platform/ops/console/playwright.config.ts:20 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — platform/analytics/catalog/console/playwright.config.ts:20
typescript/storybook/stories/view-engine/compensationEvents.ts:78 · typescript/storybook/stories/view-engine/tradeOrderEvents.ts:143 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — typescript/storybook/stories/view-engine/compensationEvents.ts:78
platform/analytics/catalog/console/src/setupTests.ts:14 · platform/ops/console/src/setupTests.ts:14 — these 2 files are line-for-line copies of one another — 55 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — platform/analytics/catalog/console/src/setupTests.ts:14
platform/analytics/catalog/console/src/components/ui/button.tsx:19 · platform/ops/console/src/components/ui/button.tsx:19 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — platform/analytics/catalog/console/src/components/ui/button.tsx:19
typescript/wow-view-engine/src/filter/kinds/number.ts:68 · typescript/wow-view-engine/src/filter/kinds/string.ts:61 — the two spans are one implementation copied and then locally edited — 351 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/filter/kinds/number.ts:68
typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:274 · typescript/wow-view-engine/src/runtime/viewRuntime.ts:253 — the two spans are one implementation copied and then locally edited — 244 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:274
typescript/wow-view-engine/src/ui/charts/boxplotOption.ts:47 · typescript/wow-view-engine/src/ui/charts/candlestickOption.ts:39 — the two spans are one implementation copied and then locally edited — 278 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/ui/charts/boxplotOption.ts:47
typescript/wow-view-engine/src/ui/filter/inputs/chips.tsx:126 · typescript/wow-view-engine/src/ui/filter/inputs/suggested.tsx:283 — the two spans are one implementation copied and then locally edited — 202 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/ui/filter/inputs/chips.tsx:126
platform/analytics/catalog/console/src/views/datasets.ts:146 · platform/analytics/catalog/console/src/views/sources.ts:170 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — platform/analytics/catalog/console/src/views/datasets.ts:146
typescript/wow-view-engine/src/ui/analysis/FormulaCard.tsx:153 · typescript/wow-view-engine/src/ui/analysis/FormulaCard.tsx:339 — the two spans are one implementation copied and then locally edited — 176 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-view-engine/src/ui/analysis/FormulaCard.tsx:153
typescript/wow-client/scripts/verify-package.mjs:83 · typescript/wow-generator/scripts/verify-package.mjs:72 — the two spans are one implementation copied and then locally edited — 241 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — typescript/wow-client/scripts/verify-package.mjs:83
typescript/storybook/stories/view-engine/compensationEvents.ts:329 · typescript/storybook/stories/view-engine/customerEvents.ts:410 · typescript/storybook/stories/view-engine/tradeOrderEvents.ts:347 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — typescript/storybook/stories/view-engine/compensationEvents.ts:329
typescript/storybook/stories/view-engine/compensationEvents.ts:371 · typescript/storybook/stories/view-engine/customerEvents.ts:453 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — typescript/storybook/stories/view-engine/compensationEvents.ts:371
typescript/wow-react/src/hooks/useFetcherListStreamQuery.ts:44 · typescript/wow-react/src/hooks/useFetcherSingleQuery.ts:34 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — typescript/wow-react/src/hooks/useFetcherListStreamQuery.ts:44
typescript/wow-react/src/hooks/useFetcherListQuery.ts:28 · typescript/wow-react/src/hooks/useListQuery.ts:27 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — typescript/wow-react/src/hooks/useFetcherListQuery.ts:28
typescript/wow-react/src/hooks/useFetcherPagedQuery.ts:28 · typescript/wow-react/src/hooks/usePagedQuery.ts:27 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — typescript/wow-react/src/hooks/useFetcherPagedQuery.ts:28
typescript/wow-view-engine/src/ui/analysis/StatisticalOptions.tsx:42 · typescript/wow-view-engine/src/ui/analysis/StatisticalOptions.tsx:83 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — typescript/wow-view-engine/src/ui/analysis/StatisticalOptions.tsx:42
typescript/storybook/stories/view-engine/compensation.ts:68 · typescript/storybook/stories/view-engine/productPricing.ts:128 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — typescript/storybook/stories/view-engine/compensation.ts:68
typescript/storybook/stories/view-engine/compensation.ts:91 · typescript/storybook/stories/view-engine/customer.ts:107 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — typescript/storybook/stories/view-engine/compensation.ts:91
platform/analytics/catalog/console/eslint.config.js:11 · platform/ops/console/eslint.config.js:11 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — platform/analytics/catalog/console/eslint.config.js:11
platform/analytics/catalog/console/src/app/CallerGate.tsx:28 · platform/ops/console/src/app/CallerGate.tsx:27 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — platform/analytics/catalog/console/src/app/CallerGate.tsx:28
platform/analytics/catalog/console/src/services/cosec.ts:36 · platform/ops/console/src/services/cosec.ts:36 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — platform/analytics/catalog/console/src/services/cosec.ts:36
What to do
Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
React / JS · Architecture — Conformance to the detected frontend architecture layout (feature-sliced / layered src) plus cross-package deep-import rules (D-386).
Method: Conformance to the detected frontend layout (feature-sliced / layered src) plus cross-package deep-import rules, over the module graph. Deterministic.
typescript/wow-client/scripts/api-report.mjs:45 reaches into another package with a relative path (../../../.github/scripts/symbol-index.mjs) — import the package by name instead. — typescript/wow-client/scripts/api-report.mjs:45
typescript/wow-react/scripts/api-report.mjs:45 reaches into another package with a relative path (../../../.github/scripts/symbol-index.mjs) — import the package by name instead. — typescript/wow-react/scripts/api-report.mjs:45
typescript/wow-view-store/scripts/api-report.mjs:45 reaches into another package with a relative path (../../../.github/scripts/symbol-index.mjs) — import the package by name instead. — typescript/wow-view-store/scripts/api-report.mjs:45
What to do
Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
React / JS · Code Health — Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) — real branching, not a regex heuristic.
Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.
project has cyclomatic complexity 100 and cognitive complexity 137; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/storybook/stories/view-engine/retail/generate.ts:1476
WorkbenchShell has cyclomatic complexity 62 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx:343
AnalysisParts has cyclomatic complexity 50 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx:126
generateRetail has cyclomatic complexity 48 and cognitive complexity 128; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/storybook/stories/view-engine/retail/generate.ts:766
MetricCard has cyclomatic complexity 48 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx:74
ConditionPill has cyclomatic complexity 46 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx:80
(anonymous) has cyclomatic complexity 45 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/runtime/viewRuntime.ts:283
checkTheme has cyclomatic complexity 43 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/theme-check/check.ts:132
narrowAggregation has cyclomatic complexity 40 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/capabilities/analysis.ts:259
dataContext has cyclomatic complexity 40 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/test/prefixedClasses.test.ts:111
criteria has cyclomatic complexity 39 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/testing/filter.ts:114
buildField has cyclomatic complexity 37 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/runtime/define/fields.ts:82
useWorkbench has cyclomatic complexity 37 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/react/useWorkbench.ts:408
RecordTable has cyclomatic complexity 35 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/ui/record/RecordTable.tsx:209
metricOf has cyclomatic complexity 34 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/testing/aggregate.ts:256
(anonymous) has cyclomatic complexity 34 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/theme-check/check.ts:222
serve has cyclomatic complexity 34 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-store/test/support/fakeViewStore.ts:1111
(anonymous) has cyclomatic complexity 34 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:413
ActionDialog has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/ui/actions/ActionDialog.tsx:80
ColumnRow has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx:151
What to do
Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
Do you agree with this assessment?
R3 · Large Files4.1 / 10Weak✓ Tool-verified
React / JS · Code Health — How many source files exceed the large-file threshold.
Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.
typescript/storybook/stories/view-engine/retail/generate.ts has 2103 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/retail/generate.ts:1
typescript/storybook/stories/view-engine/retail/views.ts has 1685 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/retail/views.ts:1
typescript/wow-client/src/dsl/filter/builders.ts has 1437 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-client/src/dsl/filter/builders.ts:1
typescript/storybook/stories/view-engine/fixtures.ts has 1304 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/fixtures.ts:1
typescript/storybook/stories/view-engine/retail/boards.ts has 1213 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/retail/boards.ts:1
typescript/storybook/stories/view-engine/RecordWorkbench.stories.tsx has 1211 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/RecordWorkbench.stories.tsx:1
typescript/storybook/stories/view-engine/retail/definitions.ts has 1032 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/retail/definitions.ts:1
typescript/storybook/stories/view-engine/retail/catalog.ts has 1021 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/retail/catalog.ts:1
typescript/wow-view-engine/src/ui/kit/variants.tsx has 1001 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/ui/kit/variants.tsx:1
typescript/storybook/stories/view-engine/Dashboard.stories.tsx has 988 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/Dashboard.stories.tsx:1
typescript/storybook/stories/view-engine/AnalysisWorkbench.stories.tsx has 841 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/AnalysisWorkbench.stories.tsx:1
typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx has 838 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx:1
typescript/wow-view-engine/src/analysis/project.ts has 832 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/analysis/project.ts:1
typescript/wow-view-engine/src/react/useWorkbench.ts has 832 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/react/useWorkbench.ts:1
typescript/wow-generator/src/manifest/analyze.ts has 810 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-generator/src/manifest/analyze.ts:1
typescript/wow-generator/src/types/typeResolver.ts has 803 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-generator/src/types/typeResolver.ts:1
typescript/wow-view-engine/src/react/useFilterEditor.ts has 773 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/react/useFilterEditor.ts:1
typescript/wow-view-engine/src/ui/kit/display.ts has 769 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/ui/kit/display.ts:1
typescript/wow-client/src/dsl/aggregation/types.ts has 762 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-client/src/dsl/aggregation/types.ts:1
typescript/wow-view-engine/src/runtime/viewEngine.ts has 762 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/runtime/viewEngine.ts:1
typescript/wow-view-engine/src/ui/kit/popups.tsx has 760 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/ui/kit/popups.tsx:1
typescript/wow-view-engine/src/record/project.ts has 755 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/record/project.ts:1
typescript/storybook/stories/view-engine/customer.ts has 740 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/customer.ts:1
typescript/wow-view-engine/src/dashboard/layout.ts has 736 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/dashboard/layout.ts:1
typescript/storybook/stories/view-engine/retail/showcase.ts has 731 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/retail/showcase.ts:1
typescript/wow-view-engine/src/react/useRecordTable.ts has 723 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/react/useRecordTable.ts:1
typescript/wow-view-engine/theme-check/resolve.ts has 715 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/theme-check/resolve.ts:1
typescript/wow-view-engine/src/ui/charts/EChart.tsx has 708 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/ui/charts/EChart.tsx:1
typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts has 708 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts:1
typescript/wow-view-engine/src/runtime/dashboardRuntime.ts has 706 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:1
typescript/wow-client/src/dsl/aggregation/builders.ts has 695 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-client/src/dsl/aggregation/builders.ts:1
typescript/wow-view-store/src/wowViewStore.ts has 695 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-store/src/wowViewStore.ts:1
typescript/storybook/stories/view-engine/tradeOrder.ts has 689 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/storybook/stories/view-engine/tradeOrder.ts:1
typescript/wow-view-engine/src/runtime/viewRuntime.ts has 684 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/runtime/viewRuntime.ts:1
typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx has 669 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx:1
typescript/wow-view-engine/src/react/useAnalysisResult.ts has 661 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/react/useAnalysisResult.ts:1
typescript/wow-view-engine/src/dashboard/validate.ts has 644 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/dashboard/validate.ts:1
typescript/wow-view-engine/src/model/field.ts has 644 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/model/field.ts:1
typescript/wow-view-engine/theme-check/check.ts has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/theme-check/check.ts:1
typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx has 632 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx:1
What to do
Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
Do you agree with this assessment?
R4 · Test Coverage9.8 / 10Exemplary✓ Tool-verified
React / JS · Readiness — Static test reachability (D-386): the share of production files reachable from any test via the import graph — measured without running anything.
Method: Static test reachability: the share of production files reachable from any test via the import graph — measured without running anything. Deterministic.
typescript/storybook/scripts/verify-storybook.mjs:20 imports '../stories/', which names no file in this repository — and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing. — typescript/storybook/scripts/verify-storybook.mjs:20
typescript/storybook/stories/view-engine/retail/descriptions.test.ts:35 imports '../', which names no file in this repository — and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing. — typescript/storybook/stories/view-engine/retail/descriptions.test.ts:35
typescript/wow-client/test/packageTypes.test.ts:20 imports './__package_consumer__.mts', which names no file in this repository — and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing. — typescript/wow-client/test/packageTypes.test.ts:20
No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×19) — scripts/eval-skills.mjs:1, typescript/wow-view-engine/scripts/api-report.mjs:1, typescript/wow-client/scripts/api-report.mjs:1, …
What to do
Add tests that import the unreached modules (directly or through their public entry).
Do you agree with this assessment?
R6 · Tooling10.0 / 10Exemplary✓ Tool-verified
React / JS · Readiness — Whether the project wires up test, lint and typecheck — detected from each package.json script's COMMAND (eslint / tsc / vitest / jest / playwright), not just its name, and corroborated against CI-workflow invocations so a tool run only in CI still counts.
Method: package.json scanned for test/lint/typecheck script wiring. Deterministic presence check.
This repository declares test tooling, and the ✓ above records that declaration — but typescript/storybook/scripts/verify-storybook.mjs and 2 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) — each one is reported with its failing import under Test Coverage — then the declared script exercises what it claims to. — typescript/storybook/scripts/verify-storybook.mjs:20
Do you agree with this assessment?
R7 · Dead Code9.9 / 10Exemplary✓ Tool-verified
React / JS · Code Health — Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).
Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.
8 file(s) (~1172 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package. — typescript/integration-test
Unreachable from the 102 application, 46 tooling and 717 test entry point(s) detected in this repo. Gate removals on `pnpm run build` — an undetected custom entry would make these reachable.
no import path from any entry point (102 application, 46 tooling, 717 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×4) — typescript/storybook/scripts/verify-storybook-browser.mjs, typescript/storybook/stories/view-engine/IntroBlocks.tsx, typescript/storybook/stories/view-engine/integration/wowCommands.ts, …
Nothing imports this binding — it is safe to review for removal. (×2) — platform/analytics/catalog/console/src/services/caller.ts:43, typescript/wow-generator/src/manifest/document.ts:83
What to do
Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
React / JS · Readiness — npm dependency truthfulness (D-386): unused dependencies, imports not declared anywhere, and type-/test-only packages shipped as production deps.
Method: npm dependency truthfulness: unused dependencies, imports declared nowhere, and type-/test-only packages shipped as production deps — from the manifest + import graph. Deterministic.
Every import is type-only — move it to devDependencies. — typescript/wow-view-engine/src/ui/filter/inputs/daterange.tsx:17
What to do
Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
React / JS · Architecture — Import cycles in the module graph (D-386) — files that can only be understood and changed together.
Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.
Other · Code Health — Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.
Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.
Other · Code Health — Whether any branch is dead by construction — a switch arm whose label can never equal a case-normalised subject, or an `else if` whose predicate the arm above has already swallowed.
Method: Roslyn syntax + semantics: switch labels compared against the subject's own case normaliser, and if/else-if chains checked for a literal an earlier arm's containment test already swallows. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X13 · Undrained process stream10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a child process that has BOTH standard streams redirected drains both — reading one to the end while the other is never read deadlocks once the child fills the unread pipe.
Method: Roslyn syntax + semantics: ProcessStartInfo launches with both streams redirected, checked for a drain of each stream across the enclosing type. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `spawn` imported from `child_process` whose stdout and stderr are both pipes (no options, no `stdio`, or `stdio` of `'pipe'`), bound to a local that never leaves its scope, where exactly one of the two streams is read, the other never, and the child’s `close`/`exit` (or the read stream’s end) is awaited; a shell redirect in the call’s arguments or a `kill` of the child suppresses it. The same rule reads Python’s `subprocess.Popen`, Dart’s `Process.start`, Ruby’s `Open3.popen3`, and Scala’s JDK process starts (`new ProcessBuilder(…).start()` with no `redirectErrorStream`/`redirectError`/`redirectOutput`/`inheritIO`, `Runtime.getRuntime.exec`) where one of `getInputStream`/`getErrorStream` is read and the other never while `waitFor()` is called or the read stream is read to its end. Deterministic, provable per finding. Advisory.
Other · Security — Whether a hand-rolled public/private IP check can be walked past — a method that unwraps IPv4-mapped IPv6 but returns the opposite verdict for the same host written as IPv4-compatible, 6to4 or NAT64.
Method: Roslyn syntax + semantics: methods that unwrap IPv4-mapped IPv6 and hand-roll IPv4 range carve-outs, checked for whether the IPv6 branch also accounts for the IPv4-compatible, 6to4 and NAT64 embeddings. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X15 · Unvalidated length from an untrusted reader10.0 / 10Exemplary○ Nothing flagged
Other · Security — Whether a length read out of the stream being parsed is bounded before it is allocated or read — an unchecked count taken from the input lets the input choose the allocation.
Method: Roslyn syntax + semantics: integer lengths read from a BinaryReader and spent on a bulk read or an array allocation, checked for any comparison or bounding call on the value anywhere in the method. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a loop that shortens a string until it fits a length budget has a floor — one with none grinds the value down to the empty string, or past it into a negative-length `Substring`.
Method: Roslyn syntax + semantics: while/do loops whose body's only effect on a string is to drop its last character, checked for whether anything — a direct comparison on the length, a body guard, a break — bounds that length below. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `while`/`do` loop whose body’s one assignment to a value is `x = x.slice(0, -1)` or `x = x.slice|substring|substr(0, x.length - 1)`, driven by a condition that reads `x.length` only as a term of a larger expression — never compared directly, never tested for truthiness, and with no other read of `x` — and whose body has no `break`, `return`, `throw` or `if` naming `x`. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X17 · Uncapped recursion over a caller-supplied document1.4 / 10Critical✓ Tool-verified
Other · Security — Whether a walk that recurses through a JSON/XML tree handed in by its caller bounds how deep it will go — an uncapped walk lets the document's nesting choose the stack depth, and the resulting StackOverflowException cannot be caught.
Method: Roslyn syntax + semantics: methods that take a JSON/XML document node and call themselves with a child of it, reachable from an externally-callable member of the same type that accepts a document, checked for any depth parameter, descent counter or threaded arithmetic anywhere in the walk. On a repository with no .NET source it reads TypeScript off the engine’s own token stream (test, vendored, generated and minified paths and `.d.ts` not) with the same rule: a function or method with a parameter typed as a document value — `unknown`, `any`, `object`, `Record<string, unknown|any>`, a JSON alias (`JsonValue`, `JSONObject`, …) or a DOM node global the file does not rebind — that calls itself (bare, or through `this` for a method, or hands itself to a call over the value as in `value.map(walk)`) with something it took out of that value and never through an ancestor accessor such as `closest()` or `parentElement`, that is exported or reached from an exported function (a public method of the same exported class) taking such a value, and that names no depth, level, nesting, recursion, remaining or budget anywhere and threads no `+`/`-` arithmetic through a self-call. Plain JavaScript is not read: with no annotation nothing tells a parsed document from a tree the code built itself. Deterministic, provable per finding. Advisory.
`sameJson` is public and takes `left: JsonNode` from its caller, and it calls itself at line 287 with a piece of `left` (and at line 290) — the function is not `tailrec`, so every call is a real frame — and nowhere in `sameJson` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `sameJson` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`. — core/kernel/src/main/kotlin/me/ahoo/wow/kernel/EventCodec.kt:287
`AdmissionLimits.holdsNul` is public and takes `node: JsonNode` from its caller, and it calls itself at line 68 with a piece of `node` (and at line 69) — the function is not `tailrec`, so every call is a real frame — and nowhere in `AdmissionLimits.holdsNul` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `AdmissionLimits.holdsNul` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`. — core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/AdmissionLimits.kt:68
`StateDiff.diff` is public, takes a document from its caller (line 52) and hands it to `StateDiff.remove`, which calls itself at line 74 with a piece of `node` — the function is not `tailrec`, so every call is a real frame — and nowhere in `StateDiff.remove` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `StateDiff.remove` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`. — migration/migrate-data/src/main/kotlin/me/ahoo/wow/migrate/StateDiff.kt:74
`StateDiff.diff` is public, takes a document from its caller (line 52) and hands it to `StateDiff.compare`, which calls itself at line 87 with a piece of `left` (and at line 93) — the function is not `tailrec`, so every call is a real frame — and nowhere in `StateDiff.compare` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `StateDiff.compare` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`. — migration/migrate-data/src/main/kotlin/me/ahoo/wow/migrate/StateDiff.kt:87
`MongoNineXEventTarget.bsonOf` is public and takes `node: JsonNode` from its caller, and it calls itself at line 168 with a piece of `node` (and at line 171) — the function is not `tailrec`, so every call is a real frame — and nowhere in `MongoNineXEventTarget.bsonOf` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `MongoNineXEventTarget.bsonOf` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`. — migration/migrate-data/src/main/kotlin/me/ahoo/wow/migrate/MongoNineXEventTarget.kt:168
`sameValue` is public and takes `other: JsonNode` from its caller, and it calls itself at line 65 with a piece of `other` — the function is not `tailrec`, so every call is a real frame — and nowhere in `sameValue` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `sameValue` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`. — query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryValues.kt:65
`declaration` is public, takes a document from its caller (line 71) and hands it to `read`, which calls itself at line 78 with a piece of `schema` (and at line 81) — the function is not `tailrec`, so every call is a real frame — and nowhere in `read` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `read` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`. — query/query/src/main/kotlin/me/ahoo/wow/query/schema/ManifestSchemaReader.kt:78
`stringifyJson` is exported, takes a document from its caller (line 387) and hands it to `replace`, which calls itself at line 428 (`replace`) with a piece of `value` (and at line 445) — and nowhere in `replace` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `replace` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — typescript/wow-client/src/exactJson.ts:428
`findDanglingReferences` is exported, takes a document from its caller (line 59) and hands it to `visit`, which calls itself at line 68 (`visit`) with a piece of `value` (and at line 80) — and nowhere in `visit` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `visit` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — typescript/wow-generator/src/openapi/references.ts:68
`resolveLiteral` is exported and takes `value: unknown` from its caller, and it calls itself at line 359 (`resolveLiteral`) with a piece of `value` (and at line 363) — and nowhere in `resolveLiteral` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `resolveLiteral` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — typescript/wow-generator/src/types/typeResolver.ts:359
`sameJson` is exported, takes a document from its caller (line 63) and hands it to `keysInOrder`, which calls itself at line 69 (`keysInOrder`) with a piece of `value` (and at line 74) — and nowhere in `keysInOrder` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `keysInOrder` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — typescript/wow-view-engine/src/model/json.ts:69
`numberOf` is exported and takes `value: unknown` from its caller, and it calls itself at line 45 (`numberOf`) with a piece of `value` — and nowhere in `numberOf` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `numberOf` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — typescript/wow-view-engine/src/testing/values.ts:45
`cellText` is exported and takes `value: unknown` from its caller, and it calls itself at line 575 (`cellText`) with a piece of `value` — and nowhere in `cellText` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `cellText` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack. — typescript/wow-view-engine/src/ui/kit/display.ts:575
What to do
Each finding names the externally-callable member that accepts the document and the self-call that descends, and states that no depth parameter or counter exists anywhere in the walk. Confirm from the two, then thread a depth argument through the walk and reject documents past a fixed maximum, or rewrite it with an explicit stack.
Other · Code Health — Whether a type's disposal matches what it OWNS — releasing what it created, leaving alone what it was handed, and not declaring a finalizer for state that has nothing unmanaged to finalize.
Method: Roslyn syntax + semantics: every assignment to a disposable field is read to decide whether the type CREATED the value or was handed it, and the type's disposal is checked against that answer — an injected interface it disposes, a value it constructed and never releases, a finalizer on a type holding nothing unmanaged, and a disposable local whose every reference is a plain member read. A value handed to a container that disposes its contents (a parent control's `Controls` collection, a component `IContainer`) is released by that container and is not reported; generated code is out of population. On a repository with no .NET source the same ownership questions are read in JavaScript/TypeScript off the engine’s own token stream (test, vendored, generated and minified paths not): a class declaring `dispose()`, `[Symbol.dispose]()` or `[Symbol.asyncDispose]()` that disposes a field it was handed through a constructor parameter typed as a repository interface or resolved by a dependency-injection container; that assigns a field only ever from `new X(…)` of a disposable class and neither releases it anywhere in the class nor names it in its disposal member or a method that member calls, nor hands it to anything else; and a `const`/`let` local built from literals only whose every reference opens a statement operating on a non-release member of it. A class is disposable when every repository declaration of its name declares or inherits a disposal member, or when it is a documented library disposable (`vscode` EventEmitter, CancellationTokenSource and Disposable; three.js geometries, materials, textures, render targets, renderers, controls and composers). The finalizer arm has no JavaScript counterpart: a class cannot declare one. Dart is read for the owned-and-never-released arm: a Flutter `State` (or a class declaring `dispose()`/`close()`) whose library-private field is written only with direct creations of a framework controller, `FocusNode`, `StreamController` or periodic `Timer` (or a `.listen(…)` into a field declared `StreamSubscription`), which nothing in the class or its library releases (`dispose`/`close`/`cancel`) and which is never handed on except as a named argument. Ruby is read for the owned-and-never-released arm and the abandoned-local arm: a class declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose instance variable is written only with a blockless core descriptor creation (`File.open`/`new`, `Tempfile`, `Dir.open`, `IO.popen`, the `socket` and `openssl` socket classes) that no method of the class closes and that is never handed on (passed, returned, stored, exposed by `attr_reader`, delegated) — a class whose superclass or mixin lies outside the repository is not judged — and a blockless creation read through and dropped (`File.open(path).read`) or held in a local that is never closed, returned, passed or stored (a `&:read` block-pass, an `autoclose: false` borrow and a `fileno` hand-over are not abandonment). PHP is read for the same two arms: a class (not a trait, and not one using a trait) declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose `private` property (or a `final` class's `protected` one) is written only with a direct core `fopen`, `tmpfile`, `popen`, `proc_open`, `fsockopen`, `stream_socket_client`/`server` or `opendir` that nothing in the class closes (`fclose`, `pclose`, `closedir`, `unset`, a reset to `null`) and that is never handed on, and a handle held in a function's local, or read through as the argument of a reader, that is never closed, returned, passed, captured or stored; a `php://` stream, `curl_init`, `SplFileObject`, `PDO` and a function the repository declares under the core name are not read. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a method that temporarily changes state belonging to the whole process — the working directory, an environment variable — puts it back on EVERY path: a restore reached only when nothing throws leaks the change to the rest of the process.
Method: Roslyn syntax + semantics: method bodies that write the process working directory or an environment variable and write it back in the same body, checked for whether that restore sits in a `finally`/`catch` or only on the straight-line path. On a repository with no .NET source the same rule reads production JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not): `process.chdir`, `process.env.NAME =`/`["NAME"] =` and `delete process.env.NAME`, and Deno’s `Deno.chdir`/`Deno.env.set`/`Deno.env.delete`, paired per function body (a nested function or arrow is its own body, and module top-level code is none), where the last write puts back a local the body captured from the same global or deletes a variable the first write set, with at least one statement between them; a write in a `catch`/`finally` of that body silences it. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether functions that make a cancellable request accept or pass on an AbortSignal or the coroutine's cancellation (adoption curve).
Method: Roslyn scan: every async method (excluding framework-fixed overrides/Blazor handlers) checked for CancellationToken parameter presence. Deterministic, adoption percentage. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same question: every named async function that itself makes a request an AbortSignal can cancel (global `fetch`, axios and its file-local instances, ky, ofetch) counts, and it is compliant when its parameters or body name a signal or it hands one of its own parameters to the request as options; signatures a framework fixes (JSX event handlers, route and lifecycle exports, request-first handlers, `override`, `'use server'` modules, TanStack `mutationFn`) are exempt unless they take a signal. Deterministic, adoption percentage.
Only 8/11 functions that make a cancellable request (fetch, axios, ky, ofetch; Ktor, OkHttp newCall, URL streams) accept an AbortSignal or the coroutine's cancellation or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a `signal` () and hand it to the request; in a Kotlin suspend function, make the request with a call that suspends — Ktor, OkHttp's `executeAsync()`, or a `suspendCancellableCoroutine` that cancels the `Call` — not a blocking `execute()`: `withContext(Dispatchers.IO)` moves the call off the caller's thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
`ready` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — typescript/storybook/scripts/linux-browser.mjs:140
`load` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. (×2) — typescript/storybook/stories/view-engine/worldExports.ts:48, typescript/storybook/stories/view-engine/chinaProvinces.ts:56
What to do
Thread an AbortSignal or the coroutine's cancellation through functions that make requests, so the work stops when its caller gives up.
Other · Code Health — Whether an argument guard throws the exception its own condition describes — a guard that rejects a value for being EMPTY and reports it as `NullPointerException` (Java, Kotlin, Scala), `ArgumentError.notNull` (Dart) or `ArgumentNullException` (F#'s `nullArg`) tells the caller a parameter was null when it provably was not.
Method: Roslyn syntax: `throw new ArgumentNullException(nameof(p))` statements controlled by an `if`, whose condition is read for a test that is true of a NON-null `p` — an emptiness test that dereferences it (`p.Count == 0`, `!p.Any()`) or a BCL predicate documented true of the empty value (`string.IsNullOrEmpty(p)`). Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a `when` guard is free of side effects — a guard that increments a counter or assigns while deciding whether its arm matches applies that change during PATTERN MATCHING, on an arm that may not be selected, and skips it entirely when a short-circuit to its left answers first.
Method: Roslyn syntax: `when` guards on case labels and switch-expression arms, read for a mutation (`++`/`--`/assignment) sitting in a position the guard's own `&&`/`||`/`??`/`?:`/`?.` can skip. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a method that TAKES a lock or semaphore and gives it back from a flag-guarded `finally` returns the value that flag implies — reporting success while the guard hands the primitive back admits a second caller the exclusion was there to keep out, and reporting failure while the guard keeps it leaves nothing to ever give it back.
Method: Roslyn syntax: `try` statements whose `finally` releases a synchronisation primitive under a bare local-bool guard, where the method also TOOK that same primitive before the `try`, checked for a `return` of a bool literal whose value disagrees with the flag state the method's own straight-line assignments put it in. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether the work a diagnostic log line costs is paid only when that line is wanted — C# evaluates a call's arguments BEFORE the call, so a trace/debug message joined or projected out of a collection is built in full on every pass, and then discarded by a sink the shipped configuration leaves switched off.
Method: Roslyn syntax: log calls at a diagnostic level (a `Log`-prefixed method naming Trace/Debug/Verbose, or a bare `Debug`/`Trace`/`Verbose` on a receiver named for a logger), whose argument list is read for a call whose cost scales with a sequence — a LINQ operator, a materialisation, `string.Join`, a serializer — with no enclosing level check or conditional-compilation region. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `debug`/`trace`/`verbose` call on a receiver named for a logger, or a `log`-prefixed method naming the level, whose argument calls an array operator (`map`/`filter`/`reduce`/`sort`/…), `Array.from`, `Object.keys/values/entries`, `JSON.stringify`/`util.inspect` over anything but a literal, or an array `join` — outside any arrow or function passed as an argument, which the logger calls only when the level is on — with no enclosing `if`, `&&` or `?:` whose condition names a level, a level string, or the `NODE_ENV`/`__DEV__`/`DEV` build switch. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X24 · Document value interpolated into markup unescaped10.0 / 10Exemplary○ Nothing flagged
Other · Security — Whether text read out of the document being converted is escaped before it is written into generated markup — a value the document's author chose, interpolated into an attribute the surrounding literal delimits, can close that attribute and open another.
Method: Roslyn semantic model over the whole compilation: a string-typed `Value`/`InnerText`/`InnerXml`/`Text` member declared inside `DocumentFormat.OpenXml` or `System.Xml` is a taint SOURCE, propagated through assignments, returns, arguments, tuple elements and string composition to its transitive closure, then read at interpolated-string holes that sit in a markup position the surrounding literal itself delimits. Escaper/encoder calls and enclosing validator conditions cut the flow. Flow- and container-insensitive by construction. A second arm needs no provenance at all and reports a type that CONTRADICTS ITSELF — the same expression escaped at one delimited markup hole and interpolated raw at another hole in the same markup position of the same type, which the type's own escaping proves is a defect without knowing where the value came from. On a repository with no .NET source it reads JavaScript/TypeScript off the token stream with the same rule: a DOM read of raw document text (`getAttribute`, `textContent`, `innerText`, `nodeValue`) is the source, propagated through local bindings and string composition, and judged at template-literal and concatenation holes in the same two delimited markup positions; escapers and validating conditions cut it, and documentation-site, test, vendored and minified scripts are not read. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a value the caller is invited to supply is the value the type actually uses — a constructor parameter stored in a private field that nothing ever reads while the default it was given is spelled out a second time at the site that should have read it, a keyed lookup that falls back to a different setting than the one its key names while the same type falls back to the matching one for that same key, or a culture-sensitive parse given no format provider by a type that feeds its own settable culture to the same kind of parse elsewhere, or a number an entry point writes to standard output under the host's culture while the same entry point formats with the invariant culture elsewhere. Either way, every caller who supplies a value silently gets something else.
Method: Roslyn syntax: private instance fields of a non-partial type assigned in a constructor from one of its own parameters with a `??` fallback, checked for whether anything in the type body reads the field and whether that same fallback expression is spelled out again outside the constructor; and `??` fallbacks onto a member access from a lookup call carrying exactly one string literal, grouped by that key across the type and checked for a fallback member whose folded name disagrees with the key while a sibling site for the same key agrees with it. On a repository with no .NET source the first two arms read JavaScript/TypeScript off the engine’s own token stream (tests included, bundles and vendored paths not): a `#x`, `private` or `private` parameter-property instance field filled in the constructor from a parameter (or one member of one) through `??`/`||` or a parameter default, never read anywhere in the file by name, whose constructed default is spelled again in the class body; and `lookup("key") ?? s.member` grouped by key per class, or per module outside every class. The culture arm has no JavaScript counterpart: its parses take no locale. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether a value handed from a callback to the body that waits on it crosses on something built to be crossed — a `Queue<T>`/`List<T>`/`Dictionary<K,V>` written inside an event handler and read back outside it is mutated by two flows at once, and the semaphore or completion source beside it orders how MANY items exist while leaving the collection's own head, tail and backing array unprotected.
Method: Roslyn syntax: method, accessor, local-function and lambda bodies that declare BOTH a non-thread-safe generic collection (`Queue`/`Stack`/`List`/`Dictionary`/`HashSet`/`Sorted*`/`LinkedList`) and a synchronisation primitive (`SemaphoreSlim`/`TaskCompletionSource`/`ManualResetEvent(Slim)`/`AutoResetEvent`/`CountdownEvent`) as locals, then read for a `+=`-registered lambda that raises that primitive while the body outside every lambda waits on it — and, in that scope, a mutating call on the collection inside the lambda paired with a mention of it outside. Any `lock` in the scope abstains it. On a repository with no .NET source the same handoff is read in Java off the engine’s own token stream (test source sets, vendored and demonstration paths not): an `ArrayList`/`LinkedList`/`ArrayDeque`/`PriorityQueue`/`Hash*`/`LinkedHash*`/`Tree*` local and a `CountDownLatch`/`Semaphore`/`CompletableFuture` local, a lambda or anonymous class that raises the primitive and mutates the collection, and a wait outside it; any `synchronized` or `lock()` abstains the body. Because each of those primitives orders what the callback wrote before raising it, only a touch that provably overlaps the callback is convicted: one after the registration and before the next wait, or one in a loop registered-before, waiting on every pass and not declaring the collection. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X27 · Collection changed while being enumerated10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a `for` loop leaves the `dict`, `set` or `deque` it is walking alone — CPython's iterators over those check that the collection has not changed size since the loop began, so a body that removes from (or empties) the very collection the loop is walking makes the next step raise `RuntimeError: dictionary changed size during iteration` and the remaining items are never seen. Whether a `for (x in c)` or `c.forEach { … }` leaves the collection it is walking alone — a `mutableListOf`/`ArrayList`, `mutableMapOf`/`HashMap` or `mutableSetOf`/`HashSet` is a `java.util` collection on the JVM and is walked by its own fail-fast iterator, so a body that adds to or removes from the very collection the loop is walking makes the next step throw `ConcurrentModificationException` and the remaining elements are never seen.
Method: Roslyn syntax + semantics: `foreach` statements whose body calls a structural mutator (`Add`/`Remove`/`Clear`/`Insert`/…) on the very expression the loop is enumerating. Two arms. ARM A — the source is a concrete fragile BCL collection, or a live `Keys`/`Values` view over one, and the mutator resolves to that same collection's own member; concurrent and immutable collections and arrays are outside the population by construction, since their enumerators survive a structural change. ARM B — the source is an argument-less accessor CALL on a receiver whose body is in source: the accessor must return a stored field VERBATIM and a sibling member must structurally change that same field, both read off the implementations rather than from the members' names. A mutation the loop provably exits immediately after (`break`/`return`/`throw`/`goto`), or one written inside a nested loop or a lambda, is counted and never reported. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X28 · Index access outside its own emptiness guard10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a condition that tests a value for emptiness indexes that same value only where the test holds — an `||` written one parenthesis too far to the left leaves an index access outside the guard beside it, so the empty case the guard exists to anticipate reaches the index and throws.
Method: Roslyn syntax only, no semantic model: the OUTERMOST `&&`/`||` of every boolean condition, read for a symbol the condition tests for emptiness (`string.IsNullOrEmpty`/`IsNullOrWhiteSpace`, a `Length`/`Count` comparison against a literal, `Any()`, a `Length`/`Count` pattern, or a comparison against `""`) and ALSO indexes. Each `symbol[...]` access is placed by a boolean-reachability walk from the access up to the outermost connective: an access is COVERED when some enclosing step has it in the right operand and the left operand, under the truth value that step forces, proves the symbol non-empty — a recursion over `&&`/`||` whose true- and false-directions are asymmetric. A finding needs BOTH an uncovered access and a covered one on the same symbol in the same condition, which is the agreeing twin that separates a misplaced parenthesis from an unrelated length test. Bare index accesses with no emptiness test in the condition are neither counted nor reported; a non-identifier receiver and a lambda nested inside the condition are outside the population. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X29 · Per-element action decided by a fixed element10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a decision taken once per element is taken ABOUT that element — a test inside a counted loop that reads a fixed subscript of the very collection its guarded statement indexes by the loop variable applies element zero's answer to all of them, so the elements that differ from it are all handled wrongly, and in the same direction.
Method: Roslyn syntax only, no semantic model: every `for` statement declaring exactly ONE loop variable, and every `if` inside its body that is not under a nested loop or a lambda. A site enters the population when the `if`’s condition never mentions the loop variable while the statement it guards indexes some collection by that variable ALONE (`c[i]`; `c[i + 1]` and `c[i, j]` are outside it). A finding additionally needs the AGREEING TWIN at the same-collection grain: the condition must read THAT SAME collection at a subscript that does not move — written into the condition, or reached through a local declared BEFORE the loop, so an alias bound inside the body is not followed. Both collection expressions must be simple identifiers. On a repository with no .NET source the same rule reads JavaScript/TypeScript off the engine’s own token stream (tests included, bundles and vendored paths not): a `for (let|var|const x = …; …; …)` with one declarator and a braced body, an alias followed only when it is declared before the loop in a block that encloses it and never assigned inside the loop. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.
Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.
`catch (_: Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×3) — backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresEventLog.kt:578, core/runtime/src/main/kotlin/me/ahoo/wow/runtime/source/TopicEntries.kt:129, edge/cosec/src/main/kotlin/me/ahoo/wow/cosec/CoSecInternalCallerResolver.kt:47
An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×18) — platform/analytics/catalog/console/src/i18n.tsx:308, platform/analytics/catalog/console/src/services/caller.ts:169, platform/ops/console/src/i18n.tsx:219, …
`.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it. — typescript/wow-react/src/internal/readStreamRows.ts:63
What to do
Swallowed exception (caught, then discarded)
Do you agree with this assessment?
X30 · Support guard that admits what it rejects10.0 / 10Exemplary○ Nothing flagged
Other · Code Health — Whether a guard written as a NEGATED `||` says what its author meant — `!(a || b || x != k)` is `!a && !b && x == k` by De Morgan, so a bail-out that mixes capabilities the code needs with a fault it refuses turns inside out: it fires only where the capabilities are ABSENT, and lets every value the fault term names walk straight into the body that cannot handle it.
Method: Roslyn syntax only, no semantic model: every logical-not whose operand is a parenthesised `||` chain of two or more disjuncts, flattened (a left-nested `a || b || c` read once would see `(a || b)` as one disjunct). A site enters the population on that shape alone. A finding additionally needs the disjuncts to DISAGREE in polarity: at least one bare boolean read — an identifier or member access, never an invocation, which is a predicate rather than a capability flag — and at least one `x != <constant>`, the only form that negates into an exact-value pin (`== null` negates into a looser requirement and is outside the fault set). Consistently-polarised disjunctions, all-fault or all-capability, are counted and never reported; a negated `&&` is outside the population entirely. No same-receiver gate: it was measured to cost a real defect and remove no false positive. Deterministic, provable per finding. Advisory.
Other · Code Health — Whether log calls use message templates (queryable) rather than interpolated strings.
Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. On a repository with no .NET source it reads JavaScript/TypeScript off the engine’s own token stream (test, vendored and minified paths not) with the same rule: a `trace`/`debug`/`info`/`warn`/`error`/`fatal`/`verbose`/`silly`/`http`/`log` call on a receiver named for a logger, in a package whose own or an enclosing `package.json` declares a logger that carries values as fields (pino, pino-http, nestjs-pino, Fastify, winston, bunyan, tslog, LogTape, roarr), whose first deciding argument is a template literal with substitutions; an object-literal fields argument is stepped over, a plain string message clears the call. Python is read the same way: a `debug`/`info`/`warning`/`error`/`exception`/`critical`/`log` call on a logger in a file that imports the standard library’s `logging` or structlog (loguru, which formats at the call, is not judged), whose message is a whole f-string with a non-constant field; a `%`-formatted, `.format()`-ed or concatenated message is not convicted, as in C#. PHP is read the same way: a PSR-3 level call (`emergency`…`debug`, `log`) on a logger (`$logger`, `$this->logger`, Laravel’s `Log::`, `logger()`, `\Drupal::logger()`) in a package whose `composer.json` requires a PSR-3 logger or a framework that hands one out (psr/log, Monolog, Laravel, Symfony, Drupal, CakePHP), or a file that imports one, whose message is a double-quoted string interpolating a variable; a single-quoted message clears the call, and `sprintf` or `.` concatenation is not convicted, as in C#. Dart is read the same way: a `trace`/`debug`/`info`/`warn`/`error`/`fatal` call on Sentry’s structured logger (`Sentry.logger`) whose message is a whole string literal interpolating a value (`$name`, `${…}`); the `Sentry.logger.fmt` template API clears the call. Dart that logs only through loggers with one message and no fields (package:logging, package:logger, talker, dart:developer) is not applicable rather than a reach gap. Ruby is read the same way: a `trace`/`debug`/`info`/`warn`/`error`/`fatal` call on the console gem’s `Console` (declared by a Gemfile, gemspec or Gemfile.lock, or required) or, where SemanticLogger, Ougai or dry-logger is declared or required, on a receiver named for a logger (`logger`, `@logger`, `Rails.logger`, `log`), whose first deciding argument is, as the whole argument, a double-quoted string interpolating a non-constant value (`#{…}`, `#@ivar`); a plain literal clears the call, keyword arguments are the fields, and a block, `%`-format or `+` concatenation is not convicted. Ruby that logs only through the standard Logger (Rails.logger) is not applicable rather than a reach gap. Deterministic.
Other · Code Health — Whether strict null checking is enabled and not undermined by heavy `!` assertion — TypeScript's `strictNullChecks` (which `strict` turns on) is what makes `string` exclude `null` and `undefined`, and the postfix `!` is the operator that silences it.
Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.
~0.5 `!` null assertions per 1k TypeScript source lines — 110 assertion(s) across the 223036 source line(s) of the 981 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: typescript/wow-view-engine/src/dashboard/layout.ts (10), typescript/wow-generator/src/analysis/apiClients.ts (9), typescript/storybook/stories/view-engine/themeContrast.tsx (7). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
Do you agree with this assessment?
WCAG coverage — what static analysis assessed
Statically assessed 15 of 55 WCAG 2.2 Level A/AA success criteria (27%; ≈30% of the 50 WCAG 2.1 AA criteria for EN 301 549). The other 40 require runtime or manual evaluation. Partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim — a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).
The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.
Unscored — 2 check(s) recorded observations but carry no score
These checks ran and found something, but they do not carry a score — either by design (an advisory check reports evidence rather than grading it) or because they could not be scored here. They are excluded from the score for that reason, not because there was nothing to see.
X10 Duplicated predicate — 25 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
X7 Silent fallback defaults — 3 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
These checks grade a working control, and the repository shows no evidence of one. That is deliberately not scored as a zero: a repository cannot show an ops runbook, a database TTL or an infrastructure-side audit log, so absence of evidence here is not evidence the control is missing. It is also not a statement that the check is irrelevant to this codebase — the thing it grades applies; we just could not see it. Excluded from the score either way.
C3 Audit Trail — Not assessed: this repository stores data through 'com.mongodb' (backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoStoreProvider.kt:16) but declares no persisted model this check reads (Room/JPA/Spring Data/MongoDB @Entity and Realm classes, Exposed and Ktorm table columns, CREATE TABLE and ALTER TABLE … ADD columns in SQL migrations and SQLDelight files). Personal data may be written through raw SQL or a hosted backend, so whether its changes need an audit trail could not be established, and the trail's absence is not scored.
C4 Data Retention — Not assessed: this repository stores data through 'com.mongodb' (backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoStoreProvider.kt:16) but declares no persisted model this check reads (Room/JPA/Spring Data/MongoDB @Entity and Realm classes, Exposed and Ktorm table columns, CREATE TABLE and ALTER TABLE … ADD columns in SQL migrations and SQLDelight files). Personal data may be written through raw SQL or a hosted backend, so whether a retention limit applies here could not be established, and its absence is not scored.
C5 Data-Subject Rights — Not assessed: this repository stores data through 'com.mongodb' (backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoStoreProvider.kt:16) but declares no persisted model this check reads (Room/JPA/Spring Data/MongoDB @Entity and Realm classes, Exposed and Ktorm table columns, CREATE TABLE and ALTER TABLE … ADD columns in SQL migrations and SQLDelight files). Personal data may be written through raw SQL or a hosted backend, so whether data-subject rights apply here could not be established, and their absence is not scored.
Not included — 33 check(s) not relevant to this codebase
These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.
AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
AX7 Slice cohesion — not applicable — not a vertical-slice architecture
AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
AXR1 Runtime accessibility — docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/bui…; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
C1 Data Protection — Not assessed: this repository stores data through 'com.mongodb' (backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoStoreProvider.kt:16) but declares no persisted model this check reads (Room/JPA/Spring Data/MongoDB @Entity and Realm classes, Exposed and Ktorm table columns, CREATE TABLE and ALTER TABLE … ADD columns in SQL migrations and SQLDelight files). Personal data may be written through raw SQL or a hosted backend, so the absence of a personal-data field here is not evidence that none is stored, and encryption at rest is not scored over a subject that could not be established.
C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
D11 Test Reliability — Test reliability not scored — polyglot repository, one half's runner produced no measurement
D12 Dependency Hygiene — Not scored — 84 Maven/Gradle manifest(s) were read, stating a version for 24 dependency(ies) and leaving 2 to a parent or an imported BOM, but no build resolved the dependency graph, so the outdated signal was not established. NOT a finding that these dependencies are current or healthy.
D14 License Compliance — Not scored — this repository's 24 declared JVM dependency coordinate(s) were read from its 84 Maven/Gradle manifest(s), but Maven Central could not be asked for the licence of 24 of them (HTTP 429 Too Many Requests from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/4.1.1/spring-boot-dependencies-4.1.1.pom), and a licence verdict over part of a dependency graph is not a licence verdict. Nothing is asserted about this repository's licensing in either direction.
D16 Bus Factor — single-maintainer repository — bus factor is not applicable
D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
D24 Comment Value — No inline comments to assess — comment value is not applicable here.
D25 ADR Conformance — no ADRs to check
D27 Navigability — D27 reads resolved call sites in the languages it reads only — this repository's production source is .java, .mts, .py, .ts, .tsx, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
D32 Data Compliance (PII/GDPR) — 216 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
D42 Runtime Threat Enforcement — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.
D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
D8 Code Coverage — Coverage not measured — polyglot repository, one half has no runner
DM1 Domain Modelling — applicable but not scored (6 signals for this style, 3 needed — the count is met but a required primary signal is absent): 1 aggregate root(s) (entities that raise its domain events); 24 aggregate root(s) (types guarding their own state behind command methods — this language has no AggregateRoot base to inherit); 481 value object(s); 35 domain event(s); a Domain/Aggregates/ValueObjects layer; 2 per-aggregate domain namespaces (…/BasketAggregate, …/OrderAggregate); a DDD annotation stack (jMolecules/Axon @AggregateRoot/@Aggregate/@ValueObject — persistence @Entity does not count); a top-level example/ tree: a library or framework whose examples are its consumers — these types are building blocks, not a domain
ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
ES1 Event Sourcing — not scored — this repository shows only 1 of the 3 signals this lens looks for (an Axon event-sourcing framework (@Aggregate/@CommandHandler/@EventSourcingHandler annotations))
P12 CI test-gate honesty — Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
P9 Domain vs controller coverage — coverage data present for 786 file(s), but no domain-layer files were identified: no covered file's path contains any of the markers this check keys on (/domain/, /aggregates/, /valueobjects/, /domainmodel/, .domain/, /entities/), which are matched case-insensitively anywhere in the path. With no domain partition there is nothing to compare the web/controller layer against — if this repository keeps its business rules under a folder named none of those, that naming is what the check cannot see, not the domain logic.
R5 Dependency Freshness — uses a pnpm lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.
Hotspot: typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx:343— typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx changed 65 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in WorkbenchShell.WorkbenchShell at line 343. 4 of those changes were fix/bug commits, and the other 61 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx:167— typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx changed 49 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in DashboardGrid.DashboardGrid at line 167. 2 of those changes were fix/bug commits, and the other 47 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx:120— typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in AnalysisTable.AnalysisTable at line 120. 2 of those changes were fix/bug commits, and the other 31 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/record/RecordTable.tsx typescript/wow-view-engine/src/ui/record/RecordTable.tsx:209— typescript/wow-view-engine/src/ui/record/RecordTable.tsx changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in RecordTable.RecordTable at line 209. 2 of those changes were fix/bug commits, and the other 46 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/record/RecordTable.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx:126— typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in AnalysisParts.AnalysisParts at line 126. 20 of those changes were fix/bug commits, and the other 23 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/analysis/project.ts typescript/wow-view-engine/src/analysis/project.ts:406— typescript/wow-view-engine/src/analysis/project.ts changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in project.projectAnalysis at line 406. 20 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/analysis/project.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/workbench/SaveActions.tsx typescript/wow-view-engine/src/ui/workbench/SaveActions.tsx:87— typescript/wow-view-engine/src/ui/workbench/SaveActions.tsx changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in SaveActions.SaveActions at line 87. 2 of those changes were fix/bug commits, and the other 28 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/workbench/SaveActions.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/charts/EChart.tsx typescript/wow-view-engine/src/ui/charts/EChart.tsx:205— typescript/wow-view-engine/src/ui/charts/EChart.tsx changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in EChart.EChart at line 205. 7 of those changes were fix/bug commits, and the other 14 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/charts/EChart.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx:80— typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in ConditionPill.ConditionPill at line 80. 11 of those changes were fix/bug commits, and the other 15 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/react/useWorkbench.ts typescript/wow-view-engine/src/react/useWorkbench.ts:408— typescript/wow-view-engine/src/react/useWorkbench.ts changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in useWorkbench.useWorkbench at line 408. 12 of those changes were fix/bug commits, and the other 19 changed it for other reasons — this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/react/useWorkbench.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/workbench/ResultToolbar.tsx typescript/wow-view-engine/src/ui/workbench/ResultToolbar.tsx:157— typescript/wow-view-engine/src/ui/workbench/ResultToolbar.tsx changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ResultToolbar.ResultToolbar at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/workbench/ResultToolbar.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:215— typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in DashboardWorkbench.DashboardWorkbenchBody at line 215. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/charts/Cartesian.tsx typescript/wow-view-engine/src/ui/charts/Cartesian.tsx:42— typescript/wow-view-engine/src/ui/charts/Cartesian.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Cartesian.Cartesian at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/charts/Cartesian.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx:74— typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in MetricCard.MetricCard at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/workbench/RecordParts.tsx typescript/wow-view-engine/src/ui/workbench/RecordParts.tsx:202— typescript/wow-view-engine/src/ui/workbench/RecordParts.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in RecordParts.RecordParts at line 202. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/workbench/RecordParts.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/react/useAnalysisResult.ts typescript/wow-view-engine/src/react/useAnalysisResult.ts:220— typescript/wow-view-engine/src/react/useAnalysisResult.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in useAnalysisResult.useAnalysisResult at line 220. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/react/useAnalysisResult.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx:151— typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ColumnRow.ColumnRow at line 151. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/charts/cartesianOption.ts typescript/wow-view-engine/src/ui/charts/cartesianOption.ts:74— typescript/wow-view-engine/src/ui/charts/cartesianOption.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in cartesianOption.optionOf at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/charts/cartesianOption.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx:255— typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in DashboardPanel.DashboardPanel at line 255. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx:140— typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in DisplayTab.ValueLabelsField at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/dashboard/PanelBodies.tsx typescript/wow-view-engine/src/ui/dashboard/PanelBodies.tsx:296— typescript/wow-view-engine/src/ui/dashboard/PanelBodies.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in PanelBodies.AnalysisPanel at line 296. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/dashboard/PanelBodies.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/kit/display.ts typescript/wow-view-engine/src/ui/kit/display.ts:141— typescript/wow-view-engine/src/ui/kit/display.ts changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in display.displayValue at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/kit/display.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/record/SortableHeader.tsx typescript/wow-view-engine/src/ui/record/SortableHeader.tsx:95— typescript/wow-view-engine/src/ui/record/SortableHeader.tsx changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in SortableHeader.SortableHeader at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/record/SortableHeader.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/filter/FilterPanel.tsx typescript/wow-view-engine/src/ui/filter/FilterPanel.tsx:82— typescript/wow-view-engine/src/ui/filter/FilterPanel.tsx changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in FilterPanel.FilterPanel at line 82. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/filter/FilterPanel.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: typescript/wow-view-engine/src/ui/EmbeddedView.tsx typescript/wow-view-engine/src/ui/EmbeddedView.tsx:168— typescript/wow-view-engine/src/ui/EmbeddedView.tsx changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in EmbeddedView.EmbeddedData at line 168. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/EmbeddedView.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
FunctionTooLong: generate.generateRetail.project typescript/storybook/stories/view-engine/retail/generate.ts:1476— FunctionTooLong — generateRetail.project runs 388 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 288 over it, 3.88× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: AnalysisTable.AnalysisTable typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx:120— FunctionTooLong — AnalysisTable runs 333 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 233 over it, 3.33× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: RecordTable.RecordTable typescript/wow-view-engine/src/ui/record/RecordTable.tsx:209— FunctionTooLong — RecordTable runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: useWorkbench.useWorkbench typescript/wow-view-engine/src/react/useWorkbench.ts:408— FunctionTooLong — useWorkbench runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: resolve.createResolver typescript/wow-view-engine/theme-check/resolve.ts:399— FunctionTooLong — createResolver runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: DashboardGrid.DashboardGrid typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx:167— FunctionTooLong — DashboardGrid runs 251 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 151 over it, 2.51× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: MetricCard.MetricCard typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx:74— FunctionTooLong — MetricCard runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: useAnalysisEditor.useAnalysisEditor typescript/wow-view-engine/src/react/useAnalysisEditor.ts:280— FunctionTooLong — useAnalysisEditor runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.45× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: useRecordTable.useRecordTable typescript/wow-view-engine/src/react/useRecordTable.ts:388— FunctionTooLong — useRecordTable runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: ViewManagerRow.ViewManagerRow typescript/wow-view-engine/src/ui/manage/ViewManagerRow.tsx:131— FunctionTooLong — ViewManagerRow runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: NewAnalysisDialog.NewAnalysisForm typescript/wow-view-engine/src/ui/dashboard/NewAnalysisDialog.tsx:153— FunctionTooLong — NewAnalysisForm runs 236 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 136 over it, 2.36× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: ContentEditor.ContentForm typescript/wow-view-engine/src/ui/dashboard/ContentEditor.tsx:204— FunctionTooLong — ContentForm runs 231 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 131 over it, 2.31× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: Board.DashboardBoard typescript/wow-view-engine/src/ui/dashboard/Board.tsx:91— FunctionTooLong — DashboardBoard runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: ViewHeader.ViewHeader typescript/wow-view-engine/src/ui/workbench/ViewHeader.tsx:143— FunctionTooLong — ViewHeader runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: boards.opsDailyConfig typescript/storybook/stories/view-engine/retail/boards.ts:438— FunctionTooLong — opsDailyConfig runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: Cartesian.Cartesian typescript/wow-view-engine/src/ui/charts/Cartesian.tsx:42— FunctionTooLong — Cartesian runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: ColumnRow.ColumnRow typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx:151— FunctionTooLong — ColumnRow runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: analysisEditing.questionEditing typescript/wow-view-engine/src/react/analysisEditing.ts:81— FunctionTooLong — questionEditing runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: PanelMenu.PanelMenu typescript/wow-view-engine/src/ui/dashboard/PanelMenu.tsx:112— FunctionTooLong — PanelMenu runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: FieldChecklist.FieldChecklist typescript/wow-view-engine/src/ui/filter/FieldChecklist.tsx:86— FunctionTooLong — FieldChecklist runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: cartesianPlan.cartesianPlan typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts:511— FunctionTooLong — cartesianPlan runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: ResultToolbar.ResultToolbar typescript/wow-view-engine/src/ui/workbench/ResultToolbar.tsx:157— FunctionTooLong — ResultToolbar runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: ViewManager.ViewManager typescript/wow-view-engine/src/ui/manage/ViewManager.tsx:90— FunctionTooLong — ViewManager runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: FilterBar.FilterBar typescript/wow-view-engine/src/ui/dashboard/FilterBar.tsx:170— FunctionTooLong — FilterBar runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: useAnalysisResult.useAnalysisResult typescript/wow-view-engine/src/react/useAnalysisResult.ts:220— FunctionTooLong — useAnalysisResult runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
No assertions: an approver marks the source reviewed platform/analytics/catalog/console/e2e/console.spec.ts:111— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: builds FilterExpression queries, with or without arguments typescript/wow-client/test/dsl/queryable.test.ts:33— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: refuses a condition, which only the legacy entry builds typescript/wow-client/test/dsl/queryable.test.ts:44— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: reads a problem's violation as a QueryViolation typescript/wow-client/test/dsl/queryErrorCodes.test.ts:57— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: narrows a record to the included paths, keeping descendants, arrays and nullability typescript/wow-client/test/dsl/projected.test.ts:49— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: keeps the whole record without literal includes typescript/wow-client/test/dsl/projected.test.ts:63— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: types what a snapshot query answers by its projection typescript/wow-client/test/dsl/projected.test.ts:67— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: exposes QueryField as the field-path type typescript/wow-client/test/dsl/filter.test.ts:31— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: types equality filters with scalar values only typescript/wow-client/test/dsl/filter.test.ts:35— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: returns the rows of a stream as items, never the stream itself typescript/wow-react/test/listStreamTypes.test.ts:29— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: sets its own result extractor and Accept header on the endpoint hook typescript/wow-react/test/listStreamTypes.test.ts:48— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: takes a query client stream method as execute typescript/wow-react/test/listStreamTypes.test.ts:57— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: names the four query statuses as a plain string union typescript/wow-react/test/hookContract.types.test.ts:96— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: hands every executor the query and the request options with a signal typescript/wow-react/test/hookContract.types.test.ts:105— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: holds the members of the shared options and return typescript/wow-react/test/hookContract.types.test.ts:117— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: specializes the shared types for each request hook typescript/wow-react/test/hookContract.types.test.ts:150— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: takes the endpoint and the Fetcher in place of execute typescript/wow-react/test/hookContract.types.test.ts:177— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: streams rows into items and done in place of result typescript/wow-react/test/hookContract.types.test.ts:239— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: reports an Error unless told otherwise typescript/wow-react/test/hookContract.types.test.ts:262— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: defaults custom-executor hooks to filter request subtypes typescript/wow-react/test/filterQueryTypes.test.ts:68— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: defaults Fetcher hooks to filter request subtypes typescript/wow-react/test/filterQueryTypes.test.ts:107— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: accepts filter request subtypes in custom-executor hooks typescript/wow-react/test/filterQueryTypes.test.ts:147— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: accepts filter request subtypes in Fetcher hooks typescript/wow-react/test/filterQueryTypes.test.ts:191— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: runs a cursor query through useSingleQuery until a cursor hook exists typescript/wow-react/test/filterQueryTypes.test.ts:239— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: match the recipes they draw with typescript/wow-view-engine/test/variants.test.tsx:284— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
Repeated repair: typescript/wow-view-engine/src/ui/record/columns.ts typescript/wow-view-engine/src/ui/record/columns.ts:374— typescript/wow-view-engine/src/ui/record/columns.ts changed 25 times in last 90 days and 13 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 13 (its worst body is columns.tablePins at line 374), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): the nine known accessibility items of the pre-release review (#3792)”; “fix(view-engine): the analysis table reads like an analyst's table (Ahoo-Wang/fetcher#1807)”; “fix(view-engine): a dashboard panel's record table holds no end column on the right (Ahoo-Wang/fetcher#1797)”; “fix(view-engine): the held columns' edges are drawn only while the middle can scroll (P-23, D13 amended) (Ahoo-Wang/fetcher#1703)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/record/columns.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/filter/inputs/number.tsx typescript/wow-view-engine/src/ui/filter/inputs/number.tsx:108— typescript/wow-view-engine/src/ui/filter/inputs/number.tsx changed 15 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 6 (its worst body is number.NumberValue at line 108), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): declared actions — outcome unknown, focus kept, said in the host's words (review round 2, B1) (#3834)”; “fix(view-engine): second-round accessibility findings — focus after 展开 and the drop notice, menu focus mark and forced colours, zh names; the statement re-evaluated (#3826)”; “fix(view-engine): the analysis tray reads clearly — a labelled result step, a quiet Apply, a capped height (Ahoo-Wang/fetcher#1805)”; “fix(view-engine): chart options button, follow-up menu width, top-N field (Ahoo-Wang/fetcher#1799)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/filter/inputs/number.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/filter/validate.ts typescript/wow-view-engine/src/filter/validate.ts:67— typescript/wow-view-engine/src/filter/validate.ts changed 14 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 14 (its worst body is validate.validateFilter at line 67), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): a misspelled binding and a stale EQ on an enum no longer fail silently (#3902)”; “fix(view-engine): a host kind that throws judging a condition puts out only the panel standing on it (#3767)”; “fix(view-engine): read a number band's two bounds as one segment (#3311)”; “fix(view-engine): a condition whose kind has no editor is read-only and refused, never a text box; the picker offers no such field (F-06) (Ahoo-Wang/fetcher#1688)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/filter/validate.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/analysis/validate.ts typescript/wow-view-engine/src/analysis/validate.ts:57— typescript/wow-view-engine/src/analysis/validate.ts changed 15 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 3 (its worst body is validate.validateAnalysis at line 57), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): the table always runs; chart findings name columns, not aliases (Ahoo-Wang/fetcher#1838)”; “fix(view-engine): the earliest and the latest of a date read as dates, not as epoch milliseconds (production review) (Ahoo-Wang/fetcher#1761)”; “fix(view-engine): the analysis kernel walks elements as Wow's chain, compiles element-relative names, rejects root fields under elements, and defaults TERMS missing keys (batch K) (Ahoo-Wang/fetcher#1717)”; “fix(view-engine): low-severity findings from the package review (Ahoo-Wang/fetcher#1517)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/analysis/validate.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/filter/inputs/daterange.tsx typescript/wow-view-engine/src/ui/filter/inputs/daterange.tsx:42— typescript/wow-view-engine/src/ui/filter/inputs/daterange.tsx changed 13 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 13 (its worst body is daterange.AbsoluteDate at line 42), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): read a stored instant in the date editor on the surface's clock; one cached zone reader (#4150)”; “fix(view-engine): workbench and board interaction — hand-over focus, an added panel in view, no leave question for look-ups, the follow-up hint, a one-day date on the day in force (review round 2, B6) (#3849)”; “fix(view-engine): a valued calendar opens on its value's month, not today's (#3813)”; “fix(view-engine): a board's date filter shows what the board reads (#3619)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/filter/inputs/daterange.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/analysis/HavingRows.tsx typescript/wow-view-engine/src/ui/analysis/HavingRows.tsx:145— typescript/wow-view-engine/src/ui/analysis/HavingRows.tsx changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 11 (its worst body is HavingRows.HavingRows at line 145), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): a metric leaving the question takes its derived metrics and having rules along (#3777)”; “fix(view-engine): the tray fits, says why, and the table says what its totals hold (tray/table P1 batch) (Ahoo-Wang/fetcher#1836)”; “fix(view-engine): the analysis tray reads clearly — a labelled result step, a quiet Apply, a capped height (Ahoo-Wang/fetcher#1805)”; “fix(view-engine): the earliest and the latest of a date read as dates, not as epoch milliseconds (production review) (Ahoo-Wang/fetcher#1761)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/analysis/HavingRows.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/storybook/stories/view-engine/chartDom.ts typescript/storybook/stories/view-engine/chartDom.ts:80— typescript/storybook/stories/view-engine/chartDom.ts changed 13 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 5 (its worst body is chartDom.painted at line 80), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): what the nightly WebKit leg found — a focus mark shows at once, a long table lets go of its rows when printing ends, a bulk command's keyboard lands on its line; the leg runs on macOS (#3828)”; “fix(view-engine): keep chart annotations off each other; label only the peak and trough of a long row of bars (#3654)”; “fix(view-engine): keep the chart tooltip's swatch 10px — the plot's svg rule reaches the drawing only (#3434)”; “fix(view-engine): the Storybook interactions pass in Firefox and WebKit (#3389)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/storybook/stories/view-engine/chartDom.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/filter/compile.ts typescript/wow-view-engine/src/filter/compile.ts:33— typescript/wow-view-engine/src/filter/compile.ts changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 11 (its worst body is compile.withoutBlankLeaves at line 33), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): a condition added and not filled in is not an edit of the view (#4138)”; “fix(view-engine): a misspelled binding and a stale EQ on an enum no longer fail silently (#3902)”; “fix(view-engine): medium-severity findings from the package review (Ahoo-Wang/fetcher#1514)”; “fix(view-engine): run only admitted configs, hold unknown writes, and close a date range on its last day (Ahoo-Wang/fetcher#1513)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/filter/compile.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/storybook/stories/view-engine/contrast.ts typescript/storybook/stories/view-engine/contrast.ts:211— typescript/storybook/stories/view-engine/contrast.ts changed 7 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 6 (its worst body is contrast.measureFocusMark at line 211), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): the Storybook interactions pass in Firefox and WebKit (#3389)”; “fix(view-engine): theme foundation for phase 5 (5A) (#3312)”; “fix(view-engine): R2 — menus hand focus to their dialogs, one voice per board, focus landings, tokens, one panel handle (Ahoo-Wang/fetcher#1888)”; “fix(view-engine): 标题栏的五条打磨——还原先问一句、动效让给 reduce、两级标题、看得见的分隔线与徽章边 (P-01/P-06/P-08/P-09/P-10) (Ahoo-Wang/fetcher#1677)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/storybook/stories/view-engine/contrast.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/charts/pieOption.ts typescript/wow-view-engine/src/ui/charts/pieOption.ts:231— typescript/wow-view-engine/src/ui/charts/pieOption.ts changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 9 (its worst body is pieOption.pieOption at line 231), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): the known 界面与图表 items of the pre-release review (#3802)”; “fix(view-engine): a pie wears its categories' tones, and no groups is the empty state (#3579)”; “fix(view-engine)!: retail-scene defects — empty group, ANY in totals, yes/no series, dense zeros, embed landmarks, metric card changes (#3381)”; “fix(view-engine): analysis chart P2 polish — emphasis, labels, scales, titles, funnel, drawer (Ahoo-Wang/fetcher#1856)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/charts/pieOption.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/filter/time.ts typescript/wow-view-engine/src/filter/time.ts:358— typescript/wow-view-engine/src/filter/time.ts changed 9 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 9 (its worst body is time.periodOf at line 358), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): time windows and number formatting (review round 2, B3) (#3833)”; “fix(view-engine): the analysis review's P2 leftovers — group names, one wording for a drilled bucket, header sort names (Ahoo-Wang/fetcher#1870)”; “fix(view-engine): medium-severity findings from the package review (Ahoo-Wang/fetcher#1514)”; “fix(view-engine): run only admitted configs, hold unknown writes, and close a date range on its last day (Ahoo-Wang/fetcher#1513)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/filter/time.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: core/runtime/src/main/kotlin/me/ahoo/wow/runtime/cluster/ClusterOptions.kt core/runtime/src/main/kotlin/me/ahoo/wow/runtime/cluster/ClusterOptions.kt:122— core/runtime/src/main/kotlin/me/ahoo/wow/runtime/cluster/ClusterOptions.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 3 (its worst body is ClusterOptions.equals at line 122), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(v10): the runtime batch RT: joining retried, cluster options checked, schedule caches bounded, wait withdrawal race (R2.1-8, X-10, X-11, X-12) (#4579)”; “fix(v10): runtime review fixes R2.1 and R2.5-1 (batch G2) (#4555)”; “fix(v10): review A.1 kernel and runtime findings (F1, D223) (#4516)”; “fix(v10): a topic's shared consumer starts a new session after its last reader leaves (C.1 F1) (#4448)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- core/runtime/src/main/kotlin/me/ahoo/wow/runtime/cluster/ClusterOptions.kt`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: core/runtime/src/main/kotlin/me/ahoo/wow/runtime/cluster/CommandRouter.kt core/runtime/src/main/kotlin/me/ahoo/wow/runtime/cluster/CommandRouter.kt:131— core/runtime/src/main/kotlin/me/ahoo/wow/runtime/cluster/CommandRouter.kt changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 8 (its worst body is PartitionedRouter.forward at line 131), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(v10): runtime review fixes R2.1 and R2.5-1 (batch G2) (#4555)”; “fix(v10)!: cross-cutting findings of review A.5 (F9, D228) (#4537)”; “fix(v10): review A.3 host and platform findings (F4) (#4522)”; “fix(v10): review A.1 kernel and runtime findings (F1, D223) (#4516)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- core/runtime/src/main/kotlin/me/ahoo/wow/runtime/cluster/CommandRouter.kt`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/filter/inputs/relative.tsx typescript/wow-view-engine/src/ui/filter/inputs/relative.tsx:37— typescript/wow-view-engine/src/ui/filter/inputs/relative.tsx changed 7 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 2 (its worst body is relative.RelativeDate at line 37), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): a board's date filter shows what the board reads (#3619)”; “fix(view-engine): narrow boards keep their filters and badges inside, and a wide panel table says it scrolls (#3583)”; “fix(view-engine): a count picks its English form ("1 record", "last 30 days") (#3574)”; “fix(view-engine): the forms half of the shadcn audit — Field, FieldSet, FieldError, and an invalid state a reader can hear (Ahoo-Wang/fetcher#1634)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/filter/inputs/relative.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: edge/http/src/main/kotlin/me/ahoo/wow/http/internal/HttpSignalSender.kt edge/http/src/main/kotlin/me/ahoo/wow/http/internal/HttpSignalSender.kt:198— edge/http/src/main/kotlin/me/ahoo/wow/http/internal/HttpSignalSender.kt changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 8 (its worst body is HttpSignalSender.deliver at line 198), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(runtime): give a wait signal until its wait's deadline, not a fixed second (#4822)”; “fix(v10): R2 security review fixes (batch G1) (#4553)”; “fix(v10)!: cross-cutting findings of review A.5 (F9, D228) (#4537)”; “fix(v10): the internal port's trust boundary (F5, D226) (#4525)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- edge/http/src/main/kotlin/me/ahoo/wow/http/internal/HttpSignalSender.kt`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/filter/kinds/metadata.ts typescript/wow-view-engine/src/filter/kinds/metadata.ts:49— typescript/wow-view-engine/src/filter/kinds/metadata.ts changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 7 (its worst body is metadata.shown at line 49), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): localise the applied summary, the relative-date labels and the abandon wording (Ahoo-Wang/fetcher#1549)”; “fix(view-engine): low-severity findings from the package review (Ahoo-Wang/fetcher#1517)”; “fix(view-engine): run only admitted configs, hold unknown writes, and close a date range on its last day (Ahoo-Wang/fetcher#1513)”; “fix(view-engine): let a condition be unfinished (Ahoo-Wang/fetcher#1493)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/filter/kinds/metadata.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/filter/kinds/enum.ts typescript/wow-view-engine/src/filter/kinds/enum.ts:50— typescript/wow-view-engine/src/filter/kinds/enum.ts changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 6 (its worst body is readLeaf at line 50), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): a misspelled binding and a stale EQ on an enum no longer fail silently (#3902)”; “fix(view-engine): the analysis kernel walks elements as Wow's chain, compiles element-relative names, rejects root fields under elements, and defaults TERMS missing keys (batch K) (Ahoo-Wang/fetcher#1717)”; “fix(view-engine): localise the applied summary, the relative-date labels and the abandon wording (Ahoo-Wang/fetcher#1549)”; “fix(view-engine): low-severity findings from the package review (Ahoo-Wang/fetcher#1517)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/filter/kinds/enum.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/filter/kinds/reference.ts typescript/wow-view-engine/src/filter/kinds/reference.ts:46— typescript/wow-view-engine/src/filter/kinds/reference.ts changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 5 (its worst body is validate at line 46), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): localise the applied summary, the relative-date labels and the abandon wording (Ahoo-Wang/fetcher#1549)”; “fix(view-engine): low-severity findings from the package review (Ahoo-Wang/fetcher#1517)”; “fix(view-engine): run only admitted configs, hold unknown writes, and close a date range on its last day (Ahoo-Wang/fetcher#1513)”; “fix(view-engine): let a condition be unfinished (Ahoo-Wang/fetcher#1493)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/filter/kinds/reference.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/record/queryAnnouncement.ts typescript/wow-view-engine/src/ui/record/queryAnnouncement.ts:35— typescript/wow-view-engine/src/ui/record/queryAnnouncement.ts changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 10 (its worst body is queryAnnouncement.querySentence at line 35), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): say the page past the first, lead the field search into its list, walk the chart tiles by row (#4136)”; “fix(view-engine): declared actions — outcome unknown, focus kept, said in the host's words (review round 2, B1) (#3834)”; “fix(view-engine): removing unavailable conditions reaches inside an element match; the query announcement empties on failure (#3733)”; “fix(view-engine): a count picks its English form ("1 record", "last 30 days") (#3574)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/record/queryAnnouncement.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/workbench/Unopenable.tsx typescript/wow-view-engine/src/ui/workbench/Unopenable.tsx:43— typescript/wow-view-engine/src/ui/workbench/Unopenable.tsx changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 6 (its worst body is Unopenable.Unopenable at line 43), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): visual polish — flat chart words, whole text one hover away, gauge, filter pill, mixed select-all (review round 2, B12) (#3848)”; “fix(view-engine): a view that failed to open offers a retry; a panel whose view could not be read is not called deleted; the first describe has a deadline (review round 2, B5) (#3842)”; “fix(view-engine): say dashboard in what the engine reports about a board (#3297)”; “fix(view-engine): R7b — the board says 仪表盘, 保存, filters in a sheet on a phone, no applied band on a board, wording (Ahoo-Wang/fetcher#1897)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/workbench/Unopenable.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/filter/kinds/number.ts typescript/wow-view-engine/src/filter/kinds/number.ts:55— typescript/wow-view-engine/src/filter/kinds/number.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 10 (its worst body is validate at line 55), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): localise the applied summary, the relative-date labels and the abandon wording (Ahoo-Wang/fetcher#1549)”; “fix(view-engine): low-severity findings from the package review (Ahoo-Wang/fetcher#1517)”; “fix(view-engine): let a condition be unfinished (Ahoo-Wang/fetcher#1493)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/filter/kinds/number.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresFormat.kt backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresFormat.kt:66— backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresFormat.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 4 (its worst body is PostgresFormat.schema at line 66), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(v10): PostgreSQL log deadlocks between schema creation, group commits and appends (#4619)”; “fix(v10): R2 batch G3, migration convergence and PostgreSQL autocommit (#4554)”; “fix(v10)!: cross-cutting findings of review A.5 (F9, D228) (#4537)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresFormat.kt`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: edge/http/src/main/kotlin/me/ahoo/wow/http/problem/Problem.kt edge/http/src/main/kotlin/me/ahoo/wow/http/problem/Problem.kt:53— edge/http/src/main/kotlin/me/ahoo/wow/http/problem/Problem.kt changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 4 (its worst body is Problem.members at line 53), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(v10): R2 security review fixes (batch G1) (#4553)”; “fix(v10): review A.3 host and platform findings (F4) (#4522)”; “fix(v10): storage failures surface as a retryable Wow error, not a bare 500 (C.1 F2) (#4442)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- edge/http/src/main/kotlin/me/ahoo/wow/http/problem/Problem.kt`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/charts/timeOption.ts typescript/wow-view-engine/src/ui/charts/timeOption.ts:262— typescript/wow-view-engine/src/ui/charts/timeOption.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 6 (its worst body is timeOption.themeRiverOption at line 262), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): give a river's axis room for its first and last names (#4195)”; “fix(view-engine): the known 界面与图表 items of the pre-release review (#3802)”; “fix(view-engine): the period still under way is drawn, marked and read for nothing (#3695)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/charts/timeOption.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: typescript/wow-view-engine/src/ui/charts/palette.ts typescript/wow-view-engine/src/ui/charts/palette.ts:71— typescript/wow-view-engine/src/ui/charts/palette.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 3 (its worst body is palette.pinnedColor at line 71), UNDER the 15 threshold, so this is deliberately not filed as a churn × complexity hotspot — the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: “fix(view-engine): the known 界面与图表 items of the pre-release review (#3802)”; “fix(view-engine): a pie wears its categories' tones, and no groups is the empty state (#3579)”; “fix(view-engine): a time axis runs forward, and the palette has eight colours before a pie folds (Ahoo-Wang/fetcher#1798)”. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-07-24 11:24:21 -07:00' --until='2026-10-22 11:24:21 -07:00' --full-history --no-merges -- typescript/wow-view-engine/src/ui/charts/palette.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
+ 5 more in this group — see findings.md.
R4 · Test Coverage· No test reaches this file · ×19
No test reaches this file scripts/eval-skills.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/wow-view-engine/scripts/api-report.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/wow-client/scripts/api-report.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/wow-react/scripts/api-report.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/wow-view-store/scripts/api-report.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/storybook/scripts/verify-storybook-browser.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/storybook/stories/view-engine/IntroBlocks.tsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/storybook/scripts/linux-browser.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/wow-view-engine/scripts/scope-utilities.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/storybook/scripts/shard-sequencer.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/storybook/scripts/visual.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/storybook/scripts/test-durations.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/wow-view-engine/scripts/build-theme-check.mjs:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/storybook/stories/view-engine/integration/wowCommands.ts:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file platform/analytics/catalog/console/src/main.tsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file platform/ops/console/src/main.tsx:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/storybook/stories/view-engine/integration/wowSource.ts:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/wow-view-engine/src/styles.ts:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
No test reaches this file typescript/wow-view-engine/theme-check/bin.ts:1— No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one.
Swallowed exception (empty catch) platform/analytics/catalog/console/src/i18n.tsx:308— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) platform/analytics/catalog/console/src/services/caller.ts:169— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) platform/ops/console/src/i18n.tsx:219— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) platform/ops/console/src/services/caller.ts:156— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/storybook/scripts/linux-browser.mjs:147— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/storybook/stories/view-engine/chartDom.ts:381— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-client/src/problem.ts:350— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-generator/src/openapi/references.ts:31— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-react/src/internal/readStreamRows.ts:63— `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/react/useViewManager.ts:416— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/react/actionRunner.ts:302— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/react/manager/useCommandRunner.ts:196— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/runtime/actions.ts:348— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/runtime/failure/failures.ts:43— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/ui/colorMode.tsx:83— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/ui/kit/copyText.ts:31— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/ui/record/ColumnResizer.tsx:119— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-engine/src/ui/record/ColumnResizer.tsx:131— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
Swallowed exception (empty catch) typescript/wow-view-store/src/wowViewStore.ts:517— An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it.
FileTooLong: retail/generate.ts typescript/storybook/stories/view-engine/retail/generate.ts— FileTooLong — 1700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1200 over it, 3.40× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: retail/views.ts typescript/storybook/stories/view-engine/retail/views.ts— FileTooLong — 1181 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 681 over it, 2.36× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: retail/boards.ts typescript/storybook/stories/view-engine/retail/boards.ts— FileTooLong — 880 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 380 over it, 1.76× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: node/ServiceNode.kt core/runtime/src/main/kotlin/me/ahoo/wow/runtime/node/ServiceNode.kt— FileTooLong — 842 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: ServiceNode (332-1439). The bar is 500 significant lines; this is 342 over it, 1.68× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: scripts/verify-package.mjs typescript/wow-view-engine/scripts/verify-package.mjs— FileTooLong — 826 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 326 over it, 1.65× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: retail/catalog.ts typescript/storybook/stories/view-engine/retail/catalog.ts— FileTooLong — 756 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 256 over it, 1.51× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: retail/definitions.ts typescript/storybook/stories/view-engine/retail/definitions.ts— FileTooLong — 752 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 252 over it, 1.50× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: boot/WowAutoConfiguration.kt host/spring-boot/src/main/kotlin/me/ahoo/wow/spring/boot/WowAutoConfiguration.kt— FileTooLong — 711 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: WowAutoConfiguration (177-1047). The bar is 500 significant lines; this is 211 over it, 1.42× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: kernel/Kernel.kt core/kernel/src/main/kotlin/me/ahoo/wow/kernel/Kernel.kt— FileTooLong — 658 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: Kernel (148-1113). The bar is 500 significant lines; this is 158 over it, 1.32× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: log/MongoEventLog.kt backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt— FileTooLong — 655 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: MongoEventLog (138-1039). The bar is 500 significant lines; this is 155 over it, 1.31× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: postgres/PostgresEventLog.kt backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresEventLog.kt— FileTooLong — 594 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: PostgresEventLog (107-981). The bar is 500 significant lines; this is 94 over it, 1.19× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: manifest/analyze.ts typescript/wow-generator/src/manifest/analyze.ts— FileTooLong — 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: model/ModelSymbolProcessor.kt compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/ModelSymbolProcessor.kt— FileTooLong — 565 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: ModelSymbolProcessor (125-875). The bar is 500 significant lines; this is 65 over it, 1.13× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: retail/showcase.ts typescript/storybook/stories/view-engine/retail/showcase.ts— FileTooLong — 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: scripts/validate_wow_skills.py scripts/validate_wow_skills.py— FileTooLong — 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: boot/WowProperties.kt host/spring-boot/src/main/kotlin/me/ahoo/wow/spring/boot/WowProperties.kt— FileTooLong — 503 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: WowProperties (177-1332). The bar is 500 significant lines; this is 3 over it, 1.01× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
TooManyMethods: AggregationQueryDsl api/query-api/src/main/kotlin/me/ahoo/wow/api/query/dsl/AggregationQueryDsl.kt:45— TooManyMethods — 86 methods. The bar is 30 methods; this is 56 over it, 2.87× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: FilterDsl api/query-api/src/main/kotlin/me/ahoo/wow/api/query/dsl/FilterDsl.kt:97— TooManyMethods — 73 methods. The bar is 30 methods; this is 43 over it, 2.43× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: BoardCommands typescript/wow-view-engine/src/runtime/dashboard/commands.ts:228— TooManyMethods — 54 methods. The bar is 30 methods; this is 24 over it, 1.80× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: MongoEventLog backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt:138— TooManyMethods — 48 methods. The bar is 30 methods; this is 18 over it, 1.60× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: QueryResolver query/query/src/main/kotlin/me/ahoo/wow/query/QueryResolver.kt:118— TooManyMethods — 42 methods. The bar is 30 methods; this is 12 over it, 1.40× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: WowAutoConfiguration host/spring-boot/src/main/kotlin/me/ahoo/wow/spring/boot/WowAutoConfiguration.kt:177— TooManyMethods — 39 methods. The bar is 30 methods; this is 9 over it, 1.30× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: DataViewRuntime typescript/wow-view-engine/src/runtime/viewRuntime.ts:99— TooManyMethods — 39 methods. The bar is 30 methods; this is 9 over it, 1.30× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: PostgresEventLog backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresEventLog.kt:107— TooManyMethods — 37 methods. The bar is 30 methods; this is 7 over it, 1.23× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: DashboardViewRuntime typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:115— TooManyMethods — 36 methods. The bar is 30 methods; this is 6 over it, 1.20× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: ViewEngine typescript/wow-view-engine/src/runtime/viewEngine.ts:175— TooManyMethods — 36 methods. The bar is 30 methods; this is 6 over it, 1.20× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: ModelSymbolProcessor compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/ModelSymbolProcessor.kt:125— TooManyMethods — 35 methods. The bar is 30 methods; this is 5 over it, 1.17× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: SubscriptionWorker core/runtime/src/main/kotlin/me/ahoo/wow/runtime/subscription/SubscriptionWorker.kt:92— TooManyMethods — 35 methods. The bar is 30 methods; this is 5 over it, 1.17× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Kernel core/kernel/src/main/kotlin/me/ahoo/wow/kernel/Kernel.kt:148— TooManyMethods — 32 methods. The bar is 30 methods; this is 2 over it, 1.07× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
X17 · Uncapped recursion over a caller-supplied document· Recursive walk over a caller-supplied document has no depth cap · ×13
Recursive walk over a caller-supplied document has no depth cap core/kernel/src/main/kotlin/me/ahoo/wow/kernel/EventCodec.kt:287— `sameJson` is public and takes `left: JsonNode` from its caller, and it calls itself at line 287 with a piece of `left` (and at line 290) — the function is not `tailrec`, so every call is a real frame — and nowhere in `sameJson` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `sameJson` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`.
Recursive walk over a caller-supplied document has no depth cap core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/AdmissionLimits.kt:68— `AdmissionLimits.holdsNul` is public and takes `node: JsonNode` from its caller, and it calls itself at line 68 with a piece of `node` (and at line 69) — the function is not `tailrec`, so every call is a real frame — and nowhere in `AdmissionLimits.holdsNul` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `AdmissionLimits.holdsNul` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`.
Recursive walk over a caller-supplied document has no depth cap migration/migrate-data/src/main/kotlin/me/ahoo/wow/migrate/StateDiff.kt:74— `StateDiff.diff` is public, takes a document from its caller (line 52) and hands it to `StateDiff.remove`, which calls itself at line 74 with a piece of `node` — the function is not `tailrec`, so every call is a real frame — and nowhere in `StateDiff.remove` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `StateDiff.remove` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`.
Recursive walk over a caller-supplied document has no depth cap migration/migrate-data/src/main/kotlin/me/ahoo/wow/migrate/StateDiff.kt:87— `StateDiff.diff` is public, takes a document from its caller (line 52) and hands it to `StateDiff.compare`, which calls itself at line 87 with a piece of `left` (and at line 93) — the function is not `tailrec`, so every call is a real frame — and nowhere in `StateDiff.compare` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `StateDiff.compare` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`.
Recursive walk over a caller-supplied document has no depth cap migration/migrate-data/src/main/kotlin/me/ahoo/wow/migrate/MongoNineXEventTarget.kt:168— `MongoNineXEventTarget.bsonOf` is public and takes `node: JsonNode` from its caller, and it calls itself at line 168 with a piece of `node` (and at line 171) — the function is not `tailrec`, so every call is a real frame — and nowhere in `MongoNineXEventTarget.bsonOf` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `MongoNineXEventTarget.bsonOf` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`.
Recursive walk over a caller-supplied document has no depth cap query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryValues.kt:65— `sameValue` is public and takes `other: JsonNode` from its caller, and it calls itself at line 65 with a piece of `other` — the function is not `tailrec`, so every call is a real frame — and nowhere in `sameValue` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `sameValue` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`.
Recursive walk over a caller-supplied document has no depth cap query/query/src/main/kotlin/me/ahoo/wow/query/schema/ManifestSchemaReader.kt:78— `declaration` is public, takes a document from its caller (line 71) and hands it to `read`, which calls itself at line 78 with a piece of `schema` (and at line 81) — the function is not `tailrec`, so every call is a real frame — and nowhere in `read` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. On the JVM's default 1 MB thread stack a recursive walk throws `StackOverflowError` from about 500–2,000 levels on a cold first call and 6,000–17,000 once warmed up (OpenJDK 21 and 25; Android's threads are smaller). kotlinx.serialization's `parseToJsonElement` accepts nested arrays to any depth and Android's built-in `org.json` sets no limit, while Jackson 2.15+ stops at 1,000 — on a cold JVM past the point the walk fails; Gson 2.12+ and Moshi stop at 255. `StackOverflowError` is an `Error`, not an `Exception`: a `catch (e: Exception)` around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through `read` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a `DeepRecursiveFunction`.
Recursive walk over a caller-supplied document has no depth cap typescript/wow-client/src/exactJson.ts:428— `stringifyJson` is exported, takes a document from its caller (line 387) and hands it to `replace`, which calls itself at line 428 (`replace`) with a piece of `value` (and at line 445) — and nowhere in `replace` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `replace` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap typescript/wow-generator/src/openapi/references.ts:68— `findDanglingReferences` is exported, takes a document from its caller (line 59) and hands it to `visit`, which calls itself at line 68 (`visit`) with a piece of `value` (and at line 80) — and nowhere in `visit` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `visit` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap typescript/wow-generator/src/types/typeResolver.ts:359— `resolveLiteral` is exported and takes `value: unknown` from its caller, and it calls itself at line 359 (`resolveLiteral`) with a piece of `value` (and at line 363) — and nowhere in `resolveLiteral` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `resolveLiteral` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap typescript/wow-view-engine/src/model/json.ts:69— `sameJson` is exported, takes a document from its caller (line 63) and hands it to `keysInOrder`, which calls itself at line 69 (`keysInOrder`) with a piece of `value` (and at line 74) — and nowhere in `keysInOrder` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `keysInOrder` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap typescript/wow-view-engine/src/testing/values.ts:45— `numberOf` is exported and takes `value: unknown` from its caller, and it calls itself at line 45 (`numberOf`) with a piece of `value` — and nowhere in `numberOf` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `numberOf` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Recursive walk over a caller-supplied document has no depth cap typescript/wow-view-engine/src/ui/kit/display.ts:575— `cellText` is exported and takes `value: unknown` from its caller, and it calls itself at line 575 (`cellText`) with a piece of `value` — and nowhere in `cellText` is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller's document — not this code — decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: `JSON.parse` accepts any depth, so a 100,000-byte body — inside Express's default 100kb limit — parses to 50,000 levels, and a walk like this one throws `RangeError: Maximum call stack size exceeded` long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any `try` — an event handler, a timer, a promise nobody awaits — takes the Node process down with every other request in flight. Thread a depth argument through `cellText` and reject the value past a fixed maximum, or rewrite the descent with an explicit stack.
Change coupling: validateDefinition.ts ↔ definition.ts typescript/wow-view-engine/src/runtime/validateDefinition.ts:1— `typescript/wow-view-engine/src/runtime/validateDefinition.ts` and `typescript/wow-view-engine/src/ui/messages/definition.ts` change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are `8f45b4b8` fix(view-engine): a declared board's owned analysis is admitted whole…; `55930005` feat(view-engine): search inside an element where the source offers i…; `f468ac6a` feat(view-engine): an array of objects reads in a cell as its element… — run `git show` on any of them.
Change coupling: DashboardWorkbench.tsx ↔ DataWorkbench.tsx typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:1— `typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx` and `typescript/wow-view-engine/src/ui/DataWorkbench.tsx` change together 75% of the time (15 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are `94f5c16e` feat(view-engine): a workbench can be a named region inside a host's …; `6b440fda` feat(view-engine): preset mechanism and theme="system" (phase 5, 5B) …; `ec25f13f` fix(view-engine): every number reads the same everywhere, a row actio… — run `git show` on any of them.
Change coupling: DataTab.tsx ↔ DisplayTab.tsx typescript/wow-view-engine/src/ui/analysis/DataTab.tsx:1— `typescript/wow-view-engine/src/ui/analysis/DataTab.tsx` and `typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx` change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are `2fe940e5` refactor(view-engine): one chart-family table instead of fourteen swi…; `72e9f818` feat(view-engine): combo right axis by units; missing values and 100%…; `848a0473` fix(view-engine): the analysis view keeps the keyboard's place — visu… — run `git show` on any of them.
Change coupling: Cartesian.tsx ↔ PieSlices.tsx typescript/wow-view-engine/src/ui/charts/Cartesian.tsx:1— `typescript/wow-view-engine/src/ui/charts/Cartesian.tsx` and `typescript/wow-view-engine/src/ui/charts/PieSlices.tsx` change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are `dd2d0d1d` fix(view-engine): narrow pie shares whole, <0.1% shares, three-digit …; `31e8eccd` feat(view-engine): a cartesian chart writes its values unasked, where…; `2eaee957` fix(view-engine): charts stop animating for a reader who asked for le… — run `git show` on any of them.
Change coupling: FilterPanel.tsx ↔ messages.ts typescript/wow-view-engine/src/ui/filter/FilterPanel.tsx:1— `typescript/wow-view-engine/src/ui/filter/FilterPanel.tsx` and `typescript/wow-view-engine/src/ui/kit/messages.ts` change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are `33b708b6` feat(view-engine): field groups, one searchable entry for adding, and… (at that commit the files were still `typescript/wow-view-engine/src/ui/FilterPanel.tsx` and `typescript/wow-view-engine/src/ui/messages.ts`); `bdc29feb` feat(view-engine): lay a group's conditions out as inline pills (Ahoo… (at that commit the files were still `typescript/wow-view-engine/src/ui/FilterPanel.tsx` and `typescript/wow-view-engine/src/ui/messages.ts`); `c68525f1` feat(view-engine): one condition per field in a group (Ahoo-Wang/fetc… (at that commit the files were still `typescript/wow-view-engine/src/ui/FilterPanel.tsx` and `typescript/wow-view-engine/src/ui/messages.ts`) — run `git show` on any of them.
Change coupling: ViewHeader.tsx ↔ WorkbenchShell.tsx typescript/wow-view-engine/src/ui/workbench/ViewHeader.tsx:1— `typescript/wow-view-engine/src/ui/workbench/ViewHeader.tsx` and `typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx` change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are `28d45a56` fix(view-engine): 标题栏的五条打磨——还原先问一句、动效让给 reduce、两级标题、看得见的分隔线与徽章边 (P-01… (at that commit the files were still `typescript/wow-view-engine/src/ui/ViewHeader.tsx` and `typescript/wow-view-engine/src/ui/WorkbenchShell.tsx`); `da396db5` fix(view-engine): one rule across both heads, one frame round the res… (at that commit the files were still `typescript/wow-view-engine/src/ui/ViewHeader.tsx` and `typescript/wow-view-engine/src/ui/WorkbenchShell.tsx`); `a339fb76` feat(view-engine): the title bar, status line, tray, applied band and… (at that commit the files were still `typescript/wow-view-engine/src/ui/ViewHeader.tsx` and `typescript/wow-view-engine/src/ui/WorkbenchShell.tsx`) — run `git show` on any of them.
Change coupling: ConditionPill.tsx ↔ filter.ts typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx:1— `typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx` and `typescript/wow-view-engine/src/ui/messages/filter.ts` change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are `78cd727d` fix(view-engine): one word per condition: yes or no, the list's relat…; `e68aad12` feat(view-engine): a text condition's values are offered from the dat…; `1f9084e9` feat(view-engine): a reference field's candidates are searched from t… — run `git show` on any of them.
Change coupling: DashboardGrid.tsx ↔ dashboard.ts typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx:1— `typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx` and `typescript/wow-view-engine/src/ui/messages/dashboard.ts` change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are `a9d31e90` fix(view-engine): board table panels grow to their rows and say what … (at that commit the file was still `typescript/wow-view-engine/src/ui/DashboardGrid.tsx`); `cfb68547` fix(view-engine): a board's date filter shows what the board reads (#… (at that commit the file was still `typescript/wow-view-engine/src/ui/DashboardGrid.tsx`); `89eadbb0` feat(view-engine): lay a dashboard out at a fixed width or full width… (at that commit the file was still `typescript/wow-view-engine/src/ui/DashboardGrid.tsx`) — run `git show` on any of them.
Change coupling: AnalysisChart.tsx ↔ PieSlices.tsx typescript/wow-view-engine/src/ui/analysis/AnalysisChart.tsx:1— `typescript/wow-view-engine/src/ui/analysis/AnalysisChart.tsx` and `typescript/wow-view-engine/src/ui/charts/PieSlices.tsx` change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are `67d4e228` fix(view-engine): a pie wears its categories' tones, and no groups is… (at that commit the file was still `typescript/wow-view-engine/src/ui/AnalysisChart.tsx`); `1500bd8a` feat(view-engine): pie, donut and scatter draw with ECharts — shares … (at that commit the file was still `typescript/wow-view-engine/src/ui/AnalysisChart.tsx`); `6f8b1096` fix(view-engine): a chart type switch keeps its metric, and a pie say… (at that commit the file was still `typescript/wow-view-engine/src/ui/AnalysisChart.tsx`) — run `git show` on any of them.
Change coupling: RecordPagination.tsx ↔ WorkbenchShell.tsx typescript/wow-view-engine/src/ui/record/RecordPagination.tsx:1— `typescript/wow-view-engine/src/ui/record/RecordPagination.tsx` and `typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx` change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are `e54c6635` fix(view-engine): keyboard and screen-reader walkthrough, WCAG 2.2 AA… (at that commit the files were still `typescript/wow-view-engine/src/ui/RecordPagination.tsx` and `typescript/wow-view-engine/src/ui/WorkbenchShell.tsx`); `9fa3fbe5` fix(view-engine): every icon-only button says its name on hover (Ahoo… (at that commit the files were still `typescript/wow-view-engine/src/ui/RecordPagination.tsx` and `typescript/wow-view-engine/src/ui/WorkbenchShell.tsx`); `0b4d1ab9` feat(view-engine): the result runs to the edge — pinned ends with the… (at that commit the files were still `typescript/wow-view-engine/src/ui/RecordPagination.tsx` and `typescript/wow-view-engine/src/ui/WorkbenchShell.tsx`) — run `git show` on any of them.
Change coupling: ChartPicker.tsx ↔ AnalysisParts.tsx typescript/wow-view-engine/src/ui/analysis/ChartPicker.tsx:1— `typescript/wow-view-engine/src/ui/analysis/ChartPicker.tsx` and `typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx` change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency — the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE — the registration is the link, and it is meant not to be an import — and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are `b83269e4` refactor(view-engine): share the visualization panel and read looks t…; `08fb1855` fix(view-engine): chart options button, follow-up menu width, top-N f…; `848a0473` fix(view-engine): the analysis view keeps the keyboard's place — visu… — run `git show` on any of them.
ClassTooLong: ServiceNode core/runtime/src/main/kotlin/me/ahoo/wow/runtime/node/ServiceNode.kt:332— ClassTooLong — 684 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 284 over it, 1.71× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: WowAutoConfiguration host/spring-boot/src/main/kotlin/me/ahoo/wow/spring/boot/WowAutoConfiguration.kt:177— ClassTooLong — 600 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 200 over it, 1.50× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: MongoEventLog backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt:138— ClassTooLong — 586 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 400 significant lines; this is 186 over it, 1.47× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: Kernel core/kernel/src/main/kotlin/me/ahoo/wow/kernel/Kernel.kt:148— ClassTooLong — 581 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 181 over it, 1.45× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: PostgresEventLog backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresEventLog.kt:107— ClassTooLong — 544 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 144 over it, 1.36× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: ModelSymbolProcessor compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/ModelSymbolProcessor.kt:125— ClassTooLong — 506 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 106 over it, 1.27× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: WowProperties host/spring-boot/src/main/kotlin/me/ahoo/wow/spring/boot/WowProperties.kt:177— ClassTooLong — 455 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 55 over it, 1.14× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: CommandGateway core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/CommandGateway.kt:129— ClassTooLong — 444 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 44 over it, 1.11× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: SubscriptionWorker core/runtime/src/main/kotlin/me/ahoo/wow/runtime/subscription/SubscriptionWorker.kt:92— ClassTooLong — 432 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 32 over it, 1.08× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
Duplicated block (5 lines × 2) compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/SubscriptionResolver.kt:471— compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/SubscriptionResolver.kt:471-475 | compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/TypedEventResolver.kt:146-150 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/SubscriptionResolver.kt:471` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 2) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/CommandGateway.kt:400— core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/CommandGateway.kt:400-404 | core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/CommandGateway.kt:548-552 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/CommandGateway.kt:400` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2) skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/ViewStoreOpenApi.kt:186— skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/ViewStoreOpenApi.kt:186-190 | skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/ViewStoreOpenApi.kt:201-205 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/ViewStoreOpenApi.kt:186` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 2) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/pipeline/MongoAggregationWindows.kt:138— backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/pipeline/MongoAggregationWindows.kt:138-142 | query/query/src/main/kotlin/me/ahoo/wow/query/aggregation/GroupWindows.kt:33-37 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (5 lines × 2) backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresFilterCompiler.kt:369— backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresFilterCompiler.kt:369-373 | query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryValues.kt:39-43 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (5 lines × 2) compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/ModelProviderSource.kt:84— compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/ModelProviderSource.kt:84-88 | compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/SubscriptionSource.kt:232-236 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/SubscriptionSource.kt:239` calls `mapOf` and `compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/ModelProviderSource.kt:90` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (5 lines × 2) query/query/src/main/kotlin/me/ahoo/wow/query/RecordAdmission.kt:163— query/query/src/main/kotlin/me/ahoo/wow/query/RecordAdmission.kt:163-167 | query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryValues.kt:53-57 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (5 lines × 2) query/query/src/main/kotlin/me/ahoo/wow/query/QueryResolver.kt:312— query/query/src/main/kotlin/me/ahoo/wow/query/QueryResolver.kt:312-316 | query/query/src/main/kotlin/me/ahoo/wow/query/schema/QueryFieldAliases.kt:84-88 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Sync-over-async blocking typescript/wow-generator/src/output/outputStore.ts:218— `fs.readFileSync` in `callback to files.map` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking typescript/wow-generator/src/output/outputStore.ts:226— `fs.mkdirSync` in `attempt("write")` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking typescript/wow-generator/test/support/generation.ts:119— `writeFileSync` in `generateCold` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking typescript/wow-generator/test/support/generation.ts:123— `writeFileSync` in `generateCold` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking typescript/wow-generator/test/support/generation.ts:171— `writeFileSync` in `generateProject` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking typescript/wow-generator/test/support/generation.ts:199— `realpathSync` in `generateProject` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking typescript/wow-generator/test/support/probes.ts:49— `writeFileSync` in `generateCompiling` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking typescript/wow-generator/test/support/probes.ts:54— `readFileSync` in `read` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Duplicated block (8 lines × 2) platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/AnalyticsCatalogCallers.kt:36— platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/AnalyticsCatalogCallers.kt:36-43 | platform/ops/ops-server/src/main/kotlin/me/ahoo/wow/ops/server/OpsCallers.kt:37-44 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/AnalyticsCatalogCallers.kt:36` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8 lines × 2) platform/view-store/view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/preferences/ViewPreferences.kt:36— platform/view-store/view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/preferences/ViewPreferences.kt:36-43 | platform/view-store/view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/wording/DatasetWording.kt:44-51 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8 lines × 2) backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/events/ElasticsearchEventDocuments.kt:91— backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/events/ElasticsearchEventDocuments.kt:91-98 | backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/snapshot/ElasticsearchSnapshotDocuments.kt:157-164 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind `operator` to `Operator?) = if (operator == null` in one and `Operator?): JsonNode = if (operator == null` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (8 lines × 2) platform/view-store/view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/preferences/ViewPreferencesState.kt:33— platform/view-store/view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/preferences/ViewPreferencesState.kt:33-40 | skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/preferences/ViewPreferencesState.kt:38-45 — before extracting anything, compare `platform/view-store/view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/preferences/ViewPreferencesState.kt` and `skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/preferences/ViewPreferencesState.kt` as WHOLE FILES: 88% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (8 lines × 2) query/query/src/main/kotlin/me/ahoo/wow/query/aggregation/ResidualOperators.kt:64— query/query/src/main/kotlin/me/ahoo/wow/query/aggregation/ResidualOperators.kt:64-71 | query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryFilters.kt:243-250 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (8 lines × 2) backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/ElasticsearchQuerySupport.kt:47— backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/ElasticsearchQuerySupport.kt:47-54 | query/query/src/main/kotlin/me/ahoo/wow/query/schema/QueryStorageAdapter.kt:117-124 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice.
Duplicated block (6 lines × 2) backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/ElasticsearchIndexMappingResolver.kt:345— backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/ElasticsearchIndexMappingResolver.kt:345-350 | backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/ElasticsearchIndexMappingResolver.kt:354-359 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/ElasticsearchIndexMappingResolver.kt:345` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt:459— backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt:459-464 | backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresEventLog.kt:355-360 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt:459` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/ViewStoreOpenApi.kt:198— skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/ViewStoreOpenApi.kt:198-203 | skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/ViewStoreOpenApi.kt:213-218 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/ViewStoreOpenApi.kt:198` it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows — the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members' bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run — a one-line delegation has no helper inside it to lift — so generate the run from the set it enumerates, or accept it and keep each member's own documentation with it.
Duplicated block (6 lines × 2) edge/client/src/main/kotlin/me/ahoo/wow/client/HttpQueryApi.kt:362— edge/client/src/main/kotlin/me/ahoo/wow/client/HttpQueryApi.kt:362-367 | query/query/src/main/kotlin/me/ahoo/wow/query/read/InProcessQueryApi.kt:300-305 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. ★ These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `query/query/src/main/kotlin/me/ahoo/wow/query/read/InProcessQueryApi.kt:308` calls `covers` and `edge/client/src/main/kotlin/me/ahoo/wow/client/HttpQueryApi.kt:368` does not — after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (6 lines × 2) backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresSnapshotSqlCompiler.kt:45— backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresSnapshotSqlCompiler.kt:45-50 | backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresSnapshotSqlCompiler.kt:61-66 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Stateful singleton: StoredSystemViews skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-starter/src/main/kotlin/me/ahoo/wow/viewstore/starter/system/StoredSystemViews.kt:37— `StoredSystemViews` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (warnedClashes; e.g. `warnedClashes` in `warnClash` at line 69).
Stateful singleton: CatalogWatcher platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/CatalogWatcher.kt:50— `CatalogWatcher` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (seen; e.g. `seen` in `look` at line 60).
Stateful singleton: DatasetPublicationWatcher platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/DatasetPublicationWatcher.kt:62— `DatasetPublicationWatcher` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (lastFull, watermark, applied; e.g. `lastFull` in `sync` at line 90).
Stateful singleton: KafkaPartitionedSource backends/kafka/src/main/kotlin/me/ahoo/wow/kafka/KafkaPartitionedSource.kt:60— `KafkaPartitionedSource` is a singleton (@Bean: the container shares one instance across every request thread) but mutates instance state outside any lock (metadata; e.g. `metadata` in `metadata` at line 177).
Change-coupling hub: zh-CN.ts → chart.ts, index.ts, chart.ts, useAnalysisEditor.ts, useAnalysisResult.ts, useDashboard.ts, useRecordTable.ts, useWorkbench.ts, project.ts, execute.ts, validateDefinition.ts, DataWorkbench.tsx, EmbeddedView.tsx, AnalysisChart.tsx, ChartPicker.tsx, DataTab.tsx, DisplayTab.tsx, Cartesian.tsx, PieSlices.tsx, family.ts, ColumnRow.tsx, ColumnSettings.tsx, ConditionPill.tsx, FilterValueEditor.tsx, display.ts, ViewManagerRow.tsx, RecordPagination.tsx, SortableHeader.tsx, SummaryRows.tsx, SortSettings.tsx, AnalysisParts.tsx, RecordParts.tsx, ResultToolbar.tsx typescript/wow-view-engine/src/ui/messages/zh-CN.ts— `typescript/wow-view-engine/src/ui/messages/zh-CN.ts` changes together with 33 other files — `typescript/wow-view-engine/src/analysis/chart.ts`, `typescript/wow-view-engine/src/analysis/index.ts`, `typescript/wow-view-engine/src/model/chart.ts`, `typescript/wow-view-engine/src/react/useAnalysisEditor.ts`, `typescript/wow-view-engine/src/react/useAnalysisResult.ts`, `typescript/wow-view-engine/src/react/useDashboard.ts`, `typescript/wow-view-engine/src/react/useRecordTable.ts`, `typescript/wow-view-engine/src/react/useWorkbench.ts`, `typescript/wow-view-engine/src/record/project.ts`, `typescript/wow-view-engine/src/runtime/execute.ts`, `typescript/wow-view-engine/src/runtime/validateDefinition.ts`, `typescript/wow-view-engine/src/ui/DataWorkbench.tsx`, `typescript/wow-view-engine/src/ui/EmbeddedView.tsx`, `typescript/wow-view-engine/src/ui/analysis/AnalysisChart.tsx`, `typescript/wow-view-engine/src/ui/analysis/ChartPicker.tsx`, `typescript/wow-view-engine/src/ui/analysis/DataTab.tsx`, `typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx`, `typescript/wow-view-engine/src/ui/charts/Cartesian.tsx`, `typescript/wow-view-engine/src/ui/charts/PieSlices.tsx`, `typescript/wow-view-engine/src/ui/charts/family.ts`, `typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx`, `typescript/wow-view-engine/src/ui/columns/ColumnSettings.tsx`, `typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx`, `typescript/wow-view-engine/src/ui/filter/FilterValueEditor.tsx`, `typescript/wow-view-engine/src/ui/kit/display.ts`, `typescript/wow-view-engine/src/ui/manage/ViewManagerRow.tsx`, `typescript/wow-view-engine/src/ui/record/RecordPagination.tsx`, `typescript/wow-view-engine/src/ui/record/SortableHeader.tsx`, `typescript/wow-view-engine/src/ui/record/SummaryRows.tsx`, `typescript/wow-view-engine/src/ui/sort/SortSettings.tsx`, `typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx`, `typescript/wow-view-engine/src/ui/workbench/RecordParts.tsx`, `typescript/wow-view-engine/src/ui/workbench/ResultToolbar.tsx` — none of which declares a dependency on it: one file is the hub of 33 separate couplings, not 33 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 33.
Change-coupling hub: analysis.ts → chart.ts, chart.ts, useAnalysisEditor.ts, useAnalysisResult.ts, ChartPicker.tsx, DataTab.tsx, DisplayTab.tsx, family.ts, AnalysisParts.tsx typescript/wow-view-engine/src/ui/messages/analysis.ts— `typescript/wow-view-engine/src/ui/messages/analysis.ts` changes together with 9 other files — `typescript/wow-view-engine/src/analysis/chart.ts`, `typescript/wow-view-engine/src/model/chart.ts`, `typescript/wow-view-engine/src/react/useAnalysisEditor.ts`, `typescript/wow-view-engine/src/react/useAnalysisResult.ts`, `typescript/wow-view-engine/src/ui/analysis/ChartPicker.tsx`, `typescript/wow-view-engine/src/ui/analysis/DataTab.tsx`, `typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx`, `typescript/wow-view-engine/src/ui/charts/family.ts`, `typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx` — none of which declares a dependency on it: one file is the hub of 9 separate couplings, not 9 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 9.
Change-coupling hub: record.ts → project.ts, ColumnRow.tsx, ColumnSettings.tsx typescript/wow-view-engine/src/ui/messages/record.ts— `typescript/wow-view-engine/src/ui/messages/record.ts` changes together with 3 other files — `typescript/wow-view-engine/src/record/project.ts`, `typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx`, `typescript/wow-view-engine/src/ui/columns/ColumnSettings.tsx` — none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3.
Change-coupling hub: SortSettings.tsx → ColumnRow.tsx, ColumnSettings.tsx, ViewManagerRow.tsx typescript/wow-view-engine/src/ui/sort/SortSettings.tsx— `typescript/wow-view-engine/src/ui/sort/SortSettings.tsx` changes together with 3 other files — `typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx`, `typescript/wow-view-engine/src/ui/columns/ColumnSettings.tsx`, `typescript/wow-view-engine/src/ui/manage/ViewManagerRow.tsx` — none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3.
Duplicated block (11 lines × 2) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt:743— backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt:743-753 | backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresEventLog.kt:656-666 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/log/MongoEventLog.kt:743` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11 lines × 2) query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryAggregation.kt:216— query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryAggregation.kt:216-226 | query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryFilters.kt:218-228 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryAggregation.kt:216` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind `expression` to `DerivedExpression` in one and `AggregationExpression` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH — their common supertype where they have one, or a new abstraction over them where they do not — and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (11 lines × 2) scripts/validate_wow_skills.py:193— scripts/validate_wow_skills.py:193-203 | scripts/validate_wow_skills.py:258-268 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Boundary violation [package:relative-cross-package] typescript/wow-client/scripts/api-report.mjs:45— typescript/wow-client/scripts/api-report.mjs:45 reaches into another package with a relative path (../../../.github/scripts/symbol-index.mjs) — import the package by name instead.
Boundary violation [package:relative-cross-package] typescript/wow-react/scripts/api-report.mjs:45— typescript/wow-react/scripts/api-report.mjs:45 reaches into another package with a relative path (../../../.github/scripts/symbol-index.mjs) — import the package by name instead.
Boundary violation [package:relative-cross-package] typescript/wow-view-store/scripts/api-report.mjs:45— typescript/wow-view-store/scripts/api-report.mjs:45 reaches into another package with a relative path (../../../.github/scripts/symbol-index.mjs) — import the package by name instead.
R4 · Test Coverage· This test file cannot be loaded · ×3
This test file cannot be loaded typescript/storybook/scripts/verify-storybook.mjs:20— typescript/storybook/scripts/verify-storybook.mjs:20 imports '../stories/', which names no file in this repository — and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing.
This test file cannot be loaded typescript/storybook/stories/view-engine/retail/descriptions.test.ts:35— typescript/storybook/stories/view-engine/retail/descriptions.test.ts:35 imports '../', which names no file in this repository — and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing.
This test file cannot be loaded typescript/wow-client/test/packageTypes.test.ts:20— typescript/wow-client/test/packageTypes.test.ts:20 imports './__package_consumer__.mts', which names no file in this repository — and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing.
X2 · Cancellation propagation· Async function without AbortSignal · ×3
Async function without AbortSignal: ready typescript/storybook/scripts/linux-browser.mjs:140— `ready` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: load typescript/storybook/stories/view-engine/worldExports.ts:48— `load` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Async function without AbortSignal: load typescript/storybook/stories/view-engine/chinaProvinces.ts:56— `load` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`.
Swallowed exception (caught, then discarded) backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresEventLog.kt:578— `catch (_: Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/source/TopicEntries.kt:129— `catch (_: Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
Swallowed exception (caught, then discarded) edge/cosec/src/main/kotlin/me/ahoo/wow/cosec/CoSecInternalCallerResolver.kt:47— `catch (_: Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter.
MethodTooLong: DatasetBinder.bind platform/analytics/catalog/domain/src/main/kotlin/me/ahoo/wow/analytics/catalog/domain/dataset/DatasetBinder.kt:93— MethodTooLong — bind runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
MethodTooLong: CommandGateway.admit core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/CommandGateway.kt:365— MethodTooLong — admit runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
Duplicated block (8 lines × 3) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:93— backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:93-100 | backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresQueryBackend.kt:323-330 | query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryQueryBackend.kt:243-250 — before extracting anything, compare `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt` and `backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresQueryBackend.kt` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:93` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 3) example/eshop/basket/basket-server/src/main/kotlin/me/ahoo/wow/example/eshop/basket/server/BasketCallers.kt:42— example/eshop/basket/basket-server/src/main/kotlin/me/ahoo/wow/example/eshop/basket/server/BasketCallers.kt:42-49 | example/eshop/catalog/catalog-server/src/main/kotlin/me/ahoo/wow/example/eshop/catalog/server/CatalogCallers.kt:44-51 | example/eshop/ordering/ordering-server/src/main/kotlin/me/ahoo/wow/example/eshop/ordering/server/OrderingCallers.kt:42-49 — before extracting anything, compare `example/eshop/basket/basket-server/src/main/kotlin/me/ahoo/wow/example/eshop/basket/server/BasketCallers.kt` and `example/eshop/catalog/catalog-server/src/main/kotlin/me/ahoo/wow/example/eshop/catalog/server/CatalogCallers.kt` as WHOLE FILES: 83% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `example/eshop/basket/basket-server/src/main/kotlin/me/ahoo/wow/example/eshop/basket/server/BasketCallers.kt:42` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 2) compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/SubscriptionResolver.kt:640— compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/SubscriptionResolver.kt:640-646 | compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/TagsResolver.kt:121-127 — the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach — a file they already depend on, or a new one alongside them — and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `compiler/compiler/src/main/kotlin/me/ahoo/wow/compiler/model/SubscriptionResolver.kt:640` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied — no decision has to be handed back and re-acted on.
Duplicated block (7 lines × 2) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/command/MessageEntries.kt:131— core/runtime/src/main/kotlin/me/ahoo/wow/runtime/command/MessageEntries.kt:131-137 | core/runtime/src/main/kotlin/me/ahoo/wow/runtime/source/TopicEntries.kt:135-141 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
R10 · Code Duplication· Duplicated block with local edits (41 matched lines × 2 locations) · ×2
Duplicated block with local edits (41 matched lines × 2 locations) typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:274— typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:274 · typescript/wow-view-engine/src/runtime/viewRuntime.ts:253 — the two spans are one implementation copied and then locally edited — 244 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block with local edits (41 matched lines × 2 locations) typescript/wow-view-engine/src/ui/charts/boxplotOption.ts:47— typescript/wow-view-engine/src/ui/charts/boxplotOption.ts:47 · typescript/wow-view-engine/src/ui/charts/candlestickOption.ts:39 — the two spans are one implementation copied and then locally edited — 278 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (35 lines × 2 locations) typescript/storybook/stories/view-engine/compensationEvents.ts:371— typescript/storybook/stories/view-engine/compensationEvents.ts:371 · typescript/storybook/stories/view-engine/customerEvents.ts:453 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases.
Duplicated block (35 lines × 2 locations) typescript/wow-react/src/hooks/useFetcherListStreamQuery.ts:44— typescript/wow-react/src/hooks/useFetcherListStreamQuery.ts:44 · typescript/wow-react/src/hooks/useFetcherSingleQuery.ts:34 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Duplicated block (32 lines × 2 locations) typescript/wow-react/src/hooks/useFetcherListQuery.ts:28— typescript/wow-react/src/hooks/useFetcherListQuery.ts:28 · typescript/wow-react/src/hooks/useListQuery.ts:27 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Duplicated block (32 lines × 2 locations) typescript/wow-react/src/hooks/useFetcherPagedQuery.ts:28— typescript/wow-react/src/hooks/useFetcherPagedQuery.ts:28 · typescript/wow-react/src/hooks/usePagedQuery.ts:27 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Duplicated block (30 lines × 2 locations) typescript/storybook/stories/view-engine/compensation.ts:68— typescript/storybook/stories/view-engine/compensation.ts:68 · typescript/storybook/stories/view-engine/productPricing.ts:128 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Duplicated block (30 lines × 2 locations) typescript/storybook/stories/view-engine/compensation.ts:91— typescript/storybook/stories/view-engine/compensation.ts:91 · typescript/storybook/stories/view-engine/customer.ts:107 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Duplicated block (29 lines × 2 locations) platform/analytics/catalog/console/eslint.config.js:11— platform/analytics/catalog/console/eslint.config.js:11 · platform/ops/console/eslint.config.js:11 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Duplicated block (29 lines × 2 locations) platform/analytics/catalog/console/src/app/CallerGate.tsx:28— platform/analytics/catalog/console/src/app/CallerGate.tsx:28 · platform/ops/console/src/app/CallerGate.tsx:27 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another.
AC3 · Page structure· Data table has no header cells · ×1
Data table has no header cells platform/analytics/catalog/console/src/detail/DatasetReading.tsx:120— A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
AC6 · Visual & motion safety· Focus outline removed in CSS without a · ×1
Focus outline removed in CSS without a :focus replacement typescript/storybook/.storybook/preview.css:518— `.story-app-page:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible.
generate.generateRetail.project (cyclomatic 107) typescript/storybook/stories/view-engine/retail/generate.ts:1476— generate.generateRetail.project has cyclomatic complexity 107 (threshold 15). Of this number, 99 points are the body's own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
check.checkTheme (cyclomatic 84) typescript/wow-view-engine/theme-check/check.ts:132— check.checkTheme has cyclomatic complexity 84 (threshold 15). Of this number, 41 points are the body's own statements and 43 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AnalysisTable.AnalysisTable (cyclomatic 67) typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx:120— AnalysisTable.AnalysisTable has cyclomatic complexity 67 (threshold 15). Of this number, 24 points are the body's own statements and 43 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
validate_wow_skills._validate_suite (cyclomatic 64) scripts/validate_wow_skills.py:401— validate_wow_skills._validate_suite has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
WorkbenchShell.WorkbenchShell (cyclomatic 64) typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx:343— WorkbenchShell.WorkbenchShell has cyclomatic complexity 64 (threshold 15). Of this number, 51 points are the body's own statements and 13 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EChart.EChart (cyclomatic 60) typescript/wow-view-engine/src/ui/charts/EChart.tsx:205— EChart.EChart has cyclomatic complexity 60 (threshold 15). Of this number, 19 points are the body's own statements and 41 belong to 21 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
generate.generateRetail (cyclomatic 53) typescript/storybook/stories/view-engine/retail/generate.ts:766— generate.generateRetail has cyclomatic complexity 53 (threshold 15). Of this number, 47 points are the body's own statements and 6 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
MetricCard.MetricCard (cyclomatic 49) typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx:74— MetricCard.MetricCard has cyclomatic complexity 49 (threshold 15). Of this number, 45 points are the body's own statements and 4 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DashboardGrid.DashboardGrid (cyclomatic 48) typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx:167— DashboardGrid.DashboardGrid has cyclomatic complexity 48 (threshold 15). Of this number, 24 points are the body's own statements and 24 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AnalysisParts.AnalysisParts (cyclomatic 47) typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx:126— AnalysisParts.AnalysisParts has cyclomatic complexity 47 (threshold 15). Of this number, 44 points are the body's own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
analysis.narrowAggregation (cyclomatic 46) typescript/wow-view-engine/src/capabilities/analysis.ts:259— analysis.narrowAggregation has cyclomatic complexity 46 (threshold 15). Of this number, 39 points are the body's own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ConditionPill.ConditionPill (cyclomatic 46) typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx:80— ConditionPill.ConditionPill has cyclomatic complexity 46 (threshold 15). Of this number, 44 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
SaveActions.SaveActions (cyclomatic 46) typescript/wow-view-engine/src/ui/workbench/SaveActions.tsx:87— SaveActions.SaveActions has cyclomatic complexity 46 (threshold 15). Of this number, 29 points are the body's own statements and 17 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ElasticsearchFilterCompiler.compileNormalized (cyclomatic 45) backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/ElasticsearchFilterCompiler.kt:57— ElasticsearchFilterCompiler.compileNormalized has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
RecordTable.RecordTable (cyclomatic 45) typescript/wow-view-engine/src/ui/record/RecordTable.tsx:209— RecordTable.RecordTable has cyclomatic complexity 45 (threshold 15). Of this number, 35 points are the body's own statements and 10 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
cartesianFit.cartesianFit (cyclomatic 43) typescript/wow-view-engine/src/ui/charts/cartesianFit.ts:230— cartesianFit.cartesianFit has cyclomatic complexity 43 (threshold 15). Of this number, 23 points are the body's own statements and 20 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ElasticsearchQuerySchemaAdapterKt.supports (cyclomatic 41) backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/schema/ElasticsearchQuerySchemaAdapter.kt:467— ElasticsearchQuerySchemaAdapterKt.supports has cyclomatic complexity 41 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
MongoMatchCompiler.compile (cyclomatic 40) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoMatchCompiler.kt:133— MongoMatchCompiler.compile has cyclomatic complexity 40 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
filter.criteria (cyclomatic 40) typescript/wow-view-engine/src/testing/filter.ts:114— filter.criteria has cyclomatic complexity 40 (threshold 15). Of this number, 39 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
DatasetBinder.bind (cyclomatic 37) platform/analytics/catalog/domain/src/main/kotlin/me/ahoo/wow/analytics/catalog/domain/dataset/DatasetBinder.kt:93— DatasetBinder.bind has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
cartesianOption.optionOf (cyclomatic 37) typescript/wow-view-engine/src/ui/charts/cartesianOption.ts:74— cartesianOption.optionOf has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 14 of the 37 points are its own statements and the rest belongs to 5 function items inside it that branch (valueAxis, tick, axisIndex, …). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ContentEditor.ContentForm (cyclomatic 37) typescript/wow-view-engine/src/ui/dashboard/ContentEditor.tsx:204— ContentEditor.ContentForm has cyclomatic complexity 37 (threshold 15). Of this number, 24 points are the body's own statements and 13 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ActionDialog.ActionDialog (cyclomatic 35) typescript/wow-view-engine/src/ui/actions/ActionDialog.tsx:80— ActionDialog.ActionDialog has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body's own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
validate_wow_skills._validate_resources (cyclomatic 34) scripts/validate_wow_skills.py:294— validate_wow_skills._validate_resources has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ViewExpansion.useViewExpansion (cyclomatic 34) typescript/wow-view-engine/src/ui/kit/ViewExpansion.tsx:269— ViewExpansion.useViewExpansion has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 4 of the 34 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 387, 429, 320, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
Cartesian.Cartesian (cyclomatic 34) typescript/wow-view-engine/src/ui/charts/Cartesian.tsx:42— Cartesian.Cartesian has cyclomatic complexity 34 (threshold 15). Of this number, 17 points are the body's own statements and 17 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
RecordParts.RecordParts (cyclomatic 34) typescript/wow-view-engine/src/ui/workbench/RecordParts.tsx:202— RecordParts.RecordParts has cyclomatic complexity 34 (threshold 15). Of this number, 18 points are the body's own statements and 16 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
streams.resumableQueryRows (cyclomatic 33) typescript/wow-client/src/streams.ts:151— streams.resumableQueryRows has cyclomatic complexity 33 (threshold 15). Of this number, 21 points are the body's own statements and 12 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
useAnalysisResult.useAnalysisResult (cyclomatic 33) typescript/wow-view-engine/src/react/useAnalysisResult.ts:220— useAnalysisResult.useAnalysisResult has cyclomatic complexity 33 (threshold 15). Of this number, 29 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
aggregate.metricOf (cyclomatic 33) typescript/wow-view-engine/src/testing/aggregate.ts:256— aggregate.metricOf has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
validateMetrics.metricTypeIssues (cyclomatic 32) typescript/wow-view-engine/src/analysis/validateMetrics.ts:161— validateMetrics.metricTypeIssues has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
useWorkbench.useWorkbench (cyclomatic 32) typescript/wow-view-engine/src/react/useWorkbench.ts:408— useWorkbench.useWorkbench has cyclomatic complexity 32 (threshold 15). Of this number, 30 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
NewAnalysisDialog.NewAnalysisForm (cyclomatic 32) typescript/wow-view-engine/src/ui/dashboard/NewAnalysisDialog.tsx:153— NewAnalysisDialog.NewAnalysisForm has cyclomatic complexity 32 (threshold 15). Of this number, 22 points are the body's own statements and 10 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
Resolution.type (cyclomatic 31) typescript/wow-generator/src/types/typeResolver.ts:616— Resolution.type has cyclomatic complexity 31 (threshold 15). Of this number, 26 points are the body's own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
metricCard.metricCard (cyclomatic 31) typescript/wow-view-engine/src/analysis/metricCard.ts:154— metricCard.metricCard has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
fields.buildField (cyclomatic 31) typescript/wow-view-engine/src/runtime/define/fields.ts:82— fields.buildField has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
date.DateValue (cyclomatic 31) typescript/wow-view-engine/src/ui/filter/inputs/date.tsx:70— date.DateValue has cyclomatic complexity 31 (threshold 15). Of this number, 18 points are the body's own statements and 13 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ColumnRow.ColumnRow (cyclomatic 31) typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx:151— ColumnRow.ColumnRow has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
Board.DashboardBoard (cyclomatic 30) typescript/wow-view-engine/src/ui/dashboard/Board.tsx:91— Board.DashboardBoard has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 4 of the 30 points are its own statements and the rest belongs to 13 function items inside it that branch (add, a function literal at line 139, a function literal at line 244, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ChartPicker.ChartPicker (cyclomatic 30) typescript/wow-view-engine/src/ui/analysis/ChartPicker.tsx:112— ChartPicker.ChartPicker has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 4 of the 30 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 217, a function literal at line 273, nameOf, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
InMemoryFilters.field (cyclomatic 29) query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryFilters.kt:134— InMemoryFilters.field has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
QueryStorageFamiliesKt.storageFamilies (cyclomatic 29) query/query/src/main/kotlin/me/ahoo/wow/query/schema/QueryStorageFamilies.kt:82— QueryStorageFamiliesKt.storageFamilies has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
validate_wow_skills.validate_repository (cyclomatic 29) scripts/validate_wow_skills.py:527— validate_wow_skills.validate_repository has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
cells.cellValue (cyclomatic 29) typescript/wow-view-engine/src/ui/record/cells.tsx:86— cells.cellValue has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
PanelMenu.PanelMenu (cyclomatic 29) typescript/wow-view-engine/src/ui/dashboard/PanelMenu.tsx:112— PanelMenu.PanelMenu has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
RecordDetail.RecordDetail (cyclomatic 28) typescript/wow-view-engine/src/ui/record/RecordDetail.tsx:123— RecordDetail.RecordDetail has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body's own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ViewManagerRow.ViewManagerRow (cyclomatic 28) typescript/wow-view-engine/src/ui/manage/ViewManagerRow.tsx:131— ViewManagerRow.ViewManagerRow has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
PanelBodies.AnalysisPanel (cyclomatic 28) typescript/wow-view-engine/src/ui/dashboard/PanelBodies.tsx:296— PanelBodies.AnalysisPanel has cyclomatic complexity 28 (threshold 15). Of this number, 21 points are the body's own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
address.useAddressedInstance (cyclomatic 28) typescript/wow-view-engine/src/ui/workbench/address.ts:197— address.useAddressedInstance has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 268, 235, 222, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
SortableHeader.SortableHeader (cyclomatic 27) typescript/wow-view-engine/src/ui/record/SortableHeader.tsx:95— SortableHeader.SortableHeader has cyclomatic complexity 27 (threshold 15). Of this number, 21 points are the body's own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
issueNames.analysisIssueNamer (cyclomatic 27) typescript/wow-view-engine/src/ui/analysis/issueNames.ts:81— issueNames.analysisIssueNamer has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 101, column, field, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
cartesian.shapeCartesian (cyclomatic 26) typescript/wow-view-engine/src/analysis/cartesian.ts:155— cartesian.shapeCartesian has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body's own statements and 10 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
DrillMenu.DrillMenu (cyclomatic 26) typescript/wow-view-engine/src/ui/analysis/DrillMenu.tsx:105— DrillMenu.DrillMenu has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 241, 141, 127, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
ResultToolbar.ResultToolbar (cyclomatic 26) typescript/wow-view-engine/src/ui/workbench/ResultToolbar.tsx:157— ResultToolbar.ResultToolbar has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EmbeddedDashboard.EmbeddedBoard (cyclomatic 26) typescript/wow-view-engine/src/ui/EmbeddedDashboard.tsx:232— EmbeddedDashboard.EmbeddedBoard has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body's own statements and 4 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EmbeddedRecord.EmbeddedRecord (cyclomatic 26) typescript/wow-view-engine/src/ui/embed/EmbeddedRecord.tsx:52— EmbeddedRecord.EmbeddedRecord has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
project.projectAnalysis::describe (cyclomatic 25) typescript/wow-view-engine/src/analysis/project.ts:524— project.projectAnalysis::describe has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (project.projectAnalysis) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
source.scoped (cyclomatic 25) typescript/wow-view-engine/src/testing/source.ts:202— source.scoped has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RecordPagination.RecordPagination (cyclomatic 25) typescript/wow-view-engine/src/ui/record/RecordPagination.tsx:66— RecordPagination.RecordPagination has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
MoreViewActions.MoreViewActions (cyclomatic 25) typescript/wow-view-engine/src/ui/workbench/MoreViewActions.tsx:52— MoreViewActions.MoreViewActions has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DisplayTab.ValueLabelsField (cyclomatic 25) typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx:140— DisplayTab.ValueLabelsField has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
building.useDashboardExtensions (cyclomatic 25) typescript/wow-view-engine/src/ui/dashboard/building.tsx:82— building.useDashboardExtensions has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body's own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
Resolution.objectConstrained (cyclomatic 24) typescript/wow-generator/src/types/typeResolver.ts:564— Resolution.objectConstrained has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body's own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions.
validateGroups.groupIssues (cyclomatic 24) typescript/wow-view-engine/src/analysis/validateGroups.ts:93— validateGroups.groupIssues has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to one function literal inside it that branches (line 103). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
open.aggregation (cyclomatic 24) typescript/wow-view-engine/src/capabilities/open.ts:155— open.aggregation has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body's own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
unavailable.without1 (cyclomatic 24) typescript/wow-view-engine/src/runtime/failure/unavailable.ts:103— unavailable.without1 has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
Funnel.Funnel (cyclomatic 24) typescript/wow-view-engine/src/ui/charts/Funnel.tsx:50— Funnel.Funnel has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body's own statements and 9 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DashboardPanel.DashboardPanel (cyclomatic 24) typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx:255— DashboardPanel.DashboardPanel has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
datePattern.validateDatePattern (cyclomatic 23) typescript/wow-client/src/dsl/filter/datePattern.ts:112— datePattern.validateDatePattern has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
click.validatePanelClick (cyclomatic 23) typescript/wow-view-engine/src/dashboard/click.ts:159— click.validatePanelClick has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
useSaveCommands.useSaveCommands (cyclomatic 23) typescript/wow-view-engine/src/react/useSaveCommands.ts:211— useSaveCommands.useSaveCommands has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
summary.summaryWords (cyclomatic 23) typescript/wow-view-engine/src/ui/kit/summary.ts:67— summary.summaryWords has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
MetricCard.MetricCard (cyclomatic 23) typescript/wow-view-engine/src/ui/charts/MetricCard.tsx:340— MetricCard.MetricCard has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body's own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TimeCharts.TimeCharts (cyclomatic 23) typescript/wow-view-engine/src/ui/charts/TimeCharts.tsx:39— TimeCharts.TimeCharts has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 101, 99, 57, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
RecordKanban.KanbanLane (cyclomatic 23) typescript/wow-view-engine/src/ui/record/RecordKanban.tsx:169— RecordKanban.KanbanLane has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body's own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
FilterBar.FilterBar (cyclomatic 23) typescript/wow-view-engine/src/ui/dashboard/FilterBar.tsx:170— FilterBar.FilterBar has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body's own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
derived.derivedGap (cyclomatic 22) typescript/wow-view-engine/src/analysis/derived.ts:129— derived.derivedGap has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
fields.narrowField (cyclomatic 22) typescript/wow-view-engine/src/capabilities/fields.ts:92— fields.narrowField has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
actionRunner.useActionRunner.run (cyclomatic 22) typescript/wow-view-engine/src/react/actionRunner.ts:256— actionRunner.useActionRunner.run has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (judge, settle, worker, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
cartesianTooltip.cartesianTooltip (cyclomatic 22) typescript/wow-view-engine/src/ui/charts/cartesianTooltip.ts:30— cartesianTooltip.cartesianTooltip has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 5 function items inside it that branch (rowAt, a function literal at line 85, earlierChange, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
FilterPanel.FilterPanel (cyclomatic 22) typescript/wow-view-engine/src/ui/filter/FilterPanel.tsx:82— FilterPanel.FilterPanel has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body's own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
SaveAsDialog.SaveAsForm (cyclomatic 22) typescript/wow-view-engine/src/ui/workbench/SaveAsDialog.tsx:222— SaveAsDialog.SaveAsForm has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body's own statements and 9 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
DashboardTabs.DashboardTabs (cyclomatic 22) typescript/wow-view-engine/src/ui/dashboard/DashboardTabs.tsx:63— DashboardTabs.DashboardTabs has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 8 function items inside it that branch (move, remove, add, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
resolve.createResolver.declared (cyclomatic 22) typescript/wow-view-engine/theme-check/resolve.ts:553— resolve.createResolver.declared has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (layered, link, read, …). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
analysis.narrowAnalysis (cyclomatic 21) typescript/wow-view-engine/src/capabilities/analysis.ts:47— analysis.narrowAnalysis has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
validateFields.validateFields (cyclomatic 21) typescript/wow-view-engine/src/runtime/validateFields.ts:39— validateFields.validateFields has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 56, 146, 160). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
ChartLegend.ChartLegend (cyclomatic 21) typescript/wow-view-engine/src/ui/charts/ChartLegend.tsx:55— ChartLegend.ChartLegend has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body's own statements and 5 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
virtualRows.useVirtualRows (cyclomatic 21) typescript/wow-view-engine/src/ui/analysis/virtualRows.ts:128— virtualRows.useVirtualRows has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 171, 169, 201, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
EmbeddedAnalysis.EmbeddedAnalysis (cyclomatic 21) typescript/wow-view-engine/src/ui/embed/EmbeddedAnalysis.tsx:57— EmbeddedAnalysis.EmbeddedAnalysis has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
DatasetExpressionParser.tokenize (cyclomatic 20) platform/analytics/catalog/domain/src/main/kotlin/me/ahoo/wow/analytics/catalog/domain/dataset/DatasetExpression.kt:292— DatasetExpressionParser.tokenize has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
scope.requireElementScopedFilter (cyclomatic 20) typescript/wow-client/src/dsl/filter/scope.ts:33— scope.requireElementScopedFilter has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform — the same kind of value, with no behaviour of its own — a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing.
compile.recordProjection (cyclomatic 20) typescript/wow-view-engine/src/record/compile.ts:113— compile.recordProjection has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
migrate.intoDefaults (cyclomatic 20) typescript/wow-view-engine/src/dashboard/migrate.ts:110— migrate.intoDefaults has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
useRecordDetail.useRecordDetail (cyclomatic 20) typescript/wow-view-engine/src/react/useRecordDetail.ts:118— useRecordDetail.useRecordDetail has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body's own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
scatterOption.scatterOption (cyclomatic 20) typescript/wow-view-engine/src/ui/charts/scatterOption.ts:68— scatterOption.scatterOption has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (axis, diameter, a function literal at line 193, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ActionSurface.useActionSurface (cyclomatic 20) typescript/wow-view-engine/src/ui/actions/ActionSurface.tsx:93— ActionSurface.useActionSurface has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 168, a function literal at line 148, a function literal at line 159, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
WriteOutcome.WriteOutcome (cyclomatic 20) typescript/wow-view-engine/src/ui/workbench/WriteOutcome.tsx:101— WriteOutcome.WriteOutcome has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 6 function items inside it that branch (notify, a function literal at line 128, a function literal at line 179, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
check.checkBounds (cyclomatic 20) typescript/wow-view-engine/theme-check/check.ts:529— check.checkBounds has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
admit.validateHaving (cyclomatic 19) typescript/wow-client/src/dsl/aggregation/admit.ts:270— admit.validateHaving has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
timeAxis.withoutHoles (cyclomatic 19) typescript/wow-view-engine/src/analysis/timeAxis.ts:196— timeAxis.withoutHoles has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body's own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
familySlots.cartesianSlots (cyclomatic 19) typescript/wow-view-engine/src/analysis/familySlots.ts:111— familySlots.cartesianSlots has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
validateReferences.referenceIssues (cyclomatic 19) typescript/wow-view-engine/src/analysis/validateReferences.ts:37— validateReferences.referenceIssues has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 80, 45, 68, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
panels.clickOf (cyclomatic 19) typescript/wow-view-engine/src/dashboard/panels.ts:126— panels.clickOf has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
OffscreenSummary.OffscreenSummary (cyclomatic 19) typescript/wow-view-engine/src/ui/record/OffscreenSummary.tsx:68— OffscreenSummary.OffscreenSummary has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
FilterActions.FilterActions (cyclomatic 19) typescript/wow-view-engine/src/ui/filter/FilterActions.tsx:37— FilterActions.FilterActions has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
scrollMore.measurePort (cyclomatic 19) typescript/wow-view-engine/src/ui/dashboard/scrollMore.ts:169— scrollMore.measurePort has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
DashboardPanel.PanelHeader (cyclomatic 19) typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx:440— DashboardPanel.PanelHeader has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DataTab.MetricData (cyclomatic 19) typescript/wow-view-engine/src/ui/analysis/DataTab.tsx:440— DataTab.MetricData has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body's own statements and 6 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
DashboardWorkbench.DashboardWorkbenchBody (cyclomatic 19) typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:215— DashboardWorkbench.DashboardWorkbenchBody has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body's own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
EmbeddedView.EmbeddedData (cyclomatic 19) typescript/wow-view-engine/src/ui/EmbeddedView.tsx:168— EmbeddedView.EmbeddedData has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body's own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
CommandGateway.admit (cyclomatic 18) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/CommandGateway.kt:365— CommandGateway.admit has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
metricCard.lastPeriod (cyclomatic 18) typescript/wow-view-engine/src/analysis/metricCard.ts:349— metricCard.lastPeriod has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
validateMetrics.derivedFormatIssues (cyclomatic 18) typescript/wow-view-engine/src/analysis/validateMetrics.ts:350— validateMetrics.derivedFormatIssues has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
validate.validateBindings (cyclomatic 18) typescript/wow-view-engine/src/dashboard/validate.ts:472— validate.validateBindings has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 485). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
useViewList.useViewList (cyclomatic 18) typescript/wow-view-engine/src/react/useViewList.ts:139— useViewList.useViewList has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 171, 244, 169, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
DashboardArrange.PanelHandle (cyclomatic 18) typescript/wow-view-engine/src/ui/dashboard/DashboardArrange.tsx:103— DashboardArrange.PanelHandle has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 155, end, a function literal at line 127, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
cartesianMarks.extremePoints (cyclomatic 18) typescript/wow-view-engine/src/ui/charts/cartesianMarks.ts:416— cartesianMarks.extremePoints has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (point, align, beyond). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
PieSlices.PieSlices (cyclomatic 18) typescript/wow-view-engine/src/ui/charts/PieSlices.tsx:53— PieSlices.PieSlices has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 156, 79, 81, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
remote.CandidateValue (cyclomatic 18) typescript/wow-view-engine/src/ui/filter/inputs/remote.tsx:109— remote.CandidateValue has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body's own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ViewPicker.Catalogue (cyclomatic 18) typescript/wow-view-engine/src/ui/dashboard/ViewPicker.tsx:212— ViewPicker.Catalogue has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body's own statements and 9 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
DimensionCard.DimensionCard (cyclomatic 18) typescript/wow-view-engine/src/ui/analysis/DimensionCard.tsx:166— DimensionCard.DimensionCard has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
validate_wow_skills._validate_openai_yaml (cyclomatic 17) scripts/validate_wow_skills.py:239— validate_wow_skills._validate_openai_yaml has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
generate.generateRetail.requestAfterSales (cyclomatic 17) typescript/storybook/stories/view-engine/retail/generate.ts:1330— generate.generateRetail.requestAfterSales has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
ModelEmitter.process (cyclomatic 17) typescript/wow-generator/src/emitters/models.ts:177— ModelEmitter.process has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
timeAxis.appliedWindow (cyclomatic 17) typescript/wow-view-engine/src/analysis/timeAxis.ts:295— timeAxis.appliedWindow has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body's own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
timeAxis.bucketSpan (cyclomatic 17) typescript/wow-view-engine/src/analysis/timeAxis.ts:381— timeAxis.bucketSpan has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body's own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
filters.admitFilters (cyclomatic 17) typescript/wow-view-engine/src/dashboard/filters.ts:214— filters.admitFilters has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
click.validateBoardClick (cyclomatic 17) typescript/wow-view-engine/src/dashboard/click.ts:270— click.validateBoardClick has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
wiring.bindPanel (cyclomatic 17) typescript/wow-view-engine/src/dashboard/wiring.ts:146— wiring.bindPanel has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body's own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
metricOrder.moveMetric (cyclomatic 17) typescript/wow-view-engine/src/analysis/metricOrder.ts:53— metricOrder.moveMetric has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body's own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
useReshape.useReshape.reshape (cyclomatic 17) typescript/wow-view-engine/src/react/useReshape.ts:126— useReshape.useReshape.reshape has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 132). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
ViewHeader.ViewHeader (cyclomatic 17) typescript/wow-view-engine/src/ui/workbench/ViewHeader.tsx:143— ViewHeader.ViewHeader has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
history.useBoardHistory (cyclomatic 17) typescript/wow-view-engine/src/ui/dashboard/history.ts:114— history.useBoardHistory has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 146, 152, 150). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
DatasetCompiler.expression (cyclomatic 16) platform/analytics/catalog/domain/src/main/kotlin/me/ahoo/wow/analytics/catalog/domain/dataset/DatasetCompiler.kt:170— DatasetCompiler.expression has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
Parser.object (cyclomatic 16) typescript/wow-client/src/exactJson.ts:201— Parser.object has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
exactJson.replace (cyclomatic 16) typescript/wow-client/src/exactJson.ts:409— exactJson.replace has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
typeResolver.schemaKind (cyclomatic 16) typescript/wow-generator/src/types/typeResolver.ts:201— typeResolver.schemaKind has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
SchemaTypes.textNumbers (cyclomatic 16) typescript/wow-generator/src/manifest/analyze.ts:488— SchemaTypes.textNumbers has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
candlestick.ohlcMetrics (cyclomatic 16) typescript/wow-view-engine/src/analysis/candlestick.ts:155— candlestick.ohlcMetrics has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions.
serverLines.serverLineMetrics (cyclomatic 16) typescript/wow-view-engine/src/analysis/serverLines.ts:79— serverLines.serverLineMetrics has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
familySlots.cardSlots (cyclomatic 16) typescript/wow-view-engine/src/analysis/familySlots.ts:446— familySlots.cardSlots has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
metricWindow.metricReach (cyclomatic 16) typescript/wow-view-engine/src/analysis/metricWindow.ts:40— metricWindow.metricReach has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
project.projectAnalysis (cyclomatic 16) typescript/wow-view-engine/src/analysis/project.ts:406— project.projectAnalysis has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (project.projectAnalysis::describe) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
expressions.expressionIssues (cyclomatic 16) typescript/wow-view-engine/src/analysis/expressions.ts:31— expressions.expressionIssues has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
actionReads.watchingReads (cyclomatic 16) typescript/wow-view-engine/src/runtime/actionReads.ts:201— actionReads.watchingReads has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
display.displayValue (cyclomatic 16) typescript/wow-view-engine/src/ui/kit/display.ts:141— display.displayValue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
treemapOption.treemapOption (cyclomatic 16) typescript/wow-view-engine/src/ui/charts/treemapOption.ts:131— treemapOption.treemapOption has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (node, a function literal at line 201, a function literal at line 233, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
offscreenSummaries.hintHost (cyclomatic 16) typescript/wow-view-engine/src/ui/record/offscreenSummaries.ts:142— offscreenSummaries.hintHost has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
FieldChecklist.FieldChecklist (cyclomatic 16) typescript/wow-view-engine/src/ui/filter/FieldChecklist.tsx:86— FieldChecklist.FieldChecklist has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 7 function items inside it that branch (toggle, a function literal at line 181, a function literal at line 262, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
issueNames.recordIssueNamer (cyclomatic 16) typescript/wow-view-engine/src/ui/record/issueNames.ts:51— issueNames.recordIssueNamer has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 65, labelled, a function literal at line 70, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
StatusLine.StatusLine (cyclomatic 16) typescript/wow-view-engine/src/ui/workbench/StatusLine.tsx:61— StatusLine.StatusLine has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body's own statements and 5 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
RefreshControl.RefreshControl (cyclomatic 16) typescript/wow-view-engine/src/ui/workbench/RefreshControl.tsx:111— RefreshControl.RefreshControl has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EditBar.EditBar (cyclomatic 16) typescript/wow-view-engine/src/ui/dashboard/EditBar.tsx:82— EditBar.EditBar has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body's own statements and 5 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
FilterBar.FilterChip (cyclomatic 16) typescript/wow-view-engine/src/ui/dashboard/FilterBar.tsx:447— FilterBar.FilterChip has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
FormulaCard.DerivedFormatControls (cyclomatic 16) typescript/wow-view-engine/src/ui/analysis/FormulaCard.tsx:435— FormulaCard.DerivedFormatControls has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 486, styled, a function literal at line 513, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
MetricSlot.MetricSlot (cyclomatic 16) typescript/wow-view-engine/src/ui/analysis/MetricSlot.tsx:64— MetricSlot.MetricSlot has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (moveTo, nameOf, a function literal at line 154, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
generate.generateRetail.project (cognitive 146) typescript/storybook/stories/view-engine/retail/generate.ts:1476— generate.generateRetail.project has cognitive complexity 146 (threshold 15). Drivers by points: ternaries 41 (72 pts), if/else 28 (41 pts), boolean chains 20, loops 11 (13 pts) (nesting depth added 46). Of this number, 134 points are the body's own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
generate.generateRetail (cognitive 143) typescript/storybook/stories/view-engine/retail/generate.ts:766— generate.generateRetail has cognitive complexity 143 (threshold 15). Drivers by points: ternaries 24 (79 pts), if/else 10 (32 pts), loops 9 (23 pts), boolean chains 9 (nesting depth added 91). Of this number, 132 points are the body's own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
check.checkTheme (cognitive 139) typescript/wow-view-engine/theme-check/check.ts:132— check.checkTheme has cognitive complexity 139 (threshold 15). Drivers by points: if/else 39 (61 pts), loops 18 (48 pts), boolean chains 17, ternaries 4 (8 pts), error handling 2 (5 pts) (nesting depth added 59). Of this number, 92 points are the body's own statements and 47 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
validate_wow_skills._validate_suite (cognitive 128) scripts/validate_wow_skills.py:401— validate_wow_skills._validate_suite has cognitive complexity 128 (threshold 15). Drivers by points: if/else 34 (80 pts), boolean chains 19, loops 8 (18 pts), error handling 2 (6 pts), ternaries 2 (5 pts) (nesting depth added 63). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
validate_wow_skills._validate_resources (cognitive 62) scripts/validate_wow_skills.py:294— validate_wow_skills._validate_resources has cognitive complexity 62 (threshold 15). Drivers by points: if/else 15 (37 pts), loops 7 (11 pts), boolean chains 7, error handling 2 (7 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AnalysisTable.AnalysisTable (cognitive 62) typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx:120— AnalysisTable.AnalysisTable has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 28 (29 pts), boolean chains 21, if/else 8 (12 pts) (nesting depth added 5). Of this number, 21 points are the body's own statements and 41 belong to 10 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
DashboardGrid.DashboardGrid (cognitive 62) typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx:167— DashboardGrid.DashboardGrid has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 18 (40 pts), boolean chains 14, if/else 7, loops 1 (nesting depth added 22). Of this number, 30 points are the body's own statements and 32 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
EChart.EChart (cognitive 58) typescript/wow-view-engine/src/ui/charts/EChart.tsx:205— EChart.EChart has cognitive complexity 58 (threshold 15). Drivers by points: if/else 26 (28 pts), boolean chains 19, ternaries 8 (9 pts), error handling 1 (2 pts) (nesting depth added 4). Of this number, 17 points are the body's own statements and 41 belong to 21 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
streams.resumableQueryRows (cognitive 52) typescript/wow-client/src/streams.ts:151— streams.resumableQueryRows has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (53 pts), ternaries 3 (7 pts), boolean chains 6, error handling 2 (4 pts), loops 2 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (streams.resumableQueryRows::resume) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
cartesianFit.cartesianFit (cognitive 49) typescript/wow-view-engine/src/ui/charts/cartesianFit.ts:230— cartesianFit.cartesianFit has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 17 (27 pts), boolean chains 12, if/else 7 (9 pts), loops 1 (nesting depth added 12). Of this number, 25 points are the body's own statements and 24 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
datePattern.validateDatePattern (cognitive 48) typescript/wow-client/src/dsl/filter/datePattern.ts:112— datePattern.validateDatePattern has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (32 pts), loops 4 (12 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
aggregate.metricOf (cognitive 48) typescript/wow-view-engine/src/testing/aggregate.ts:256— aggregate.metricOf has cognitive complexity 48 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (9 pts), ternaries 3 (9 pts), boolean chains 7, match/switch 1 (nesting depth added 25). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
WorkbenchShell.WorkbenchShell (cognitive 48) typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx:343— WorkbenchShell.WorkbenchShell has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 35, ternaries 7, if/else 6. Of this number, 35 points are the body's own statements and 13 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
Resolution.type (cognitive 43) typescript/wow-generator/src/types/typeResolver.ts:616— Resolution.type has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (19 pts), ternaries 9 (19 pts), boolean chains 5 (nesting depth added 14). Of this number, 32 points are the body's own statements and 11 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
validateMetrics.metricTypeIssues (cognitive 41) typescript/wow-view-engine/src/analysis/validateMetrics.ts:161— validateMetrics.metricTypeIssues has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (35 pts), boolean chains 5, match/switch 1 (nesting depth added 18). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
validate_wow_skills.validate_repository (cognitive 39) scripts/validate_wow_skills.py:527— validate_wow_skills.validate_repository has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 10, loops 3 (6 pts), error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
cartesianOption.optionOf (cognitive 39) typescript/wow-view-engine/src/ui/charts/cartesianOption.ts:74— cartesianOption.optionOf has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 23 (32 pts), boolean chains 7 (nesting depth added 9). Most of this is not in the body itself: 13 of the 39 points are its own statements and the rest belongs to 5 function items inside it that branch (valueAxis, axisIndex, tick, …). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
RecordTable.RecordTable (cognitive 39) typescript/wow-view-engine/src/ui/record/RecordTable.tsx:209— RecordTable.RecordTable has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 22, ternaries 10 (15 pts), if/else 2 (nesting depth added 5). Of this number, 30 points are the body's own statements and 9 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ViewExpansion.useViewExpansion (cognitive 38) typescript/wow-view-engine/src/ui/kit/ViewExpansion.tsx:269— ViewExpansion.useViewExpansion has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 7, loops 3 (5 pts), ternaries 3 (nesting depth added 5). Most of this is not in the body itself: 4 of the 38 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 429, 387, 320, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
ChartPicker.ChartPicker (cognitive 38) typescript/wow-view-engine/src/ui/analysis/ChartPicker.tsx:112— ChartPicker.ChartPicker has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 16, if/else 6 (11 pts), ternaries 7 (11 pts) (nesting depth added 9). Most of this is not in the body itself: 3 of the 38 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 217, a function literal at line 273, a function literal at line 253, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
analysis.narrowAggregation (cognitive 37) typescript/wow-view-engine/src/capabilities/analysis.ts:259— analysis.narrowAggregation has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 17, if/else 11, ternaries 9. Of this number, 32 points are the body's own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
fields.buildField (cognitive 37) typescript/wow-view-engine/src/runtime/define/fields.ts:82— fields.buildField has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 6, loops 2 (4 pts), ternaries 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
ConditionPill.ConditionPill (cognitive 36) typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx:80— ConditionPill.ConditionPill has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 30, if/else 3, ternaries 3. Of this number, 34 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DatasetBinder.bind (cognitive 35) platform/analytics/catalog/domain/src/main/kotlin/me/ahoo/wow/analytics/catalog/domain/dataset/DatasetBinder.kt:93— DatasetBinder.bind has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 8, match/switch 4, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
issueNames.analysisIssueNamer (cognitive 35) typescript/wow-view-engine/src/ui/analysis/issueNames.ts:81— issueNames.analysisIssueNamer has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 5, ternaries 4 (5 pts), loops 2 (3 pts) (nesting depth added 10). None of this is in the body itself: all 35 points belong to 6 function items inside it that branch (a function literal at line 101, column, labelled, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
Resolution.objectConstrained (cognitive 34) typescript/wow-generator/src/types/typeResolver.ts:564— Resolution.objectConstrained has cognitive complexity 34 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 9, loops 5 (9 pts), ternaries 2 (nesting depth added 13). Of this number, 31 points are the body's own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SaveActions.SaveActions (cognitive 34) typescript/wow-view-engine/src/ui/workbench/SaveActions.tsx:87— SaveActions.SaveActions has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 22, if/else 11, ternaries 1. Of this number, 18 points are the body's own statements and 16 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
PanelBodies.AnalysisPanel (cognitive 34) typescript/wow-view-engine/src/ui/dashboard/PanelBodies.tsx:296— PanelBodies.AnalysisPanel has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 9, ternaries 6 (9 pts) (nesting depth added 9). Of this number, 20 points are the body's own statements and 14 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
validateGroups.groupIssues (cognitive 33) typescript/wow-view-engine/src/analysis/validateGroups.ts:93— validateGroups.groupIssues has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 10). None of this is in the body itself: all 33 points belong to one function literal inside it that branches (line 103). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
ActionDialog.ActionDialog (cognitive 33) typescript/wow-view-engine/src/ui/actions/ActionDialog.tsx:80— ActionDialog.ActionDialog has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 14 (17 pts), boolean chains 11, if/else 5 (nesting depth added 3). Of this number, 31 points are the body's own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
ContentEditor.ContentForm (cognitive 33) typescript/wow-view-engine/src/ui/dashboard/ContentEditor.tsx:204— ContentEditor.ContentForm has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 21, ternaries 7 (8 pts), if/else 4 (nesting depth added 1). Of this number, 21 points are the body's own statements and 12 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
cartesian.shapeCartesian (cognitive 32) typescript/wow-view-engine/src/analysis/cartesian.ts:155— cartesian.shapeCartesian has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 10 (18 pts), if/else 5 (6 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 10). Of this number, 24 points are the body's own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
cells.cellValue (cognitive 32) typescript/wow-view-engine/src/ui/record/cells.tsx:86— cells.cellValue has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (19 pts), ternaries 3 (7 pts), boolean chains 6 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
MetricCard.MetricCard (cognitive 32) typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx:74— MetricCard.MetricCard has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 26, ternaries 5 (6 pts) (nesting depth added 1). Of this number, 31 points are the body's own statements and 1 belongs to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
click.validatePanelClick (cognitive 31) typescript/wow-view-engine/src/dashboard/click.ts:159— click.validatePanelClick has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 5 (10 pts), boolean chains 3, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
source.scoped (cognitive 31) typescript/wow-view-engine/src/testing/source.ts:202— source.scoped has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 8, match/switch 1 (2 pts), loops 1, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RecordDetail.RecordDetail (cognitive 31) typescript/wow-view-engine/src/ui/record/RecordDetail.tsx:123— RecordDetail.RecordDetail has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (17 pts), boolean chains 12, if/else 2 (nesting depth added 7). Of this number, 25 points are the body's own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AnalysisParts.AnalysisParts (cognitive 31) typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx:126— AnalysisParts.AnalysisParts has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, ternaries 9 (12 pts), if/else 1 (nesting depth added 3). Of this number, 30 points are the body's own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
metricCard.metricCard (cognitive 30) typescript/wow-view-engine/src/analysis/metricCard.ts:154— metricCard.metricCard has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 16 (21 pts), boolean chains 9 (nesting depth added 5). Of this number, 27 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
DatasetExpressionParser.tokenize (cognitive 29) platform/analytics/catalog/domain/src/main/kotlin/me/ahoo/wow/analytics/catalog/domain/dataset/DatasetExpression.kt:292— DatasetExpressionParser.tokenize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ElasticsearchQuerySchemaAdapterKt.supports (cognitive 29) backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/query/schema/ElasticsearchQuerySchemaAdapter.kt:467— ElasticsearchQuerySchemaAdapterKt.supports has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 26, if/else 2, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
SortableHeader.SortableHeader (cognitive 29) typescript/wow-view-engine/src/ui/record/SortableHeader.tsx:95— SortableHeader.SortableHeader has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 8, if/else 5 (nesting depth added 3). Of this number, 23 points are the body's own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
RecordParts.RecordParts (cognitive 29) typescript/wow-view-engine/src/ui/workbench/RecordParts.tsx:202— RecordParts.RecordParts has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 9, if/else 3, match/switch 1 (nesting depth added 3). Of this number, 19 points are the body's own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
scale.sharedScales (cognitive 28) typescript/wow-view-engine/src/ui/charts/scale.ts:82— scale.sharedScales has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 3 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 15). Of this number, 19 points are the body's own statements and 9 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
admit.validateHaving (cognitive 27) typescript/wow-client/src/dsl/aggregation/admit.ts:270— admit.validateHaving has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 14). Of this number, 26 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
migrate.intoDefaults (cognitive 27) typescript/wow-view-engine/src/dashboard/migrate.ts:110— migrate.intoDefaults has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 6 (9 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 8). Of this number, 24 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
unavailable.without1 (cognitive 27) typescript/wow-view-engine/src/runtime/failure/unavailable.ts:103— unavailable.without1 has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 3 (6 pts) (nesting depth added 6). Of this number, 23 points are the body's own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useWorkbench.useWorkbench (cognitive 27) typescript/wow-view-engine/src/react/useWorkbench.ts:408— useWorkbench.useWorkbench has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 14 (19 pts), boolean chains 7, loops 1 (nesting depth added 5). Of this number, 25 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ColumnRow.ColumnRow (cognitive 27) typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx:151— ColumnRow.ColumnRow has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, ternaries 11 (13 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
address.useAddressedInstance (cognitive 27) typescript/wow-view-engine/src/ui/workbench/address.ts:197— address.useAddressedInstance has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13, boolean chains 7, ternaries 5 (6 pts), error handling 1 (nesting depth added 1). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 268, 235, 222, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
check.checkBounds (cognitive 27) typescript/wow-view-engine/theme-check/check.ts:529— check.checkBounds has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 4 (8 pts), boolean chains 5, ternaries 1 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
open.aggregation (cognitive 26) typescript/wow-view-engine/src/capabilities/open.ts:155— open.aggregation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 10, loops 2, ternaries 2 (nesting depth added 4). Of this number, 20 points are the body's own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
date.DateValue (cognitive 26) typescript/wow-view-engine/src/ui/filter/inputs/date.tsx:70— date.DateValue has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (8 pts), if/else 6 (7 pts) (nesting depth added 2). Of this number, 15 points are the body's own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
ViewPicker.Catalogue (cognitive 26) typescript/wow-view-engine/src/ui/dashboard/ViewPicker.tsx:212— ViewPicker.Catalogue has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (16 pts), boolean chains 7, if/else 1 (3 pts) (nesting depth added 12). Of this number, 18 points are the body's own statements and 8 belong to 5 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
Board.DashboardBoard (cognitive 26) typescript/wow-view-engine/src/ui/dashboard/Board.tsx:91— Board.DashboardBoard has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6, ternaries 6, match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 13 function items inside it that branch (add, a function literal at line 139, a function literal at line 331, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
NewAnalysisDialog.NewAnalysisForm (cognitive 26) typescript/wow-view-engine/src/ui/dashboard/NewAnalysisDialog.tsx:153— NewAnalysisDialog.NewAnalysisForm has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 9 (10 pts), boolean chains 9, if/else 6 (7 pts) (nesting depth added 2). Of this number, 18 points are the body's own statements and 8 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
resolve.createResolver.declared (cognitive 26) typescript/wow-view-engine/theme-check/resolve.ts:553— resolve.createResolver.declared has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 7 (8 pts), boolean chains 2, loops 2 (nesting depth added 4). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 4 function items inside it that branch (layered, link, read, …). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
WowViewStore.write (cognitive 26) typescript/wow-view-store/src/wowViewStore.ts:430— WowViewStore.write has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (16 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 14). None of this is in the body itself: all 26 points belong to one function literal inside it that branches (line 436). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
CommandGateway.admit (cognitive 25) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/admission/CommandGateway.kt:365— CommandGateway.admit has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
tree.sameValue (cognitive 25) typescript/wow-view-engine/src/filter/tree.ts:454— tree.sameValue has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
metricWindow.metricReach (cognitive 25) typescript/wow-view-engine/src/analysis/metricWindow.ts:40— metricWindow.metricReach has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
verify-package.classNames (cognitive 25) typescript/wow-view-engine/scripts/verify-package.mjs:866— verify-package.classNames has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Parser.string (cognitive 24) typescript/wow-client/src/exactJson.ts:266— Parser.string has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 1 (4 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
validate.validateFilter (cognitive 24) typescript/wow-view-engine/src/filter/validate.ts:67— validate.validateFilter has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (3 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
derived.derivedGap (cognitive 24) typescript/wow-view-engine/src/analysis/derived.ts:129— derived.derivedGap has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, ternaries 4 (5 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
project.projectAnalysis::describe (cognitive 24) typescript/wow-view-engine/src/analysis/project.ts:524— project.projectAnalysis::describe has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 14 (15 pts), boolean chains 8, if/else 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
click.validateBoardClick (cognitive 24) typescript/wow-view-engine/src/dashboard/click.ts:270— click.validateBoardClick has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (5 pts), boolean chains 4, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
cartesianMarks.extremePoints (cognitive 24) typescript/wow-view-engine/src/ui/charts/cartesianMarks.ts:416— cartesianMarks.extremePoints has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 13 (20 pts), boolean chains 3, if/else 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 3 function items inside it that branch (point, align, beyond). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
Cartesian.Cartesian (cognitive 24) typescript/wow-view-engine/src/ui/charts/Cartesian.tsx:42— Cartesian.Cartesian has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 15, ternaries 7 (8 pts), if/else 1 (nesting depth added 1). Of this number, 15 points are the body's own statements and 9 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
MetricCard.MetricCard (cognitive 24) typescript/wow-view-engine/src/ui/charts/MetricCard.tsx:340— MetricCard.MetricCard has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 10 (nesting depth added 5). Of this number, 14 points are the body's own statements and 10 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SaveAsDialog.SaveAsForm (cognitive 24) typescript/wow-view-engine/src/ui/workbench/SaveAsDialog.tsx:222— SaveAsDialog.SaveAsForm has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 9, if/else 2 (nesting depth added 6). Of this number, 17 points are the body's own statements and 7 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
DisplayTab.ValueLabelsField (cognitive 24) typescript/wow-view-engine/src/ui/analysis/DisplayTab.tsx:140— DisplayTab.ValueLabelsField has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 11 (16 pts), boolean chains 6, if/else 2 (nesting depth added 5). Of this number, 23 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
exactJson.resolve (cognitive 23) typescript/wow-client/src/exactJson.ts:100— exactJson.resolve has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (13 pts), loops 2 (4 pts), boolean chains 3, if/else 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
compile.recordProjection (cognitive 23) typescript/wow-view-engine/src/record/compile.ts:113— compile.recordProjection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 5 (nesting depth added 5). Of this number, 22 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
panels.clickOf (cognitive 23) typescript/wow-view-engine/src/dashboard/panels.ts:126— panels.clickOf has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 4 (7 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
analysis.narrowAnalysis (cognitive 23) typescript/wow-view-engine/src/capabilities/analysis.ts:47— analysis.narrowAnalysis has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
actionRunner.useActionRunner.run (cognitive 23) typescript/wow-view-engine/src/react/actionRunner.ts:256— actionRunner.useActionRunner.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 5, boolean chains 4, error handling 2 (3 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (judge, worker, finish, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
display.displayValue (cognitive 23) typescript/wow-view-engine/src/ui/kit/display.ts:141— display.displayValue has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 5 (6 pts), boolean chains 3, match/switch 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
summary.summaryWords (cognitive 23) typescript/wow-view-engine/src/ui/kit/summary.ts:67— summary.summaryWords has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
MetricCard.PeriodChange (cognitive 23) typescript/wow-view-engine/src/ui/charts/MetricCard.tsx:198— MetricCard.PeriodChange has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9 (21 pts), boolean chains 1, if/else 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
WriteOutcome.WriteOutcome (cognitive 23) typescript/wow-view-engine/src/ui/workbench/WriteOutcome.tsx:101— WriteOutcome.WriteOutcome has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4 (7 pts), boolean chains 3, match/switch 1 (nesting depth added 6). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (notify, a function literal at line 128, a function literal at line 179, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
PanelMenu.PanelMenu (cognitive 23) typescript/wow-view-engine/src/ui/dashboard/PanelMenu.tsx:112— PanelMenu.PanelMenu has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 23. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DashboardTabs.DashboardTabs (cognitive 23) typescript/wow-view-engine/src/ui/dashboard/DashboardTabs.tsx:63— DashboardTabs.DashboardTabs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, ternaries 6 (9 pts), boolean chains 1 (nesting depth added 3). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 8 function items inside it that branch (remove, move, a function literal at line 89, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
DrillMenu.DrillMenu (cognitive 22) typescript/wow-view-engine/src/ui/analysis/DrillMenu.tsx:105— DrillMenu.DrillMenu has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (7 pts), ternaries 3 (5 pts), match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 241, 141, 127, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
cartesianTooltip.cartesianTooltip (cognitive 22) typescript/wow-view-engine/src/ui/charts/cartesianTooltip.ts:30— cartesianTooltip.cartesianTooltip has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 14 (16 pts), boolean chains 4, if/else 2 (nesting depth added 2). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 5 function items inside it that branch (rowAt, a function literal at line 85, earlierChange, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ParkedOps.list (cognitive 21) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/node/ParkedOps.kt:50— ParkedOps.list has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
MongoQuerySchemaAdapter.supportsUnion (cognitive 21) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoQuerySchemaAdapter.kt:268— MongoQuerySchemaAdapter.supportsUnion has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
generate.generateRetail.requestAfterSales (cognitive 21) typescript/storybook/stories/view-engine/retail/generate.ts:1330— generate.generateRetail.requestAfterSales has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 6 (8 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
metricFit.misfits (cognitive 21) typescript/storybook/stories/view-engine/metricFit.ts:79— metricFit.misfits has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
timeAxis.withoutHoles (cognitive 21) typescript/wow-view-engine/src/analysis/timeAxis.ts:196— timeAxis.withoutHoles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5, loops 3, boolean chains 2 (nesting depth added 3). Of this number, 20 points are the body's own statements and 1 belongs to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
familySlots.cartesianSlots (cognitive 21) typescript/wow-view-engine/src/analysis/familySlots.ts:111— familySlots.cartesianSlots has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 16 (20 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
filters.admitFilters (cognitive 21) typescript/wow-view-engine/src/dashboard/filters.ts:214— filters.admitFilters has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, ternaries 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
scatterOption.scatterOption (cognitive 21) typescript/wow-view-engine/src/ui/charts/scatterOption.ts:68— scatterOption.scatterOption has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 12 (16 pts), boolean chains 4, if/else 1 (nesting depth added 4). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (axis, diameter, a function literal at line 193, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
virtualRows.useVirtualRows (cognitive 21) typescript/wow-view-engine/src/ui/analysis/virtualRows.ts:128— virtualRows.useVirtualRows has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 7, boolean chains 5, loops 1 (nesting depth added 1). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 171, 169, 201, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
FilterPanel.FilterPanel (cognitive 21) typescript/wow-view-engine/src/ui/filter/FilterPanel.tsx:82— FilterPanel.FilterPanel has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (7 pts), if/else 4 (nesting depth added 2). Of this number, 14 points are the body's own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
scrollMore.measurePort (cognitive 21) typescript/wow-view-engine/src/ui/dashboard/scrollMore.ts:169— scrollMore.measurePort has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
FilterBar.FilterBar (cognitive 21) typescript/wow-view-engine/src/ui/dashboard/FilterBar.tsx:170— FilterBar.FilterBar has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, ternaries 4 (6 pts), if/else 2 (nesting depth added 2). Of this number, 18 points are the body's own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EmbeddedDashboard.EmbeddedBoard (cognitive 21) typescript/wow-view-engine/src/ui/EmbeddedDashboard.tsx:232— EmbeddedDashboard.EmbeddedBoard has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, ternaries 7, if/else 1. Of this number, 17 points are the body's own statements and 4 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
QueryStorageFamiliesKt.storageFamilies (cognitive 20) query/query/src/main/kotlin/me/ahoo/wow/query/schema/QueryStorageFamilies.kt:82— QueryStorageFamiliesKt.storageFamilies has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, match/switch 3 (5 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
DatasetCompiler.expression (cognitive 20) platform/analytics/catalog/domain/src/main/kotlin/me/ahoo/wow/analytics/catalog/domain/dataset/DatasetCompiler.kt:170— DatasetCompiler.expression has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 2 (3 pts) (nesting depth added 7). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
generate.generateRetail.lifecycle (cognitive 20) typescript/storybook/stories/view-engine/retail/generate.ts:1220— generate.generateRetail.lifecycle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8, ternaries 4 (8 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Parser.object (cognitive 20) typescript/wow-client/src/exactJson.ts:201— Parser.object has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 4 (8 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
fieldGroups.fieldGroups (cognitive 20) typescript/wow-view-engine/src/filter/fieldGroups.ts:31— fieldGroups.fieldGroups has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
match.describedField (cognitive 20) typescript/wow-view-engine/src/capabilities/match.ts:76— match.describedField has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 3, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
fields.narrowField (cognitive 20) typescript/wow-view-engine/src/capabilities/fields.ts:92— fields.narrowField has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, ternaries 4 (5 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
validateFields.validateFields (cognitive 20) typescript/wow-view-engine/src/runtime/validateFields.ts:39— validateFields.validateFields has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 6 (nesting depth added 1). None of this is in the body itself: all 20 points belong to 3 function literals inside it that branch (lines 56, 146, 160). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
validate_wow_skills._validate_filesystem_paths (cognitive 19) scripts/validate_wow_skills.py:114— validate_wow_skills._validate_filesystem_paths has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
validate_wow_skills._validate_openai_yaml (cognitive 19) scripts/validate_wow_skills.py:239— validate_wow_skills._validate_openai_yaml has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
exactJson.replace (cognitive 19) typescript/wow-client/src/exactJson.ts:409— exactJson.replace has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 4 (7 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
admit.validateDerivedExpression (cognitive 19) typescript/wow-client/src/dsl/aggregation/admit.ts:152— admit.validateDerivedExpression has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
configuration.validateApiClients (cognitive 19) typescript/wow-generator/src/input/configuration.ts:274— configuration.validateApiClients has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SchemaTypes.name (cognitive 19) typescript/wow-generator/src/manifest/analyze.ts:246— SchemaTypes.name has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (12 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 11). Of this number, 16 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline.
manifestClients.emitCommandClient (cognitive 19) typescript/wow-generator/src/emitters/manifestClients.ts:319— manifestClients.emitCommandClient has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 5 (6 pts), boolean chains 5, loops 1 (nesting depth added 5). Of this number, 18 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
candlestick.ohlcSets (cognitive 19) typescript/wow-view-engine/src/analysis/candlestick.ts:77— candlestick.ohlcSets has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). Of this number, 18 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
drill.drillSpan (cognitive 19) typescript/wow-view-engine/src/analysis/drill.ts:238— drill.drillSpan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
publish.requireSystemPanels (cognitive 19) typescript/wow-view-engine/src/runtime/publish.ts:93— publish.requireSystemPanels has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (6 pts), boolean chains 4, loops 1 (nesting depth added 6). Of this number, 16 points are the body's own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useAnalysisResult.useAnalysisResult (cognitive 19) typescript/wow-view-engine/src/react/useAnalysisResult.ts:220— useAnalysisResult.useAnalysisResult has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, ternaries 7, if/else 1. Of this number, 16 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
remote.CandidateValue (cognitive 19) typescript/wow-view-engine/src/ui/filter/inputs/remote.tsx:109— remote.CandidateValue has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 6, if/else 4 (nesting depth added 2). Of this number, 13 points are the body's own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
ActionSurface.useActionSurface (cognitive 19) typescript/wow-view-engine/src/ui/actions/ActionSurface.tsx:93— ActionSurface.useActionSurface has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 3. Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 168, a function literal at line 148, a function literal at line 159, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ResultToolbar.ResultToolbar (cognitive 19) typescript/wow-view-engine/src/ui/workbench/ResultToolbar.tsx:157— ResultToolbar.ResultToolbar has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 14, ternaries 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
CronExpression.nextLocal (cognitive 18) core/kernel/src/main/kotlin/me/ahoo/wow/kernel/schedule/CronExpression.kt:73— CronExpression.nextLocal has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SharedTopicConsumer.run (cognitive 18) backends/kafka/src/main/kotlin/me/ahoo/wow/kafka/SharedTopicConsumer.kt:136— SharedTopicConsumer.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 5 (7 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
eval-skills.behaviorMetrics (cognitive 18) scripts/eval-skills.mjs:221— eval-skills.behaviorMetrics has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), ternaries 2 (nesting depth added 9). Of this number, 16 points are the body's own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SchemaTypes.type (cognitive 18) typescript/wow-generator/src/manifest/analyze.ts:362— SchemaTypes.type has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SchemaTypes.textNumbers (cognitive 18) typescript/wow-generator/src/manifest/analyze.ts:488— SchemaTypes.textNumbers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 1 (2 pts), ternaries 2 (nesting depth added 4). Of this number, 17 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
dateTime.createDateKind.validate (cognitive 18) typescript/wow-view-engine/src/filter/kinds/dateTime.ts:417— dateTime.createDateKind.validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
currency.currencyIssues (cognitive 18) typescript/wow-view-engine/src/analysis/currency.ts:209— currency.currencyIssues has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
queryFilter.saysNothingIssues (cognitive 18) typescript/wow-view-engine/src/analysis/queryFilter.ts:148— queryFilter.saysNothingIssues has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
open.unionFields (cognitive 18) typescript/wow-view-engine/src/capabilities/open.ts:321— open.unionFields has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PanelChildren.sync (cognitive 18) typescript/wow-view-engine/src/runtime/dashboard/children.ts:169— PanelChildren.sync has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useViewList.useViewList (cognitive 18) typescript/wow-view-engine/src/react/useViewList.ts:139— useViewList.useViewList has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 5, boolean chains 1 (nesting depth added 2). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 171, 244, 169, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
DashboardArrange.PanelHandle (cognitive 18) typescript/wow-view-engine/src/ui/dashboard/DashboardArrange.tsx:103— DashboardArrange.PanelHandle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 3, ternaries 3. Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 155, end, a function literal at line 127, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
cartesianOption.markOf (cognitive 18) typescript/wow-view-engine/src/ui/charts/cartesianOption.ts:341— cartesianOption.markOf has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 9 (14 pts), if/else 2 (3 pts), boolean chains 1 (nesting depth added 6). Of this number, 16 points are the body's own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RecordKanban.KanbanLane (cognitive 18) typescript/wow-view-engine/src/ui/record/RecordKanban.tsx:169— RecordKanban.KanbanLane has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (7 pts), if/else 1 (nesting depth added 1). Of this number, 14 points are the body's own statements and 4 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
RecordPagination.RecordPagination (cognitive 18) typescript/wow-view-engine/src/ui/record/RecordPagination.tsx:66— RecordPagination.RecordPagination has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, ternaries 5, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
MoreViewActions.MoreViewActions (cognitive 18) typescript/wow-view-engine/src/ui/workbench/MoreViewActions.tsx:52— MoreViewActions.MoreViewActions has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (6 pts), if/else 2 (nesting depth added 2). Of this number, 15 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DashboardPanel.DashboardPanel (cognitive 18) typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx:255— DashboardPanel.DashboardPanel has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 14, ternaries 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
VisualizationPanel.visualizationPanel (cognitive 18) typescript/wow-view-engine/src/ui/analysis/VisualizationPanel.tsx:122— VisualizationPanel.visualizationPanel has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (10 pts), boolean chains 6, if/else 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
InMemoryFilters.expression (cognitive 17) query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryFilters.kt:212— InMemoryFilters.expression has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 7). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
EventStreamImporter.append (cognitive 17) migration/migrate-data/src/main/kotlin/me/ahoo/wow/migrate/EventStreamImporter.kt:282— EventStreamImporter.append has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SubscriptionWorker.retried (cognitive 17) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/subscription/SubscriptionWorker.kt:447— SubscriptionWorker.retried has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
http.send (cognitive 17) typescript/wow-client/src/http.ts:154— http.send has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 3 (5 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
typeResolver.schemaKind (cognitive 17) typescript/wow-generator/src/types/typeResolver.ts:201— typeResolver.schemaKind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
document.validateManifest (cognitive 17) typescript/wow-generator/src/manifest/document.ts:122— document.validateManifest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6 (nesting depth added 2). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 139, 134, 149, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
describe.joinSegments (cognitive 17) typescript/wow-view-engine/src/filter/describe.ts:330— describe.joinSegments has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (5 pts), boolean chains 2, loops 2 (nesting depth added 5). Of this number, 15 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
validate.walkShape (cognitive 17) typescript/wow-view-engine/src/filter/validate.ts:311— validate.walkShape has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
metricCard.lastPeriod (cognitive 17) typescript/wow-view-engine/src/analysis/metricCard.ts:349— metricCard.lastPeriod has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10, boolean chains 5, if/else 1, loops 1. Of this number, 15 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
validateFamilies.cardIssues (cognitive 17) typescript/wow-view-engine/src/analysis/validateFamilies.ts:398— validateFamilies.cardIssues has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 4). Of this number, 15 points are the body's own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
metricFormat.reading (cognitive 17) typescript/wow-view-engine/src/analysis/metricFormat.ts:241— metricFormat.reading has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), boolean chains 2, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction — a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full — so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
expressions.expressionIssues (cognitive 17) typescript/wow-view-engine/src/analysis/expressions.ts:31— expressions.expressionIssues has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
wiring.bindPanel (cognitive 17) typescript/wow-view-engine/src/dashboard/wiring.ts:146— wiring.bindPanel has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 6, boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 163, 190). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
metricOrder.moveMetric (cognitive 17) typescript/wow-view-engine/src/analysis/metricOrder.ts:53— metricOrder.moveMetric has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 5, if/else 5 (nesting depth added 2). Of this number, 13 points are the body's own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
deprecated.namedFields (cognitive 17) typescript/wow-view-engine/src/runtime/deprecated.ts:56— deprecated.namedFields has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
open.describedAnalysis (cognitive 17) typescript/wow-view-engine/src/capabilities/open.ts:87— open.describedAnalysis has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3, boolean chains 2, loops 1 (2 pts) (nesting depth added 3). Of this number, 10 points are the body's own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
analysis.analysisPlan (cognitive 17) typescript/wow-view-engine/src/runtime/define/analysis.ts:36— analysis.analysisPlan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), ternaries 2 (3 pts) (nesting depth added 8). Of this number, 16 points are the body's own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useRecordDetail.useRecordDetail (cognitive 17) typescript/wow-view-engine/src/react/useRecordDetail.ts:118— useRecordDetail.useRecordDetail has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, ternaries 6, if/else 5. Of this number, 11 points are the body's own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
cartesianSeries.reachOf (cognitive 17) typescript/wow-view-engine/src/ui/charts/cartesianSeries.ts:171— cartesianSeries.reachOf has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (6 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Funnel.Funnel (cognitive 17) typescript/wow-view-engine/src/ui/charts/Funnel.tsx:50— Funnel.Funnel has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, ternaries 6. Of this number, 12 points are the body's own statements and 5 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
time.TimeOfDay (cognitive 17) typescript/wow-view-engine/src/ui/filter/inputs/time.tsx:56— time.TimeOfDay has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), ternaries 3 (4 pts) (nesting depth added 3). Of this number, 9 points are the body's own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
FieldChecklist.FieldChecklist (cognitive 17) typescript/wow-view-engine/src/ui/filter/FieldChecklist.tsx:86— FieldChecklist.FieldChecklist has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 6 (7 pts), boolean chains 3 (nesting depth added 2). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 7 function items inside it that branch (toggle, a function literal at line 226, a function literal at line 262, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ViewManagerRow.ViewManagerRow (cognitive 17) typescript/wow-view-engine/src/ui/manage/ViewManagerRow.tsx:131— ViewManagerRow.ViewManagerRow has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, ternaries 2, if/else 1. Of this number, 16 points are the body's own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ClickSettings.GoFields (cognitive 17) typescript/wow-view-engine/src/ui/dashboard/ClickSettings.tsx:302— ClickSettings.GoFields has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (9 pts), boolean chains 7, if/else 1 (nesting depth added 5). Of this number, 16 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
history.useBoardHistory (cognitive 17) typescript/wow-view-engine/src/ui/dashboard/history.ts:114— history.useBoardHistory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 146, 152, 150). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
filterOutcome.useFilterOutcome (cognitive 17) typescript/wow-view-engine/src/ui/dashboard/filterOutcome.ts:67— filterOutcome.useFilterOutcome has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). None of this is in the body itself: all 17 points belong to 2 function literals inside it that branch (lines 81, 110). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
DashboardWorkbench.DashboardWorkbenchBody (cognitive 17) typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:215— DashboardWorkbench.DashboardWorkbenchBody has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 3. Of this number, 9 points are the body's own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
resolve.createResolver.resolveTokens (cognitive 17) typescript/wow-view-engine/theme-check/resolve.ts:622— resolve.createResolver.resolveTokens has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (evaluate, token, evaluate::weighted). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
QueryValueLookupKt.lookup (cognitive 16) query/query/src/main/kotlin/me/ahoo/wow/query/schema/QueryValueLookup.kt:31— QueryValueLookupKt.lookup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
SubscriptionWorker.runResume (cognitive 16) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/subscription/SubscriptionWorker.kt:633— SubscriptionWorker.runResume has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3, boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
generate.generateRetail.addCase (cognitive 16) typescript/storybook/stories/view-engine/retail/generate.ts:1407— generate.generateRetail.addCase has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
streams.resumableQueryRows::resume (cognitive 16) typescript/wow-client/src/streams.ts:195— streams.resumableQueryRows::resume has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (streams.resumableQueryRows) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
text.withText (cognitive 16) typescript/wow-view-engine/src/model/text.ts:126— text.withText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). None of this is in the body itself: all 16 points belong to 2 function items inside it that branch (walk, a function literal at line 139). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
validateReferences.referenceIssues (cognitive 16) typescript/wow-view-engine/src/analysis/validateReferences.ts:37— validateReferences.referenceIssues has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5 (nesting depth added 1). None of this is in the body itself: all 16 points belong to 4 function literals inside it that branch (lines 45, 80, 68, …). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
validateShape.validateShape (cognitive 16) typescript/wow-view-engine/src/analysis/validateShape.ts:32— validateShape.validateShape has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3 (nesting depth added 3). Of this number, 8 points are the body's own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
validate.validateBindings (cognitive 16) typescript/wow-view-engine/src/dashboard/validate.ts:472— validate.validateBindings has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 4, loops 1 (nesting depth added 1). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 485). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
fields.narrowSearch (cognitive 16) typescript/wow-view-engine/src/capabilities/fields.ts:515— fields.narrowSearch has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 3). Of this number, 14 points are the body's own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth — checks laid out side by side rather than stacked — so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
issueReport.consoleIssueReporter::flush (cognitive 16) typescript/wow-view-engine/src/runtime/failure/issueReport.ts:123— issueReport.consoleIssueReporter::flush has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (5 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
pending.comparePending (cognitive 16) typescript/wow-view-engine/src/runtime/pending.ts:87— pending.comparePending has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
useSaveCommands.useSaveCommands (cognitive 16) typescript/wow-view-engine/src/react/useSaveCommands.ts:211— useSaveCommands.useSaveCommands has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, ternaries 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
image.headElements (cognitive 16) typescript/wow-view-engine/src/ui/charts/image.ts:191— image.headElements has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (5 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
DetailStructure.Tree (cognitive 16) typescript/wow-view-engine/src/ui/record/DetailStructure.tsx:197— DetailStructure.Tree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 5). Of this number, 13 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
FilterActions.FilterActions (cognitive 16) typescript/wow-view-engine/src/ui/filter/FilterActions.tsx:37— FilterActions.FilterActions has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (7 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EditBar.EditBar (cognitive 16) typescript/wow-view-engine/src/ui/dashboard/EditBar.tsx:82— EditBar.EditBar has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 1. Of this number, 9 points are the body's own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ReferenceOptions.ReferenceLines (cognitive 16) typescript/wow-view-engine/src/ui/analysis/ReferenceOptions.tsx:69— ReferenceOptions.ReferenceLines has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 4, if/else 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 128, setLines, a function literal at line 90, …). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
EmbeddedAnalysis.EmbeddedAnalysis (cognitive 16) typescript/wow-view-engine/src/ui/embed/EmbeddedAnalysis.tsx:57— EmbeddedAnalysis.EmbeddedAnalysis has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 5, if/else 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
EmbeddedRecord.EmbeddedRecord (cognitive 16) typescript/wow-view-engine/src/ui/embed/EmbeddedRecord.tsx:52— EmbeddedRecord.EmbeddedRecord has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, ternaries 6, if/else 3. To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
D22 · Internal API Consistency· Inconsistent Scope Modeling · ×1
Inconsistent Scope Modeling: `Scope` uses nullable strings for ownerId/spaceId, while `TargetScope` uses required strings. This creates ambiguity about whether a 'target' scope can be unscoped or if it always requires explicit IDs. — Unify the scope representation. If `TargetScope` is for API requests, ensure it aligns with `Scope`'s nullability rules or explicitly document why `TargetScope` is stricter. Consider using a single `Scope` type with optional properties for both internal and API contexts. (signatures: Scope.ownerId: string | null | Scope.spaceId: string | null | TargetScope.tenantId: string | TargetScope.ownerId: string | TargetScope.spaceId: string)
D22 · Internal API Consistency· Redundant Scope Fields in Records · ×1
Redundant Scope Fields in Records: `SnapshotRecord` and `EventStreamRecord` duplicate `ownerId` and `spaceId` which are already present in their respective `AggregateRef` (via `tenantId`/`id`) or `Operator` fields, or are derivable from `Scope`. This leads to potential state drift. — Remove `ownerId` and `spaceId` from `SnapshotRecord` and `EventStreamRecord` if they are fully represented by `Scope` or `AggregateRef`. If they are needed for indexing, ensure they are derived from a single source of truth. (signatures: SnapshotRecord.ownerId: string | null | SnapshotRecord.spaceId: string | null | EventStreamRecord.ownerId: string | null | EventStreamRecord.spaceId: string | null)
Inconsistent Path Parameter Naming: `send` and `stream` use a generic `path: string` parameter, while `lifecycle` uses `aggregatePath: string`. This inconsistency in naming suggests different intent or usage patterns without clear distinction in the type signature. — Standardize the path parameter name to `path` across all methods, or rename `aggregatePath` to `path` if it serves the same purpose. If `aggregatePath` implies a specific format, document it or enforce it via a type alias. (signatures: CommandGateway.send(path: string, body?: object, options?: CreateCommandOptions): Promise<CommandResult<R>> | CommandGateway.stream(path: string, body?: object, options?: CreateCommandOptions): Promise<CommandResultStream<R>>)
Duplicated block (15 lines × 2) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/command/MessageEntries.kt:104— core/runtime/src/main/kotlin/me/ahoo/wow/runtime/command/MessageEntries.kt:104-118 | core/runtime/src/main/kotlin/me/ahoo/wow/runtime/source/TopicEntries.kt:95-109 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (9–13 lines × 2) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:83— backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:83-91 | backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresQueryBackend.kt:309-321 — before extracting anything, compare `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt` and `backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresQueryBackend.kt` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:83` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5–8 lines × 3) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:67— backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:67-71 | backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresQueryBackend.kt:290-297 | query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryQueryBackend.kt:219-223 — before extracting anything, compare `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt` and `backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresQueryBackend.kt` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:67` it does not close everything it opens, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7 lines × 3) platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/PublicCallersFirst.kt:32— platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/PublicCallersFirst.kt:32-38 | platform/ops/ops-server/src/main/kotlin/me/ahoo/wow/ops/server/PublicCallersFirst.kt:32-38 | platform/view-store/view-store-server/src/main/kotlin/me/ahoo/wow/viewstore/server/PublicCallersFirst.kt:32-38 — before extracting anything, compare `platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/PublicCallersFirst.kt` and `platform/ops/ops-server/src/main/kotlin/me/ahoo/wow/ops/server/PublicCallersFirst.kt` as WHOLE FILES: 96% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/PublicCallersFirst.kt:32` it runs out through the closing brace of the declaration holding it — the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (3–16 lines × 3) backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/ElasticsearchNames.kt:61— backends/elasticsearch/src/main/kotlin/me/ahoo/wow/elasticsearch/ElasticsearchNames.kt:61-63 | backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/MongoNames.kt:29-44 | backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/PostgresIdentifiers.kt:30-46 — the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach — a location they all depend on today, or a new shared one if there is none — and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (7 lines × 8) example/eshop/basket/basket-server/src/main/kotlin/me/ahoo/wow/example/eshop/basket/server/PostgresDataSource.kt:29— example/eshop/basket/basket-server/src/main/kotlin/me/ahoo/wow/example/eshop/basket/server/PostgresDataSource.kt:29-35 | example/eshop/catalog/catalog-server/src/main/kotlin/me/ahoo/wow/example/eshop/catalog/server/PostgresDataSource.kt:32-38 | example/eshop/inventory/inventory-server/src/main/kotlin/me/ahoo/wow/example/eshop/inventory/server/PostgresDataSource.kt:29-35 | example/eshop/ordering/ordering-server/src/main/kotlin/me/ahoo/wow/example/eshop/ordering/server/PostgresDataSource.kt:29-35 | example/eshop/payment/payment-server/src/main/kotlin/me/ahoo/wow/example/eshop/payment/server/PostgresDataSource.kt:29-35 | platform/analytics/catalog/server/src/main/kotlin/me/ahoo/wow/analytics/catalog/server/PostgresDataSource.kt:32-38 | platform/ops/ops-server/src/main/kotlin/me/ahoo/wow/ops/server/PostgresDataSource.kt:32-38 | platform/view-store/view-store-server/src/main/kotlin/me/ahoo/wow/viewstore/server/PostgresDataSource.kt:32-38 — before extracting anything, compare `example/eshop/basket/basket-server/src/main/kotlin/me/ahoo/wow/example/eshop/basket/server/PostgresDataSource.kt` and `example/eshop/catalog/catalog-server/src/main/kotlin/me/ahoo/wow/example/eshop/catalog/server/PostgresDataSource.kt` as WHOLE FILES: 86% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it — treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) core/runtime/src/main/kotlin/me/ahoo/wow/runtime/wait/WaitCoordinator.kt:585— core/runtime/src/main/kotlin/me/ahoo/wow/runtime/wait/WaitCoordinator.kt:585-594 | core/runtime/src/main/kotlin/me/ahoo/wow/runtime/wait/WaitCoordinator.kt:778-787 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `core/runtime/src/main/kotlin/me/ahoo/wow/runtime/wait/WaitCoordinator.kt:585` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 3) backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:103— backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:103-108 | backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresQueryBackend.kt:333-338 | query/query/src/main/kotlin/me/ahoo/wow/query/memory/InMemoryQueryBackend.kt:253-258 — before extracting anything, compare `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt` and `backends/postgres/src/main/kotlin/me/ahoo/wow/postgres/query/PostgresQueryBackend.kt` as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `backends/mongo/src/main/kotlin/me/ahoo/wow/mongo/query/MongoProjections.kt:103` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand — widen the region to the smallest complete statement or declaration that contains it, and extract that.
Off the main sequence: @ahoo-wang/wow-client — @ahoo-wang/wow-client: abstractness 0.08, instability 0.00, distance 0.92 — zone of pain — concrete and depended on by 6 project(s), so it's rigid to change.
Low cohesion: DatasetWording (LCOM4 4) skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-domain/src/main/kotlin/me/ahoo/wow/viewstore/domain/wording/DatasetWording.kt:41— DatasetWording's methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable — your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected — and which would otherwise dominate this list — are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
IC1 · Incompleteness & stubs· Guard cannot change the result · ×1
Guard cannot change the result — returns what the code already falls through to typescript/wow-generator/src/naming/paths.ts:25— The guard above `return relative;` also returns `relative`, so no input can make it matter. Implement the distinction that was intended, or delete the guard.
Forked directory tree (36 identical files, ~2005 lines × 2 trees) typescript/wow-generator/expected/eshop-manifest/catalog/eshop-catalog/types.ts:1— example/eshop/web/src/generated/ and typescript/wow-generator/expected/eshop-manifest/ are near-verbatim copies of each other: 36 files are byte-identical under the same relative paths (~2005 lines; the trees hold 53 and 53 files). That is one structural fact, not 36 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) — or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place.
Duplication concentrated across 2 sibling directories (43 clone groups) platform/analytics/catalog/console/src/app/CallerForm.tsx:14— 43 duplicated blocks under platform/ have copies in at least two of the sibling directories analytics, ops — 33 of them are reported below, and 10 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 43 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 43 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 43 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Duplication concentrated across 12 sibling directories (35 clone groups) typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx:412— 35 duplicated blocks under typescript/wow-view-engine/src/ui/ have copies in at least two of the sibling directories actions, analysis, charts, columns, dashboard, embed (+6 more sibling(s) not listed) — 18 of them are reported below, and 17 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 35 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 35 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 35 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Duplication concentrated across 10 sibling directories (20 clone groups) typescript/wow-view-engine/src/analysis/validate.ts:40— 20 duplicated blocks under typescript/wow-view-engine/src/ have copies in at least two of the sibling directories analysis, capabilities, dashboard, filter, model, react (+4 more sibling(s) not listed) — 12 of them are reported below, and 8 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 20 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 20 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 20 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Duplication concentrated across 6 sibling directories (19 clone groups) typescript/wow-client/scripts/api-report.mjs:40— 19 duplicated blocks under typescript/ have copies in at least two of the sibling directories storybook, wow-client, wow-generator, wow-react, wow-view-engine, wow-view-store — 11 of them are reported below, and 8 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 19 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 19 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 19 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on.
Wholesale file copy (145 identical lines × 2 files) platform/analytics/catalog/console/src/app/CallerForm.tsx:14— platform/analytics/catalog/console/src/app/CallerForm.tsx:14 · platform/ops/console/src/app/CallerForm.tsx:14 — these 2 files are line-for-line copies of one another — 145 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
Wholesale file copy (132 identical lines × 2 files) platform/analytics/catalog/console/src/components/ui/dropdown-menu.tsx:14— platform/analytics/catalog/console/src/components/ui/dropdown-menu.tsx:14 · platform/ops/console/src/components/ui/dropdown-menu.tsx:14 — these 2 files are line-for-line copies of one another — 132 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
Duplicated block (116 lines × 2 locations) platform/analytics/catalog/console/src/services/caller.ts:67— platform/analytics/catalog/console/src/services/caller.ts:67 · platform/ops/console/src/services/caller.ts:54 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another.
Wholesale file copy (110 identical lines × 3 files) typescript/wow-client/scripts/api-report.mjs:40— typescript/wow-client/scripts/api-report.mjs:40 · typescript/wow-react/scripts/api-report.mjs:40 · typescript/wow-view-store/scripts/api-report.mjs:40 — these 3 files are line-for-line copies of one another — 110 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
R10 · Code Duplication· Duplicated block with local edits (93 matched lines × 2 locations) · ×1
Duplicated block with local edits (93 matched lines × 2 locations) typescript/wow-view-engine/src/ui/charts/funnelFit.ts:212— typescript/wow-view-engine/src/ui/charts/funnelFit.ts:212 · typescript/wow-view-engine/src/ui/charts/funnelFit.ts:378 — the two spans are one implementation copied and then locally edited — 584 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (85 matched lines × 2 locations) · ×1
Duplicated block with local edits (85 matched lines × 2 locations) typescript/wow-view-engine/src/ui/analysis/ReferenceOptions.tsx:70— typescript/wow-view-engine/src/ui/analysis/ReferenceOptions.tsx:70 · typescript/wow-view-engine/src/ui/analysis/ReferenceOptions.tsx:264 — the two spans are one implementation copied and then locally edited — 474 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (84 matched lines × 2 locations) · ×1
Duplicated block with local edits (84 matched lines × 2 locations) typescript/wow-view-engine/src/analysis/boxplot.ts:68— typescript/wow-view-engine/src/analysis/boxplot.ts:68 · typescript/wow-view-engine/src/analysis/candlestick.ts:61 — the two spans are one implementation copied and then locally edited — 538 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Wholesale file copy (80 identical lines × 2 files) platform/analytics/catalog/console/src/components/ui/field.tsx:8— platform/analytics/catalog/console/src/components/ui/field.tsx:8 · platform/ops/console/src/components/ui/field.tsx:8 — these 2 files are line-for-line copies of one another — 80 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
Duplicated block (73 lines × 2 locations) platform/analytics/catalog/console/src/i18n.tsx:235— platform/analytics/catalog/console/src/i18n.tsx:235 · platform/ops/console/src/i18n.tsx:147 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Wholesale file copy (69 identical lines × 2 files) platform/analytics/catalog/console/src/app/App.tsx:14— platform/analytics/catalog/console/src/app/App.tsx:14 · platform/ops/console/src/app/App.tsx:14 — these 2 files are line-for-line copies of one another — 69 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
R10 · Code Duplication· Duplicated block with local edits (66 matched lines × 2 locations) · ×1
Duplicated block with local edits (66 matched lines × 2 locations) typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:116— typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:116 · typescript/wow-view-engine/src/ui/DataWorkbench.tsx:107 — the two spans are one implementation copied and then locally edited — 365 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (62 matched lines × 2 locations) · ×1
Duplicated block with local edits (62 matched lines × 2 locations) typescript/wow-view-engine/src/ui/charts/PieSlices.tsx:66— typescript/wow-view-engine/src/ui/charts/PieSlices.tsx:66 · typescript/wow-view-engine/src/ui/charts/ScatterPoints.tsx:40 — the two spans are one implementation copied and then locally edited — 295 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (59 lines × 4 locations) typescript/wow-client/scripts/api-report.mjs:92— typescript/wow-client/scripts/api-report.mjs:92 · typescript/wow-react/scripts/api-report.mjs:90 · typescript/wow-view-engine/scripts/api-report.mjs:105 · typescript/wow-view-store/scripts/api-report.mjs:90 — the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Duplicated block (58 lines × 2 locations) platform/analytics/catalog/console/playwright.config.ts:20— platform/analytics/catalog/console/playwright.config.ts:20 · platform/ops/console/playwright.config.ts:20 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Duplicated block (57 lines × 2 locations) typescript/storybook/stories/view-engine/compensationEvents.ts:78— typescript/storybook/stories/view-engine/compensationEvents.ts:78 · typescript/storybook/stories/view-engine/tradeOrderEvents.ts:143 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Wholesale file copy (55 identical lines × 2 files) platform/analytics/catalog/console/src/setupTests.ts:14— platform/analytics/catalog/console/src/setupTests.ts:14 · platform/ops/console/src/setupTests.ts:14 — these 2 files are line-for-line copies of one another — 55 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
Duplicated block (50 lines × 2 locations) platform/analytics/catalog/console/src/components/ui/button.tsx:19— platform/analytics/catalog/console/src/components/ui/button.tsx:19 · platform/ops/console/src/components/ui/button.tsx:19 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
R10 · Code Duplication· Duplicated block with local edits (43 matched lines × 2 locations) · ×1
Duplicated block with local edits (43 matched lines × 2 locations) typescript/wow-view-engine/src/filter/kinds/number.ts:68— typescript/wow-view-engine/src/filter/kinds/number.ts:68 · typescript/wow-view-engine/src/filter/kinds/string.ts:61 — the two spans are one implementation copied and then locally edited — 351 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (40 matched lines × 2 locations) · ×1
Duplicated block with local edits (40 matched lines × 2 locations) typescript/wow-view-engine/src/ui/filter/inputs/chips.tsx:126— typescript/wow-view-engine/src/ui/filter/inputs/chips.tsx:126 · typescript/wow-view-engine/src/ui/filter/inputs/suggested.tsx:283 — the two spans are one implementation copied and then locally edited — 202 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (39 lines × 2 locations) platform/analytics/catalog/console/src/views/datasets.ts:146— platform/analytics/catalog/console/src/views/datasets.ts:146 · platform/analytics/catalog/console/src/views/sources.ts:170 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
R10 · Code Duplication· Duplicated block with local edits (39 matched lines × 2 locations) · ×1
Duplicated block with local edits (39 matched lines × 2 locations) typescript/wow-view-engine/src/ui/analysis/FormulaCard.tsx:153— typescript/wow-view-engine/src/ui/analysis/FormulaCard.tsx:153 · typescript/wow-view-engine/src/ui/analysis/FormulaCard.tsx:339 — the two spans are one implementation copied and then locally edited — 176 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication· Duplicated block with local edits (36 matched lines × 2 locations) · ×1
Duplicated block with local edits (36 matched lines × 2 locations) typescript/wow-client/scripts/verify-package.mjs:83— typescript/wow-client/scripts/verify-package.mjs:83 · typescript/wow-generator/scripts/verify-package.mjs:72 — the two spans are one implementation copied and then locally edited — 241 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
Duplicated block (35 lines × 3 locations) typescript/storybook/stories/view-engine/compensationEvents.ts:329— typescript/storybook/stories/view-engine/compensationEvents.ts:329 · typescript/storybook/stories/view-engine/customerEvents.ts:410 · typescript/storybook/stories/view-engine/tradeOrderEvents.ts:347 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Duplicated block (31 lines × 2 locations) typescript/wow-view-engine/src/ui/analysis/StatisticalOptions.tsx:42— typescript/wow-view-engine/src/ui/analysis/StatisticalOptions.tsx:42 · typescript/wow-view-engine/src/ui/analysis/StatisticalOptions.tsx:83 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Duplicated block (28 lines × 2 locations) platform/analytics/catalog/console/src/services/cosec.ts:36— platform/analytics/catalog/console/src/services/cosec.ts:36 · platform/ops/console/src/services/cosec.ts:36 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Complex function project (cyclomatic 100, cognitive 137) typescript/storybook/stories/view-engine/retail/generate.ts:1476— project has cyclomatic complexity 100 and cognitive complexity 137; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function WorkbenchShell (cyclomatic 62, cognitive 55) typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx:343— WorkbenchShell has cyclomatic complexity 62 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function AnalysisParts (cyclomatic 50, cognitive 43) typescript/wow-view-engine/src/ui/workbench/AnalysisParts.tsx:126— AnalysisParts has cyclomatic complexity 50 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function generateRetail (cyclomatic 48, cognitive 128) typescript/storybook/stories/view-engine/retail/generate.ts:766— generateRetail has cyclomatic complexity 48 and cognitive complexity 128; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function MetricCard (cyclomatic 48, cognitive 35) typescript/wow-view-engine/src/ui/analysis/MetricCard.tsx:74— MetricCard has cyclomatic complexity 48 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function ConditionPill (cyclomatic 46, cognitive 40) typescript/wow-view-engine/src/ui/filter/ConditionPill.tsx:80— ConditionPill has cyclomatic complexity 46 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function (anonymous) (cyclomatic 45, cognitive 44) typescript/wow-view-engine/src/runtime/viewRuntime.ts:283— (anonymous) has cyclomatic complexity 45 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function checkTheme (cyclomatic 43, cognitive 94) typescript/wow-view-engine/theme-check/check.ts:132— checkTheme has cyclomatic complexity 43 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function narrowAggregation (cyclomatic 40, cognitive 34) typescript/wow-view-engine/src/capabilities/analysis.ts:259— narrowAggregation has cyclomatic complexity 40 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function dataContext (cyclomatic 40, cognitive 30) typescript/wow-view-engine/test/prefixedClasses.test.ts:111— dataContext has cyclomatic complexity 40 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function criteria (cyclomatic 39, cognitive 13) typescript/wow-view-engine/src/testing/filter.ts:114— criteria has cyclomatic complexity 39 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function buildField (cyclomatic 37, cognitive 44) typescript/wow-view-engine/src/runtime/define/fields.ts:82— buildField has cyclomatic complexity 37 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function useWorkbench (cyclomatic 37, cognitive 29) typescript/wow-view-engine/src/react/useWorkbench.ts:408— useWorkbench has cyclomatic complexity 37 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function RecordTable (cyclomatic 35, cognitive 32) typescript/wow-view-engine/src/ui/record/RecordTable.tsx:209— RecordTable has cyclomatic complexity 35 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function metricOf (cyclomatic 34, cognitive 55) typescript/wow-view-engine/src/testing/aggregate.ts:256— metricOf has cyclomatic complexity 34 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function (anonymous) (cyclomatic 34, cognitive 38) typescript/wow-view-engine/theme-check/check.ts:222— (anonymous) has cyclomatic complexity 34 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function serve (cyclomatic 34, cognitive 38) typescript/wow-view-store/test/support/fakeViewStore.ts:1111— serve has cyclomatic complexity 34 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function (anonymous) (cyclomatic 34, cognitive 36) typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:413— (anonymous) has cyclomatic complexity 34 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function ActionDialog (cyclomatic 34, cognitive 30) typescript/wow-view-engine/src/ui/actions/ActionDialog.tsx:80— ActionDialog has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function ColumnRow (cyclomatic 33, cognitive 31) typescript/wow-view-engine/src/ui/columns/ColumnRow.tsx:151— ColumnRow has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
R3 · Large Files· typescript/storybook/stories/view-engine/retail/generate.ts · ×1
typescript/storybook/stories/view-engine/retail/generate.ts: 2103 lines of code typescript/storybook/stories/view-engine/retail/generate.ts:1— typescript/storybook/stories/view-engine/retail/generate.ts has 2103 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/retail/views.ts · ×1
typescript/storybook/stories/view-engine/retail/views.ts: 1685 lines of code typescript/storybook/stories/view-engine/retail/views.ts:1— typescript/storybook/stories/view-engine/retail/views.ts has 1685 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-client/src/dsl/filter/builders.ts · ×1
typescript/wow-client/src/dsl/filter/builders.ts: 1437 lines of code typescript/wow-client/src/dsl/filter/builders.ts:1— typescript/wow-client/src/dsl/filter/builders.ts has 1437 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/fixtures.ts · ×1
typescript/storybook/stories/view-engine/fixtures.ts: 1304 lines of code typescript/storybook/stories/view-engine/fixtures.ts:1— typescript/storybook/stories/view-engine/fixtures.ts has 1304 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/retail/boards.ts · ×1
typescript/storybook/stories/view-engine/retail/boards.ts: 1213 lines of code typescript/storybook/stories/view-engine/retail/boards.ts:1— typescript/storybook/stories/view-engine/retail/boards.ts has 1213 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/RecordWorkbench.stories.tsx · ×1
typescript/storybook/stories/view-engine/RecordWorkbench.stories.tsx: 1211 lines of code typescript/storybook/stories/view-engine/RecordWorkbench.stories.tsx:1— typescript/storybook/stories/view-engine/RecordWorkbench.stories.tsx has 1211 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/retail/definitions.ts · ×1
typescript/storybook/stories/view-engine/retail/definitions.ts: 1032 lines of code typescript/storybook/stories/view-engine/retail/definitions.ts:1— typescript/storybook/stories/view-engine/retail/definitions.ts has 1032 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/retail/catalog.ts · ×1
typescript/storybook/stories/view-engine/retail/catalog.ts: 1021 lines of code typescript/storybook/stories/view-engine/retail/catalog.ts:1— typescript/storybook/stories/view-engine/retail/catalog.ts has 1021 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/ui/kit/variants.tsx · ×1
typescript/wow-view-engine/src/ui/kit/variants.tsx: 1001 lines of code typescript/wow-view-engine/src/ui/kit/variants.tsx:1— typescript/wow-view-engine/src/ui/kit/variants.tsx has 1001 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/Dashboard.stories.tsx · ×1
typescript/storybook/stories/view-engine/Dashboard.stories.tsx: 988 lines of code typescript/storybook/stories/view-engine/Dashboard.stories.tsx:1— typescript/storybook/stories/view-engine/Dashboard.stories.tsx has 988 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/AnalysisWorkbench.stories.tsx · ×1
typescript/storybook/stories/view-engine/AnalysisWorkbench.stories.tsx: 841 lines of code typescript/storybook/stories/view-engine/AnalysisWorkbench.stories.tsx:1— typescript/storybook/stories/view-engine/AnalysisWorkbench.stories.tsx has 841 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx · ×1
typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx: 838 lines of code typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx:1— typescript/wow-view-engine/src/ui/workbench/WorkbenchShell.tsx has 838 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/analysis/project.ts · ×1
typescript/wow-view-engine/src/analysis/project.ts: 832 lines of code typescript/wow-view-engine/src/analysis/project.ts:1— typescript/wow-view-engine/src/analysis/project.ts has 832 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/react/useWorkbench.ts · ×1
typescript/wow-view-engine/src/react/useWorkbench.ts: 832 lines of code typescript/wow-view-engine/src/react/useWorkbench.ts:1— typescript/wow-view-engine/src/react/useWorkbench.ts has 832 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-generator/src/manifest/analyze.ts · ×1
typescript/wow-generator/src/manifest/analyze.ts: 810 lines of code typescript/wow-generator/src/manifest/analyze.ts:1— typescript/wow-generator/src/manifest/analyze.ts has 810 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-generator/src/types/typeResolver.ts · ×1
typescript/wow-generator/src/types/typeResolver.ts: 803 lines of code typescript/wow-generator/src/types/typeResolver.ts:1— typescript/wow-generator/src/types/typeResolver.ts has 803 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/react/useFilterEditor.ts · ×1
typescript/wow-view-engine/src/react/useFilterEditor.ts: 773 lines of code typescript/wow-view-engine/src/react/useFilterEditor.ts:1— typescript/wow-view-engine/src/react/useFilterEditor.ts has 773 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/ui/kit/display.ts · ×1
typescript/wow-view-engine/src/ui/kit/display.ts: 769 lines of code typescript/wow-view-engine/src/ui/kit/display.ts:1— typescript/wow-view-engine/src/ui/kit/display.ts has 769 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-client/src/dsl/aggregation/types.ts · ×1
typescript/wow-client/src/dsl/aggregation/types.ts: 762 lines of code typescript/wow-client/src/dsl/aggregation/types.ts:1— typescript/wow-client/src/dsl/aggregation/types.ts has 762 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/runtime/viewEngine.ts · ×1
typescript/wow-view-engine/src/runtime/viewEngine.ts: 762 lines of code typescript/wow-view-engine/src/runtime/viewEngine.ts:1— typescript/wow-view-engine/src/runtime/viewEngine.ts has 762 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/ui/kit/popups.tsx · ×1
typescript/wow-view-engine/src/ui/kit/popups.tsx: 760 lines of code typescript/wow-view-engine/src/ui/kit/popups.tsx:1— typescript/wow-view-engine/src/ui/kit/popups.tsx has 760 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/record/project.ts · ×1
typescript/wow-view-engine/src/record/project.ts: 755 lines of code typescript/wow-view-engine/src/record/project.ts:1— typescript/wow-view-engine/src/record/project.ts has 755 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/customer.ts · ×1
typescript/storybook/stories/view-engine/customer.ts: 740 lines of code typescript/storybook/stories/view-engine/customer.ts:1— typescript/storybook/stories/view-engine/customer.ts has 740 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/dashboard/layout.ts · ×1
typescript/wow-view-engine/src/dashboard/layout.ts: 736 lines of code typescript/wow-view-engine/src/dashboard/layout.ts:1— typescript/wow-view-engine/src/dashboard/layout.ts has 736 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/retail/showcase.ts · ×1
typescript/storybook/stories/view-engine/retail/showcase.ts: 731 lines of code typescript/storybook/stories/view-engine/retail/showcase.ts:1— typescript/storybook/stories/view-engine/retail/showcase.ts has 731 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/react/useRecordTable.ts · ×1
typescript/wow-view-engine/src/react/useRecordTable.ts: 723 lines of code typescript/wow-view-engine/src/react/useRecordTable.ts:1— typescript/wow-view-engine/src/react/useRecordTable.ts has 723 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/theme-check/resolve.ts · ×1
typescript/wow-view-engine/theme-check/resolve.ts: 715 lines of code typescript/wow-view-engine/theme-check/resolve.ts:1— typescript/wow-view-engine/theme-check/resolve.ts has 715 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/ui/charts/EChart.tsx · ×1
typescript/wow-view-engine/src/ui/charts/EChart.tsx: 708 lines of code typescript/wow-view-engine/src/ui/charts/EChart.tsx:1— typescript/wow-view-engine/src/ui/charts/EChart.tsx has 708 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts · ×1
typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts: 708 lines of code typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts:1— typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts has 708 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/runtime/dashboardRuntime.ts · ×1
typescript/wow-view-engine/src/runtime/dashboardRuntime.ts: 706 lines of code typescript/wow-view-engine/src/runtime/dashboardRuntime.ts:1— typescript/wow-view-engine/src/runtime/dashboardRuntime.ts has 706 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-client/src/dsl/aggregation/builders.ts · ×1
typescript/wow-client/src/dsl/aggregation/builders.ts: 695 lines of code typescript/wow-client/src/dsl/aggregation/builders.ts:1— typescript/wow-client/src/dsl/aggregation/builders.ts has 695 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-store/src/wowViewStore.ts · ×1
typescript/wow-view-store/src/wowViewStore.ts: 695 lines of code typescript/wow-view-store/src/wowViewStore.ts:1— typescript/wow-view-store/src/wowViewStore.ts has 695 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/storybook/stories/view-engine/tradeOrder.ts · ×1
typescript/storybook/stories/view-engine/tradeOrder.ts: 689 lines of code typescript/storybook/stories/view-engine/tradeOrder.ts:1— typescript/storybook/stories/view-engine/tradeOrder.ts has 689 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/runtime/viewRuntime.ts · ×1
typescript/wow-view-engine/src/runtime/viewRuntime.ts: 684 lines of code typescript/wow-view-engine/src/runtime/viewRuntime.ts:1— typescript/wow-view-engine/src/runtime/viewRuntime.ts has 684 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx · ×1
typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx: 669 lines of code typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx:1— typescript/wow-view-engine/src/ui/dashboard/DashboardGrid.tsx has 669 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/react/useAnalysisResult.ts · ×1
typescript/wow-view-engine/src/react/useAnalysisResult.ts: 661 lines of code typescript/wow-view-engine/src/react/useAnalysisResult.ts:1— typescript/wow-view-engine/src/react/useAnalysisResult.ts has 661 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/dashboard/validate.ts · ×1
typescript/wow-view-engine/src/dashboard/validate.ts: 644 lines of code typescript/wow-view-engine/src/dashboard/validate.ts:1— typescript/wow-view-engine/src/dashboard/validate.ts has 644 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/model/field.ts · ×1
typescript/wow-view-engine/src/model/field.ts: 644 lines of code typescript/wow-view-engine/src/model/field.ts:1— typescript/wow-view-engine/src/model/field.ts has 644 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/theme-check/check.ts · ×1
typescript/wow-view-engine/theme-check/check.ts: 639 lines of code typescript/wow-view-engine/theme-check/check.ts:1— typescript/wow-view-engine/theme-check/check.ts has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R3 · Large Files· typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx · ×1
typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx: 632 lines of code typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx:1— typescript/wow-view-engine/src/ui/dashboard/DashboardPanel.tsx has 632 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module.
R6 · Tooling· The declared test suite includes a file that cannot be loaded · ×1
The declared test suite includes a file that cannot be loaded typescript/storybook/scripts/verify-storybook.mjs:20— This repository declares test tooling, and the ✓ above records that declaration — but typescript/storybook/scripts/verify-storybook.mjs and 2 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) — each one is reported with its failing import under Test Coverage — then the declared script exercises what it claims to.
Dead file (~214 LoC) typescript/storybook/scripts/verify-storybook-browser.mjs— no import path from any entry point (102 application, 46 tooling, 717 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~191 LoC) typescript/storybook/stories/view-engine/IntroBlocks.tsx— no import path from any entry point (102 application, 46 tooling, 717 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~41 LoC) typescript/storybook/stories/view-engine/integration/wowCommands.ts— no import path from any entry point (102 application, 46 tooling, 717 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~27 LoC) typescript/storybook/stories/view-engine/integration/wowSource.ts— no import path from any entry point (102 application, 46 tooling, 717 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
README/code drift skills/README.md:68— skills/README.md names the package `@ahoo-wang/*`, but no package.json of the workspace declares or depends on it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/01-programming-model.md:148— documentation/designs/01-programming-model.md names `infra/prepare`, but no file or folder `infra/prepare` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/03-log-and-snapshot.md:83— documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_VERSIONED`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/03-log-and-snapshot.md:83— documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TIME_BASED`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/03-log-and-snapshot.md:83— documentation/designs/03-log-and-snapshot.md documents the environment variable `STATE_TRACING`, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/06-modules.md:143— documentation/designs/06-modules.md names `deploy/v10/`, but no file or folder `deploy/v10` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:26— documentation/designs/09-capability-parity.md names `command/CommandGateway`, but no file or folder `command/CommandGateway` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:28— documentation/designs/09-capability-parity.md names `command/wait/CommandStage`, but no file or folder `command/wait/CommandStage` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:29— documentation/designs/09-capability-parity.md names `command/wait/chain`, but no file or folder `command/wait/chain` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:78— documentation/designs/09-capability-parity.md names `api/event/IgnoreSourcing`, but no file or folder `api/event/IgnoreSourcing` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:97— documentation/designs/09-capability-parity.md names `state/tracing`, but no file or folder `state/tracing` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:137— documentation/designs/09-capability-parity.md names `snapshot/list`, but no file or folder `snapshot/list` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:171— documentation/designs/09-capability-parity.md names `wow-metadata.json`, but no file or folder `wow-metadata.json` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:194— documentation/designs/09-capability-parity.md names `test/validation`, but no file or folder `test/validation` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:211— documentation/designs/09-capability-parity.md names `deploy/compensation`, but no file or folder `deploy/compensation` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:242— documentation/designs/09-capability-parity.md names `client/command`, but no file or folder `client/command` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:245— documentation/designs/09-capability-parity.md names `client/query/state`, but no file or folder `client/query/state` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/09-capability-parity.md:248— documentation/designs/09-capability-parity.md names `analytics/console`, but no file or folder `analytics/console` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/README.md:5— documentation/designs/README.md names `documentation/designs/v10/`, but no file or folder `documentation/designs/v10` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/README.md:87— documentation/designs/README.md names `v10.yml`, but no file or folder `v10.yml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/README.md:93— documentation/designs/README.md names `v10-nightly.yml`, but no file or folder `v10-nightly.yml` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/README.md:129— documentation/designs/README.md names `handoff.md`, but no file or folder `handoff.md` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/README.md:173— documentation/designs/README.md names `docs/todo.md`, but no file or folder `docs/todo.md` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/decisions.md:193— documentation/designs/decisions.md names `wow.snapshot.targets`, but no file or folder `wow.snapshot.targets` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
README/code drift documentation/designs/decisions.md:198— documentation/designs/decisions.md names `.snapshot.store`, but no file or folder `.snapshot.store` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong.
Duplicated predicate typescript/wow-client/scripts/api-report.mjs:211— `!existsSync(committed) || readFileSync(committed, 'utf8') !== rendered` appears character-identically in 4 files — typescript/wow-client/scripts/api-report.mjs, typescript/wow-react/scripts/api-report.mjs, typescript/wow-view-engine/scripts/api-report.mjs, typescript/wow-view-store/scripts/api-report.mjs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/analysis/dangling.ts:121— `!isValueMetric(metric) && !moments.has(metric.alias)` appears character-identically in 2 files — typescript/wow-view-engine/src/analysis/dangling.ts, typescript/wow-view-engine/src/react/analysisEditing.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/react/useAnalysisEditor.ts:356— `!runtime || !applied || applied.kind === 'dashboard'` appears character-identically in 2 files — typescript/wow-view-engine/src/react/useAnalysisEditor.ts, typescript/wow-view-engine/src/react/useFilterEditor.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/record/RecordCards.tsx:108— `!table.hasResult && table.status !== 'loading'` appears character-identically in 3 files — typescript/wow-view-engine/src/ui/record/RecordCards.tsx, typescript/wow-view-engine/src/ui/record/RecordKanban.tsx, typescript/wow-view-engine/src/ui/record/RecordTable.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/analysis/ResultSlot.tsx:253— `Number.isInteger(value) && value >= 1 && value <= max` appears character-identically in 2 files — typescript/wow-view-engine/src/ui/analysis/ResultSlot.tsx, typescript/wow-view-engine/src/ui/analysis/TopRow.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/dashboard/Board.tsx:142— `active === null || active === document.body` appears character-identically in 3 files — typescript/wow-view-engine/src/ui/dashboard/Board.tsx, typescript/wow-view-engine/src/ui/dashboard/DashboardArrange.tsx, typescript/wow-view-engine/src/ui/dashboard/buildShell.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/filter/conditionFocus.ts:72— `active === null || active === document.body || !active.isConnected || (active as HTMLButtonElement).disabled === true` appears character-identically in 2 files — typescript/wow-view-engine/src/ui/filter/conditionFocus.ts, typescript/wow-view-engine/src/ui/kit/focus.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/dashboard/PanelBodies.tsx:393— `analysis.layout === 'chart' && chartData` appears character-identically in 2 files — typescript/wow-view-engine/src/ui/dashboard/PanelBodies.tsx, typescript/wow-view-engine/src/ui/embed/EmbeddedAnalysis.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/record/RecordTable.tsx:491— `column.width !== undefined && CLIPPED_CELL` appears character-identically in 3 files — typescript/wow-view-engine/src/ui/record/RecordTable.tsx, typescript/wow-view-engine/src/ui/record/SkeletonRows.tsx, typescript/wow-view-engine/src/ui/record/SummaryRows.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx:401— `dashboard.resolving || dashboard.loading` appears character-identically in 2 files — typescript/wow-view-engine/src/ui/DashboardWorkbench.tsx, typescript/wow-view-engine/src/ui/EmbeddedDashboard.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/filter/inputs/chips.tsx:129— `details.reason === 'input-clear' && !details.isItemPress` appears character-identically in 2 files — typescript/wow-view-engine/src/ui/filter/inputs/chips.tsx, typescript/wow-view-engine/src/ui/filter/inputs/suggested.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/filter/inputs/chips.tsx:104— `draft !== null && Object.is(value, draft.over)` appears character-identically in 2 files — typescript/wow-view-engine/src/ui/filter/inputs/chips.tsx, typescript/wow-view-engine/src/ui/filter/inputs/suggested.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/capabilities/match.ts:83— `entry.path === path && entry.scope === scope` appears character-identically in 2 files — typescript/wow-view-engine/src/capabilities/match.ts, typescript/wow-view-engine/src/runtime/define/fields.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx:448— `event.altKey || event.ctrlKey || event.metaKey || event.shiftKey` appears character-identically in 2 files — typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx, typescript/wow-view-engine/src/ui/kit/roving.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx:430— `event.key === 'Enter' || event.key === ' '` appears character-identically in 2 files — typescript/wow-view-engine/src/ui/analysis/AnalysisTable.tsx, typescript/wow-view-engine/src/ui/record/openRows.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/capabilities/analysis.ts:396— `field.functions.length > 0 || field.any === true || field.distinctCount === true || field.percentile === true || field.firstLast === true` appears character-identically in 2 files — typescript/wow-view-engine/src/capabilities/analysis.ts, typescript/wow-view-engine/src/runtime/validateDefinition.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/analysis/chartSlots.ts:107— `group.type === 'DATE_HISTOGRAM' && group.unit === 'DAY'` appears character-identically in 2 files — typescript/wow-view-engine/src/analysis/chartSlots.ts, typescript/wow-view-engine/src/ui/analysis/ChartOptions.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/analysis/validateGroups.ts:165— `group.type === 'DATE_HISTOGRAM' || group.type === 'DATE_PART'` appears character-identically in 2 files — typescript/wow-view-engine/src/analysis/validateGroups.ts, typescript/wow-view-engine/src/ui/analysis/DimensionCard.tsx. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/dashboard/edit.ts:250— `isPlainObject(entry) && entry.derived === true` appears character-identically in 2 files — typescript/wow-view-engine/src/dashboard/edit.ts, typescript/wow-view-engine/src/dashboard/timeBindings.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/react/recordDraft.ts:51— `isPlainObject(entry) && typeof entry.field === 'string'` appears character-identically in 2 files — typescript/wow-view-engine/src/react/recordDraft.ts, typescript/wow-view-engine/src/record/validate.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/dashboard/filters.ts:135— `isPlainObject(field) && typeof field.name === 'string'` appears character-identically in 2 files — typescript/wow-view-engine/src/dashboard/filters.ts, typescript/wow-view-engine/src/dashboard/migrate.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/dashboard/panels.ts:224— `isPlainObject(tab) && typeof tab.id === 'string'` appears character-identically in 2 files — typescript/wow-view-engine/src/dashboard/panels.ts, typescript/wow-view-engine/src/dashboard/validate.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/filter/kinds/metadata.ts:101— `isReferenceFilterValue(value) && value.items.length === 0` appears character-identically in 2 files — typescript/wow-view-engine/src/filter/kinds/metadata.ts, typescript/wow-view-engine/src/filter/kinds/reference.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-view-engine/src/dashboard/filters.ts:278— `isViewPanel(entry) && entry.id === panelId` appears character-identically in 2 files — typescript/wow-view-engine/src/dashboard/filters.ts, typescript/wow-view-engine/src/runtime/dashboard/panelRun.ts. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate typescript/wow-client/scripts/api-report.mjs:168— `message.logLevel === 'error' || message.logLevel === 'warning'` appears character-identically in 4 files — typescript/wow-client/scripts/api-report.mjs, typescript/wow-react/scripts/api-report.mjs, typescript/wow-view-engine/scripts/api-report.mjs, typescript/wow-view-store/scripts/api-report.mjs. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Mock-dominated test: prints the outcome, warnings and errors by default, without the details typescript/wow-generator/test/api/logger.test.ts:41— This test sets up 3 test doubles (for example `a double assigned in a shared setup`) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: prints only warnings and errors when quiet typescript/wow-generator/test/api/logger.test.ts:49— This test sets up 3 test doubles (for example `a double assigned in a shared setup`) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: prints every detail with a timestamp when verbose typescript/wow-generator/test/api/logger.test.ts:57— This test sets up 3 test doubles (for example `a double assigned in a shared setup`) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: decorates lines with symbols on a terminal typescript/wow-generator/test/api/logger.test.ts:73— This test sets up 3 test doubles (for example `a double assigned in a shared setup`) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: prints nothing typescript/wow-generator/test/api/logger.test.ts:101— This test sets up 3 test doubles (for example `vi.spyOn`) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: keeps a trimmed name on Enter, and the key stops at the field typescript/wow-view-engine/test/renameInput.test.tsx:80— This test sets up 3 test doubles (for example `a double assigned in a shared setup`) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: puts the name back on Escape, which goes no further typescript/wow-view-engine/test/renameInput.test.tsx:92— This test sets up 3 test doubles (for example `a double assigned in a shared setup`) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: writes to the console in development when the host gives no onIssue, and not otherwise typescript/wow-view-engine/test/engineResources.test.ts:310— This test sets up 3 test doubles (for example `vi
.spyOn`) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: hands the library the button itself typescript/wow-view-engine/test/dragHandle.test.tsx:127— This test sets up 3 test doubles (for example `vi.fn`) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Mock-dominated test: hands the drag handlers the library gives it to its button typescript/wow-view-engine/test/dashboardUi.test.tsx:1093— This test sets up 4 test doubles (for example `vi.fn`) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own — the network, the clock, the file system.
Fat interface: DashboardEditing (19 required operations) typescript/wow-view-engine/src/runtime/dashboard/editing.ts:94— `DashboardEditing` declares 19 required operations: `addPanel`, `removePanel`, `duplicatePanel`, `renamePanel`, `replacePanelView`, `editPanelContent`, `movePanelToTab`, `setPresentation`, `referToSaved`, `setPanelClick`, `addTab`, `renameTab`, `moveTab`, `removeTab`, `place`, `reorderPanel`, `setWidth`, `undo`, `redo`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: DashboardRuntime (21 required operations) typescript/wow-view-engine/src/runtime/dashboard/contract.ts:115— `DashboardRuntime` declares 21 required operations: `getSnapshot`, `ready`, `panelRuntime`, `refreshPanel`, `setBuilding`, `setRefreshInterval`, `preload`, `showTab`, `setFilterValue`, `setGroupingUnit`, `clearFilters`, `holdFilters`, `setFilters`, `wiredOptions`, `crossFilter`, `pressed`, `spanFilters`, `pressSpan`, `destination`, `destinationBoard`, `handOver`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: AnalysisEditorController (19 required operations) typescript/wow-view-engine/src/react/useAnalysisEditor.ts:78— `AnalysisEditorController` declares 19 required operations: `undoDrop`, `dismissDrop`, `metricRemoval`, `elementLabel`, `elementFields`, `expand`, `collapse`, `setElementFilter`, `dateUnitFor`, `setSort`, `sortNow`, `setLimit`, `setLayout`, `setChartType`, `updateChart`, `setTotals`, `submit`, `focus`, `blur`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: DashboardController (20 required operations) typescript/wow-view-engine/src/react/useDashboard.ts:83— `DashboardController` declares 20 required operations: `showTab`, `place`, `refresh`, `refreshPanel`, `setBuilding`, `setFilterValue`, `setGroupingUnit`, `clearFilters`, `setAwaiting`, `filterCandidates`, `filterChoices`, `filterOptions`, `preload`, `crossFilter`, `pressed`, `spanFilters`, `pressSpan`, `destination`, `destinationBoard`, `handOver`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: RecordTableController (23 required operations) typescript/wow-view-engine/src/react/useRecordTable.ts:83— `RecordTableController` declares 23 required operations: `setCard`, `sortOf`, `toggleSort`, `setSort`, `setLayout`, `hiddenOf`, `setColumns`, `setColumnOrder`, `pinnedOf`, `setPinned`, `setColumnWidth`, `summaryOf`, `setSummary`, `setPageSize`, `isSelected`, `toggle`, `toggleAll`, `clearSelection`, `select`, `goTo`, `next`, `previous`, `refresh`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: CartesianPlan (18 required operations) typescript/wow-view-engine/src/ui/charts/cartesianPlan.ts:244— `CartesianPlan` declares 18 required operations: `tickOf`, `stackOf`, `stacked`, `asShares`, `shareAt`, `drawnAt`, `drawnText`, `labelled`, `peaksOnly`, `filledAt`, `insideText`, `span`, `reach`, `wholeOn`, `sharesOn`, `logOn`, `valuesOn`, `extremesOf`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
P2 · Observability· Console output used as the logging channel · ×4
Console output used as the logging channel typescript/wow-generator/src/api/logger.ts:83— `typescript/wow-generator/src/api/logger.ts` reports through `console.*` at line 83 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel typescript/wow-generator/src/api/logger.ts:88— `typescript/wow-generator/src/api/logger.ts` reports through `console.*` at line 88 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel typescript/wow-generator/src/api/logger.ts:92— `typescript/wow-generator/src/api/logger.ts` reports through `console.*` at line 92 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
Console output used as the logging channel typescript/wow-generator/src/api/logger.ts:96— `typescript/wow-generator/src/api/logger.ts` reports through `console.*` at line 96 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline.
No seccomp profile REDACTED:2— The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use.
No seccomp profile REDACTED:2— The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use.
No seccomp profile REDACTED:2— The workload runs a container with no seccomp profile in force (neither RuntimeDefault nor a Localhost profile, on the container or the pod), so Kubernetes runs it Unconfined. Seccomp blocks the syscalls a container never needs, shrinking the kernel attack surface a container escape would use.
IC1 · Incompleteness & stubs· Empty method body · ×3
Empty method body typescript/wow-view-engine/src/ui/analysis/virtualRows.ts:258— `noMeasure` has an empty body — confirm it's an intentional no-op and not an unfinished method.
Empty method body typescript/wow-view-engine/src/ui/colorMode.tsx:53— `setMode` has an empty body — confirm it's an intentional no-op and not an unfinished method.
Empty method body typescript/wow-view-engine/src/ui/filter/conditionFocus.ts:87— `removing` has an empty body — confirm it's an intentional no-op and not an unfinished method.
Silent fallback default in catch typescript/wow-view-engine/examples/FetcherViewStore.ts:388— `heldBy` swallows every exception into `return {}` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch typescript/wow-view-engine/src/ui/filter/inputs/unsupported.tsx:94— `rawValueText` swallows every exception into `return ''` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
Silent fallback default in catch typescript/wow-view-engine/src/ui/workbench/address.ts:79— `boardsOf` swallows every exception into `return {}` — a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing.
AC7 · A11y enforcement· Accessibility enforcement below the top rung · ×1
Accessibility enforcement below the top rung — Accessibility checks run in tests (Verified) but aren't gated in CI — run the suite that holds those checks in your pipeline so an accessibility regression blocks the merge (Prevented). What was searched, so you can tell an absence from a miss: the 312 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
No ADRs found — No ADRs found. No recognised ADR directory (`docs/adr/`, `docs/decisions/`, `adr/`, `docs/rfcs/`, an `ADR0001/` folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (`docs/adr/use-postgres.md`, `docs/adr/2024/0001-x.md`); or a file anywhere whose name is ADR-shaped (`0001-use-postgres.md`, `adr-012-caching.md`); or, when neither turned anything up, a document carrying the decision-record signature (an "Architecture Decision Record" heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these — unnumbered files outside any recognised directory, without those headings — is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in `docs/adr/`.
Split api/api — A huge API surface with 48k LoC across 13 unrelated namespaces is a sprawling grab-bag. Suggested: split into domain/slots for each API endpoint
Split core/runtime — Runtime subsystem at 20k LoC and 363 public types across 23 namespaces is massive and spread out. Suggested: split runtime/subscription, node, admission, cluster into focused runtime modules
Split query/query — A huge query engine with 17k LoC across 15 namespaces is a grab-bag. Suggested: split into schema, dataset, aggregation, index, and read layers
Split typescript/wow-generator — A sprawling 8k-LoC generator across 26 unrelated namespaces is a grab-bag. Suggested: split into manifest/eshop, analysis, api, basket, inventory generators
Split typescript/wow-view-engine — A huge view engine at 160k LoC across 36 namespaces is a grab-bag. Suggested: split runtime, model, charts, dashboard, record into focused components
D28 · Secrets (history)· Rotate the exposed credentials · ×1
No ADRs — No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
Logging is not universal — Only 21/24 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `migration/migrate-data`, `skills/wow-migrate/evals/h5-inputs/view-store/wow-view-store-server`, `typescript/wow-view-engine`.
No SAST — No static application security testing detected. For this repository's stack, add spotbugs with find-sec-bugs (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 126758 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
No changelog — No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
Unused export 'VIEWER_ROLE' platform/analytics/catalog/console/src/services/caller.ts:43— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'MANIFEST_FORMAT' · ×1
Unused export 'MANIFEST_FORMAT' typescript/wow-generator/src/manifest/document.ts:83— Nothing imports this binding — it is safe to review for removal.
R8 · Dependency Hygiene· Type-only dependency 'react-day-picker' in production deps · ×1
Type-only dependency 'react-day-picker' in production deps typescript/wow-view-engine/src/ui/filter/inputs/daterange.tsx:17— Every import is type-only — move it to devDependencies.
X2 · Cancellation propagation· Not all functions that make a request accept an AbortSignal or the coroutine's cancellation · ×1
Not all functions that make a request accept an AbortSignal or the coroutine's cancellation — Only 8/11 functions that make a cancellable request (fetch, axios, ky, ofetch; Ktor, OkHttp newCall, URL streams) accept an AbortSignal or the coroutine's cancellation or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a `signal` () and hand it to the request; in a Kotlin suspend function, make the request with a call that suspends — Ktor, OkHttp's `executeAsync()`, or a `suspendCancellableCoroutine` that cancels the `Call` — not a blocking `execute()`: `withContext(Dispatchers.IO)` moves the call off the caller's thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
Null assertions (`!`) reduce the strict null checking score — ~0.5 `!` null assertions per 1k TypeScript source lines — 110 assertion(s) across the 223036 source line(s) of the 981 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: typescript/wow-view-engine/src/dashboard/layout.ts (10), typescript/wow-generator/src/analysis/apiClients.ts (9), typescript/storybook/stories/view-engine/themeContrast.tsx (7). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:348— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:366— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:389— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:420— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:431— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:600— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:635— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:690— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:818— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:847— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:878— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:931— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:963— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Skipped (documented): (unnamed test) typescript/wow-view-engine/test/conformance/viewStoreConformance.ts:993— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skipIf
Appendix B — Reproduction & audit trail
Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.
semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 216 file(s) — `.github/scripts/breaking-label.mjs`, `.github/scripts/release-admission.mjs`, `api/query-api/src/main/kotlin/me/ahoo/wow/api/query/AggregationQuery.kt`, `api/query-api/src/main/kotlin/me/ahoo/wow/api/query/annotation/Sensitive.kt`, `backends/clickhouse/src/main/kotlin/me/ahoo/wow/clickhouse/query/ClickHouseExecutor.kt`, … (+211 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real.
runtime-hardening: not applicable — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.
Run 01a16597-54f3-70e1-a8e9-3ea5cd909b72 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 180 · Warnings: 946 · Recommendations: 126 · Info: 14 — Appendix A · all findings · full markdown report.
Generated by Watchdog — deterministic code-health analysis. 22-10-2026 @ 21:49 UTC.
Downloadable artifacts
Machine-readable and reproducible from this commit + frozen rubric — drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.