Public report — cypress, published 28 Sep 2026.
Concrete security findings (which rule fired, in which file, on which line; CVE IDs, secret matches,
dependency versions) are REDACTED in this version; ask the repo owner for the full report.
Public
Codebase surveyMeasured under the Code Assurance Index · rubric rubric-2026.09.16 (frozen) · verify this surveyFiledcd_c95f6e393c044ddd97a68b7803489ea8
Filed 28 September 2026, 08:04 UTC
Public
Large · 222,436 LoC · 176 projects · rebuild ~3.0 person-years · weakest lens: Readiness (33%)
Findings by grade
337 critical2482 serious920 minor47 could not be resolved — could be critical — see Limitations
This survey was produced by
Watchdog
Producer
Canine Development
Analyzer
Watchdog engine 1.0.0
Measured
28 September 2026, 06:34 UTC
A measurement, not a certificate. The Code Assurance Index does not certify,
approve or guarantee this codebase; it records a reproducible number and the evidence it was computed from. The
standard is authored by Canine Development, who also build Watchdog — its only implementation today. That is said
here so the number is checked rather than believed.
Grounded in facts. Every number here is computed, not narrated — reproducible, tool-backed, and traceable to a line of code. How to trust this ▸
3518findings with an exact file:lineof 3739 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
62/132dimensions across the health lenses222436 LoC · 176 projects — wide & deep
⚠ A critical security finding caps this grade — resolve it before relying on the score below; see the Security lens.
The platform is a large, valuable asset currently rated at risk, with an overall health score of 44%. While the codebase is substantial, its operational fragility threatens business continuity and delivery speed. The system is too critical to ignore, yet too unstable to scale confidently without immediate intervention.
The most pressing issue is operational readiness. With a score of just 33%, the system lacks the safeguards needed for reliable production use. This gap exposes the business to significant outage risks and recovery delays. Without proper disaster recovery protocols, a single failure could halt operations for an extended period, directly impacting revenue and customer trust. The cost of inaction is high, as every change carries a hidden tax on velocity due to code complexity and duplication.
A secondary concern is the architectural drift that slows development. The code quality signals suggest that modifications in weaker areas cost 5–12% more effort than in clean code. This inefficiency compounds over time, draining engineering resources and delaying feature delivery. While the core logic is sound, the surrounding structure requires attention to maintain long-term agility and reduce technical debt.
On the positive side, the codebase is well-structured with no boilerplate or straight-line logic, indicating a mature design approach. The team has invested in a robust foundation, which provides a solid base for remediation efforts. This strength ensures that improvements will have lasting impact rather than being temporary patches.
Focus first on codifying backups and geo-recovery in infrastructure as code. This single action addresses the highest risk and pays for itself within months by preventing costly outages. Once disaster recovery is secured, address the operational readiness gaps to stabilize the system. This prioritized approach maximizes protection with minimal initial effort, ensuring the business can continue to innovate safely.
How the score is built — each lens's share of the headlineWidth is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
2790 finding(s) are new versus the previous scan (2026-08-07) — surfaced by this scheduled scan itself, no pull request required. Showing the first 100; the full set is in the report.
A full-fidelity diff against the previous run's complete recorded findings — line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.
Rebuild cost & value ~ Modeled — €140,000–€720,000
0.7× (at 44% quality) — the last 20% of quality is most of the work
Size & shape
Large · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk)
This codebase represents roughly ~3.0 person-years of build effort (about ~€430,000 to rebuild). Its weakest lens is Readiness at 33% — the part of that asset most exposed by the findings below.
How we model this: boilerplate at a scaffolding rate + logic × domain Standard (×1.0) — standard service × a 0.7× quality factor, at €60–95/h; indicative, ±~30% · size measured directly from source · effort from total production LoC as straight-line logic (the tier split is a C#-only syntax walk), a conservative lower bound. Indicative only — most sensitive to the hourly rate and the domain tier (both tunable in config).
Top priorities
The highest-leverage moves; the full ranked list is in the Roadmap below.
1
Resolve the 1 Inverted test pyramid finding(s) in Test Distribution.
Value concentrated against a weak lens · High · Value at risk
This is a Large asset (~3.0 person-years to rebuild), and its weakest lens is Readiness at 33%. The operational and business risk on an asset this size concentrates there — that's where remediation buys the most protection.
→ Direct remediation budget at Readiness first — highest risk-reduction per euro on an asset this size.
The top fix pays for itself · High · Economics
The top-ranked fix costs roughly 1–3 engineer-days once. Not doing it costs about 44.2–265 engineer-days every year, paid as drag on the ~343,903 lines this team changes annually — a bill that arrives whether or not anyone books it. On those figures the fix breaks even in roughly 1–2 months and is free after that. Method, stated so this is not read as a quotation: debt from the ranked task's effort band; interest = annual changed lines (measured, annualised from the 90-day window) ÷ an ASSUMED 150–400 lines per engineer-day × the 5–12% drag implied by the code-quality signals; breaking point = debt ÷ annual interest. A modelled planning range built from measured inputs and one named assumption — not a quotation, a valuation, or a certified figure.
Evidence: D15 churn: 84,798 line(s) changed over a 90-day window ⇒ ~343,903/year · D1/D2 code quality: averaging 5.9/10 ⇒ a 5–12% drag on each change · top-ranked remediation: Low effort ⇒ about 1–3 engineer-day(s)
→ Do the top-ranked fix now if this code will still be yours in 2 months.
Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
A velocity tax on every change · Medium · Economics
The code-quality signals (complexity, duplication, cohesion) average 5.9/10, which acts as a tax on every change in the weaker areas: modifications there plausibly cost on the order of 5–12% more than in clean code, and the tax compounds as the codebase grows. (A modelled estimate, not a measured fact.)
Evidence: D1/D2 code quality: averaging 5.9/10 across the code-quality signals actually measured
→ Pay it down where churn is highest — the hotspots — not everywhere; that's where the tax is actually paid.
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 — module dependency matrix
Rows and columns are the same modules, ordered so that a module only depends on ones above it. A cell means the row depends on the column, and its number is how many type pairs create that dependency. Read one thing: is anything above the diagonal? A mark there is a dependency cycle. (A cycle is all this shows — an unusual but cycle-free dependency sits below the diagonal like any other.)
1106 modules, 824 dependencies. 4 dependency cycles across 45 modules, marked above the diagonal.
Showing the 40 most-connected modules; 1066 more are not drawn.
Module dependency matrix. The row depends on the column; the number is how many type pairs create the dependency. A cell above the diagonal is part of a dependency cycle.
cli.lib.tap.types uses packages.cypress-sessions.lib.contracts.pinned. Changing packages.cypress-sessions.lib.contracts.pinned can break cli.lib.tap.types, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
15→5 packages.data-context.src.data.coreDataShape depends on packages.cypress-sessions.lib.generated.graphql✕
Type pairs
3 distinct (type in packages.data-context.src.data.coreDataShape → type in packages.cypress-sessions.lib.generated.graphql) references.
packages.data-context.src.data.coreDataShape uses packages.cypress-sessions.lib.generated.graphql. Changing packages.cypress-sessions.lib.generated.graphql can break packages.data-context.src.data.coreDataShape, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
15→8 packages.data-context.src.data.coreDataShape depends on packages.https-proxy.lib.server✕
Type pairs
1 distinct (type in packages.data-context.src.data.coreDataShape → type in packages.https-proxy.lib.server) reference.
packages.data-context.src.data.coreDataShape uses packages.https-proxy.lib.server. Changing packages.https-proxy.lib.server can break packages.data-context.src.data.coreDataShape, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
16→6 packages.driver.src.cypress.cy depends on packages.driver.src.cypress.state✕
Type pairs
1 distinct (type in packages.driver.src.cypress.cy → type in packages.driver.src.cypress.state) reference.
packages.driver.src.cypress.cy uses packages.driver.src.cypress.state. Changing packages.driver.src.cypress.state can break packages.driver.src.cypress.cy, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
17→6 packages.driver.src.cypress.log depends on packages.driver.src.cypress.state✕
Type pairs
1 distinct (type in packages.driver.src.cypress.log → type in packages.driver.src.cypress.state) reference.
packages.driver.src.cypress.log uses packages.driver.src.cypress.state. Changing packages.driver.src.cypress.state can break packages.driver.src.cypress.log, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
18→1 packages.network-interception.lib.types.external-types depends on cli.types.tests.cypress-tests✕
Type pairs
1 distinct (type in packages.network-interception.lib.types.external-types → type in cli.types.tests.cypress-tests) reference.
packages.network-interception.lib.types.external-types uses cli.types.tests.cypress-tests. Changing cli.types.tests.cypress-tests can break packages.network-interception.lib.types.external-types, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
19→13 packages.proxy.lib.http depends on packages.types.src.protocol✕
Type pairs
1 distinct (type in packages.proxy.lib.http → type in packages.types.src.protocol) reference.
packages.reporter.src.commands.command-model uses packages.types.src.driver. Changing packages.types.src.driver can break packages.reporter.src.commands.command-model, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
21→11 packages.reporter.src.header.stats-store depends on packages.types.src.driver✕
Type pairs
1 distinct (type in packages.reporter.src.header.stats-store → type in packages.types.src.driver) reference.
packages.reporter.src.header.stats-store uses packages.types.src.driver. Changing packages.types.src.driver can break packages.reporter.src.header.stats-store, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
22→12 packages.types.src.server depends on packages.types.src.modeOptions✕
Type pairs
1 distinct (type in packages.types.src.server → type in packages.types.src.modeOptions) reference.
packages.types.src.server uses packages.types.src.modeOptions. Changing packages.types.src.modeOptions can break packages.types.src.server, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
22→13 packages.types.src.server depends on packages.types.src.protocol✕
Type pairs
1 distinct (type in packages.types.src.server → type in packages.types.src.protocol) reference.
cli.lib.tap uses packages.reporter.src.commands.command-model. Changing packages.reporter.src.commands.command-model can break cli.lib.tap, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
24→4 cli.lib.tap.render depends on packages.cypress-sessions.lib.contracts.pinned✕
Type pairs
1 distinct (type in cli.lib.tap.render → type in packages.cypress-sessions.lib.contracts.pinned) reference.
cli.lib.tap.render uses packages.cypress-sessions.lib.contracts.pinned. Changing packages.cypress-sessions.lib.contracts.pinned can break cli.lib.tap.render, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
24→14 cli.lib.tap.render depends on cli.lib.tap.types✕
Type pairs
1 distinct (type in cli.lib.tap.render → type in cli.lib.tap.types) reference.
packages.data-context.src.actions.ProjectActions uses packages.types.src.modeOptions. Changing packages.types.src.modeOptions can break packages.data-context.src.actions.ProjectActions, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
25→22 packages.data-context.src.actions.ProjectActions depends on packages.types.src.server✕
Type pairs
3 distinct (type in packages.data-context.src.actions.ProjectActions → type in packages.types.src.server) references.
packages.data-context.src.actions.ProjectActions uses packages.types.src.server. Changing packages.types.src.server can break packages.data-context.src.actions.ProjectActions, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
25→30 packages.data-context.src.actions.ProjectActions depends on packages.data-context.src.DataContextcycle✕
Type pairs
1 distinct (type in packages.data-context.src.actions.ProjectActions → type in packages.data-context.src.DataContext) reference.
packages.data-context.src.actions.ProjectActions uses packages.data-context.src.DataContext. Changing packages.data-context.src.DataContext can break packages.data-context.src.actions.ProjectActions, not the reverse.
Position
Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
26→6 packages.driver.src.cy depends on packages.driver.src.cypress.state✕
Type pairs
9 distinct (type in packages.driver.src.cy → type in packages.driver.src.cypress.state) references.
packages.driver.src.cy uses packages.driver.src.cypress.state. Changing packages.driver.src.cypress.state can break packages.driver.src.cy, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
26→7 packages.driver.src.cy depends on packages.frontend-shared.src.graphql.urqlClient✕
Type pairs
2 distinct (type in packages.driver.src.cy → type in packages.frontend-shared.src.graphql.urqlClient) references.
packages.driver.src.cy uses packages.frontend-shared.src.graphql.urqlClient. Changing packages.frontend-shared.src.graphql.urqlClient can break packages.driver.src.cy, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
26→16 packages.driver.src.cy depends on packages.driver.src.cypress.cy✕
Type pairs
2 distinct (type in packages.driver.src.cy → type in packages.driver.src.cypress.cy) references.
packages.driver.src.cy.commands uses packages.driver.src.cypress.state. Changing packages.driver.src.cypress.state can break packages.driver.src.cy.commands, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
27→7 packages.driver.src.cy.commands depends on packages.frontend-shared.src.graphql.urqlClient✕
Type pairs
1 distinct (type in packages.driver.src.cy.commands → type in packages.frontend-shared.src.graphql.urqlClient) reference.
packages.driver.src.cy.commands uses packages.frontend-shared.src.graphql.urqlClient. Changing packages.frontend-shared.src.graphql.urqlClient can break packages.driver.src.cy.commands, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
27→16 packages.driver.src.cy.commands depends on packages.driver.src.cypress.cy✕
Type pairs
1 distinct (type in packages.driver.src.cy.commands → type in packages.driver.src.cypress.cy) reference.
packages.driver.src.cy.commands uses packages.driver.src.cypress.cy. Changing packages.driver.src.cypress.cy can break packages.driver.src.cy.commands, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
28→11 packages.reporter.src.attempts.attempt-model depends on packages.types.src.driver✕
Type pairs
1 distinct (type in packages.reporter.src.attempts.attempt-model → type in packages.types.src.driver) reference.
packages.reporter.src.attempts.attempt-model uses packages.types.src.driver. Changing packages.types.src.driver can break packages.reporter.src.attempts.attempt-model, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
28→20 packages.reporter.src.attempts.attempt-model depends on packages.reporter.src.commands.command-model✕
Type pairs
1 distinct (type in packages.reporter.src.attempts.attempt-model → type in packages.reporter.src.commands.command-model) reference.
packages.reporter.src.attempts.attempt-model uses packages.reporter.src.commands.command-model. Changing packages.reporter.src.commands.command-model can break packages.reporter.src.attempts.attempt-model, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
28→31 packages.reporter.src.attempts.attempt-model depends on packages.reporter.src.test.test-modelcycle✕
Type pairs
3 distinct (type in packages.reporter.src.attempts.attempt-model → type in packages.reporter.src.test.test-model) references.
packages.reporter.src.attempts.attempt-model uses packages.reporter.src.test.test-model. Changing packages.reporter.src.test.test-model can break packages.reporter.src.attempts.attempt-model, not the reverse.
Position
Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
28→35 packages.reporter.src.attempts.attempt-model depends on packages.reporter.src.runnables.runnables-storecycle✕
Type pairs
1 distinct (type in packages.reporter.src.attempts.attempt-model → type in packages.reporter.src.runnables.runnables-store) reference.
packages.reporter.src.attempts.attempt-model uses packages.reporter.src.runnables.runnables-store. Changing packages.reporter.src.runnables.runnables-store can break packages.reporter.src.attempts.attempt-model, not the reverse.
Position
Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
29→22 packages.server.lib.automation.automation depends on packages.types.src.server✕
Type pairs
1 distinct (type in packages.server.lib.automation.automation → type in packages.types.src.server) reference.
packages.server.lib.automation.automation uses packages.types.src.server. Changing packages.types.src.server can break packages.server.lib.automation.automation, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
30→15 packages.data-context.src.DataContext depends on packages.data-context.src.data.coreDataShape✕
Type pairs
2 distinct (type in packages.data-context.src.DataContext → type in packages.data-context.src.data.coreDataShape) references.
packages.data-context.src.DataContext uses packages.data-context.src.data.coreDataShape. Changing packages.data-context.src.data.coreDataShape can break packages.data-context.src.DataContext, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
30→25 packages.data-context.src.DataContext depends on packages.data-context.src.actions.ProjectActions✕
Type pairs
1 distinct (type in packages.data-context.src.DataContext → type in packages.data-context.src.actions.ProjectActions) reference.
packages.data-context.src.DataContext uses packages.data-context.src.actions.ProjectActions. Changing packages.data-context.src.actions.ProjectActions can break packages.data-context.src.DataContext, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
30→34 packages.data-context.src.DataContext depends on packages.data-context.src.DataActionscycle✕
Type pairs
1 distinct (type in packages.data-context.src.DataContext → type in packages.data-context.src.DataActions) reference.
packages.data-context.src.DataContext uses packages.data-context.src.DataActions. Changing packages.data-context.src.DataActions can break packages.data-context.src.DataContext, not the reverse.
Position
Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
31→20 packages.reporter.src.test.test-model depends on packages.reporter.src.commands.command-model✕
Type pairs
1 distinct (type in packages.reporter.src.test.test-model → type in packages.reporter.src.commands.command-model) reference.
packages.reporter.src.test.test-model uses packages.reporter.src.commands.command-model. Changing packages.reporter.src.commands.command-model can break packages.reporter.src.test.test-model, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
31→28 packages.reporter.src.test.test-model depends on packages.reporter.src.attempts.attempt-model✕
Type pairs
1 distinct (type in packages.reporter.src.test.test-model → type in packages.reporter.src.attempts.attempt-model) reference.
packages.reporter.src.test.test-model uses packages.reporter.src.attempts.attempt-model. Changing packages.reporter.src.attempts.attempt-model can break packages.reporter.src.test.test-model, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
31→35 packages.reporter.src.test.test-model depends on packages.reporter.src.runnables.runnables-storecycle✕
Type pairs
2 distinct (type in packages.reporter.src.test.test-model → type in packages.reporter.src.runnables.runnables-store) references.
packages.reporter.src.test.test-model uses packages.reporter.src.runnables.runnables-store. Changing packages.reporter.src.runnables.runnables-store can break packages.reporter.src.test.test-model, not the reverse.
Position
Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
32→18 packages.server.lib.browsers depends on packages.network-interception.lib.types.external-types✕
Type pairs
1 distinct (type in packages.server.lib.browsers → type in packages.network-interception.lib.types.external-types) reference.
packages.server.lib.browsers uses packages.network-interception.lib.types.external-types. Changing packages.network-interception.lib.types.external-types can break packages.server.lib.browsers, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
32→29 packages.server.lib.browsers depends on packages.server.lib.automation.automation✕
Type pairs
6 distinct (type in packages.server.lib.browsers → type in packages.server.lib.automation.automation) references.
packages.server.lib.browsers uses packages.server.lib.automation.automation. Changing packages.server.lib.automation.automation can break packages.server.lib.browsers, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
33→12 packages.server.lib.server-base depends on packages.types.src.modeOptions✕
Type pairs
2 distinct (type in packages.server.lib.server-base → type in packages.types.src.modeOptions) references.
packages.server.lib.server-base uses packages.types.src.modeOptions. Changing packages.types.src.modeOptions can break packages.server.lib.server-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
33→13 packages.server.lib.server-base depends on packages.types.src.protocol✕
Type pairs
1 distinct (type in packages.server.lib.server-base → type in packages.types.src.protocol) reference.
packages.server.lib.server-base uses packages.types.src.protocol. Changing packages.types.src.protocol can break packages.server.lib.server-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
33→29 packages.server.lib.server-base depends on packages.server.lib.automation.automation✕
Type pairs
1 distinct (type in packages.server.lib.server-base → type in packages.server.lib.automation.automation) reference.
packages.server.lib.server-base uses packages.server.lib.automation.automation. Changing packages.server.lib.automation.automation can break packages.server.lib.server-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
33→37 packages.server.lib.server-base depends on packages.server.lib.project-basecycle✕
Type pairs
1 distinct (type in packages.server.lib.server-base → type in packages.server.lib.project-base) reference.
packages.server.lib.server-base uses packages.server.lib.project-base. Changing packages.server.lib.project-base can break packages.server.lib.server-base, not the reverse.
Position
Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
34→25 packages.data-context.src.DataActions depends on packages.data-context.src.actions.ProjectActions✕
Type pairs
1 distinct (type in packages.data-context.src.DataActions → type in packages.data-context.src.actions.ProjectActions) reference.
packages.data-context.src.DataActions uses packages.data-context.src.actions.ProjectActions. Changing packages.data-context.src.actions.ProjectActions can break packages.data-context.src.DataActions, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
34→30 packages.data-context.src.DataActions depends on packages.data-context.src.DataContext✕
Type pairs
1 distinct (type in packages.data-context.src.DataActions → type in packages.data-context.src.DataContext) reference.
packages.data-context.src.DataActions uses packages.data-context.src.DataContext. Changing packages.data-context.src.DataContext can break packages.data-context.src.DataActions, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
35→10 packages.reporter.src.runnables.runnables-store depends on packages.reporter.src.lib.app-state✕
Type pairs
2 distinct (type in packages.reporter.src.runnables.runnables-store → type in packages.reporter.src.lib.app-state) references.
packages.reporter.src.runnables.runnables-store uses packages.reporter.src.lib.app-state. Changing packages.reporter.src.lib.app-state can break packages.reporter.src.runnables.runnables-store, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
35→11 packages.reporter.src.runnables.runnables-store depends on packages.types.src.driver✕
Type pairs
2 distinct (type in packages.reporter.src.runnables.runnables-store → type in packages.types.src.driver) references.
packages.reporter.src.runnables.runnables-store uses packages.types.src.driver. Changing packages.types.src.driver can break packages.reporter.src.runnables.runnables-store, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
35→31 packages.reporter.src.runnables.runnables-store depends on packages.reporter.src.test.test-model✕
Type pairs
3 distinct (type in packages.reporter.src.runnables.runnables-store → type in packages.reporter.src.test.test-model) references.
packages.reporter.src.runnables.runnables-store uses packages.reporter.src.test.test-model. Changing packages.reporter.src.test.test-model can break packages.reporter.src.runnables.runnables-store, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
36→3 packages.server.lib depends on packages.cypress-sessions.lib✕
Type pairs
1 distinct (type in packages.server.lib → type in packages.cypress-sessions.lib) reference.
packages.server.lib uses packages.data-context.src.DataContext. Changing packages.data-context.src.DataContext can break packages.server.lib, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
37→12 packages.server.lib.project-base depends on packages.types.src.modeOptions✕
Type pairs
2 distinct (type in packages.server.lib.project-base → type in packages.types.src.modeOptions) references.
packages.server.lib.project-base uses packages.types.src.modeOptions. Changing packages.types.src.modeOptions can break packages.server.lib.project-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
37→13 packages.server.lib.project-base depends on packages.types.src.protocol✕
Type pairs
1 distinct (type in packages.server.lib.project-base → type in packages.types.src.protocol) reference.
packages.server.lib.project-base uses packages.types.src.protocol. Changing packages.types.src.protocol can break packages.server.lib.project-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
37→22 packages.server.lib.project-base depends on packages.types.src.server✕
Type pairs
1 distinct (type in packages.server.lib.project-base → type in packages.types.src.server) reference.
packages.server.lib.project-base uses packages.types.src.server. Changing packages.types.src.server can break packages.server.lib.project-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
37→29 packages.server.lib.project-base depends on packages.server.lib.automation.automation✕
Type pairs
1 distinct (type in packages.server.lib.project-base → type in packages.server.lib.automation.automation) reference.
packages.server.lib.project-base uses packages.server.lib.automation.automation. Changing packages.server.lib.automation.automation can break packages.server.lib.project-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
37→30 packages.server.lib.project-base depends on packages.data-context.src.DataContext✕
Type pairs
1 distinct (type in packages.server.lib.project-base → type in packages.data-context.src.DataContext) reference.
packages.server.lib.project-base uses packages.data-context.src.DataContext. Changing packages.data-context.src.DataContext can break packages.server.lib.project-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
37→33 packages.server.lib.project-base depends on packages.server.lib.server-base✕
Type pairs
1 distinct (type in packages.server.lib.project-base → type in packages.server.lib.server-base) reference.
packages.server.lib.project-base uses packages.server.lib.server-base. Changing packages.server.lib.server-base can break packages.server.lib.project-base, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
38→10 packages.reporter.src.lib.events depends on packages.reporter.src.lib.app-state✕
Type pairs
2 distinct (type in packages.reporter.src.lib.events → type in packages.reporter.src.lib.app-state) references.
packages.reporter.src.lib.events uses packages.reporter.src.lib.app-state. Changing packages.reporter.src.lib.app-state can break packages.reporter.src.lib.events, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
38→21 packages.reporter.src.lib.events depends on packages.reporter.src.header.stats-store✕
Type pairs
2 distinct (type in packages.reporter.src.lib.events → type in packages.reporter.src.header.stats-store) references.
packages.reporter.src.lib.events uses packages.reporter.src.header.stats-store. Changing packages.reporter.src.header.stats-store can break packages.reporter.src.lib.events, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
38→35 packages.reporter.src.lib.events depends on packages.reporter.src.runnables.runnables-store✕
Type pairs
2 distinct (type in packages.reporter.src.lib.events → type in packages.reporter.src.runnables.runnables-store) references.
packages.reporter.src.lib.events uses packages.reporter.src.runnables.runnables-store. Changing packages.reporter.src.runnables.runnables-store can break packages.reporter.src.lib.events, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
39→13 packages.server.lib.util depends on packages.types.src.protocol✕
Type pairs
1 distinct (type in packages.server.lib.util → type in packages.types.src.protocol) reference.
packages.server.lib.util uses packages.server.lib.project-base. Changing packages.server.lib.project-base can break packages.server.lib.util, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
40→2 packages.driver.src.cypress depends on npm.grep.src✕
Type pairs
4 distinct (type in packages.driver.src.cypress → type in npm.grep.src) references.
packages.driver.src.cypress uses packages.driver.src.cypress.state. Changing packages.driver.src.cypress.state can break packages.driver.src.cypress, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
40→7 packages.driver.src.cypress depends on packages.frontend-shared.src.graphql.urqlClient✕
Type pairs
2 distinct (type in packages.driver.src.cypress → type in packages.frontend-shared.src.graphql.urqlClient) references.
packages.driver.src.cypress uses packages.frontend-shared.src.graphql.urqlClient. Changing packages.frontend-shared.src.graphql.urqlClient can break packages.driver.src.cypress, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
40→11 packages.driver.src.cypress depends on packages.types.src.driver✕
Type pairs
2 distinct (type in packages.driver.src.cypress → type in packages.types.src.driver) references.
packages.driver.src.cypress uses packages.driver.src.cypress.cy. Changing packages.driver.src.cypress.cy can break packages.driver.src.cypress, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
40→38 packages.driver.src.cypress depends on packages.reporter.src.lib.events✕
Type pairs
1 distinct (type in packages.driver.src.cypress → type in packages.reporter.src.lib.events) reference.
packages.driver.src.cypress uses packages.reporter.src.lib.events. Changing packages.reporter.src.lib.events can break packages.driver.src.cypress, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
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
A06:2021 — Vulnerable & Outdated Components
158
High / Critical
A03:2021 — Injection
85
High / Critical
A02:2021 — Cryptographic Failures
6
High / Critical
A05:2021 — Security Misconfiguration
4
High / Critical
A04:2021 — Insecure Design
2
Medium
Roadmap
First, codify disaster recovery by defining RTO/RPO and documenting restore procedures within infrastructure as code, as current persistence guards are insufficient. Second, harden outbound HTTP resilience by enforcing timeouts, retries with back-off, and circuit breakers on all external calls. Third, clean up dependencies by removing unused packages, explicitly declaring imports, and moving type- and test-only tools to development dependencies. Finally, address the inverted test pyramid and resolve version conflicts where packages exist at multiple major versions across the workspace.
Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.
Do this
Helps
Effort
Dimension
Resolve the 1 Inverted test pyramid finding(s) in Test Distribution.
Bound every outbound call: pass `signal: AbortSignal.timeout(ms)` to `fetch`, set `timeout` on the axios instance (`axios.create({ timeout })`), and add retries with back-off (`axios-retry`, `p-retry`) and a breaker (`opossum`, `cockatiel`) around dependencies that fail.
Test Quality: No assertions (empty test): quux4 passes
packages/driver/cypress/e2e/commands/clock.cy.js
4.1
Mixed
Test Quality: No assertions (empty test): works the first time
packages/driver/cypress/e2e/cypress/runner.cy.ts
4.3
Mixed
Test Quality: No assertions (empty test): is not pending
How the grades work
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 — 337
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 — 2482
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 — 920
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved — 47
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. 58 of 62 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 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 — 62 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, 3518 of 3739 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.
D6 Cohesion (LCOM4) — 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.
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: the JavaScript/TypeScript half could not be measured — the dependency install for packages/agent-info/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. Coverage is excluded from the score rather than counted as a near-zero. This is OUR limitation, not a defect in the repo. In the meantime, commit (or publish into the working tree) the lcov/Cobertura report your CI produces and the real number is read on the next scan. You can widen what we reach: optional: commit the lcov/Cobertura report your CI produces, and the real number is read on the next scan.
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 MEASURED: the JavaScript/TypeScript suite could not be re-run in the analyzer sandbox — the dependency install for cli/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repo — it is excluded from the score.
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 vitest suite in cli/ was NOT MEASURED: the dependency install for cli/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in npm/cypress-schematic/ was NOT MEASURED: the dependency install for npm/cypress-schematic/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in npm/eslint-plugin-dev/ was NOT MEASURED: the dependency install for npm/eslint-plugin-dev/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in npm/grep/ was NOT MEASURED: the dependency install for npm/grep/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in npm/puppeteer/ was NOT MEASURED: the dependency install for npm/puppeteer/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in npm/vite-dev-server/ was NOT MEASURED: the dependency install for npm/vite-dev-server/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in npm/webpack-batteries-included-preprocessor/ was NOT MEASURED: the dependency install for npm/webpack-batteries-included-preprocessor/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in npm/webpack-dev-server/ was NOT MEASURED: the dependency install for npm/webpack-dev-server/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in npm/webpack-preprocessor/ was NOT MEASURED: the dependency install for npm/webpack-preprocessor/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
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 vitest suite in packages/agent-info/ was NOT MEASURED: the dependency install for packages/agent-info/ failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
D22 Internal API Consistency — 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. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (npm/angular/package.json), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
D32 Data Compliance (PII/GDPR) — 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. `cli/lib/tap/commands/status.ts`, `packages/cypress-sessions/lib/tap-contract.ts`, `packages/cypress-sessions/lib/tap-errors.ts`, `packages/driver/cypress/e2e/commands/command_option_immutability.cy.ts`, `packages/driver/src/cypress/state.ts`, … (+4 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.
AX1 Captive dependencies — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
AX2 Stateful singletons — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
AX6 Interface segregation — 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 is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
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. These personal data 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 personal data controls.
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. These audit 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 audit controls.
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. These retention 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 retention controls.
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. These data-subject rights 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 data-subject rights controls.
ED5 Idempotency — 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 finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
GD1 Unfinished & placeholder code — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
IC1 Incompleteness & stubs — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
P10 Library API & versioning — 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 reads NuGet packaging and C# public API only, and no .NET project was loaded for this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
PF1 Benchmark discipline — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
PF2 Allocation 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. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
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. 127 further occurrence(s) are not listed individually; the score already reflects all 167.
R11 Import Boundaries — 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. 138 further occurrence(s) are not listed individually; the score already reflects all 178.
R4 Test Coverage — 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. 165 further occurrence(s) are not listed individually; the score already reflects all 205.
R7 Dead Code — 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. 14 further occurrence(s) are not listed individually; the score already reflects all 54.
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.
X1 Async correctness — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X10 Duplicated predicate — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X12 Unreachable branch — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X13 Undrained process stream — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X14 Bypassable address classification — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X15 Unvalidated length from an untrusted reader — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X16 Unfloored truncation loop — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X17 Uncapped recursion over a caller-supplied document — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X18 Disposal-pattern correctness — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X19 Unrestored process-global state — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X2 Cancellation propagation — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X20 Mistyped argument guard — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X21 Side-effecting pattern guard — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X22 Contradicted release guard — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X23 Unguarded diagnostic materialisation — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X24 Document value interpolated into markup unescaped — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X25 Inert configuration knob — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X26 Unsynchronised callback handoff — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X27 Collection changed while being enumerated — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X28 Index access outside its own emptiness guard — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X29 Per-element action decided by a fixed element — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X3 Exception handling — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X30 Support guard that admits what it rejects — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X32 Type resolved by simple name across every loaded assembly — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X4 Structured logging — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X5 Nullable reference types — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X6 Hand-rolled structured-format parsing — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
X7 Silent fallback defaults — 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 is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Repo exclusion declarations: 105 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.
D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
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.
D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
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").
D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
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.
D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
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.
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.
D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
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.
D32 Data Compliance (PII/GDPR): PII/GDPR signals are heuristic pattern matches in code — they flag likely handling concerns, not legal compliance, and cannot trace where data actually flows at runtime.
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.
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 (4): D19, D21, 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.
109 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was inspect.create at 87. A further 4 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 ServerBase._onResolveUrl at 23 — they are counted neither in the figure above nor in this dimension's score. 4 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: packages/server/lib/server-base.ts (ServerBase._onResolveUrl at 23), packages/packherd-require/src/require.ts (require.packherdRequire at 19), packages/server/lib/browsers/bidi_automation.ts (bidi_automation.normalizeResourceType at 17), packages/server/lib/browsers/webkit-automation.ts (WebKitAutomation.onRequest at 16). 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.
+ 102 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 inspect.create (cyclomatic 87) finding(s) in Cyclomatic Complexity — start with inspect.ts. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 $Cypress.action (cyclomatic 85) finding(s) in Cyclomatic Complexity — start with cypress.ts. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 mouse.create (cyclomatic 78) finding(s) in Cyclomatic Complexity — start with mouse.ts. — One of this dimension's main actionable groups (1 warning-level).
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.
+ 124 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 inspect.create (cognitive 108) finding(s) in Cognitive Complexity — start with inspect.ts. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 navigation.default (cognitive 82) finding(s) in Cognitive Complexity — start with navigation.ts. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 mouse.create (cognitive 75) finding(s) in Cognitive Complexity — start with mouse.ts. — One of this dimension's main actionable groups (1 warning-level).
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 42 FunctionTooLong finding(s) in God Classes — start with Alert.cy.tsx (3), run.ts (3), ci_provider.ts (2). — One of this dimension's main actionable groups (42 warning-level).
Resolve the 12 FileTooLong finding(s) in God Classes — start with errors.ts, keyboard.ts, server-base.ts. — One of this dimension's main actionable groups (12 warning-level).
Resolve the 9 MethodTooLong finding(s) in God Classes — start with cdp-fetch-transport.ts (2), event-manager.ts (2), socket-base.ts. — One of this dimension's main actionable groups (9 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.
Do you agree with this assessment?
D5 · Coupling10.0 / 10Exemplary✓ 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.
49 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations, and main-sequence distance (abstractness) is not computed for these modules yet.
✓ On the Gold path — maintain.
Detailed fixes: d5_recommendation.md.
Do you agree with this assessment?
D9 · Test Distribution1.7 / 10Critical✓ 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.
15715 test methods: 6233 unit, 423 integration, 0 BDD, 9059 e2e. The JavaScript/TypeScript suite contributes 15715 `it`/`test` case(s) across 1697 test file(s) declaring at least one; its tier split is read from package names and paths only.
Inverted test pyramid
What to do
Resolve the 1 Inverted test pyramid finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d9_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D10 · Test Quality8.5 / 10Adequategated by 151 critical 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.
113 skipped (113 with a documented reason), 1975 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 15712 tests (8 harness-style project(s) excluded from the assertion penalty).
No assertions (empty test): accepts a request with any req/res body by default · ×143cli/types/tests/net-stubbing-tests.ts:385
Assertions commented out: events when element moved on mousedown · ×8packages/driver/cypress/e2e/commands/actions/click.cy.ts:376
No assertions: states each condition and remedy as a finished sentence · ×1271cli/test/lib/tap/tap-errors.spec.ts:88
Test project verifies nothing: system-tests/projects/angular-custom-root · ×5system-tests/projects/angular-custom-root/ui/app/app.component.cy.ts:4
No direct assertions: handles module interop, object spread, class properties, and async/await · ×553npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:34
+ 1 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 143 No assertions (empty test) finding(s) in Test Quality — start with cypress-tests.ts (12), hook_caught_error_failing.cy.js (10), hook_uncaught_error_failing.cy.js (7). — One of this dimension's main actionable groups (143 issue-level).
Resolve the 8 Assertions commented out finding(s) in Test Quality — start with click.cy.ts (8). — One of this dimension's main actionable groups (8 issue-level).
Resolve the 1271 No assertions finding(s) in Test Quality — start with config_spec.ts (125), net-stubbing-tests.ts (56), type_special_chars.cy.ts (53). — One of this dimension's main actionable groups (1271 warning-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 dependencies are current, secure, and not bloated.
Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.
179 outdated direct production npm dependency(ies) of 267 graded, 18 pinning defect(s), across 156 package.json (150 of them the product) and 119 committed lockfile(s). 267 of 270 resolved direct production dependency(ies) were graded against registry.npmjs.org (3 not published there — private or renamed). Development dependencies are deliberately not graded: this dimension grades what SHIPS. Whether any of these packages is DEPRECATED or UNMAINTAINED is not graded — registry.npmjs.org's latest-version answer carries neither, and release age does not stand in for a maintenance status. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
One package at two majors across the workspace: @angular/common · ×18
Outdated (npm): @angular/common · ×179
What to do
Resolve the 18 One package at two majors across the workspace finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (18 warning-level).
Detailed fixes: d12_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.
Resolve the 1 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d13_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the licenses of third-party packages are compatible with your policy.
Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.
0 of 267 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 270 production dependency(ies) this repository's committed lockfile resolves, across 150 product package.json manifest(s). Its 1365 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. 2 of them publish no licence this pass can read on registry.npmjs.org — an absent field, `UNLICENSED`, or a `SEE LICENSE IN <file>` pointer into a tarball this pass does not download; that is missing data, not a violation, and none of them is charged. A further 3 package(s) the lockfile resolves are not published on the public registry at all — a private scope, a workspace-internal name or a git install — and are outside this verdict. This repository publishes itself under ISC / MIT, which is its own choice and is not judged here.
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.
Resolve the 28 Hotspot finding(s) in Churn × Complexity Hotspots — start with cdp-fetch-transport.ts, server-base.ts, socket-base.ts. — One of this dimension's main actionable groups (28 warning-level).
Resolve the 1 Repeated repair finding(s) in Churn × Complexity Hotspots — start with ProjectConfigManager.ts. — One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d15_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D16 · Bus Factor9.3 / 10Exemplary✓ Tool-verified
What it measures: Whether knowledge is concentrated in too few people (the "bus factor").
Method: Living knowledge per author via time-decayed commit attribution (6-month half-life, focus weighting) across largest source files. Deterministic, avoids blame's mechanical-refactor false positives.
56 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is packages/driver/src/cy/commands/cookies.ts. Counted over 784 of the 2727 production source files in this repository: 1936 are under the ~2,400-byte size floor this dimension measures over, and the remaining 7 have no attributable history left to measure.
Off-boarding risk: anonymized user #1 · ×3
Further sole-owners (lower concentration)
✓ On the Gold path — maintain.
Detailed fixes: d16_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.
565 deducted task-comment markers across 166310 LoC (0.3/KLoC) → score 9.3. 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.
TodoComment repeated across 10 filespackages/app/cypress/e2e/top-nav.cy.ts:600
What to do
Resolve the 509 TodoComment finding(s) in Explicit Debt — start with net_stubbing.cy.ts (19), errors.ts (14), REDACTED (13). — One of this dimension's main actionable groups (509 warning-level).
Resolve the 25 FixmeComment finding(s) in Explicit Debt — start with cookie_behavior.cy.ts (4), project-base_spec.ts (4), actions.cy.ts (3). — One of this dimension's main actionable groups (25 warning-level).
Resolve the 3 HackComment finding(s) in Explicit Debt — start with origin_fn.ts, assertions.ts, mocha.ts. — One of this dimension's main actionable groups (3 warning-level).
Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
Detailed fixes: d17_recommendation.md · top locations in Appendix A, every location in findings.md.
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.
The repository's root README and the guides/README.md provide a clear overview of what Cypress is (fast, reliable browser testing) plus installation, usage, and contribution guidance. The .circleci/README.md documents CircleCI configuration for that directory without an overview, while cli/README.md and npm/*README.md describe the CLI and its sub-packages with detailed building/testing sections. The AI/Docs README is a single document but clearly states its scope (AI tooling for the monorepo) and lists all present sections in outline form, so it does not fall under any missing-*/category. All documents are well structured with headings and an overview. The repository's READMEs are all directory-specific (npm/grep, npm/mount-utils, npm/puppeteer, npm/react, npm/svelte, npm/vite-dev-server, npm/vite-plugin-cypress-esm, npm/vue, npm/webpack-batteries-included-preprocessor, npm/webpack-dev-server) and document their respective packages rather than the repository as a whole. Each README is well written: one begins with an overview (What It Does), installation (1. Install the package; 2. Register in your support file; 3. Optional: Add to config for spec filtering), usage, troubleshooting, contributing, and changelog, and ends with a full outline of sections present rather than being cut by the scanner. The repository's README files are clear and complete: each directory's README documents itself (e.g. the webpack-preprocessor README is a project-level description of its own package), with installation, compatibility, usage examples, API reference, and changelog; there is also an architecture/Docs markdown file that covers the broader project structure. The visible content is well-organized by heading outline across all 12 documents.
✓ On the Gold path — maintain.
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.
What it measures: How far you must trace to follow a call — low indirection and co-located slices read easier.
Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps.
Coverage: Slice locality from the first namespace segments, SAMPLED (≤400 methods) — not exhaustive.
26 % of calls cross a namespace and 2 % go through an interface, but 68 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
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.
4 finding(s): 0 critical, 4 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 3 REDACTED finding(s) in Secrets (history) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 issue-level).
Resolve the 1 High secret finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 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).
85 finding(s): 0 critical, 29 high, 40 medium, 16 low. semgrep hit a parse error in 33 file(s) — `.circleci/scripts/generate-pipeline-parameters.sh` (line 117, line 169), `cli/lib/tap/commands/status.ts` (line 44), `packages/cypress-sessions/lib/tap-contract.ts` (line 129, line 147, line 162, …), `packages/cypress-sessions/lib/tap-errors.ts` (lines 35–38, lines 42–45, lines 53–56, …), `packages/driver/cypress/e2e/commands/command_option_immutability.cy.ts` (line 6), … (+28 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 4 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
+ 17 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 8 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (8 issue-level).
Resolve the 5 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (5). — One of this dimension's main actionable groups (5 issue-level).
Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3), REDACTED. — One of this dimension's main actionable groups (4 issue-level).
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/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, Go, Java and Kotlin via Maven/Gradle, 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.
+ 1 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 78 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (78). — One of this dimension's main actionable groups (78 issue-level).
Resolve the 13 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (13). — One of this dimension's main actionable groups (13 issue-level).
Resolve the 1 High vulnerability 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 2 High IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
Resolve the 2 Medium IaC finding(s) in IaC & Container Security — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
Detailed fixes: d31_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D32 · Data Compliance (PII/GDPR)8.1 / 10Strong✓ Tool-verified
What it measures: Likely personal-data (PII / GDPR) handling concerns — logging or storing data without safeguards.
Method: Heuristic PII/GDPR LEAK scan via semgrep across the repo, using Watchdog's own ruleset: personal data crossing a boundary it should not — reaching a log/console sink, a URL or query string, or unprotected browser storage. Matches map to severity and a 0-10 wide normalizer. A clean sweep is unscored rather than an unearned 10, and is a statement about the leak paths checked only — this dimension does not inventory the personal data a repository holds (the personal-data map and the C1-C5 compliance cards do that), so it never reports that a repository has no personal-data surface. Reported LOUDLY as a measurement gap if the ruleset is missing from the analyzer image. Exhaustive over the leak paths, advisory-leaning; degrades on parse failure.
2 finding(s): 0 critical, 0 high, 2 medium, 0 low. semgrep could not parse 9 file(s) — `cli/lib/tap/commands/status.ts`, `packages/cypress-sessions/lib/tap-contract.ts`, `packages/cypress-sessions/lib/tap-errors.ts`, `packages/driver/cypress/e2e/commands/command_option_immutability.cy.ts`, `packages/driver/src/cypress/state.ts`, … (+4 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real.
REDACTED
What to do
Resolve the 2 REDACTED finding(s) in Data Compliance (PII/GDPR) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
Detailed fixes: d32_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.
217 of 791 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is system-tests/__snapshots__/testConfigOverrides_spec.ts.js. Counted over 791 of the 2727 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
Resolve the 4 Orphaned knowledge finding(s) in Knowledge Freshness — start with testConfigOverrides_spec.ts.js, loader.ts, DebugContainer.cy.tsx. — One of this dimension's main actionable groups (4 issue-level).
Resolve the 1 Further orphaned files (smaller) finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d34_recommendation.md · top locations in Appendix A, every location in findings.md.
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 8 Boundary-crossing change coupling finding(s) in Change Coupling — start with studio-app-types.ts (2), options.ts, remote-states.ts. — One of this dimension's main actionable groups (8 issue-level).
Resolve the 3 Change coupling finding(s) in Change Coupling — start with REDACTED, REDACTED, request-middleware.ts. — One of this dimension's main actionable groups (3 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 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 1 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, 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 alternatives3.0 / 10Weak✓ Tool-verified
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.
An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. (×3) — packages/app/src/runner/automation/AutInfo.vue:6, packages/extension/app/newtab.html:10, packages/extension/app/popup.html:8
What to do
Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
Do you agree with this assessment?
AC2 · Forms & labels5.4 / 10Adequate✓ Tool-verified
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.
A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one). (×2) — packages/app/src/debug/DebugSpec.vue:159, packages/reporter/src/lib/switch.tsx:17
This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id. (×4) — packages/app/src/runner/SnapshotHighlightControls.vue:9, packages/app/src/settings/device/NotificationSettings.vue:40, packages/app/src/settings/device/TestingPreferences.vue:14, …
This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. — packages/frontend-shared/src/components/Input.vue:29
This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label. (×4) — packages/frontend-shared/src/gql-components/ChooseExternalEditor.vue:4, packages/frontend-shared/src/gql-components/modals/SelectCloudProjectModal.vue:42, packages/frontend-shared/src/gql-components/modals/SelectCloudProjectModal.vue:75, …
This <div> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label. (×2) — packages/reporter/src/commands/command.tsx:136, packages/reporter/src/commands/command.tsx:560
This <span> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label. — packages/reporter/src/commands/command.tsx:432
A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label. — packages/reporter/src/runnables/runnable-error.tsx:26
What to do
Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
Do you agree with this assessment?
AC3 · Page structure4.7 / 10Weak✓ Tool-verified
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.
No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×6) — packages/driver/index.html:2, packages/extension/app/newtab.html:2, packages/extension/app/popup.html:2, …
An iframe with no title (or an empty one) is announced only as "frame". Add a non-empty title describing its content, or an aria-label. — packages/driver/src/cy/snapshots.ts:85
The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en"). (×4) — packages/extension/app/newtab.html:2, packages/extension/app/popup.html:2, packages/server/lib/html/non_proxied_error.html:1, …
An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it's decorative. — packages/frontend-shared/src/components/ListRowHeader.vue:15
A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>. (×2) — packages/reporter/static/index.html:2, packages/server/lib/util/network_failures.ts:20
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: interactive elements plus elements the markup gives a click/key handler or the repo's own CSS styles `cursor: pointer`, in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx). 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".
This <div> carries tabindex="0", so it is in the tab order and a keyboard user will land on it — but its behaviour is bound to the pointer only, with no key handler. A tabindex makes an element focusable, not operable: Enter and Space fire a click on a native <button> or <a href> and nowhere else, so this can be focused and never activated. Use a <button>, or handle Enter/Space in a key handler. — packages/app/src/navigation/SidebarNavigationHeader.vue:8
A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. (×2) — packages/frontend-shared/src/components/Card.vue:2, packages/frontend-shared/src/gql-components/error/ErrorCodeFrame.vue:8
This <div> announces itself as a role="button" and binds a click, but nothing can put focus on it: no tabindex="0" in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabindex="0"="0" and an Enter/Space key handler, or make it a native <button>. If a parent widget owns the keyboard model, that parent must move focus onto the active role="button" or point aria-activedescendant at it. — packages/frontend-shared/src/components/Collapsible.vue:7
This <div> carries tabindex="0", so it is in the tab order and a keyboard user will land on it — but its behaviour is bound to the pointer only, with no key handler. A tabindex makes an element focusable, not operable: Enter and Space fire a click on a native <button> or <a href> and nowhere else, so this can be focused and never activated. Use a <button>, or handle Enter/Space in a key handler. Give it a role as well, so assistive tech can announce what it is. — packages/frontend-shared/src/components/ShikiHighlight.vue:21
A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler. (×5) — packages/reporter/src/commands/command.tsx:130, packages/reporter/src/commands/command.tsx:136, packages/reporter/src/commands/command.tsx:432, …
This <div> binds mouse-enter and mouse-leave and nothing else — no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}="0" so the element can receive that focus. — packages/reporter/src/commands/command.tsx:549
An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action. (×3) — packages/reporter/src/components/LaunchStudioIcon.tsx:19, REDACTED:52, packages/reporter/src/runnables/runnables.tsx:72
An <a href="#"> (or javascript:) with a click handler is a button dressed as a link — it announces the wrong role and stops working without JS. Use a <button> for an action. (×2) — packages/reporter/src/lib/file-name-opener.tsx:26, packages/reporter/src/runnables/runnables.tsx:63
What to do
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
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.
This stylesheet animates but never checks prefers-reduced-motion, so motion-sensitive users can't opt out. Wrap motion in @media (prefers-reduced-motion: no-preference). — packages/launchpad/index.html:18
`.componentButton.orange button` sets color: white on background-color: #f5923e — 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — npm/react/cypress/component/basic/css-modules/Button.module.css:24
`.component-button.orange button` sets color: white on background-color: #F5923E — 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — npm/react/cypress/component/basic/css/Button.css:24
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 282 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-vuejs-accessibility, then run the suite that already asserts accessibility in CI so a regression blocks the merge.
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 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.
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.
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.
856 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
What to do
Add a 'Testing' section to the root README — how to run the test suite.
Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
Add a README to the 107 of 188 project(s) that lack one — worth up to 1.1 pts.
Review the README against recent changes; refresh the parts that drifted.
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 significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
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.
Only 30/38 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `npm/puppeteer`, `packages/reporter`, `system-tests/projects/next-15-tsconfig-tailwind`, `system-tests/projects/next-16`, `system-tests/projects/next-16-tsconfig-tailwind` and 3 more.
What to do
Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
Add a health-check endpoint (@godaddy/terminus or a /health route) so orchestrators and load balancers can probe liveness/readiness.
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.
What to do
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.
Do you agree with this assessment?
P5 · DR & Backup0.0 / 10Critical✓ 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.
A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
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.
`fetch(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. 6 of the 7 files that make outbound calls are unbounded; the first 6 are listed. — packages/data-context/src/sources/UtilDataSource.ts:20
`axios.create(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — packages/server/lib/cloud/api/cloud_request.ts:42
`fetch(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. (×4) — packages/server/lib/cloud/network/fetch.ts:32, packages/server/lib/cloud/protocol.ts:488, packages/server/lib/privileged-commands/privileged-channel.js:217, …
What to do
Bound every outbound call: pass `signal: AbortSignal.timeout(ms)` to `fetch`, set `timeout` on the axios instance (`axios.create({ timeout })`), and add retries with back-off (`axios-retry`, `p-retry`) and a breaker (`opossum`, `cockatiel`) around dependencies that fail.
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) or inside a Java method returning a Reactor Mono/Flux — and, for a .NET library with ≥5 awaits, the share of awaits using ConfigureAwait(false). Deterministic, syntax/text detection.
`windowsTouch` is async and calls utimesSync, closeSync, openSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. (×2) — REDACTED:24, REDACTED:23
`nexusTypegen` is async and calls execSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. (×2) — REDACTED:34, REDACTED:33
`ensureCloudValidations` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. (×2) — scripts/gulp/tasks/gulpSyncValidations.ts:36, packages/server/scripts/sync-cloud-validations.ts:83
`CypressEsm` holds an async function that calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — npm/vite-plugin-cypress-esm/src/index.ts:51
`onSpecsChange` is async and calls utimesSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — npm/webpack-dev-server/src/CypressCTWebpackPlugin.ts:93
`main` is async and calls writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — npm/webpack-preprocessor/scripts/test-webpack-5.ts:17
`initGitRepoForTestProject` is async and calls readdirSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/app/cypress/tasks/git.ts:5
`runSpec` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/data-context/src/actions/ProjectActions.ts:496
`build` is async and calls execSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/example/bin/build.js:13
`makeE2ETasks` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — REDACTED:96
`snapshotScaffoldedFiles` is async and calls mkdirSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/launchpad/cypress/tasks/snapshotsScaffold.ts:20
`snapshotCypressDirectory` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/launchpad/cypress/tasks/snapshotsScaffold.ts:89
`isRepositoryRoot` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/scaffold-config/src/ct-detect-third-party.ts:77
`composeProtocolErrorReportFromOptions` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/server/lib/cloud/artifacts/protocol_artifact.ts:52
`compressRecording` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/server/lib/modes/run.ts:361
`populateDirectories` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/server/test/unit/util/trash_spec.ts:12
`default` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/after-sign-hook.js:8
`buildCypressApp` is async and calls rmSync, symlinkSync, execSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/binary/build.ts:74
`setChecksum` is async and calls statSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/binary/upload-build-artifact.js:35
`runIntegrityTest` is async and calls spawnSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/binary/smoke.js:250
`commitViaApi` is async and calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/github-actions/commit-via-api.mjs:3
`parseChangelog` is async and calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/semantic-commits/parse-changelog.js:6
`getVersions` is async and calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/github-actions/update-browser-versions.js:62
`getPackageVersions` is async and calls execSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/npm-release.js:63
`changelog` is async and calls existsSync, mkdirSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/semantic-commits/validate-binary-changelog.js:9
`afterSpec` is async and calls existsSync, rmSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — system-tests/lib/protocol-stubs/protocolStubWithMissingArchive.ts:99
`attemptDownload` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — tooling/electron-mksnapshot/src/mksnapshot-download.ts:58
`generateMetadata` is async and calls writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — tooling/v8-snapshot/src/setup/generate-metadata.ts:38
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 Safety10.0 / 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.
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.
12 duplicated blocks under packages/ have copies in at least two of the sibling directories agent-info, app, cypress-sessions, driver, frontend-shared, launchpad (+6 more sibling(s) not listed) — 6 of them are reported below, and 6 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 12 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 12 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 12 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. — packages/agent-info/vitest.config.ts:3
8 duplicated blocks under the repository root have copies in at least two of the sibling directories cli, npm, packages, scripts, tooling — 6 of them are reported below, and 2 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 8 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 8 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 8 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. — REDACTED:10
6 duplicated blocks under packages/app/src/ have copies in at least two of the sibling directories composables, debug, prompt, runner, runs, studio — 4 of them are reported below, and 2 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 6 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 6 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 6 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. — packages/app/src/debug/DebugRunNavigation.vue:229
packages/app/src/prompt/PromptGetCodeModal.vue:24 · packages/app/src/prompt/PromptMoreInfoNeededModal.vue:24 — these 2 files are line-for-line copies of one another — 62 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. — packages/app/src/prompt/PromptGetCodeModal.vue:24
REDACTED:10 · REDACTED:11 — the two spans are one implementation copied and then locally edited — 373 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. — REDACTED:10
cli/lib/exec/open.ts:32 · cli/lib/exec/run.ts:61 — the two spans are one implementation copied and then locally edited — 282 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. — cli/lib/exec/open.ts:32
packages/server/lib/cloud/api/cy-prompt/report_cy_prompt_error.ts:20 · packages/server/lib/cloud/api/studio/report_studio_error.ts:24 — the two spans are one implementation copied and then locally edited — 226 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. — packages/server/lib/cloud/api/cy-prompt/report_cy_prompt_error.ts:20
tooling/v8-snapshot/src/generator/snapshot-generator.ts:276 · tooling/v8-snapshot/src/generator/snapshot-generator.ts:389 — the two spans are one implementation copied and then locally edited — 193 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. — tooling/v8-snapshot/src/generator/snapshot-generator.ts:276
packages/types/src/cy-prompt/cy-prompt-server-types.ts:42 · packages/types/src/studio/studio-server-types.ts:52 — 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. — packages/types/src/cy-prompt/cy-prompt-server-types.ts:42
packages/telemetry/src/span-exporters/ipc-span-exporter.ts:13 · packages/telemetry/src/span-exporters/websocket-span-exporter.ts:13 — 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. — packages/telemetry/src/span-exporters/ipc-span-exporter.ts:13
packages/server/lib/cloud/cy-prompt/CyPromptLifecycleManager.ts:293 · packages/server/lib/cloud/studio/StudioLifecycleManager.ts:366 — the two spans are one implementation copied and then locally edited — 208 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. — packages/server/lib/cloud/cy-prompt/CyPromptLifecycleManager.ts:293
packages/driver/src/cy/commands/actions/scroll.ts:96 · packages/driver/src/cy/commands/actions/scroll.ts:265 — the two spans are one implementation copied and then locally edited — 221 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. — packages/driver/src/cy/commands/actions/scroll.ts:96
packages/v8-snapshot-require/src/types.ts:6 · tooling/v8-snapshot/src/types.ts:3 — 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. — packages/v8-snapshot-require/src/types.ts:6
packages/server/lib/network-runtime.ts:104 · packages/server/lib/network-runtime.ts:180 — 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. — packages/server/lib/network-runtime.ts:104
scripts/binary/smoke.js:130 · scripts/binary/smoke.js:172 — 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. — scripts/binary/smoke.js:130
cli/lib/cli.ts:361 · cli/lib/cli.ts:402 — 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. — cli/lib/cli.ts:361
npm/vue/src/index.ts:260 · npm/vue/src/index.ts:332 — 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. — npm/vue/src/index.ts:260
packages/driver/src/dom/elements/nativeProps.ts:21 · packages/driver/src/dom/elements/nativeProps.ts:42 — 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. — packages/driver/src/dom/elements/nativeProps.ts:21
scripts/binary/zip.js:88 · scripts/binary/zip.js:166 — 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. — scripts/binary/zip.js:88
scripts/unit/binary/util/packages-spec.js:74 · scripts/unit/binary/util/packages-spec.js:111 — all 2 copies are in the same file, 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. — scripts/unit/binary/util/packages-spec.js:74
scripts/unit/github-actions/semantic-pull-request/validate-pr-title-spec.js:21 · scripts/unit/github-actions/semantic-pull-request/validate-pr-title-spec.js:53 — 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. — scripts/unit/github-actions/semantic-pull-request/validate-pr-title-spec.js:21
scripts/unit/semantic-commits/validate-changelog-spec.js:247 · scripts/unit/semantic-commits/validate-changelog-spec.js:285 — 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. — scripts/unit/semantic-commits/validate-changelog-spec.js:247
scripts/unit/semantic-commits/validate-changelog-spec.js:383 · scripts/unit/semantic-commits/validate-changelog-spec.js:414 · scripts/unit/semantic-commits/validate-changelog-spec.js:441 — all 3 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. — scripts/unit/semantic-commits/validate-changelog-spec.js:383
packages/app/src/debug/DebugRunNavigation.vue:229 · packages/app/src/runs/RunsLayout.vue:136 — 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. — packages/app/src/debug/DebugRunNavigation.vue:229
scripts/unit/binary/util/packages-spec.js:202 · scripts/unit/binary/util/packages-spec.js:224 — 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. — scripts/unit/binary/util/packages-spec.js:202
scripts/unit/github-actions/update-browser-version-spec.js:96 · scripts/unit/github-actions/update-browser-version-spec.js:190 — 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. — scripts/unit/github-actions/update-browser-version-spec.js:96
packages/server/lib/browsers/chrome.ts:574 · packages/server/lib/browsers/electron.ts:546 — 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. — packages/server/lib/browsers/chrome.ts:574
packages/data-context/src/data/ProjectConfigManager.ts:624 · packages/data-context/src/data/ProjectLifecycleManager.ts:781 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — packages/data-context/src/data/ProjectConfigManager.ts:624
packages/errors/src/errors.ts:268 · packages/errors/src/errors.ts:302 — 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. — packages/errors/src/errors.ts:268
scripts/sanitize-mocha-results.js:67 · scripts/verify-mocha-results.js:65 — 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. — scripts/sanitize-mocha-results.js:67
tooling/electron-mksnapshot/src/mksnapshot-run.ts:171 · tooling/electron-mksnapshot/src/mksnapshot-run.ts:230 — 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. — tooling/electron-mksnapshot/src/mksnapshot-run.ts:171
packages/app/src/prompt/prompt-app-types.ts:8 · packages/app/src/studio/studio-app-types.ts:69 — 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. — packages/app/src/prompt/prompt-app-types.ts:8
packages/driver/src/dom/selection.ts:187 · packages/driver/src/dom/selection.ts:238 — 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. — packages/driver/src/dom/selection.ts:187
packages/web-config/webpack.config.base.ts:123 · packages/web-config/webpack.config.base.ts:269 — all 2 copies are in the same file, 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. — packages/web-config/webpack.config.base.ts:123
scripts/binary/s3-api.ts:97 · scripts/binary/s3-api.ts:157 — 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. — scripts/binary/s3-api.ts:97
packages/errors/src/errors.ts:1532 · packages/errors/src/errors.ts:1548 · packages/errors/src/errors.ts:1565 · packages/errors/src/errors.ts:1581 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — packages/errors/src/errors.ts:1532
packages/reporter/src/collapsible/collapsible.tsx:42 · packages/reporter/src/studio/StudioTest.tsx:94 — the two spans are one implementation copied and then locally edited — 90 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. — packages/reporter/src/collapsible/collapsible.tsx:42
packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:750 · packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:776 — the two spans are one implementation copied and then locally edited — 75 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. — packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:750
scripts/binary/index.js:251 · scripts/binary/index.js:267 — 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. — scripts/binary/index.js:251
scripts/binary/smoke.js:76 · scripts/binary/smoke.js:205 — 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. — scripts/binary/smoke.js:76
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.
gulpfile.js:2 reaches into another package with a relative path (./scripts/gulp/gulpfile) — import the package by name instead. — gulpfile.js:2
npm/cypress-schematic/src/schematics/ng-generate/component/index.ts:3 imports npm/cypress-schematic/src/schematics/ng-generate/cypress-test/index.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — npm/cypress-schematic/src/schematics/ng-generate/component/index.ts:3
npm/webpack-dev-server/src/helpers/sourceRelativeWebpackModules.ts:54 imports @cypress/webpack-batteries-included-preprocessor, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — npm/webpack-dev-server/src/helpers/sourceRelativeWebpackModules.ts:54
packages/app/src/debug/DebugSpec.vue:230 imports packages/app/src/specs/SpecNameDisplay.vue, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/app/src/debug/DebugSpec.vue:230
packages/app/src/layouts/default.vue:76 imports packages/app/src/specs/banners/EnableNotificationsBanner.vue, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/app/src/layouts/default.vue:76
packages/app/src/runner/SpecRunnerOpenMode.vue:131 imports packages/app/src/specs/InlineSpecList.vue, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/app/src/runner/SpecRunnerOpenMode.vue:131
packages/app/src/runs/RunsContainer.vue:88 imports packages/app/src/specs/banners/TrackedBanner.vue, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/app/src/runs/RunsContainer.vue:88
packages/app/src/store/run-all-specs-store.ts:7 imports packages/app/src/specs/tree/useCollapsibleTree.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/app/src/store/run-all-specs-store.ts:7
packages/config/src/ast-utils/addToCypressConfig.ts:144 imports cypress, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/config/src/ast-utils/addToCypressConfig.ts:144
packages/data-context/graphql/makeGraphQLServer.ts:18 imports graphql-ws/lib/use/ws, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — packages/data-context/graphql/makeGraphQLServer.ts:18
packages/data-context/graphql/plugins/nexusSlowGuardPlugin.ts:2 imports nexus/dist/utils, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — packages/data-context/graphql/plugins/nexusSlowGuardPlugin.ts:2
packages/data-context/src/data/ProjectConfigIpc.ts:33 imports @packages/server/lib/plugins/child/require_async_child.js, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/data-context/src/data/ProjectConfigIpc.ts:33
REDACTED:5 imports packages/driver/src/cypress/location.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — REDACTED:5
packages/driver/src/cross-origin/cypress.ts:8 imports REDACTED, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/cypress.ts:8
packages/driver/src/cross-origin/cypress.ts:9 imports packages/driver/src/cypress/location.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/cypress.ts:9
packages/driver/src/cross-origin/cypress.ts:10 imports packages/driver/src/cypress/commands.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/cypress.ts:10
packages/driver/src/cross-origin/cypress.ts:11 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/cypress.ts:11
packages/driver/src/cross-origin/cypress.ts:12 imports packages/driver/src/cypress/log.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/cypress.ts:12
packages/driver/src/cross-origin/cypress.ts:28 imports packages/driver/src/cypress/mocha.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/cypress.ts:28
packages/driver/src/cross-origin/events/errors.ts:3 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/events/errors.ts:3
packages/driver/src/cross-origin/events/misc.ts:2 imports packages/driver/src/cypress/location.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/events/misc.ts:2
packages/driver/src/cross-origin/origin_fn.ts:2 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/origin_fn.ts:2
packages/driver/src/cross-origin/origin_fn.ts:3 imports packages/driver/src/cypress/utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/origin_fn.ts:3
packages/driver/src/cross-origin/origin_fn.ts:4 imports packages/driver/src/cypress/location.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/origin_fn.ts:4
packages/driver/src/cross-origin/origin_fn.ts:7 imports packages/driver/src/cypress/log.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/origin_fn.ts:7
packages/driver/src/cross-origin/unsupported_apis.ts:2 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cross-origin/unsupported_apis.ts:2
packages/driver/src/cy/actionability.ts:7 imports packages/driver/src/cypress/utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/actionability.ts:7
packages/driver/src/cy/actionability.ts:10 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/actionability.ts:10
packages/driver/src/cy/aliases.ts:4 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/aliases.ts:4
packages/driver/src/cy/assertions.ts:5 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/assertions.ts:5
packages/driver/src/cy/chai.ts:10 imports packages/driver/src/cypress/utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/chai.ts:10
packages/driver/src/cy/chai.ts:12 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/chai.ts:12
packages/driver/src/cy/chai.ts:13 imports packages/driver/src/cypress/stack_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/chai.ts:13
packages/driver/src/cy/chai.ts:14 imports packages/driver/src/cypress/chai_jquery.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/chai.ts:14
packages/driver/src/cy/chai/inspect.ts:10 imports chai/lib/chai/utils/getEnumerableProperties, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — packages/driver/src/cy/chai/inspect.ts:10
packages/driver/src/cy/commands/actions/check.ts:5 imports packages/driver/src/cypress/utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/commands/actions/check.ts:5
packages/driver/src/cy/commands/actions/check.ts:6 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/commands/actions/check.ts:6
packages/driver/src/cy/commands/actions/click.ts:5 imports packages/driver/src/cypress/utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/commands/actions/click.ts:5
packages/driver/src/cy/commands/actions/click.ts:6 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/commands/actions/click.ts:6
packages/driver/src/cy/commands/actions/focus.ts:4 imports packages/driver/src/cypress/utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — packages/driver/src/cy/commands/actions/focus.ts:4
What to do
Fix the listed violations: move the shared test helper into a source directory production code may depend on (134 rows); import through the target package's declared public entry rather than a deep path into its internals or a relative path into its directory (27 rows); declare the workspace packages these files import in the importing package's own package.json dependencies (17 rows) — those imports are already bare package specifiers, so the import statements do not change, only the manifest.
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.
action has cyclomatic complexity 85 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. — packages/driver/src/cypress.ts:484
formatValue has cyclomatic complexity 42 and cognitive complexity 51; 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. — packages/driver/src/cy/chai/inspect.ts:73
(anonymous) has cyclomatic complexity 38 and cognitive complexity 49; 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. — packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:460
validateTyping has cyclomatic complexity 38 and cognitive complexity 45; 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. — packages/driver/src/cy/keyboard.ts:387
request 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. — packages/driver/src/cy/commands/request.ts:82
(anonymous) has cyclomatic complexity 34 and cognitive complexity 48; 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. — packages/driver/src/cypress/log.ts:66
(anonymous) has cyclomatic complexity 32 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. — cli/lib/exec/run.ts:38
(anonymous) has cyclomatic complexity 32 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. — system-tests/projects/e2e/static/obstructive_code.js:3
backendRequest has cyclomatic complexity 32 and cognitive complexity 3; 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. — packages/server/lib/socket-base.ts:514
getReasonIsHidden has cyclomatic complexity 30 and cognitive complexity 37; 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. — packages/driver/src/dom/visibility.ts:527
waitForTestsToFinishRunning has cyclomatic complexity 30 and cognitive complexity 33; 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. — packages/server/lib/modes/run.ts:628
_onAttachToTarget has cyclomatic complexity 29 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 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. — packages/server/lib/browsers/browser-cri-client.ts:461
(anonymous) has cyclomatic complexity 29 and cognitive complexity 19; 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. — packages/server/lib/browsers/cdp-protocol/cdp_automation.ts:506
(anonymous) has cyclomatic complexity 28 and cognitive complexity 37; 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. — packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:741
plugin has cyclomatic complexity 28 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 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. — npm/grep/src/plugin.ts:19
(anonymous) has cyclomatic complexity 28 and cognitive complexity 24; 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. — packages/reporter/src/commands/command.tsx:401
(anonymous) has cyclomatic complexity 27 and cognitive complexity 63; 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. — packages/config/src/validation.ts:375
maybeHandleRetryOnFailure has cyclomatic complexity 27 and cognitive complexity 41; 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. — packages/driver/src/cypress/runner.ts:1436
toObject has cyclomatic complexity 27 and cognitive complexity 33; 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. — packages/server/lib/util/args.ts:342
_providerCommitParams has cyclomatic complexity 27 and cognitive complexity 18; 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. — packages/server/lib/util/ci_provider.ts:554
What to do
Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
Do you agree with this assessment?
R3 · Large Files8.5 / 10Strong✓ 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.
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 Coverage8.4 / 10Strong✓ 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.
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. (×40) — packages/data-context/graphql/schemaTypes/objectTypes/gql-Mutation.ts, npm/angular/src/mount.ts, packages/data-context/src/sources/RemoteRequestDataSource.ts, …
What to do
Add tests that import the unreached modules (directly or through their public entry).
React / JS · Readiness — How outdated the npm dependencies are (a maturity signal). JS/npm CVEs are scored separately in D30 (JS/npm Dependency Vulnerabilities).
Method: npm dependency staleness from manifest/registry metadata (a maturity signal; JS/npm CVEs are scored separately in D30, which answers dependency vulnerabilities for every ecosystem). Deterministic.
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.
Do you agree with this assessment?
R7 · Dead Code8.2 / 10Strong✓ 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.
12 file(s) (~495 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.
20 file(s) (~1345 LoC) were excluded from dead-code analysis. This package DOES declare main/module/exports — but every declared target is missing from the scanned tree, which is what a build-output entry (dist/, lib/, out/) looks like before the package is built. Point a declared target at the source entry, or build the package before scanning, so reachability can follow it. — npm/cypress-schematic
196 file(s) (~24550 LoC) were excluded from dead-code analysis. This package's entry point(s) resolved, but the walk stopped one hop in: packages/data-context/graphql/plugins/nexusRemoteFieldPlugin.ts imports '../../src/gen/nxs.gen', which is not in the scanned tree. That is usually a generated or build-output module, so reachability cannot see past it and no dead-code claim is made about this package. Nothing is necessarily wrong here. — packages/data-context
Unreachable from the 485 application, 493 tooling and 3279 test entry point(s) detected in this repo. Gate removals on `yarn run build` — an undetected custom entry would make these reachable.
no import path from any entry point (485 application, 493 tooling, 3279 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 (×11) — packages/app/src/layouts/default.vue, packages/app/src/pages/Debug.vue, npm/webpack-dev-server/src/loader.ts, …
no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (packages/app/src/pages/Runs.vue) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×2) — packages/app/src/runs/useProjectRuns.ts, packages/app/src/runs/useGitTreeRuns.ts
no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (packages/app/src/layouts/default.vue) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — packages/app/src/navigation/SidebarNavigationContainer.vue
no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (npm/webpack-dev-server/src/loader.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — npm/webpack-dev-server/src/aut-runner.ts
no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (packages/app/src/pages/Runs.vue, packages/app/src/runs/useGitTreeRuns.ts, packages/app/src/runs/useProjectRuns.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — packages/app/src/runs/RunsComposable.ts
Nothing ultimately consumes this binding: its only referrer is the re-export in npm/react/src/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in npm/react/src/index.ts in the same commit, or the barrel will import a name that no longer exists. (×2) — npm/react/src/createMount.ts:150, npm/react/src/mount.ts:47
Nothing imports this binding — it is safe to review for removal. (×17) — npm/webpack-dev-server/src/devServer.ts:146, packages/data-context/src/actions/ElectronActions.ts:27, packages/data-context/src/sources/BrowserDataSource.ts:43, …
No runtime consumer imports this binding — the only demand on it comes from a type-position import of its module, which asks for the module's type surface rather than for this name. If the value is genuinely unneeded, remove it; if a consumer needs only its TYPE, export that type (e.g. `export type X = typeof x`) and drop the value. A value export — a const, a function, a class — cannot itself be rewritten as `export type`. — packages/data-context/src/sources/CloudDataSource.ts:91
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.
Declared in cli/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
Every import is type-only — move it to devDependencies. — npm/webpack-dev-server/src/helpers/angularHandler.ts:221
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.
Break each cycle by extracting the shared piece into a module both sides can import.
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.
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: these audit 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 audit 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.
C4 Data Retention — Not assessed: these retention 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 retention 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.
C5 Data-Subject Rights — Not assessed: these data-subject rights 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 data-subject rights 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.
Not included — 67 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.
AX1 Captive dependencies — not analysed — these correctness checks read a source model 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
AX2 Stateful singletons — not analysed — these correctness checks read a source model 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
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
AX6 Interface segregation — not assessed — interface segregation is computed over a type surface 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 — compose up failed (exit 18 — an image could not be pulled) — ci Pulling dev Pulling watch Pulling dev Error Get "https://registry-1.docker.io/v2/": Forbidden ci Error context canceled watch Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: dev Pulling watch Skipped - Image is already being pulled by dev ci Pulling dev Error Get "https://registry-1.docker.io/v2/": Forbidden ci Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; 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: these personal data 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 personal data 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.
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 measured — JavaScript/TypeScript suite did not run
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.
D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
D24 Comment Value — No inline comments to assess — comment value is not applicable here.
D25 ADR Conformance — no ADRs to check
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.
D4 Code Duplication — This repository's production source (.ts, .tsx) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
D6 Cohesion (LCOM4) — D6 reads a CS/VB/GO/SCALA/SWIFT/DART/JAVA/PY class graph only — this repository's production source is .mts, .ts, .tsx, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
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 — JavaScript/TypeScript suite
DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (2 domain event(s); its domain events are published by services or handlers — no domain entity raises one)
ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model 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
P10 Library API & versioning — not analysed — these correctness checks read a source model 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
P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
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 — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage --coverage.reporter=lcovonly`) 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, or wire coverage collection into CI, to enable this cross-layer check
PF1 Benchmark discipline — not analysed — these correctness checks read a source model 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
PF2 Allocation hygiene — not analysed — these correctness checks read a source model 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
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.
X1 Async correctness — not analysed — these correctness checks read a source model 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
X10 Duplicated predicate — not analysed — these correctness checks read a source model 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
X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X2 Cancellation propagation — not analysed — these correctness checks read a source model 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
X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X3 Exception handling — not analysed — these correctness checks read a source model 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
X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
X4 Structured logging — not analysed — these correctness checks read a source model 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
X5 Nullable reference types — not analysed — these correctness checks read a source model 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
X6 Hand-rolled structured-format parsing — not analysed — these correctness checks read a source model 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
X7 Silent fallback defaults — not analysed — these correctness checks read a source model 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
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.
Critical — 337 finding(s)
D10 · Test Quality· No assertions (empty test) · ×143
No assertions (empty test): accepts a request with any req/res body by default cli/types/tests/net-stubbing-tests.ts:385— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): accepts a request with a typed req/res body if given cli/types/tests/net-stubbing-tests.ts:394— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): does not accept a request with a typed req/res body if mismatched cli/types/tests/net-stubbing-tests.ts:403— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:955— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:968— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:971— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:974— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:978— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:981— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:985— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:989— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:995— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:1000— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:1003— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): test cli/types/tests/cypress-tests.ts:1008— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): works npm/grep/cypress/e2e/skip.cy.ts:3— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): second test npm/grep/cypress/e2e/omit-and-skip.cy.ts:5— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): third test npm/grep/cypress/e2e/omit-and-skip.cy.ts:6— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): runs npm/grep/cypress/e2e/nested-describe.cy.ts:4— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): runs too npm/grep/cypress/e2e/nested-describe.cy.ts:12— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): hello world npm/grep/cypress/e2e/multiple-registrations.cy.ts:10— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): loads npm/grep/cypress/e2e/inherits-tag.cy.ts:2— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): inside describe 1 npm/grep/cypress/e2e/describe-tags.cy.ts:2— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): inside describe 2 npm/grep/cypress/e2e/describe-tags.cy.ts:4— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): inside describe 3 npm/grep/cypress/e2e/describe-tags.cy.ts:8— Test method has an empty body — it asserts nothing and exercises no code.
Assertions commented out: events when element moved on mousedown packages/driver/cypress/e2e/commands/actions/click.cy.ts:376— The test body contains commented-out assertion calls and no live one — it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one.
Assertions commented out: events when element moved on mouseup packages/driver/cypress/e2e/commands/actions/click.cy.ts:402— The test body contains commented-out assertion calls and no live one — it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one.
Assertions commented out: events when element moved on click packages/driver/cypress/e2e/commands/actions/click.cy.ts:425— The test body contains commented-out assertion calls and no live one — it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one.
Assertions commented out: click when mouseup el is child of mousedown el packages/driver/cypress/e2e/commands/actions/click.cy.ts:448— The test body contains commented-out assertion calls and no live one — it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one.
Assertions commented out: no click when mouseUpPhase targetEl is detached packages/driver/cypress/e2e/commands/actions/click.cy.ts:498— The test body contains commented-out assertion calls and no live one — it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one.
Assertions commented out: no click when new element at coords is not ancestor packages/driver/cypress/e2e/commands/actions/click.cy.ts:556— The test body contains commented-out assertion calls and no live one — it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one.
Assertions commented out: can target new element after mouseup sequence packages/driver/cypress/e2e/commands/actions/click.cy.ts:3879— The test body contains commented-out assertion calls and no live one — it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one.
Assertions commented out: responds to changes in move handlers packages/driver/cypress/e2e/commands/actions/click.cy.ts:3919— The test body contains commented-out assertion calls and no live one — it runs, verifies nothing, and still passes. Restore the assertions or delete the test; a green test that checks nothing is worse than an absent one.
Boundary-crossing change coupling: options.ts ↔ results_spec.ts.js packages/config/src/options.ts— `packages/config/src/options.ts` (context config) and `system-tests/__snapshots__/results_spec.ts.js` (context system-tests) sit in DIFFERENT parts of the tree yet change together 85% of the time (11 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are `2a65ae9f` feat: add trustedCertificates option for the native browser network p…; `d8d61346` breaking: introduce manageBrowserMemory and remove experimentalMemory…; `02aa75de` feat: add removeSRIAttributes config option to strip SRI from first-p… — run `git show` on any of them.
Boundary-crossing change coupling: remote-states.ts ↔ response-middleware.ts packages/network-tools/lib/remote-states.ts— `packages/network-tools/lib/remote-states.ts` (context network-tools) and `packages/proxy/lib/http/response-middleware.ts` (context proxy) sit in DIFFERENT parts of the tree yet change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are `1cefc38b` refactor: rm circular dep by moving remote-states from server to netw…; `23299acc` fix: Disallow `same-superdomain-origin` cy.origin blocks (#24569) (at that commit the file was still `packages/server/lib/remote_states.ts`); `18321f80` chore: refactor originPolicy to use superDomainOrigin nomenclat… (#23… (at that commit the file was still `packages/server/lib/remote_states.ts`) — run `git show` on any of them.
Boundary-crossing change coupling: AuthActions.ts ↔ auth.ts packages/data-context/src/actions/AuthActions.ts— `packages/data-context/src/actions/AuthActions.ts` (context data-context) and `packages/server/lib/cloud/auth.ts` (context cloud) sit in DIFFERENT parts of the tree yet 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, and counted over this repository's 10,000 most recent commits rather than its whole history — 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) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are `6550e9ca` feat: Insert project ID into config after login when cloud provides o…; `023f0324` chore: Pass remoteOrigin to the cloud on login/signup (#33922); `b911a8d3` feat: add signup flow for desktop cloud auth (#33805) — run `git show` on any of them.
Boundary-crossing change coupling: event-manager.ts ↔ events.ts packages/app/src/runner/event-manager.ts— `packages/app/src/runner/event-manager.ts` (context runner) and `packages/reporter/src/lib/events.ts` (context reporter) sit in DIFFERENT parts of the tree yet change together 55% of the time (11 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are `e05f8a80` chore: Add links to open login, setup project modals when throwing er…; `7898d0b7` feat: Add option to 'word wrap' for Studio panel code (#33411); `6cd9e54c` internal: (studio) set entry source when user initializes studio (#32… — run `git show` on any of them.
Boundary-crossing change coupling: BrowserDataSource.ts ↔ OpenBrowserList.vue packages/data-context/src/sources/BrowserDataSource.ts— `packages/data-context/src/sources/BrowserDataSource.ts` (context data-context) and `packages/launchpad/src/setup/OpenBrowserList.vue` (context launchpad) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are `26ae3bde` deprecation: deprecate the Electron browser in the App and run mode (…; `4fd15101` fix: cache last-used browser by project, name, and channel (#20760); `1223ded3` refactor: convert browser status to gql subscription (#20591) — run `git show` on any of them.
Boundary-crossing change coupling: studio-app-types.ts ↔ studio-server-types.ts packages/app/src/studio/studio-app-types.ts— `packages/app/src/studio/studio-app-types.ts` (context studio) and `packages/types/src/studio/studio-server-types.ts` (context types) sit in DIFFERENT parts of the tree yet change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are `f7bc706a` internal: (studio) send debugData to studio server (#33338); `a750f911` feat: (cy.prompt/studio) add ability to track on dirty data in studio…; `5260488a` internal: updating studio-server initialization with renderer APIs (#… — run `git show` on any of them.
Boundary-crossing change coupling: studio-app-types.ts ↔ studio.ts packages/app/src/studio/studio-app-types.ts— `packages/app/src/studio/studio-app-types.ts` (context studio) and `packages/server/lib/cloud/studio/studio.ts` (context cloud) sit in DIFFERENT parts of the tree yet change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are `f7bc706a` internal: (studio) send debugData to studio server (#33338); `5260488a` internal: updating studio-server initialization with renderer APIs (#…; `ef1a73b1` internal: create cloud studio session ID to group telemetry and error… — run `git show` on any of them.
Boundary-crossing change coupling: selectFile.ts ↔ privileged-commands-manager.ts packages/driver/src/cy/commands/actions/selectFile.ts— `packages/driver/src/cy/commands/actions/selectFile.ts` (context driver) and `packages/server/lib/privileged-commands/privileged-commands-manager.ts` (context privileged-commands) sit in DIFFERENT parts of the tree yet 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, and counted over this repository's 10,000 most recent commits rather than its whole history — 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) — the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can't see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are `bf2f0523` revert: "fix: stream privileged file reads over HTTP (#33538)" (#33612); `585b0df8` fix: stream privileged file reads over HTTP (#33538); `5d1e07a7` chore: merge develop into release/13.0.0 (#27336) — run `git show` on any of them.
AC4 · Keyboard semantics· Click handler on a non-interactive <div> · ×5
Click handler on a non-interactive <div> packages/frontend-shared/src/components/Card.vue:2— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
Click handler on a non-interactive <div> packages/frontend-shared/src/gql-components/error/ErrorCodeFrame.vue:8— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
Click handler on a non-interactive <div> packages/reporter/src/commands/command.tsx:130— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> packages/reporter/src/commands/command.tsx:136— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <div> packages/reporter/src/commands/command.tsx:560— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
AC2 · Forms & labels· <label> that labels no control · ×4
<label> that labels no control packages/app/src/runner/SnapshotHighlightControls.vue:9— This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control packages/app/src/settings/device/NotificationSettings.vue:40— This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control packages/app/src/settings/device/TestingPreferences.vue:14— This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control packages/launchpad/src/setup/ButtonBar.vue:32— This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
AC2 · Forms & labels· <select> without a programmatic label · ×4
<select> without a programmatic label packages/frontend-shared/src/gql-components/ChooseExternalEditor.vue:4— This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label.
<select> without a programmatic label packages/frontend-shared/src/gql-components/modals/SelectCloudProjectModal.vue:42— This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label.
<select> without a programmatic label packages/frontend-shared/src/gql-components/modals/SelectCloudProjectModal.vue:75— This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label.
<select> without a programmatic label packages/launchpad/src/setup/SelectFrameworkOrBundler.vue:2— This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label.
<html> without a lang packages/extension/app/newtab.html:2— The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang packages/extension/app/popup.html:2— The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang packages/server/lib/html/non_proxied_error.html:1— The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang packages/server/lib/util/network_failures.ts:20— The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
Orphaned knowledge system-tests/__snapshots__/testConfigOverrides_spec.ts.js— No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
Orphaned knowledge packages/packherd-require/src/loader.ts— No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
Orphaned knowledge packages/app/src/debug/DebugContainer.cy.tsx— No living knowledge remains for this large file — its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here.
Orphaned knowledge tooling/v8-snapshot/src/blueprint/globals.js— No living knowledge remains for this large file — its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites.
Import cycle (3 files) packages/app/src/runner/aut-iframe.ts— packages/app/src/runner/aut-iframe.ts → packages/app/src/store/studio-store.ts → packages/app/src/runner/index.ts → packages/app/src/runner/aut-iframe.ts (one verified cycle inside a mutually-dependent group of 5 files)
Import cycle (3 files) packages/proxy/lib/adapters/http-codec.ts— packages/proxy/lib/adapters/http-codec.ts → packages/proxy/lib/http/send-request-outgoing.ts → packages/proxy/lib/http/index.ts → packages/proxy/lib/adapters/http-codec.ts (one verified cycle inside a mutually-dependent group of 5 files)
Import cycle (3 files) packages/server/lib/browsers/chrome.ts— packages/server/lib/browsers/chrome.ts → packages/server/lib/browsers/memory/index.ts → packages/server/lib/browsers/index.ts → packages/server/lib/browsers/chrome.ts (one verified cycle inside a mutually-dependent group of 5 files)
Import cycle (3 files) packages/server/lib/cloud/api/index.ts— packages/server/lib/cloud/api/index.ts → packages/server/lib/errors.ts → packages/server/lib/cloud/exception.ts → packages/server/lib/cloud/api/index.ts (one verified cycle inside a mutually-dependent group of 4 files)
AC1 · Text alternatives· <img> without a text alternative · ×3
<img> without a text alternative packages/app/src/runner/automation/AutInfo.vue:6— An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
<img> without a text alternative packages/extension/app/newtab.html:10— An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
<img> without a text alternative packages/extension/app/popup.html:8— An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
AC2 · Forms & labels· <button> with no accessible text · ×2
<button> with no accessible text packages/app/src/debug/DebugSpec.vue:159— A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
<button> with no accessible text packages/reporter/src/lib/switch.tsx:17— A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
AC2 · Forms & labels· Custom control with no accessible name on <div> · ×2
Custom control with no accessible name on <div> packages/reporter/src/commands/command.tsx:136— This <div> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label.
Custom control with no accessible name on <div> packages/reporter/src/commands/command.tsx:560— This <div> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label.
AC3 · Page structure· Document without a <title> · ×2
Document without a <title> packages/reporter/static/index.html:2— A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>.
Document without a <title> packages/server/lib/util/network_failures.ts:20— A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>.
Focusable <div> isn't keyboard-operable packages/app/src/navigation/SidebarNavigationHeader.vue:8— This <div> carries tabindex="0", so it is in the tab order and a keyboard user will land on it — but its behaviour is bound to the pointer only, with no key handler. A tabindex makes an element focusable, not operable: Enter and Space fire a click on a native <button> or <a href> and nowhere else, so this can be focused and never activated. Use a <button>, or handle Enter/Space in a key handler.
Focusable <div> isn't keyboard-operable packages/frontend-shared/src/components/ShikiHighlight.vue:21— This <div> carries tabindex="0", so it is in the tab order and a keyboard user will land on it — but its behaviour is bound to the pointer only, with no key handler. A tabindex makes an element focusable, not operable: Enter and Space fire a click on a native <button> or <a href> and nowhere else, so this can be focused and never activated. Use a <button>, or handle Enter/Space in a key handler. Give it a role as well, so assistive tech can announce what it is.
AC4 · Keyboard semantics· Click handler on a non-interactive <span> · ×2
Click handler on a non-interactive <span> packages/reporter/src/commands/command.tsx:432— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
Click handler on a non-interactive <span> packages/reporter/src/lib/open-file-in-ide.tsx:16— A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler.
AC2 · Forms & labels· <input> without a programmatic label · ×1
<input> without a programmatic label packages/frontend-shared/src/components/Input.vue:29— This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
AC2 · Forms & labels· Custom control with no accessible name on <span> · ×1
Custom control with no accessible name on <span> packages/reporter/src/commands/command.tsx:432— This <span> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label.
AC2 · Forms & labels· Link with no accessible name · ×1
Link with no accessible name packages/reporter/src/runnables/runnable-error.tsx:26— A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label.
AC3 · Page structure· <iframe> without a title · ×1
<iframe> without a title packages/driver/src/cy/snapshots.ts:85— An iframe with no title (or an empty one) is announced only as "frame". Add a non-empty title describing its content, or an aria-label.
AC4 · Keyboard semantics· Clickable role="button" that no keyboard user can reach · ×1
Clickable role="button" that no keyboard user can reach packages/frontend-shared/src/components/Collapsible.vue:7— This <div> announces itself as a role="button" and binds a click, but nothing can put focus on it: no tabindex="0" in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabindex="0"="0" and an Enter/Space key handler, or make it a native <button>. If a parent widget owns the keyboard model, that parent must move focus onto the active role="button" or point aria-activedescendant at it.
AC4 · Keyboard semantics· Hover-only interaction on <div> · ×1
Hover-only interaction on <div> packages/reporter/src/commands/command.tsx:549— This <div> binds mouse-enter and mouse-leave and nothing else — no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}="0" so the element can receive that focus.
No assertions: states each condition and remedy as a finished sentence cli/test/lib/tap/tap-errors.spec.ts:88— 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: passes when checksum and file size match cli/test/lib/tasks/download.spec.ts:384— 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: has any body by default cli/types/tests/net-stubbing-tests.ts:24— 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: has typed body if given cli/types/tests/net-stubbing-tests.ts:30— 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: has any body by default cli/types/tests/net-stubbing-tests.ts:38— 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: has typed body if given cli/types/tests/net-stubbing-tests.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: has any body by default cli/types/tests/net-stubbing-tests.ts:52— 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: has typed body if given cli/types/tests/net-stubbing-tests.ts:58— 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 typed body from setDelay cli/types/tests/net-stubbing-tests.ts:64— 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 typed body from setThrottle cli/types/tests/net-stubbing-tests.ts:70— 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: has any body by default cli/types/tests/net-stubbing-tests.ts:78— 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: has typed body if given cli/types/tests/net-stubbing-tests.ts:84— 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: has any body by default cli/types/tests/net-stubbing-tests.ts:92— 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: has typed body if given cli/types/tests/net-stubbing-tests.ts:98— 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 a typed interceptor, of the same expected response type, in continue() cli/types/tests/net-stubbing-tests.ts:104— 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 a typed interceptor, of the same expected response type, in reply() cli/types/tests/net-stubbing-tests.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: has any finalResBody by default cli/types/tests/net-stubbing-tests.ts:120— 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: has typed finalResBody if given cli/types/tests/net-stubbing-tests.ts:126— 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 a request with any req/res body by default cli/types/tests/net-stubbing-tests.ts:134— 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 a request with a typed req/res body if given cli/types/tests/net-stubbing-tests.ts:141— 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: does not accept a request with a typed req/res body if mismatched cli/types/tests/net-stubbing-tests.ts:148— 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 a response with any body by default cli/types/tests/net-stubbing-tests.ts:160— 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 a response with a typed body if given cli/types/tests/net-stubbing-tests.ts:167— 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: does not accept a response with a typed body if mismatched cli/types/tests/net-stubbing-tests.ts:174— 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 a response with any body by default, in each on() cli/types/tests/net-stubbing-tests.ts:186— 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.
TodoComment cli/lib/util.ts:368— // TODO: remove this method — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cli/lib/errors.ts:13— // TODO it would be nice if all error objects could be enforced via types — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cli/lib/tasks/verify.ts:108— // TODO: when execa > 1.1 is released — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cli/lib/tasks/state.ts:19— // TODO handle this error using our standard — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cli/lib/tasks/state.ts:31— // TODO handle this error using our standard — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cli/lib/tasks/state.ts:43— // TODO handle this error using our standard — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment cli/test/lib/tasks/verify.spec.ts:1005— // TODO this needs documentation with examples badly. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/grep/test/unit.spec.ts:177— // TODO: would need to change the tokenizer — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/vite-dev-server/src/plugins/cypress.ts:45— // TODO: use async fs methods here — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/vite-plugin-cypress-esm/cypress/component/edgeCases.cy.tsx:65— // TODO: This errors when the lazy loaded router is a component — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/vue/cypress/component/basic/props/message-list.cy.ts:43— // TODO: fix with https://github.com/cypress-io/cypress/issues/30706
TodoComment npm/vue/cypress/component/basic/props/message-list.cy.ts:87— // TODO: fix with https://github.com/cypress-io/cypress/issues/30706
TodoComment npm/vue/src/index.ts:427— // TODO: get the real displayName and props from VTU shallowMount — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:66— // TODO: will need to use the module API in the future to replace this — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/webpack-dev-server/cypress/e2e/angular.cy.ts:123— // TODO: fix flaky test https://github.com/cypress-io/cypress/issues/23455
TodoComment npm/webpack-dev-server/src/CypressCTWebpackPlugin.ts:100— // TODO: don't use a sync fs method here — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/webpack-dev-server/src/helpers/sourceRelativeWebpackModules.ts:106— // TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment packages/driver/src/cy/commands/navigation.ts:201— // TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment packages/frontend-shared/cypress/support/mock-graphql/stubgql-Mutation.ts:127— // TODO — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/webpack-preprocessor/index.ts:484— // TODO compile.tap takes "string | Tap" — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment npm/webpack-preprocessor/index.ts:543— // TODO: Remove this when we update to webpack 5. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment packages/app/cypress/e2e/specs_list_no_git_repo.cy.ts:10— // TODO: fix flaky test https://github.com/cypress-io/cypress/issues/23474
TodoComment packages/app/cypress/e2e/specs_list_latest_runs.cy.ts:202— // TODO: Flaky test: Sometimes this test renders the empty view instead of the placeholder — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment packages/app/cypress/e2e/specs_list_latest_runs.cy.ts:576— // TODO: verify the contents of the tooltip — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment packages/app/cypress/e2e/specs_list_latest_runs.cy.ts:586— // TODO: verify the contents of the tooltip — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
+ 484 more in this group — see findings.md.
D30 · Dependency Vulnerabilities· Medium CVE · ×46
FunctionTooLong: mouse.create packages/driver/src/cy/mouse.ts:59— FunctionTooLong — create runs 360 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 260 over it, 3.60× 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: cookies.default packages/driver/src/cy/commands/cookies.ts:103— FunctionTooLong — default runs 347 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 247 over it, 3.47× 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: ci_provider._providerCiParams packages/server/lib/util/ci_provider.ts:192— FunctionTooLong — _providerCiParams runs 287 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 187 over it, 2.87× 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: index.default packages/driver/src/cy/commands/sessions/index.ts:24— FunctionTooLong — default runs 275 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 175 over it, 2.75× 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: navigation.default packages/driver/src/cy/commands/navigation.ts:673— FunctionTooLong — default runs 266 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 166 over it, 2.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.
FunctionTooLong: inspect.create packages/driver/src/cy/chai/inspect.ts:13— FunctionTooLong — create 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: scroll.default packages/driver/src/cy/commands/actions/scroll.ts:50— FunctionTooLong — default runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10× 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: record.createRun packages/server/lib/modes/record.ts:236— FunctionTooLong — createRun runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90× 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: waiting.default packages/driver/src/cy/commands/waiting.ts:43— FunctionTooLong — default 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: request.default packages/driver/src/cy/commands/request.ts:77— FunctionTooLong — default runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.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: record.createRunAndRecordSpecs packages/server/lib/modes/record.ts:575— FunctionTooLong — createRunAndRecordSpecs runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87× 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: before-request.onBeforeRequest packages/driver/src/cy/net-stubbing/events/before-request.ts:48— FunctionTooLong — onBeforeRequest runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84× 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: connectors.default packages/driver/src/cy/commands/connectors.ts:45— FunctionTooLong — default runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75× 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: assertions.create packages/driver/src/cy/assertions.ts:104— FunctionTooLong — create runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73× 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: click.default packages/driver/src/cy/commands/actions/click.ts:51— FunctionTooLong — default 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: command.Command packages/reporter/src/commands/command.tsx:401— FunctionTooLong — Command runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62× 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: querying.default REDACTED:153— FunctionTooLong — default runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56× 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: select.default packages/driver/src/cy/commands/actions/select.ts:18— FunctionTooLong — default runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53× 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: snapshots.create packages/driver/src/cy/snapshots.ts:13— FunctionTooLong — create runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53× 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: firefox.open packages/server/lib/browsers/firefox.ts:466— FunctionTooLong — open runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.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: service-worker-injector.injectIntoServiceWorker packages/proxy/lib/http/util/service-worker-injector.ts:55— FunctionTooLong — injectIntoServiceWorker runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.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: makeDataContext.makeDataContext packages/server/lib/makeDataContext.ts:63— FunctionTooLong — makeDataContext runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35× 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: selectFile.default packages/driver/src/cy/commands/actions/selectFile.ts:133— FunctionTooLong — default runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34× 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: network-runtime.createCdpFetchRuntime packages/server/lib/network-runtime.ts:180— FunctionTooLong — createCdpFetchRuntime runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30× 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: index.preprocessor npm/webpack-preprocessor/index.ts:228— FunctionTooLong — preprocessor runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28× 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.
Boundary violation [package:relative-cross-package] gulpfile.js:2— gulpfile.js:2 reaches into another package with a relative path (./scripts/gulp/gulpfile) — import the package by name instead.
Boundary violation [package:test-suite-dependency] npm/cypress-schematic/src/schematics/ng-generate/component/index.ts:3— npm/cypress-schematic/src/schematics/ng-generate/component/index.ts:3 imports npm/cypress-schematic/src/schematics/ng-generate/cypress-test/index.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:undeclared-workspace-dep] npm/webpack-dev-server/src/helpers/sourceRelativeWebpackModules.ts:54— npm/webpack-dev-server/src/helpers/sourceRelativeWebpackModules.ts:54 imports @cypress/webpack-batteries-included-preprocessor, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies.
Boundary violation [package:test-suite-dependency] packages/app/src/debug/DebugSpec.vue:230— packages/app/src/debug/DebugSpec.vue:230 imports packages/app/src/specs/SpecNameDisplay.vue, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/app/src/layouts/default.vue:76— packages/app/src/layouts/default.vue:76 imports packages/app/src/specs/banners/EnableNotificationsBanner.vue, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/app/src/runner/SpecRunnerOpenMode.vue:131— packages/app/src/runner/SpecRunnerOpenMode.vue:131 imports packages/app/src/specs/InlineSpecList.vue, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/app/src/runs/RunsContainer.vue:88— packages/app/src/runs/RunsContainer.vue:88 imports packages/app/src/specs/banners/TrackedBanner.vue, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/app/src/store/run-all-specs-store.ts:7— packages/app/src/store/run-all-specs-store.ts:7 imports packages/app/src/specs/tree/useCollapsibleTree.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:undeclared-workspace-dep] packages/config/src/ast-utils/addToCypressConfig.ts:144— packages/config/src/ast-utils/addToCypressConfig.ts:144 imports cypress, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies.
Boundary violation [package:third-party-deep-import] packages/data-context/graphql/makeGraphQLServer.ts:18— packages/data-context/graphql/makeGraphQLServer.ts:18 imports graphql-ws/lib/use/ws, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:third-party-deep-import] packages/data-context/graphql/plugins/nexusSlowGuardPlugin.ts:2— packages/data-context/graphql/plugins/nexusSlowGuardPlugin.ts:2 imports nexus/dist/utils, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead.
Boundary violation [package:undeclared-workspace-dep] packages/data-context/src/data/ProjectConfigIpc.ts:33— packages/data-context/src/data/ProjectConfigIpc.ts:33 imports @packages/server/lib/plugins/child/require_async_child.js, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies.
Boundary violation [package:test-suite-dependency] REDACTED:5— REDACTED:5 imports packages/driver/src/cypress/location.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/cypress.ts:8— packages/driver/src/cross-origin/cypress.ts:8 imports REDACTED, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/cypress.ts:9— packages/driver/src/cross-origin/cypress.ts:9 imports packages/driver/src/cypress/location.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/cypress.ts:10— packages/driver/src/cross-origin/cypress.ts:10 imports packages/driver/src/cypress/commands.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/cypress.ts:11— packages/driver/src/cross-origin/cypress.ts:11 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/cypress.ts:12— packages/driver/src/cross-origin/cypress.ts:12 imports packages/driver/src/cypress/log.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/cypress.ts:28— packages/driver/src/cross-origin/cypress.ts:28 imports packages/driver/src/cypress/mocha.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/events/errors.ts:3— packages/driver/src/cross-origin/events/errors.ts:3 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/events/misc.ts:2— packages/driver/src/cross-origin/events/misc.ts:2 imports packages/driver/src/cypress/location.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/origin_fn.ts:2— packages/driver/src/cross-origin/origin_fn.ts:2 imports packages/driver/src/cypress/error_utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/origin_fn.ts:3— packages/driver/src/cross-origin/origin_fn.ts:3 imports packages/driver/src/cypress/utils.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/origin_fn.ts:4— packages/driver/src/cross-origin/origin_fn.ts:4 imports packages/driver/src/cypress/location.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
Boundary violation [package:test-suite-dependency] packages/driver/src/cross-origin/origin_fn.ts:7— packages/driver/src/cross-origin/origin_fn.ts:7 imports packages/driver/src/cypress/log.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on.
+ 15 more in this group — see findings.md.
R4 · Test Coverage· No test reaches this file · ×40
No test reaches this file packages/data-context/graphql/schemaTypes/objectTypes/gql-Mutation.ts— 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 npm/angular/src/mount.ts— 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 packages/data-context/src/sources/RemoteRequestDataSource.ts— 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 packages/data-context/src/sources/CloudDataSource.ts— 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 packages/data-context/src/actions/WizardActions.ts— 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 npm/cypress-schematic/src/schematics/ng-add/index.ts— 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 packages/eslint-config/src/baseConfig.ts— 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 packages/data-context/src/sources/RelevantRunSpecsDataSource.ts— 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 packages/data-context/src/sources/RelevantRunsDataSource.ts— 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 npm/vite-plugin-cypress-esm/src/index.ts— 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 scripts/gulp/utils/childProcessUtils.ts— 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 packages/app/src/studio/studio-app-types.ts— 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 packages/launchpad/src/Main.vue— 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 packages/driver/src/cross-origin/cypress.ts— 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 scripts/binary/binary-cleanup.js— 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 packages/data-context/src/sources/VersionsDataSource.ts— 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 packages/data-context/graphql/schemaTypes/objectTypes/gql-CurrentProject.ts— 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 packages/driver/src/cross-origin/origin_fn.ts— 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 packages/scaffold-config/src/detect.ts— 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 scripts/binary/binary-integrity-check-source.js— 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 REDACTED— 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 npm/vite-plugin-cypress-esm/client/moduleCache.js— 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 scripts/gulp/tasks/gulpCypress.ts— 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 packages/data-context/graphql/schemaTypes/objectTypes/gql-Subscription.ts— 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 packages/data-context/src/sources/GraphQLDataSource.ts— 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.
Sync-over-async blocking REDACTED:24— `windowsTouch` is async and calls utimesSync, closeSync, openSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking REDACTED:34— `nexusTypegen` is async and calls execSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking scripts/gulp/tasks/gulpSyncValidations.ts:36— `ensureCloudValidations` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking npm/vite-plugin-cypress-esm/src/index.ts:51— `CypressEsm` holds an async function that calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking npm/webpack-dev-server/src/CypressCTWebpackPlugin.ts:93— `onSpecsChange` is async and calls utimesSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking npm/webpack-preprocessor/scripts/test-webpack-5.ts:17— `main` is async and calls writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/app/cypress/tasks/git.ts:5— `initGitRepoForTestProject` is async and calls readdirSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/data-context/src/actions/ProjectActions.ts:496— `runSpec` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking REDACTED:23— `windowsTouch` is async and calls utimesSync, closeSync, openSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking REDACTED:33— `nexusTypegen` is async and calls execSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/example/bin/build.js:13— `build` is async and calls execSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking REDACTED:96— `makeE2ETasks` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/launchpad/cypress/tasks/snapshotsScaffold.ts:20— `snapshotScaffoldedFiles` is async and calls mkdirSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/launchpad/cypress/tasks/snapshotsScaffold.ts:89— `snapshotCypressDirectory` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/scaffold-config/src/ct-detect-third-party.ts:77— `isRepositoryRoot` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/server/lib/cloud/artifacts/protocol_artifact.ts:52— `composeProtocolErrorReportFromOptions` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/server/lib/modes/run.ts:361— `compressRecording` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/server/scripts/sync-cloud-validations.ts:83— `ensureCloudValidations` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking packages/server/test/unit/util/trash_spec.ts:12— `populateDirectories` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking scripts/after-sign-hook.js:8— `default` is async and calls existsSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking scripts/binary/build.ts:74— `buildCypressApp` is async and calls rmSync, symlinkSync, execSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking scripts/binary/upload-build-artifact.js:35— `setChecksum` is async and calls statSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking scripts/binary/smoke.js:250— `runIntegrityTest` is async and calls spawnSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking scripts/github-actions/commit-via-api.mjs:3— `commitViaApi` is async and calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Sync-over-async blocking scripts/semantic-commits/parse-changelog.js:6— `parseChangelog` is async and calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
Hotspot: packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:460— packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in CdpFetchTransport.interceptRequest at line 460. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.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: packages/server/lib/server-base.ts packages/server/lib/server-base.ts:1230— packages/server/lib/server-base.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ServerBase._onResolveUrl at line 1230. 5 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/server-base.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: packages/server/lib/socket-base.ts packages/server/lib/socket-base.ts:142— packages/server/lib/socket-base.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in SocketBase.startListening at line 142. 2 of those changes were fix/bug commits, and the other 4 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/socket-base.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: packages/server/lib/browsers/cdp-protocol/cdp_automation.ts packages/server/lib/browsers/cdp-protocol/cdp_automation.ts:506— packages/server/lib/browsers/cdp-protocol/cdp_automation.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in CdpAutomation.onRequest at line 506. 1 of those changes was a fix/bug commit, and the other 10 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/browsers/cdp-protocol/cdp_automation.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: packages/server/lib/routes.ts packages/server/lib/routes.ts:47— packages/server/lib/routes.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in routes.createCommonRoutes at line 47. 2 of those changes were fix/bug commits, and the other 10 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/routes.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: packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.ts packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.ts:250— packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in cdp-fetch-codec.createCdpFetchCodec at line 250. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.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: packages/server/lib/open_project.ts packages/server/lib/open_project.ts:64— packages/server/lib/open_project.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in OpenProject.launch at line 64. 2 of those changes were fix/bug commits, and the other 10 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/open_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: packages/proxy/lib/http/index.ts packages/proxy/lib/http/index.ts:170— packages/proxy/lib/http/index.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in index._runStage at line 170. 2 of those changes were fix/bug commits, and the other 10 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/proxy/lib/http/index.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: packages/server/lib/browsers/browser-cri-client.ts packages/server/lib/browsers/browser-cri-client.ts:461— packages/server/lib/browsers/browser-cri-client.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in BrowserCriClient._onAttachToTarget at line 461. 1 of those changes was a fix/bug commit, and the other 5 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/browsers/browser-cri-client.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: packages/driver/src/cypress/runner.ts packages/driver/src/cypress/runner.ts:390— packages/driver/src/cypress/runner.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in runner.overrideRunnerHook at line 390. 2 of those changes were fix/bug commits, and the other 3 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/driver/src/cypress/runner.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: packages/server/lib/browsers/cdp-protocol/cri-client.ts packages/server/lib/browsers/cdp-protocol/cri-client.ts:564— packages/server/lib/browsers/cdp-protocol/cri-client.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in CriClient.send at line 564. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/browsers/cdp-protocol/cri-client.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: packages/app/src/runner/event-manager.ts packages/app/src/runner/event-manager.ts:566— packages/app/src/runner/event-manager.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in EventManager._addListeners at line 566. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/app/src/runner/event-manager.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: packages/driver/src/cy/chai.ts packages/driver/src/cy/chai.ts:47— packages/driver/src/cy/chai.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in chai.chai.use() at line 47. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/driver/src/cy/chai.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: packages/server/lib/browsers/webkit-automation.ts packages/server/lib/browsers/webkit-automation.ts:387— packages/server/lib/browsers/webkit-automation.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in WebKitAutomation.onRequest at line 387. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/browsers/webkit-automation.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: packages/driver/src/cy/commands/navigation.ts packages/driver/src/cy/commands/navigation.ts:673— packages/driver/src/cy/commands/navigation.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in navigation.default at line 673. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/driver/src/cy/commands/navigation.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: packages/server/lib/adapters/serve-internal-routes.ts packages/server/lib/adapters/serve-internal-routes.ts:103— packages/server/lib/adapters/serve-internal-routes.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in serve-internal-routes.createServeInternalRoutesMiddleware at line 103. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/adapters/serve-internal-routes.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: REDACTED REDACTED:1078— REDACTED changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in exit at line 1078. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- REDACTED`: 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: packages/config/src/validation.ts packages/config/src/validation.ts:367— packages/config/src/validation.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in validation.isValidClientCertificatesSet at line 367. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/config/src/validation.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: packages/server/lib/project-base.ts packages/server/lib/project-base.ts:381— packages/server/lib/project-base.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ProjectBase.startWebsockets at line 381. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/lib/project-base.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: packages/proxy/lib/http/util/service-worker-injector.ts packages/proxy/lib/http/util/service-worker-injector.ts:55— packages/proxy/lib/http/util/service-worker-injector.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in service-worker-injector.injectIntoServiceWorker at line 55. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/proxy/lib/http/util/service-worker-injector.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: packages/driver/src/cypress/log.ts packages/driver/src/cypress/log.ts:66— packages/driver/src/cypress/log.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in log.serializeConsolePropsValue at line 66. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/driver/src/cypress/log.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: packages/driver/src/cy/actionability.ts packages/driver/src/cy/actionability.ts:445— packages/driver/src/cy/actionability.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in actionability.verify at line 445. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/driver/src/cy/actionability.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: REDACTED REDACTED:33— REDACTED changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in server.createApp at line 33. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- REDACTED`: 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: packages/server/test/performance/proxy_performance_spec.ts packages/server/test/performance/proxy_performance_spec.ts:506— packages/server/test/performance/proxy_performance_spec.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in runBrowserTest at line 506. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/server/test/performance/proxy_performance_spec.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: npm/puppeteer/src/plugin/setup.ts npm/puppeteer/src/plugin/setup.ts:35— npm/puppeteer/src/plugin/setup.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in setup.setup at line 35. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- npm/puppeteer/src/plugin/setup.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.
FixmeComment cli/types/tests/plugins-config.ts:55— // FIXME: why can't dimensions be included? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment cli/types/tests/plugins-config.ts:84— // FIXME: this should error, but doesn't because the type isn't quite right — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment npm/react/src/createMount.ts:84— // @ts-ignore FIXME — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment npm/webpack-preprocessor/index.ts:296— // FIXME: To prevent disruption, we are only passing in a subset of options to ts-loader. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/app/src/runner/event-manager.ts:404— // FIXME: handle surfacing the error to the browser instead of hanging with — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/driver/cypress/e2e/commands/actions/type_events.cy.ts:104— // FIXME: (firefox) firefox cannot access window objects else throw cross-origin error — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/driver/cypress/e2e/e2e/origin/cookie_misc.cy.ts:3— // FIXME: currently cookies aren't cleared properly in headless mode with webkit between tests, as the below tests (excluding cy.origin) pass headfully locally. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/driver/cypress/e2e/e2e/origin/cookie_behavior.cy.ts:1147— // FIXME: cy.getCookie does not believe this cookie exists, though it is set in the browser. Should be fixed in https://github.com/cypress-io/cypress/pull/23643.
FixmeComment packages/driver/cypress/e2e/e2e/origin/cookie_behavior.cy.ts:1178— // FIXME: cy.getCookie does not believe this cookie exists, though it is set in the browser. Should be fixed in https://github.com/cypress-io/cypress/pull/23643
FixmeComment packages/driver/cypress/e2e/e2e/origin/cookie_behavior.cy.ts:1235— // FIXME: cy.getCookie does not believe this cookie exists, though it is set in the browser. Should be fixed in https://github.com/cypress-io/cypress/pull/23643
FixmeComment packages/driver/cypress/e2e/e2e/origin/cookie_behavior.cy.ts:1271— // FIXME: cy.getCookie does not believe this cookie exists, though it is set in the browser. Should be fixed in https://github.com/cypress-io/cypress/pull/23643
FixmeComment packages/driver/cypress/e2e/e2e/origin/commands/navigation.cy.ts:350— // FIXME: flaky — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/driver/cypress/e2e/e2e/origin/commands/actions.cy.ts:661— // FIXME: snapshot shows the primary domain (before type). Should be secondary — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/driver/cypress/e2e/e2e/origin/commands/actions.cy.ts:686— // FIXME: snapshot shows the primary domain. Should be secondary — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/driver/cypress/e2e/e2e/origin/commands/actions.cy.ts:851— // FIXME: snapshot of primary is showing for scrollIntoView — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/launcher/test/unit/detect.spec.ts:201— // FIXME: these tests really should be reworked to run the same regardless of OS/CPU architecture — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/server/lib/browsers/bidi_automation.ts:750— // FIXME: patch this for now just to get clean cookies between tests — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/server/test/unit/project-base_spec.ts:251— // FIXME: NEED TO MOVE TO DATA_CONTEXT PACKAGE — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/server/test/unit/project-base_spec.ts:287— // FIXME: NEED TO MOVE TO DATA_CONTEXT PACKAGE — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/server/test/unit/project-base_spec.ts:514— // FIXME: NEED TO MOVE TO DATA_CONTEXT PACKAGE — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/server/test/unit/project-base_spec.ts:530— // FIXME: NEED TO MOVE TO DATA_CONTEXT PACKAGE — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment packages/web-config/webpack.config.base.ts:318— // FIXME: we don't actually want or need wasm support in the — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment system-tests/projects/angular-signals/src/signals-required/signals-required.component.cy.ts:31— // FIXME: we currently need to allow this as there isn't a great way to set input signals in a component due to how input signals are instantiated. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment system-tests/test/experimental_retries.spec.ts:232— // FIXME: this should be 8 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FixmeComment system-tests/test/experimental_retries.spec.ts:273— // FIXME: this should be 8 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
D12 · Dependency Hygiene· One package at two majors across the workspace · ×18
One package at two majors across the workspace: @angular/common — `@angular/common` is maintained at 2 different major versions inside this one repository — major 21 in system-tests/projects/angular-21/package.json, system-tests/projects/angular-cli-unconfigured/package.json, system-tests/projects/angular-custom-config/package.json (+2 more); major 22 in system-tests/projects/angular-22/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: @angular/compiler — `@angular/compiler` is maintained at 2 different major versions inside this one repository — major 21 in system-tests/projects/angular-21/package.json, system-tests/projects/angular-cli-unconfigured/package.json, system-tests/projects/angular-custom-config/package.json (+2 more); major 22 in system-tests/projects/angular-22/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: @angular/core — `@angular/core` is maintained at 2 different major versions inside this one repository — major 21 in system-tests/projects/angular-21/package.json, system-tests/projects/angular-cli-unconfigured/package.json, system-tests/projects/angular-custom-config/package.json (+2 more); major 22 in system-tests/projects/angular-22/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: @angular/forms — `@angular/forms` is maintained at 2 different major versions inside this one repository — major 21 in system-tests/projects/angular-21/package.json, system-tests/projects/angular-cli-unconfigured/package.json, system-tests/projects/angular-custom-config/package.json (+2 more); major 22 in system-tests/projects/angular-22/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: @angular/platform-browser — `@angular/platform-browser` is maintained at 2 different major versions inside this one repository — major 21 in system-tests/projects/angular-21/package.json, system-tests/projects/angular-cli-unconfigured/package.json, system-tests/projects/angular-custom-config/package.json (+2 more); major 22 in system-tests/projects/angular-22/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: @angular/router — `@angular/router` is maintained at 2 different major versions inside this one repository — major 21 in system-tests/projects/angular-21/package.json, system-tests/projects/angular-cli-unconfigured/package.json, system-tests/projects/angular-custom-config/package.json (+2 more); major 22 in system-tests/projects/angular-22/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: babel-loader — `babel-loader` is maintained at 2 different major versions inside this one repository — major 9 in system-tests/projects/webpack-dev-server-relative/package.json, system-tests/projects/webpack-preprocessor-webpack-5/package.json; major 10 in npm/webpack-batteries-included-preprocessor/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: buffer — `buffer` is maintained at 2 different major versions inside this one repository — major 5 in cli/package.json; major 6 in npm/webpack-batteries-included-preprocessor/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: chalk — `chalk` is maintained at 2 different major versions inside this one repository — major 2 in packages/proxy/package.json, packages/server/package.json; major 4 in cli/package.json, packages/data-context/package.json, packages/errors/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: find-up — `find-up` is maintained at 2 different major versions inside this one repository — major 6 in npm/vite-dev-server/package.json, npm/webpack-dev-server/package.json; major 7 in system-tests/projects/config-cjs-and-esm/config-with-ts-module/package.json, system-tests/projects/config-with-ts-module-error/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: fs-extra — `fs-extra` is maintained at 2 different major versions inside this one repository — major 9 in cli/package.json, npm/webpack-dev-server/package.json, packages/config/package.json (+8 more); major 10 in tooling/electron-mksnapshot/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: log-symbols — `log-symbols` is maintained at 2 different major versions inside this one repository — major 2 in packages/server/package.json; major 4 in cli/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: next — `next` is maintained at 2 different major versions inside this one repository — major 15 in system-tests/projects/next-15-tsconfig-tailwind/package.json; major 16 in system-tests/projects/next-16-tsconfig-tailwind/package.json, system-tests/projects/next-16/package.json, system-tests/projects/nextjs-configured/package.json (+1 more). Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: react — `react` is maintained at 3 different major versions inside this one repository — major 17 in system-tests/projects/component-testing-outdated-dependencies/package.json, system-tests/projects/outdated-deps-react/package.json; major 18 in system-tests/projects/bun-component-testing/package.json, system-tests/projects/cypress-in-cypress/package.json, system-tests/projects/no-specs-babel-conflict/package.json (+13 more); major 19 in system-tests/projects/next-15-tsconfig-tailwind/package.json, system-tests/projects/next-16-tsconfig-tailwind/package.json, system-tests/projects/next-16/package.json (+3 more). Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: react-dom — `react-dom` is maintained at 2 different major versions inside this one repository — major 18 in system-tests/projects/bun-component-testing/package.json, system-tests/projects/cypress-in-cypress/package.json, system-tests/projects/no-specs-babel-conflict/package.json (+12 more); major 19 in system-tests/projects/next-15-tsconfig-tailwind/package.json, system-tests/projects/next-16-tsconfig-tailwind/package.json, system-tests/projects/next-16/package.json (+3 more). Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: typescript — `typescript` is maintained at 3 different major versions inside this one repository — major 5 in packages/resolve-dist/package.json, system-tests/projects/config-cjs-and-esm/config-with-ts-module-no-tsconfig/package.json, system-tests/projects/config-cjs-and-esm/config-with-ts-module/package.json (+3 more); major 6 in system-tests/projects/ts-proj-6/package.json; major 7 in system-tests/projects/ts-proj-7/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: vite — `vite` is maintained at 2 different major versions inside this one repository — major 7 in system-tests/projects/component-testing-outdated-dependencies/package.json; major 8 in system-tests/projects/ct-public-api-solid-js/package.json, system-tests/projects/outdated-deps-react/package.json, system-tests/projects/tailwind-vite/package.json (+3 more). Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
One package at two majors across the workspace: vue — `vue` is maintained at 2 different major versions inside this one repository — major 2 in system-tests/projects/outdated-deps-vue/package.json; major 3 in system-tests/projects/no-specs-vue/package.json, system-tests/projects/vue3-vite-ts-configured/package.json, system-tests/projects/vue3-vite-ts-custom-index-html/package.json (+2 more). Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship.
FileTooLong: src/errors.ts packages/errors/src/errors.ts— FileTooLong — 1130 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: AllCypressErrors (63-1747). The bar is 500 significant lines; this is 630 over it, 2.26× 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: cy/keyboard.ts packages/driver/src/cy/keyboard.ts— FileTooLong — 855 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 355 over it, 1.71× 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: lib/server-base.ts packages/server/lib/server-base.ts— FileTooLong — 770 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: ServerBase (228-1533). The bar is 500 significant lines; this is 270 over it, 1.54× 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: modes/run.ts packages/server/lib/modes/run.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: commands/navigation.ts packages/driver/src/cy/commands/navigation.ts— FileTooLong — 620 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 120 over it, 1.24× 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: src/cypress.ts packages/driver/src/cypress.ts— FileTooLong — 592 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: $Cypress (118-1011). The bar is 500 significant lines; this is 92 over it, 1.18× 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: modes/record.ts packages/server/lib/modes/record.ts— FileTooLong — 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 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: runner/event-manager.ts packages/app/src/runner/event-manager.ts— FileTooLong — 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: EventManager (57-1106). The bar is 500 significant lines; this is 60 over it, 1.12× 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: util/ci_provider.ts packages/server/lib/util/ci_provider.ts— FileTooLong — 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 over it, 1.09× 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: src/options.ts packages/config/src/options.ts— FileTooLong — 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 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: browsers/browser-cri-client.ts packages/server/lib/browsers/browser-cri-client.ts— FileTooLong — 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: BrowserCriClient (190-1074). The bar is 500 significant lines; this is 26 over it, 1.05× 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: src/loader.ts packages/packherd-require/src/loader.ts— FileTooLong — 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02× 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.
MethodTooLong: SocketBase.startListening packages/server/lib/socket-base.ts:142— MethodTooLong — startListening runs 359 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 259 over it, 3.59× 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: $Cypress.action packages/driver/src/cypress.ts:484— MethodTooLong — action runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06× 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: ProjectBase.startWebsockets packages/server/lib/project-base.ts:381— MethodTooLong — startWebsockets runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56× 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: CdpFetchTransport.interceptRequest packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:460— MethodTooLong — interceptRequest runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53× 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: EventManager.addGlobalListeners packages/app/src/runner/event-manager.ts:90— MethodTooLong — addGlobalListeners runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52× 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: ServerBase._onResolveUrl packages/server/lib/server-base.ts:1230— MethodTooLong — _onResolveUrl runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50× 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: EventManager._addListeners packages/app/src/runner/event-manager.ts:566— MethodTooLong — _addListeners runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41× 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: Keyboard.fireSimulatedEvent packages/driver/src/cy/keyboard.ts:880— MethodTooLong — fireSimulatedEvent runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17× 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: CdpFetchTransport.resolveResponse packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:741— MethodTooLong — resolveResponse runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01× 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.
ClassTooLong: ServerBase packages/server/lib/server-base.ts:228— ClassTooLong — 642 significant lines (blank, comment-only and punctuation-only lines excluded), 54 methods. The bar is 400 significant lines; this is 242 over it, 1.61× 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: EventManager packages/app/src/runner/event-manager.ts:57— ClassTooLong — 521 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 121 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.
ClassTooLong: $Cypress packages/driver/src/cypress.ts:118— ClassTooLong — 505 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 105 over it, 1.26× 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: AutIframe packages/app/src/runner/aut-iframe.ts:20— ClassTooLong — 480 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 80 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.
ClassTooLong: SocketBase packages/server/lib/socket-base.ts:53— ClassTooLong — 429 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 29 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.
ClassTooLong: ProjectBase packages/server/lib/project-base.ts:77— ClassTooLong — 423 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 23 over it, 1.06× 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: ProjectLifecycleManager packages/data-context/src/data/ProjectLifecycleManager.ts:54— ClassTooLong — 411 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 11 over it, 1.03× 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: BrowserCriClient packages/server/lib/browsers/browser-cri-client.ts:190— ClassTooLong — 409 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 9 over it, 1.02× 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: CdpFetchTransport packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:180— ClassTooLong — 407 significant lines (blank, comment-only and punctuation-only lines excluded), 18 methods. The bar is 400 significant lines; this is 7 over it, 1.02× 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.
AC3 · Page structure· Page without a main landmark · ×6
Page without a main landmark packages/driver/index.html:2— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark packages/extension/app/newtab.html:2— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark packages/extension/app/popup.html:2— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark packages/launchpad/index.html:2— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark packages/server/lib/html/non_proxied_error.html:1— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark packages/server/lib/util/network_failures.ts:20— No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
TooManyMethods: ServerBase packages/server/lib/server-base.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: AutIframe packages/app/src/runner/aut-iframe.ts:20— 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: ProtocolManager packages/server/lib/cloud/protocol.ts:36— TooManyMethods — 38 methods. The bar is 30 methods; this is 8 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.
TooManyMethods: ProjectLifecycleManager packages/data-context/src/data/ProjectLifecycleManager.ts:54— 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: EventManager packages/app/src/runner/event-manager.ts:57— TooManyMethods — 33 methods. The bar is 30 methods; this is 3 over it, 1.10× 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: ProjectActions packages/data-context/src/actions/ProjectActions.ts:93— 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.
Outbound HTTP without resilience packages/data-context/src/sources/UtilDataSource.ts:20— `fetch(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. 6 of the 7 files that make outbound calls are unbounded; the first 6 are listed.
Outbound HTTP without resilience packages/server/lib/cloud/api/cloud_request.ts:42— `axios.create(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Outbound HTTP without resilience packages/server/lib/cloud/network/fetch.ts:32— `fetch(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Outbound HTTP without resilience packages/server/lib/cloud/protocol.ts:488— `fetch(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Outbound HTTP without resilience packages/server/lib/privileged-commands/privileged-channel.js:217— `fetch(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Outbound HTTP without resilience packages/server/scripts/sync-cloud-validations.ts:38— `fetch(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout.
Duplicated block (20 lines × 2 locations) npm/vue/src/index.ts:260— npm/vue/src/index.ts:260 · npm/vue/src/index.ts:332 — 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 (20 lines × 2 locations) packages/driver/src/dom/elements/nativeProps.ts:21— packages/driver/src/dom/elements/nativeProps.ts:21 · packages/driver/src/dom/elements/nativeProps.ts:42 — 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.
Duplicated block (20 lines × 2 locations) scripts/binary/zip.js:88— scripts/binary/zip.js:88 · scripts/binary/zip.js:166 — 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.
Duplicated block (20 lines × 2 locations) scripts/unit/binary/util/packages-spec.js:74— scripts/unit/binary/util/packages-spec.js:74 · scripts/unit/binary/util/packages-spec.js:111 — all 2 copies are in the same file, 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 (20 lines × 2 locations) scripts/unit/github-actions/semantic-pull-request/validate-pr-title-spec.js:21— scripts/unit/github-actions/semantic-pull-request/validate-pr-title-spec.js:21 · scripts/unit/github-actions/semantic-pull-request/validate-pr-title-spec.js:53 — 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 (20 lines × 2 locations) scripts/unit/semantic-commits/validate-changelog-spec.js:247— scripts/unit/semantic-commits/validate-changelog-spec.js:247 · scripts/unit/semantic-commits/validate-changelog-spec.js:285 — 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.
D10 · Test Quality· Test project verifies nothing · ×5
Test project verifies nothing: system-tests/projects/angular-custom-root system-tests/projects/angular-custom-root/ui/app/app.component.cy.ts:4— No conventional assertion call was detected in 1 of 1 tests in `system-tests/projects/angular-custom-root` — the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail.
Test project verifies nothing: system-tests/projects/nextjs-configured system-tests/projects/nextjs-configured/components/button.cy.jsx:4— No conventional assertion call was detected in 1 of 1 tests in `system-tests/projects/nextjs-configured` — the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail.
Test project verifies nothing: system-tests/projects/react-vite-ts-configured system-tests/projects/react-vite-ts-configured/src/App.cy.tsx:5— No conventional assertion call was detected in 1 of 1 tests in `system-tests/projects/react-vite-ts-configured` — the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail.
Test project verifies nothing: system-tests/projects/vite-simple system-tests/projects/vite-simple/src/two.cy.jsx:5— No conventional assertion call was detected in 2 of 2 tests in `system-tests/projects/vite-simple` — the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail.
Test project verifies nothing: system-tests/projects/vue3-vite-ts-configured system-tests/projects/vue3-vite-ts-configured/src/components/HelloWorld.cy.ts:4— No conventional assertion call was detected in 1 of 1 tests in `system-tests/projects/vue3-vite-ts-configured` — the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail.
Duplicated block (17 lines × 2 locations) packages/data-context/src/data/ProjectConfigManager.ts:624— packages/data-context/src/data/ProjectConfigManager.ts:624 · packages/data-context/src/data/ProjectLifecycleManager.ts:781 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it.
Duplicated block (17 lines × 2 locations) packages/errors/src/errors.ts:268— packages/errors/src/errors.ts:268 · packages/errors/src/errors.ts:302 — 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.
Duplicated block (17 lines × 2 locations) scripts/sanitize-mocha-results.js:67— scripts/sanitize-mocha-results.js:67 · scripts/verify-mocha-results.js:65 — 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 (17 lines × 2 locations) tooling/electron-mksnapshot/src/mksnapshot-run.ts:171— tooling/electron-mksnapshot/src/mksnapshot-run.ts:171 · tooling/electron-mksnapshot/src/mksnapshot-run.ts:230 — 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.
Duplicated block (16 lines × 2 locations) packages/app/src/prompt/prompt-app-types.ts:8— packages/app/src/prompt/prompt-app-types.ts:8 · packages/app/src/studio/studio-app-types.ts:69 — 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 (16 lines × 2 locations) packages/driver/src/dom/selection.ts:187— packages/driver/src/dom/selection.ts:187 · packages/driver/src/dom/selection.ts:238 — 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 (16 lines × 2 locations) packages/web-config/webpack.config.base.ts:123— packages/web-config/webpack.config.base.ts:123 · packages/web-config/webpack.config.base.ts:269 — all 2 copies are in the same file, 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 (16 lines × 2 locations) scripts/binary/s3-api.ts:97— scripts/binary/s3-api.ts:97 · scripts/binary/s3-api.ts:157 — 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.
AC4 · Keyboard semantics· Anchor without href · ×3
Anchor without href packages/reporter/src/components/LaunchStudioIcon.tsx:19— An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
Anchor without href REDACTED:52— An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
Anchor without href packages/reporter/src/runnables/runnables.tsx:72— An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
HackComment packages/driver/src/cross-origin/origin_fn.ts:138— // HACK: We're telling the runnable that it has passed to avoid a timeout — a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
HackComment packages/driver/src/cy/assertions.ts:436— // HACK: bluebird .reduce will not call the callback — a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
HackComment packages/driver/src/cypress/mocha.ts:505— // HACK: we need to dynamically enqueue tests to suite.tests during a test run — a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
Change coupling: REDACTED ↔ REDACTED REDACTED— `REDACTED` and `packages/driver/src/cy/commands/origin/index.ts` change together 81% of the time (17 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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 17 shared commits counted here, the most recent 3 are `1c1734b2` fix: remove cross origin window ref in spec-bridge communicator lifec…; `208efbfb` fix: Use post message instead of web sockets for spec bridges. (#24243); `18321f80` chore: refactor originPolicy to use superDomainOrigin nomenclat… (#23… — run `git show` on any of them.
Change coupling: REDACTED ↔ REDACTED packages/proxy/lib/http/index.ts— `packages/proxy/lib/http/index.ts` and `packages/proxy/lib/http/util/cookies.ts` change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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 9 shared commits counted here, the most recent 3 are `a75b1a81` refactor: consolidate server cookie automation code under lib/automat…; `d682b297` refactor: move resourceTypeAndCredentialManager from @packages/server…; `2e092add` perf: no longer pause every single request through CDP and only pause… — run `git show` on any of them.
Change coupling: request-middleware.ts ↔ REDACTED packages/proxy/lib/http/request-middleware.ts— `packages/proxy/lib/http/request-middleware.ts` and `packages/proxy/lib/http/util/cookies.ts` change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository's 10,000 most recent commits rather than its whole history — 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 `d682b297` refactor: move resourceTypeAndCredentialManager from @packages/server…; `2e092add` perf: no longer pause every single request through CDP and only pause…; `e02f6bf9` feat: add `resourceType` support to `cy.intercept()` on `req`/`routeM… — run `git show` on any of them.
Duplicated block (19 lines × 2 locations) packages/app/src/debug/DebugRunNavigation.vue:229— packages/app/src/debug/DebugRunNavigation.vue:229 · packages/app/src/runs/RunsLayout.vue:136 — 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.
Duplicated block (19 lines × 2 locations) scripts/unit/binary/util/packages-spec.js:202— scripts/unit/binary/util/packages-spec.js:202 · scripts/unit/binary/util/packages-spec.js:224 — 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 (19 lines × 2 locations) scripts/unit/github-actions/update-browser-version-spec.js:96— scripts/unit/github-actions/update-browser-version-spec.js:96 · scripts/unit/github-actions/update-browser-version-spec.js:190 — 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.
AC4 · Keyboard semantics· Link used as a button (placeholder href) · ×2
Link used as a button (placeholder href) packages/reporter/src/lib/file-name-opener.tsx:26— An <a href="#"> (or javascript:) with a click handler is a button dressed as a link — it announces the wrong role and stops working without JS. Use a <button> for an action.
Link used as a button (placeholder href) packages/reporter/src/runnables/runnables.tsx:63— An <a href="#"> (or javascript:) with a click handler is a button dressed as a link — it announces the wrong role and stops working without JS. Use a <button> for an action.
Low contrast colour pair in CSS (2.3:1) npm/react/cypress/component/basic/css-modules/Button.module.css:24— `.componentButton.orange button` sets color: white on background-color: #f5923e — 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
Low contrast colour pair in CSS (2.3:1) npm/react/cypress/component/basic/css/Button.css:24— `.component-button.orange button` sets color: white on background-color: #F5923E — 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
Duplicated block (24 lines × 2 locations) packages/server/lib/network-runtime.ts:104— packages/server/lib/network-runtime.ts:104 · packages/server/lib/network-runtime.ts:180 — 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 (24 lines × 2 locations) scripts/binary/smoke.js:130— scripts/binary/smoke.js:130 · scripts/binary/smoke.js:172 — 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.
R10 · Code Duplication· Duplicated block with local edits (15 matched lines × 2 locations) · ×2
Duplicated block with local edits (15 matched lines × 2 locations) packages/reporter/src/collapsible/collapsible.tsx:42— packages/reporter/src/collapsible/collapsible.tsx:42 · packages/reporter/src/studio/StudioTest.tsx:94 — the two spans are one implementation copied and then locally edited — 90 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 (15 matched lines × 2 locations) packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:750— packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:750 · packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:776 — the two spans are one implementation copied and then locally edited — 75 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.
Duplicated block (15 lines × 2 locations) scripts/binary/index.js:251— scripts/binary/index.js:251 · scripts/binary/index.js:267 — 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.
Duplicated block (15 lines × 2 locations) scripts/binary/smoke.js:76— scripts/binary/smoke.js:76 · scripts/binary/smoke.js:205 — 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.
Dead file (~30 LoC) packages/app/src/pages/Settings.vue— no import path from any entry point (485 application, 493 tooling, 3279 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 (~30 LoC) packages/app/src/pages/[...all].vue— no import path from any entry point (485 application, 493 tooling, 3279 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
Empty <h2> heading packages/frontend-shared/src/components/ListRowHeader.vue:15— An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it's decorative.
AC6 · Visual & motion safety· Animation without a prefers-reduced-motion guard · ×1
Animation without a prefers-reduced-motion guard packages/launchpad/index.html:18— This stylesheet animates but never checks prefers-reduced-motion, so motion-sensitive users can't opt out. Wrap motion in @media (prefers-reduced-motion: no-preference).
inspect.create (cyclomatic 87) packages/driver/src/cy/chai/inspect.ts:13— inspect.create has cyclomatic complexity 87 (threshold 15). Of this number, 79 points are the body's own statements and 8 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.
$Cypress.action (cyclomatic 85) packages/driver/src/cypress.ts:484— $Cypress.action has cyclomatic complexity 85 (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.
mouse.create (cyclomatic 78) packages/driver/src/cy/mouse.ts:59— mouse.create has cyclomatic complexity 78 (threshold 15). Of this number, 36 points are the body's own statements and 42 belong to 11 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.
type.default (cyclomatic 77) packages/driver/src/cy/commands/actions/type.ts:15— type.default has cyclomatic complexity 77 (threshold 15). Most of this is not in the body itself: 9 of the 77 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 177, 178, 167, …). 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.
navigation.default (cyclomatic 65) packages/driver/src/cy/commands/navigation.ts:673— navigation.default has cyclomatic complexity 65 (threshold 15). Of this number, 19 points are the body's own statements and 46 belong to 12 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.
SocketBase.startListening (cyclomatic 62) packages/server/lib/socket-base.ts:142— SocketBase.startListening has cyclomatic complexity 62 (threshold 15). Most of this is not in the body itself: 1 of the 62 points is its own statement and the rest belongs to 22 function literals inside it that branch (lines 514, 621, 597, …). 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.
addToCypressConfigPlugin.addToCypressConfigPlugin (cyclomatic 56) packages/config/src/ast-utils/addToCypressConfigPlugin.ts:22— addToCypressConfigPlugin.addToCypressConfigPlugin has cyclomatic complexity 56 (threshold 15). Of this number, 51 points are the body's own statements and 5 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.
index.default (cyclomatic 56) packages/driver/src/cy/commands/sessions/index.ts:24— index.default has cyclomatic complexity 56 (threshold 15). Of this number, 25 points are the body's own statements and 31 belong to 18 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.
request.default (cyclomatic 52) packages/driver/src/cy/commands/request.ts:77— request.default has cyclomatic complexity 52 (threshold 15). Of this number, 41 points are the body's own statements and 11 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.
cookies.default (cyclomatic 50) packages/driver/src/cy/commands/cookies.ts:103— cookies.default has cyclomatic complexity 50 (threshold 15). Of this number, 29 points are the body's own statements and 21 belong to 12 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.
chai.chai.use() (cyclomatic 50) packages/driver/src/cy/chai.ts:47— chai.chai.use() has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 3 of the 50 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 403, 334, 200, …). 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.
scroll.default (cyclomatic 48) packages/driver/src/cy/commands/actions/scroll.ts:50— scroll.default has cyclomatic complexity 48 (threshold 15). Of this number, 36 points are the body's own statements and 12 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.
waiting.default (cyclomatic 48) packages/driver/src/cy/commands/waiting.ts:43— waiting.default has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 15 of the 48 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 116, 276, 260, …). 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.
connectors.default (cyclomatic 47) packages/driver/src/cy/commands/connectors.ts:45— connectors.default has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 6 of the 47 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 218, 146, 182, …). 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.
querying.default (cyclomatic 46) REDACTED:153— querying.default has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 1 of the 46 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 234, 182, 335, …). 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.
assertions.create (cyclomatic 46) packages/driver/src/cy/assertions.ts:104— assertions.create has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 5 of the 46 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 152, 326, 246, …). 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.
jquery.scrollto.scrollTo (cyclomatic 39) packages/driver/src/config/jquery.scrollto.ts:36— jquery.scrollto.scrollTo has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 7 of the 39 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 106, 64). 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.
keyboard.validateTyping (cyclomatic 38) packages/driver/src/cy/keyboard.ts:387— keyboard.validateTyping has cyclomatic complexity 38 (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.
register.register (cyclomatic 35) npm/grep/src/register.ts:16— register.register has cyclomatic complexity 35 (threshold 15). Of this number, 24 points are the body's own statements and 11 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.
command.Command (cyclomatic 35) packages/reporter/src/commands/command.tsx:401— command.Command has cyclomatic complexity 35 (threshold 15). Of this number, 28 points are the body's own statements and 7 belong to 5 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.
record.createRun (cyclomatic 35) packages/server/lib/modes/record.ts:236— record.createRun has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 7 of the 35 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 350, 308, 303). 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.
select.default (cyclomatic 34) packages/driver/src/cy/commands/actions/select.ts:18— select.default has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 15 of the 34 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 108, 120, 87, …). 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.
files.default (cyclomatic 34) packages/driver/src/cy/commands/files.ts:18— files.default has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 19, 227, 87, …). 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.
service-worker-injector.injectIntoServiceWorker (cyclomatic 34) packages/proxy/lib/http/util/service-worker-injector.ts:55— service-worker-injector.injectIntoServiceWorker has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 9 of the 34 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 160, 218, 115, …). 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.
CdpFetchTransport.interceptRequest (cyclomatic 34) packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:460— CdpFetchTransport.interceptRequest has cyclomatic complexity 34 (threshold 15). Of this number, 29 points are the body's own statements and 5 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.
actionability.verify (cyclomatic 33) packages/driver/src/cy/actionability.ts:445— actionability.verify has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 5 of the 33 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 534, 488, 636, …). 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.
run.processRunOptions (cyclomatic 32) cli/lib/exec/run.ts:38— run.processRunOptions has cyclomatic complexity 32 (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.
EventManager._addListeners (cyclomatic 31) packages/app/src/runner/event-manager.ts:566— EventManager._addListeners has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 5 of the 31 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 626, 682, 667, …). 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.
run_require_async_child.run (cyclomatic 31) packages/server/lib/plugins/child/run_require_async_child.ts:24— run_require_async_child.run has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 128, 65, 112, …). 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.
spawn.createSpawnFunction (cyclomatic 30) cli/lib/exec/spawn.ts:60— spawn.createSpawnFunction has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 66, 261, 152, …). 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.
plugin.plugin (cyclomatic 30) npm/grep/src/plugin.ts:19— plugin.plugin has cyclomatic complexity 30 (threshold 15). Of this number, 28 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.
index.preprocessor (cyclomatic 30) npm/webpack-preprocessor/index.ts:228— index.preprocessor has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 242, 286, 387, …). 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.
EventManager.addGlobalListeners (cyclomatic 30) packages/app/src/runner/event-manager.ts:90— EventManager.addGlobalListeners has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 131, 182, 154, …). 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.
run.waitForTestsToFinishRunning (cyclomatic 30) packages/server/lib/modes/run.ts:628— run.waitForTestsToFinishRunning has cyclomatic complexity 30 (threshold 15). 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.
BrowserCriClient._onAttachToTarget (cyclomatic 30) packages/server/lib/browsers/browser-cri-client.ts:461— BrowserCriClient._onAttachToTarget has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body's own statements and 2 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.
visibility.getReasonIsHidden (cyclomatic 29) packages/driver/src/dom/visibility.ts:527— visibility.getReasonIsHidden 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.
before-request.onBeforeRequest (cyclomatic 29) packages/driver/src/cy/net-stubbing/events/before-request.ts:48— before-request.onBeforeRequest has cyclomatic complexity 29 (threshold 15). Of this number, 18 points are the body's own statements and 11 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.
CdpAutomation.onRequest (cyclomatic 29) packages/server/lib/browsers/cdp-protocol/cdp_automation.ts:506— CdpAutomation.onRequest 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.
firefox.open (cyclomatic 29) packages/server/lib/browsers/firefox.ts:466— firefox.open has cyclomatic complexity 29 (threshold 15). Of this number, 24 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.
focus.default (cyclomatic 28) packages/driver/src/cy/commands/actions/focus.ts:25— focus.default has cyclomatic complexity 28 (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.
(anonymous) (cyclomatic 28) packages/server/lib/privileged-commands/privileged-channel.js:1— (anonymous) has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 13 function items inside it that branch (onCommandInvocation, stackIsFromSpecFrame, hasCallbackInsideEval, …). 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.
validation.isValidClientCertificatesSet (cyclomatic 27) packages/config/src/validation.ts:367— validation.isValidClientCertificatesSet has cyclomatic complexity 27 (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.
traversals.default (cyclomatic 27) packages/driver/src/cy/commands/traversals.ts:12— traversals.default 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 literals inside it that branch (lines 21, 86, 125, …). 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.
args.toObject (cyclomatic 27) packages/server/lib/util/args.ts:342— args.toObject has cyclomatic complexity 27 (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.
ci_provider._providerCommitParams (cyclomatic 27) packages/server/lib/util/ci_provider.ts:554— ci_provider._providerCommitParams has cyclomatic complexity 27 (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.
focused.create (cyclomatic 26) packages/driver/src/cy/focused.ts:53— focused.create has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body's own statements and 3 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.
routes.createCommonRoutes (cyclomatic 26) packages/server/lib/routes.ts:47— routes.createCommonRoutes has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 80, 343, 224, …). 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.
setup.setup (cyclomatic 25) npm/puppeteer/src/plugin/setup.ts:35— setup.setup has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body's own statements and 3 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.
selectFile.default (cyclomatic 25) packages/driver/src/cy/commands/actions/selectFile.ts:133— selectFile.default has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 235, 321, 134, …). 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.
install.start (cyclomatic 24) cli/lib/tasks/install.ts:128— install.start has cyclomatic complexity 24 (threshold 15). Of this number, 16 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.
snapshots.create (cyclomatic 24) packages/driver/src/cy/snapshots.ts:13— snapshots.create 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 8 function literals inside it that branch (lines 242, 106, 21, …). 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.
upload_artifacts.uploadArtifacts (cyclomatic 24) packages/server/lib/cloud/artifacts/upload_artifacts.ts:153— upload_artifacts.uploadArtifacts has cyclomatic complexity 24 (threshold 15). 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: 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.
click.default (cyclomatic 23) packages/driver/src/cy/commands/actions/click.ts:51— click.default has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 91, 112, 148, …). 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.
static-response-utils.validateStaticResponse (cyclomatic 23) packages/driver/src/cy/net-stubbing/static-response-utils.ts:19— static-response-utils.validateStaticResponse 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.
client-certificates.loadClientCertificateConfig (cyclomatic 23) packages/network/lib/client-certificates.ts:193— client-certificates.loadClientCertificateConfig has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 232, 204, 210). 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.
CriClient.send (cyclomatic 23) packages/server/lib/browsers/cdp-protocol/cri-client.ts:564— CriClient.send has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body's own statements and 6 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.
CdpFetchTransport.resolveResponse (cyclomatic 23) packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:741— CdpFetchTransport.resolveResponse 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.
GitDataSource.#loadBulkGitInfo (cyclomatic 22) packages/data-context/src/sources/GitDataSource.ts:282— GitDataSource.#loadBulkGitInfo has cyclomatic complexity 22 (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.
route-matching.doesRouteMatch (cyclomatic 22) packages/network-interception/lib/core/route-matching.ts:19— route-matching.doesRouteMatch has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body's own statements and 5 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.
index.default (cyclomatic 21) packages/driver/src/cy/commands/origin/index.ts:32— index.default has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 127, 179, 79, …). 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.
add-command.validateRouteMatcherOptions (cyclomatic 21) packages/driver/src/cy/net-stubbing/add-command.ts:112— add-command.validateRouteMatcherOptions has cyclomatic complexity 21 (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.
add-command.addCommand (cyclomatic 21) packages/driver/src/cy/net-stubbing/add-command.ts:172— add-command.addCommand has cyclomatic complexity 21 (threshold 15). Of this number, 20 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.
ServiceWorkerManager.processBrowserPreRequest (cyclomatic 21) packages/proxy/lib/http/util/service-worker-manager.ts:197— ServiceWorkerManager.processBrowserPreRequest has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 214). 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.
moduleCache.createProxyModule (cyclomatic 20) npm/vite-plugin-cypress-esm/client/moduleCache.js:7— moduleCache.createProxyModule has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body's own statements and 10 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.
index.addTypeScriptConfig (cyclomatic 20) npm/webpack-batteries-included-preprocessor/index.ts:80— index.addTypeScriptConfig has cyclomatic complexity 20 (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.
validation.isValidRetriesConfig (cyclomatic 20) packages/config/src/validation.ts:178— validation.isValidRetriesConfig 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.
keyboard.shouldUpdateValue (cyclomatic 20) packages/driver/src/cy/keyboard.ts:313— keyboard.shouldUpdateValue 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.
clock.default (cyclomatic 20) packages/driver/src/cy/commands/clock.ts:15— clock.default has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body's own statements and 7 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.
querying.getAlias (cyclomatic 20) REDACTED:20— querying.getAlias has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to one function literal inside it that branches (line 23). 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.
sourcemap-support.CallSiteToString (cyclomatic 20) packages/packherd-require/src/sourcemap-support.ts:366— sourcemap-support.CallSiteToString 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.
set-injection-level.setInjectionLevel (cyclomatic 20) packages/proxy/lib/adapters/set-injection-level.ts:20— set-injection-level.setInjectionLevel has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body's own statements and 3 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.
runnable-popover-options.RunnablePopoverOptions (cyclomatic 20) packages/reporter/src/runnables/runnable-popover-options.tsx:21— runnable-popover-options.RunnablePopoverOptions has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 64, 103, 43, …). 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.
cdp-fetch-codec.createCdpFetchCodec (cyclomatic 20) packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.ts:250— cdp-fetch-codec.createCdpFetchCodec has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body's own statements and 2 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.
Telemetry.startSpan (cyclomatic 20) packages/telemetry/src/telemetry/index.ts:144— Telemetry.startSpan has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body's own statements and 4 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.
custom-require.customRequire (cyclomatic 20) tooling/v8-snapshot/src/blueprint/custom-require.js:33— custom-require.customRequire 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.
determine-deferred.determineDeferred (cyclomatic 20) tooling/v8-snapshot/src/doctor/determine-deferred.ts:52— determine-deferred.determineDeferred has cyclomatic complexity 20 (threshold 15). Of this number, 17 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.
Keyboard.simulatedKeydown (cyclomatic 19) packages/driver/src/cy/keyboard.ts:1149— Keyboard.simulatedKeydown 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.
navigation.stabilityChanged (cyclomatic 19) packages/driver/src/cy/commands/navigation.ts:179— navigation.stabilityChanged has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 321, 250, 278, …). 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.
InterceptedRequest.handleSubscriptions (cyclomatic 19) packages/net-stubbing/lib/server/intercepted-request.ts:121— InterceptedRequest.handleSubscriptions has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body's own statements and 9 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.
AutIframe.highlightEl (cyclomatic 18) packages/app/src/runner/aut-iframe.ts:331— AutIframe.highlightEl has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 413, 368, 460). 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.
asserting.default (cyclomatic 18) packages/driver/src/cy/commands/asserting.ts:33— asserting.default has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 134, 183, 63, …). 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.
aliases.create (cyclomatic 18) packages/driver/src/cy/aliases.ts:21— aliases.create 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.
window.default (cyclomatic 18) packages/driver/src/cy/commands/window.ts:50— window.default has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body's own statements and 7 belong to 6 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.
ProjectBase.startWebsockets (cyclomatic 18) packages/server/lib/project-base.ts:381— ProjectBase.startWebsockets has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 481, 634, 439, …). 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.
OpenProject.launch (cyclomatic 18) packages/server/lib/open_project.ts:64— OpenProject.launch has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body's own statements and 7 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.
run.ready (cyclomatic 18) packages/server/lib/modes/run.ts:1108— run.ready 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, 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.
ProjectActions.runSpec (cyclomatic 17) packages/data-context/src/actions/ProjectActions.ts:496— ProjectActions.runSpec has cyclomatic complexity 17 (threshold 15). 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, 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.
selection._moveSelectionTo (cyclomatic 17) packages/driver/src/dom/selection.ts:536— selection._moveSelectionTo 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.
screenshot.default (cyclomatic 17) packages/driver/src/cy/commands/screenshot.ts:493— screenshot.default 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.
Command.isOpen (cyclomatic 17) packages/reporter/src/commands/command-model.ts:89— Command.isOpen 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.
parse-changelog.parseChangelog (cyclomatic 17) scripts/semantic-commits/parse-changelog.js:6— parse-changelog.parseChangelog 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.
console-props.onOneRow (cyclomatic 16) cli/lib/tap/render/console-props.ts:64— console-props.onOneRow 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.
pin.pinCommand (cyclomatic 16) packages/app/src/tap/commands/pin.ts:103— pin.pinCommand 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.
utils.mergeDefaults (cyclomatic 16) packages/config/src/project/utils.ts:406— utils.mergeDefaults has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body's own statements and 4 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.
VersionsDataSource.#getLatestVersion (cyclomatic 16) packages/data-context/src/sources/VersionsDataSource.ts:127— VersionsDataSource.#getLatestVersion 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, 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.
ProjectLifecycleManager.createConfigManager (cyclomatic 16) packages/data-context/src/data/ProjectLifecycleManager.ts:204— ProjectLifecycleManager.createConfigManager has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 219). 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.
ProjectLifecycleManager.setInitialActiveBrowser (cyclomatic 16) packages/data-context/src/data/ProjectLifecycleManager.ts:314— ProjectLifecycleManager.setInitialActiveBrowser 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.
Keyboard.fireSimulatedEvent (cyclomatic 16) packages/driver/src/cy/keyboard.ts:880— Keyboard.fireSimulatedEvent 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.
check.checkOrUncheck (cyclomatic 16) packages/driver/src/cy/commands/actions/check.ts:9— check.checkOrUncheck 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 literals inside it that branch (lines 59, 34, 40, …). 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.
response.onResponse (cyclomatic 16) packages/driver/src/cy/net-stubbing/events/response.ts:21— response.onResponse has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body's own statements and 5 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.
state-icon.StateIcon (cyclomatic 16) packages/reporter/src/lib/state-icon.tsx:12— state-icon.StateIcon 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.
fetch.fetch (cyclomatic 16) packages/server/lib/cloud/network/fetch.ts:47— fetch.fetch 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.
Reporter.normalizeTest (cyclomatic 16) packages/server/lib/reporter.ts:626— Reporter.normalizeTest has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body's own statements and 7 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.
ProjectBase.open (cyclomatic 16) packages/server/lib/project-base.ts:166— ProjectBase.open 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.
run.waitForBrowserToConnect (cyclomatic 16) packages/server/lib/modes/run.ts:489— run.waitForBrowserToConnect has cyclomatic complexity 16 (threshold 15). Of this number, 9 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.
validate-changelog.validateChangelog (cyclomatic 16) scripts/semantic-commits/validate-changelog.js:129— validate-changelog.validateChangelog has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body's own statements and 6 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.
SnapshotDoctor._processCurrentScript (cyclomatic 16) tooling/v8-snapshot/src/doctor/snapshot-doctor.ts:453— SnapshotDoctor._processCurrentScript has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body's own statements and 8 belong 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.
Repeated repair: packages/data-context/src/data/ProjectConfigManager.ts packages/data-context/src/data/ProjectConfigManager.ts:208— packages/data-context/src/data/ProjectConfigManager.ts changed 4 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 12 (its worst body is ProjectConfigManager.checkDependenciesForComponentTesting at line 208), 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: fire after:run when a project is closed in global open mode (#34700)”; “fix: bound the teardown work that waits on another process (#34699)”; “fix: keep the run's exit code when graceful-exit teardown fails (#34686)”. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-29 22:40:10 -04:00' --until='2026-09-27 22:40:10 -04:00' --full-history --no-merges -- packages/data-context/src/data/ProjectConfigManager.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.
TodoComment repeated across 10 files packages/app/cypress/e2e/top-nav.cy.ts:600— The identical TodoComment appears in 10 files (28 occurrences) — almost certainly one boilerplate line from a single migration or decision, not 28 independent debts. Fix the systemic cause once rather than file-by-file. Text: "// cy.percySnapshot() // TODO: restore when Percy CSS is fixed. See https://github.com/cypress-io/cypress/issues/23435". Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)
inspect.create (cognitive 108) packages/driver/src/cy/chai/inspect.ts:13— inspect.create has cognitive complexity 108 (threshold 15). Drivers by points: if/else 54 (80 pts), boolean chains 21, error handling 1 (2 pts), loops 2, ternaries 2, match/switch 1 (nesting depth added 27). Of this number, 103 points are the body's own statements and 5 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.
navigation.default (cognitive 82) packages/driver/src/cy/commands/navigation.ts:673— navigation.default has cognitive complexity 82 (threshold 15). Drivers by points: if/else 46 (59 pts), boolean chains 12, error handling 4 (6 pts), ternaries 3 (5 pts) (nesting depth added 17). Of this number, 19 points are the body's own statements and 63 belong to 12 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, 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.
mouse.create (cognitive 75) packages/driver/src/cy/mouse.ts:59— mouse.create has cognitive complexity 75 (threshold 15). Drivers by points: boolean chains 34, if/else 29 (34 pts), loops 2 (5 pts), ternaries 2 (nesting depth added 8). Of this number, 41 points are the body's own statements and 34 belong to 11 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, 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.
addToCypressConfigPlugin.addToCypressConfigPlugin (cognitive 74) packages/config/src/ast-utils/addToCypressConfigPlugin.ts:22— addToCypressConfigPlugin.addToCypressConfigPlugin has cognitive complexity 74 (threshold 15). Drivers by points: if/else 31 (55 pts), boolean chains 12, loops 5 (7 pts) (nesting depth added 26). Of this number, 73 points are the body's own statements and 1 belongs 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.
type.default (cognitive 72) packages/driver/src/cy/commands/actions/type.ts:15— type.default has cognitive complexity 72 (threshold 15). Drivers by points: if/else 39 (47 pts), boolean chains 24, ternaries 1 (nesting depth added 8). Most of this is not in the body itself: 8 of the 72 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 177, 178, 573, …). 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.
validation.isValidClientCertificatesSet (cognitive 63) packages/config/src/validation.ts:367— validation.isValidClientCertificatesSet has cognitive complexity 63 (threshold 15). Drivers by points: if/else 18 (50 pts), loops 3 (6 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 37). 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.
waiting.default (cognitive 63) packages/driver/src/cy/commands/waiting.ts:43— waiting.default has cognitive complexity 63 (threshold 15). Drivers by points: if/else 31 (41 pts), boolean chains 12, ternaries 4 (7 pts), error handling 3 (nesting depth added 13). Of this number, 17 points are the body's own statements and 46 belong to 10 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.
request.default (cognitive 60) packages/driver/src/cy/commands/request.ts:77— request.default has cognitive complexity 60 (threshold 15). Drivers by points: if/else 37 (47 pts), boolean chains 12, error handling 1 (nesting depth added 10). Of this number, 43 points are the body's own statements and 17 belong to 3 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, 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.
chai.chai.use() (cognitive 56) packages/driver/src/cy/chai.ts:47— chai.chai.use() has cognitive complexity 56 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 13, ternaries 5 (8 pts), error handling 5 (7 pts), match/switch 1 (nesting depth added 13). Most of this is not in the body itself: 3 of the 56 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 403, 334, 108, …). 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.
validation.isValidRetriesConfig (cognitive 55) packages/config/src/validation.ts:178— validation.isValidRetriesConfig has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (46 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 34). Of this number, 53 points are the body's own statements and 2 belong to one function literal inside it that branches. 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.
index.default (cognitive 54) packages/driver/src/cy/commands/sessions/index.ts:24— index.default has cognitive complexity 54 (threshold 15). Drivers by points: if/else 26 (34 pts), boolean chains 16, loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 9). Of this number, 26 points are the body's own statements and 28 belong to 18 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, 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.
actionability.verify (cognitive 53) packages/driver/src/cy/actionability.ts:445— actionability.verify has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24 (41 pts), boolean chains 4, error handling 3 (4 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 19). Most of this is not in the body itself: 5 of the 53 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 534, 513, 488, …). 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.
cookies.default (cognitive 51) packages/driver/src/cy/commands/cookies.ts:103— cookies.default has cognitive complexity 51 (threshold 15). Drivers by points: if/else 25, boolean chains 20, ternaries 5, error handling 1. Of this number, 31 points are the body's own statements and 20 belong to 12 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.
assertions.create (cognitive 48) packages/driver/src/cy/assertions.ts:104— assertions.create has cognitive complexity 48 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 12, error handling 3 (4 pts), ternaries 2, loops 1, match/switch 1 (nesting depth added 6). Most of this is not in the body itself: 5 of the 48 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 152, 246, 326, …). 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.
keyboard.validateTyping (cognitive 45) packages/driver/src/cy/keyboard.ts:387— keyboard.validateTyping has cognitive complexity 45 (threshold 15). Drivers by points: if/else 22 (32 pts), boolean chains 13 (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.
scroll.default (cognitive 44) packages/driver/src/cy/commands/actions/scroll.ts:50— scroll.default has cognitive complexity 44 (threshold 15). Drivers by points: if/else 30 (32 pts), boolean chains 8, error handling 3, match/switch 1 (nesting depth added 2). Of this number, 30 points are the body's own statements and 14 belong to 3 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, 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.
connectors.default (cognitive 44) packages/driver/src/cy/commands/connectors.ts:45— connectors.default has cognitive complexity 44 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 14, ternaries 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 5 of the 44 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 218, 146, 182, …). 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.
querying.default (cognitive 44) REDACTED:153— querying.default has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 14, match/switch 2, ternaries 2, error handling 1 (nesting depth added 4). Most of this is not in the body itself: 0 of the 44 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 182, 234, 306, …). 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.
client-certificates.loadClientCertificateConfig (cognitive 44) packages/network/lib/client-certificates.ts:193— client-certificates.loadClientCertificateConfig has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (27 pts), error handling 4 (11 pts), boolean chains 6 (nesting depth added 23). Most of this is not in the body itself: 2 of the 44 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 232, 204, 210). 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.
spawn.createSpawnFunction (cognitive 43) cli/lib/exec/spawn.ts:60— spawn.createSpawnFunction has cognitive complexity 43 (threshold 15). Drivers by points: if/else 28 (38 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). Most of this is not in the body itself: 0 of the 43 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 66, 152, 209, …). 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.
CdpFetchTransport.interceptRequest (cognitive 43) packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:460— CdpFetchTransport.interceptRequest has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (25 pts), ternaries 6 (10 pts), boolean chains 4, error handling 3 (4 pts) (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.
SocketBase.startListening (cognitive 41) packages/server/lib/socket-base.ts:142— SocketBase.startListening has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (24 pts), error handling 5 (7 pts), boolean chains 6, ternaries 2 (3 pts), match/switch 1 (nesting depth added 8). Most of this is not in the body itself: 0 of the 41 points are its own statements and the rest belongs to 22 function literals inside it that branch (lines 621, 514, 597, …). 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.
selection._moveSelectionTo (cognitive 40) packages/driver/src/dom/selection.ts:536— selection._moveSelectionTo has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 22). 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.
InterceptedRequest.handleSubscriptions (cognitive 39) packages/net-stubbing/lib/server/intercepted-request.ts:121— InterceptedRequest.handleSubscriptions has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (nesting depth added 21). Of this number, 22 points are the body's own statements and 17 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.
jquery.scrollto.scrollTo (cognitive 38) packages/driver/src/config/jquery.scrollto.ts:36— jquery.scrollto.scrollTo has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 13, ternaries 2, match/switch 1 (nesting depth added 6). Most of this is not in the body itself: 6 of the 38 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 106, 64). 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.
parse-changelog.parseChangelog (cognitive 38) scripts/semantic-commits/parse-changelog.js:6— parse-changelog.parseChangelog has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (33 pts), boolean chains 4, loops 1 (nesting depth added 20). 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.
run_require_async_child.run (cognitive 37) packages/server/lib/plugins/child/run_require_async_child.ts:24— run_require_async_child.run has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 9, error handling 1, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 112, 128, 65, …). 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.
visibility.getReasonIsHidden (cognitive 36) packages/driver/src/dom/visibility.ts:527— visibility.getReasonIsHidden has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 6 (nesting depth added 7). 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.
transform.elIsBackface (cognitive 35) packages/driver/src/dom/transform.ts:110— transform.elIsBackface has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 20). 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.
$Cypress.action (cognitive 35) packages/driver/src/cypress.ts:484— $Cypress.action has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (34 pts), match/switch 1 (nesting depth added 17). 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.
EventManager._addListeners (cognitive 34) packages/app/src/runner/event-manager.ts:566— EventManager._addListeners has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 8, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 5 of the 34 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 626, 682, 667, …). 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.
sourcemap-support.CallSiteToString (cognitive 34) packages/packherd-require/src/sourcemap-support.ts:366— sourcemap-support.CallSiteToString has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 6 (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.
keyboard.shouldUpdateValue (cognitive 33) packages/driver/src/cy/keyboard.ts:313— keyboard.shouldUpdateValue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 9 (nesting depth added 14). 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.
CriClient.send (cognitive 33) packages/server/lib/browsers/cdp-protocol/cri-client.ts:564— CriClient.send has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 12). Of this number, 27 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.
run.waitForTestsToFinishRunning (cognitive 33) packages/server/lib/modes/run.ts:628— run.waitForTestsToFinishRunning has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 11, error handling 3 (7 pts) (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.
plugin.plugin (cognitive 32) npm/grep/src/plugin.ts:19— plugin.plugin has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 9, ternaries 4 (9 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.
CdpFetchTransport.resolveResponse (cognitive 32) packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:741— CdpFetchTransport.resolveResponse has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 4, ternaries 3, error handling 1 (2 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.
run.processRunOptions (cognitive 31) cli/lib/exec/run.ts:38— run.processRunOptions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 29 (30 pts), boolean chains 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.
AutIframe.highlightEl (cognitive 31) packages/app/src/runner/aut-iframe.ts:331— AutIframe.highlightEl has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (25 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 413, 368, 460). 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.
select.default (cognitive 31) packages/driver/src/cy/commands/actions/select.ts:18— select.default has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 12 (nesting depth added 2). Most of this is not in the body itself: 12 of the 31 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 108, 120, 182, …). 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.
command.Command (cognitive 31) packages/reporter/src/commands/command.tsx:401— command.Command has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 17, if/else 9 (10 pts), loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 2). Of this number, 21 points are the body's own statements and 10 belong to 5 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.
args.toObject (cognitive 31) packages/server/lib/util/args.ts:342— args.toObject has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 5). 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.
BrowserCriClient._onAttachToTarget (cognitive 31) packages/server/lib/browsers/browser-cri-client.ts:461— BrowserCriClient._onAttachToTarget has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (16 pts), error handling 7 (8 pts), boolean chains 7 (nesting depth added 4). Of this number, 29 points are the body's own statements and 2 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, 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.
index.preprocessor (cognitive 30) npm/webpack-preprocessor/index.ts:228— index.preprocessor has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 7, ternaries 3, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 0 of the 30 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 242, 286, 387, …). 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.
selection._moveCursorUpOrDown (cognitive 30) packages/driver/src/dom/selection.ts:333— selection._moveCursorUpOrDown has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 14). 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.
Keyboard.simulatedKeydown (cognitive 30) packages/driver/src/cy/keyboard.ts:1149— Keyboard.simulatedKeydown has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 6 (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.
traversals.default (cognitive 30) packages/driver/src/cy/commands/traversals.ts:12— traversals.default has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 10, ternaries 2 (4 pts), match/switch 1 (nesting depth added 6). Most of this is not in the body itself: 0 of the 30 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 21, 86, 34, …). 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.
route-matching.doesRouteMatch (cognitive 30) packages/network-interception/lib/core/route-matching.ts:19— route-matching.doesRouteMatch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 7, loops 3 (nesting depth added 11). 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 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.
customRequire (cognitive 30) tooling/v8-snapshot/src/blueprint/custom-require.js:33— customRequire has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8, ternaries 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.
actionability.ensureElIsNotCovered (cognitive 29) packages/driver/src/cy/actionability.ts:199— actionability.ensureElIsNotCovered has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 3 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 14). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 327, 232, 256, …). 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.
focused.create (cognitive 29) packages/driver/src/cy/focused.ts:53— focused.create has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 6 (nesting depth added 6). Of this number, 28 points are the body's own statements and 1 belongs 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.
firefox.open (cognitive 29) packages/server/lib/browsers/firefox.ts:466— firefox.open has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 5 (7 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 5). Of this number, 28 points are the body's own statements and 1 belongs 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, 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.
selection._moveCursorToLineStartOrEnd (cognitive 28) packages/driver/src/dom/selection.ts:427— selection._moveCursorToLineStartOrEnd has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 2 (7 pts), boolean chains 3 (nesting depth added 16). 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.
createProxyModule (cognitive 28) npm/vite-plugin-cypress-esm/client/moduleCache.js:7— createProxyModule has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 4 (nesting depth added 6). Most of this is not in the body itself: 5 of the 28 points are its own statements and the rest belongs to 10 function items inside it that branch (redefinePropertyDescriptors::(anonymous), get, target, …). 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.
EventManager.addGlobalListeners (cognitive 27) packages/app/src/runner/event-manager.ts:90— EventManager.addGlobalListeners has cognitive complexity 27 (threshold 15). Drivers by points: if/else 22, boolean chains 2, ternaries 2, match/switch 1. Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 182, 131, 154, …). 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.
selectFile.default (cognitive 27) packages/driver/src/cy/commands/actions/selectFile.ts:133— selectFile.default has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 5 (nesting depth added 3). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 235, 321, 134, …). 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.
files.default (cognitive 27) packages/driver/src/cy/commands/files.ts:18— files.default has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 9, ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 19, 227, 121, …). 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.
before-request.onBeforeRequest (cognitive 27) packages/driver/src/cy/net-stubbing/events/before-request.ts:48— before-request.onBeforeRequest has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23, boolean chains 2, error handling 1, loops 1. Of this number, 17 points are the body's own statements and 10 belong to 5 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.
routes.createCommonRoutes (cognitive 27) packages/server/lib/routes.ts:47— routes.createCommonRoutes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 6, error handling 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 80, 343, 224, …). 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.
focus.default (cognitive 26) packages/driver/src/cy/commands/actions/focus.ts:25— focus.default has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 8 (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.
add-command.validateRouteMatcherOptions (cognitive 26) packages/driver/src/cy/net-stubbing/add-command.ts:112— add-command.validateRouteMatcherOptions has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, loops 4 (5 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.
fetch.fetch (cognitive 26) packages/server/lib/cloud/network/fetch.ts:47— fetch.fetch has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 3 (5 pts), boolean chains 4, error handling 2, match/switch 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.
(anonymous) (cognitive 26) packages/server/lib/privileged-commands/privileged-channel.js:1— (anonymous) has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12, boolean chains 9, error handling 2, loops 2, match/switch 1. Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 13 function items inside it that branch (onCommandInvocation, stackIsFromSpecFrame, hasCallbackInsideEval, …). 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.
install.start (cognitive 25) cli/lib/tasks/install.ts:128— install.start has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 5, ternaries 3 (4 pts), error handling 1 (nesting depth added 2). Of this number, 16 points are the body's own statements and 9 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, 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.
console-props.onOneRow (cognitive 25) cli/lib/tap/render/console-props.ts:64— console-props.onOneRow has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 8, loops 2 (4 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.
VersionsDataSource.#getLatestVersion (cognitive 25) packages/data-context/src/sources/VersionsDataSource.ts:127— VersionsDataSource.#getLatestVersion has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (21 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 8). Of this number, 22 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.
ProjectActions.runSpec (cognitive 25) packages/data-context/src/actions/ProjectActions.ts:496— ProjectActions.runSpec has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (19 pts), ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 6). Of this number, 22 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.
upload_artifacts.uploadArtifacts (cognitive 25) packages/server/lib/cloud/artifacts/upload_artifacts.ts:153— upload_artifacts.uploadArtifacts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6, error handling 3 (4 pts) (nesting depth added 3). 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, 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.
snapshot-require.snapshotRequire (cognitive 25) packages/v8-snapshot-require/src/snapshot-require.ts:172— snapshot-require.snapshotRequire has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 4 (8 pts), boolean chains 3, error handling 1 (3 pts) (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.
index.addTypeScriptConfig (cognitive 24) npm/webpack-batteries-included-preprocessor/index.ts:80— index.addTypeScriptConfig has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 4 (6 pts), boolean chains 5, error handling 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, 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.
setup.setup (cognitive 23) npm/puppeteer/src/plugin/setup.ts:35— setup.setup has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, error handling 4 (5 pts), boolean chains 3, ternaries 1 (nesting depth added 1). Of this number, 21 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.
asserting.default (cognitive 23) packages/driver/src/cy/commands/asserting.ts:33— asserting.default has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, error handling 1 (3 pts), ternaries 2 (nesting depth added 6). Most of this is not in the body itself: 0 of the 23 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 134, 63, 183, …). 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.
index.default (cognitive 23) packages/driver/src/cy/commands/origin/index.ts:32— index.default has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 3, ternaries 2, error handling 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 5 function literals inside it that branch (lines 127, 179, 79, …). 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.
querying.getAlias (cognitive 23) REDACTED:20— querying.getAlias has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, ternaries 2 (4 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 0 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 23). 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.
window.default (cognitive 23) packages/driver/src/cy/commands/window.ts:50— window.default has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 6). Of this number, 14 points are the body's own statements and 9 belong to 6 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.
snapshots.create (cognitive 23) packages/driver/src/cy/snapshots.ts:13— snapshots.create has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, boolean chains 8, error handling 4, ternaries 1. Most of this is not in the body itself: 0 of the 23 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 242, 106, 21, …). 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.
service-worker-injector.injectIntoServiceWorker (cognitive 23) packages/proxy/lib/http/util/service-worker-injector.ts:55— service-worker-injector.injectIntoServiceWorker has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, ternaries 2, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 115, 69, 88, …). 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.checkOrUncheck (cognitive 22) packages/driver/src/cy/commands/actions/check.ts:9— check.checkOrUncheck has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4 (7 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 59, 34, 40, …). 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.
add-command.addCommand (cognitive 22) packages/driver/src/cy/net-stubbing/add-command.ts:172— add-command.addCommand has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 3 (nesting depth added 3). Of this number, 21 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.
set-injection-level.setInjectionLevel (cognitive 22) packages/proxy/lib/adapters/set-injection-level.ts:20— set-injection-level.setInjectionLevel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6 (nesting depth added 4). Of this number, 16 points are the body's own statements and 6 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.
determine-deferred.determineDeferred (cognitive 22) tooling/v8-snapshot/src/doctor/determine-deferred.ts:52— determine-deferred.determineDeferred has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 7. Of this number, 16 points are the body's own statements and 6 belong to 3 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.
static-response-utils.validateStaticResponse (cognitive 21) packages/driver/src/cy/net-stubbing/static-response-utils.ts:19— static-response-utils.validateStaticResponse has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, if/else 8. 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.
PackherdModuleLoader.tryLoad (cognitive 21) packages/packherd-require/src/loader.ts:535— PackherdModuleLoader.tryLoad has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3 (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.
Reporter.normalizeTest (cognitive 21) packages/server/lib/reporter.ts:626— Reporter.normalizeTest has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 5, if/else 2 (nesting depth added 6). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 655). 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.
run.ready (cognitive 21) packages/server/lib/modes/run.ts:1108— run.ready has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 4). Of this number, 19 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.
ProjectLifecycleManager.createConfigManager (cognitive 20) packages/data-context/src/data/ProjectLifecycleManager.ts:204— ProjectLifecycleManager.createConfigManager has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5 (nesting depth added 4). Most of this is not in the body itself: 0 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 219). 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.
click.default (cognitive 20) packages/driver/src/cy/commands/actions/click.ts:51— click.default has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 10. Most of this is not in the body itself: 0 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 91, 112, 54, …). 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.
response.onResponse (cognitive 20) packages/driver/src/cy/net-stubbing/events/response.ts:21— response.onResponse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 1 (nesting depth added 5). 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 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.
ServiceWorkerManager.processBrowserPreRequest (cognitive 20) packages/proxy/lib/http/util/service-worker-manager.ts:197— ServiceWorkerManager.processBrowserPreRequest has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, error handling 1 (3 pts) (nesting depth added 5). Of this number, 12 points are the body's own statements and 8 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.
async_retry.asyncRetry (cognitive 20) packages/server/lib/util/async_retry.ts:8— async_retry.asyncRetry has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 12). Most of this is not in the body itself: 0 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 12). 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.
ProjectBase.startWebsockets (cognitive 20) packages/server/lib/project-base.ts:381— ProjectBase.startWebsockets has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 0 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 481, 634, 439, …). 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.
packages.copyAllToDist (cognitive 20) scripts/binary/util/packages.ts:47— packages.copyAllToDist has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (4 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (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.
mount.setupComponent (cognitive 19) npm/angular/src/mount.ts:356— mount.setupComponent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 8). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 391, 368). 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.
ProjectConfigManager.checkDependenciesForComponentTesting (cognitive 19) packages/data-context/src/data/ProjectConfigManager.ts:208— ProjectConfigManager.checkDependenciesForComponentTesting has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (7 pts) (nesting depth added 7). 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, 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.
GitDataSource.#loadBulkGitInfo (cognitive 19) packages/data-context/src/sources/GitDataSource.ts:282— GitDataSource.#loadBulkGitInfo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, ternaries 1 (2 pts), 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.
Keyboard.type (cognitive 19) packages/driver/src/cy/keyboard.ts:715— Keyboard.type has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 773, 805, 856, …). 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.
keyboard.getKeyDetails (cognitive 19) packages/driver/src/cy/keyboard.ts:204— keyboard.getKeyDetails has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 0 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 205, 257). 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.
CdpAutomation.onRequest (cognitive 19) packages/server/lib/browsers/cdp-protocol/cdp_automation.ts:506— CdpAutomation.onRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (5 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 10). 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.
cdp-fetch-codec.createCdpFetchCodec (cognitive 19) packages/server/lib/browsers/cdp-protocol/cdp-fetch-codec.ts:250— cdp-fetch-codec.createCdpFetchCodec has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 4 (5 pts) (nesting depth added 2). Of this number, 17 points are the body's own statements and 2 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.
record.createRun (cognitive 19) packages/server/lib/modes/record.ts:236— record.createRun has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 4 (6 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 350, 303, 308). 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.
Telemetry.startSpan (cognitive 19) packages/telemetry/src/telemetry/index.ts:144— Telemetry.startSpan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8 (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.
process-args-from-file.processArgsFromFile (cognitive 19) tooling/electron-mksnapshot/src/process-args-from-file.ts:7— process-args-from-file.processArgsFromFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 1, ternaries 1 (nesting depth added 8). Of this number, 15 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.
verify.runSmokeTest (cognitive 18) cli/lib/tasks/verify.ts:54— verify.runSmokeTest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 2 (nesting depth added 4). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 65, 156, 148). 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.
register.register (cognitive 18) npm/grep/src/register.ts:16— register.register has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 7. 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.
visibility.isStrictlyHidden (cognitive 18) packages/driver/src/dom/visibility.ts:57— visibility.isStrictlyHidden has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 1 (3 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.
navigation.stabilityChanged (cognitive 18) packages/driver/src/cy/commands/navigation.ts:179— navigation.stabilityChanged has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, error handling 3, match/switch 1. Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 321, 250, 278, …). 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.
log.preprocessDomElement (cognitive 18) packages/driver/src/util/serialization/log.ts:25— log.preprocessDomElement has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (3 pts), ternaries 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 9). Most of this is not in the body itself: 0 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 34, 77). 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.
state-icon.StateIcon (cognitive 18) packages/reporter/src/lib/state-icon.tsx:12— state-icon.StateIcon has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 6, if/else 5 (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.
detect.detectLanguage (cognitive 18) packages/scaffold-config/src/detect.ts:127— detect.detectLanguage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, error handling 2, loops 2 (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.
verify_bundle_on_disk.verifyBundleOnDisk (cognitive 18) packages/server/lib/cloud/bundles/verify_bundle_on_disk.ts:25— verify_bundle_on_disk.verifyBundleOnDisk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 4 (5 pts), loops 2, boolean chains 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.
ci_provider._providerCommitParams (cognitive 18) packages/server/lib/util/ci_provider.ts:554— ci_provider._providerCommitParams has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 18. 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.
makeWebpackConfig.makeWebpackConfig (cognitive 17) npm/webpack-dev-server/src/makeWebpackConfig.ts:79— makeWebpackConfig.makeWebpackConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3 (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.
utils.mergeDefaults (cognitive 17) packages/config/src/project/utils.ts:406— utils.mergeDefaults has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4 (nesting depth added 2). Of this number, 11 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, 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.
ProjectLifecycleManager.setInitialActiveBrowser (cognitive 17) packages/data-context/src/data/ProjectLifecycleManager.ts:314— ProjectLifecycleManager.setInitialActiveBrowser has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7 (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.
aliases.create (cognitive 17) packages/driver/src/cy/aliases.ts:21— aliases.create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, ternaries 2. 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.
errTemplate.prepMessage (cognitive 17) packages/errors/src/errTemplate.ts:296— errTemplate.prepMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 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.
encryption.maybeDecryptErrorResponse (cognitive 17) packages/server/lib/cloud/api/axios_middleware/encryption.ts:54— encryption.maybeDecryptErrorResponse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, error handling 1 (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.
run.waitForBrowserToConnect (cognitive 17) packages/server/lib/modes/run.ts:489— run.waitForBrowserToConnect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 4). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 538, 585). 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-changelog.validateChangelog (cognitive 17) scripts/semantic-commits/validate-changelog.js:129— validate-changelog.validateChangelog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (nesting depth added 2). Of this number, 11 points are the body's own statements and 6 belong to 3 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.
npm-release.injectVersions (cognitive 17) scripts/npm-release.js:110— npm-release.injectVersions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 2 (4 pts), boolean chains 2 (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.
create-snapshot-script.makePackherdCreateBundle (cognitive 17) REDACTED:252— create-snapshot-script.makePackherdCreateBundle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 2 (3 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 4). Most of this is not in the body itself: 0 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 253). 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.
SnapshotDoctor._processCurrentScript (cognitive 17) tooling/v8-snapshot/src/doctor/snapshot-doctor.ts:453— SnapshotDoctor._processCurrentScript has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 4 (7 pts), loops 2 (nesting depth added 8). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 509). 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.
cypress.Cypress (cognitive 16) npm/vite-dev-server/src/plugins/cypress.ts:31— cypress.Cypress has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 6). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 111, 49, 74). 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.
pin.pinCommand (cognitive 16) packages/app/src/tap/commands/pin.ts:103— pin.pinCommand has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, ternaries 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.
validation.isValidExperimentalRetryOptionsConfig (cognitive 16) packages/config/src/validation.ts:121— validation.isValidExperimentalRetryOptionsConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 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.
CodegenActions.findAllWithLink (cognitive 16) packages/data-context/src/actions/CodegenActions.ts:186— CodegenActions.findAllWithLink has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 0 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 190, 206, 228, …). 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.
runnable-popover-options.RunnablePopoverOptions (cognitive 16) packages/reporter/src/runnables/runnable-popover-options.tsx:21— runnable-popover-options.RunnablePopoverOptions has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 2 (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 6 function literals inside it that branch (lines 64, 43, 103, …). 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.
Request.sendPromise (cognitive 16) packages/server/lib/request.ts:706— Request.sendPromise has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 2). Of this number, 12 points are the body's own statements and 4 belong to 2 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.
audit-ci-job-filters.auditDependencies (cognitive 16) scripts/audit-ci-job-filters.js:132— audit-ci-job-filters.auditDependencies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, loops 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.
No DR/backup evidence — A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
Duplication concentrated across 12 sibling directories (12 clone groups) packages/agent-info/vitest.config.ts:3— 12 duplicated blocks under packages/ have copies in at least two of the sibling directories agent-info, app, cypress-sessions, driver, frontend-shared, launchpad (+6 more sibling(s) not listed) — 6 of them are reported below, and 6 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 12 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 12 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 12 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 5 sibling directories (8 clone groups) REDACTED:10— 8 duplicated blocks under the repository root have copies in at least two of the sibling directories cli, npm, packages, scripts, tooling — 6 of them are reported below, and 2 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 8 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 8 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 8 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 (6 clone groups) packages/app/src/debug/DebugRunNavigation.vue:229— 6 duplicated blocks under packages/app/src/ have copies in at least two of the sibling directories composables, debug, prompt, runner, runs, studio — 4 of them are reported below, and 2 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 6 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 6 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 6 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 (62 identical lines × 2 files) packages/app/src/prompt/PromptGetCodeModal.vue:24— packages/app/src/prompt/PromptGetCodeModal.vue:24 · packages/app/src/prompt/PromptMoreInfoNeededModal.vue:24 — these 2 files are line-for-line copies of one another — 62 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 (54 matched lines × 2 locations) · ×1
Duplicated block with local edits (54 matched lines × 2 locations) REDACTED:10— REDACTED:10 · REDACTED:11 — the two spans are one implementation copied and then locally edited — 373 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 (53 matched lines × 2 locations) · ×1
Duplicated block with local edits (53 matched lines × 2 locations) cli/lib/exec/open.ts:32— cli/lib/exec/open.ts:32 · cli/lib/exec/run.ts:61 — the two spans are one implementation copied and then locally edited — 282 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 (50 matched lines × 2 locations) · ×1
Duplicated block with local edits (50 matched lines × 2 locations) packages/server/lib/cloud/api/cy-prompt/report_cy_prompt_error.ts:20— packages/server/lib/cloud/api/cy-prompt/report_cy_prompt_error.ts:20 · packages/server/lib/cloud/api/studio/report_studio_error.ts:24 — the two spans are one implementation copied and then locally edited — 226 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 (45 matched lines × 2 locations) · ×1
Duplicated block with local edits (45 matched lines × 2 locations) tooling/v8-snapshot/src/generator/snapshot-generator.ts:276— tooling/v8-snapshot/src/generator/snapshot-generator.ts:276 · tooling/v8-snapshot/src/generator/snapshot-generator.ts:389 — the two spans are one implementation copied and then locally edited — 193 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 (41 matched lines × 2 locations) · ×1
Duplicated block with local edits (41 matched lines × 2 locations) packages/types/src/cy-prompt/cy-prompt-server-types.ts:42— packages/types/src/cy-prompt/cy-prompt-server-types.ts:42 · packages/types/src/studio/studio-server-types.ts:52 — 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 (36 lines × 2 locations) packages/telemetry/src/span-exporters/ipc-span-exporter.ts:13— packages/telemetry/src/span-exporters/ipc-span-exporter.ts:13 · packages/telemetry/src/span-exporters/websocket-span-exporter.ts:13 — 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 (35 matched lines × 2 locations) · ×1
Duplicated block with local edits (35 matched lines × 2 locations) packages/server/lib/cloud/cy-prompt/CyPromptLifecycleManager.ts:293— packages/server/lib/cloud/cy-prompt/CyPromptLifecycleManager.ts:293 · packages/server/lib/cloud/studio/StudioLifecycleManager.ts:366 — the two spans are one implementation copied and then locally edited — 208 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 (32 matched lines × 2 locations) · ×1
Duplicated block with local edits (32 matched lines × 2 locations) packages/driver/src/cy/commands/actions/scroll.ts:96— packages/driver/src/cy/commands/actions/scroll.ts:96 · packages/driver/src/cy/commands/actions/scroll.ts:265 — the two spans are one implementation copied and then locally edited — 221 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.
Duplicated block (28 lines × 2 locations) packages/v8-snapshot-require/src/types.ts:6— packages/v8-snapshot-require/src/types.ts:6 · tooling/v8-snapshot/src/types.ts:3 — 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 (22 lines × 2 locations) cli/lib/cli.ts:361— cli/lib/cli.ts:361 · cli/lib/cli.ts:402 — 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.
Duplicated block (20 lines × 3 locations) scripts/unit/semantic-commits/validate-changelog-spec.js:383— scripts/unit/semantic-commits/validate-changelog-spec.js:383 · scripts/unit/semantic-commits/validate-changelog-spec.js:414 · scripts/unit/semantic-commits/validate-changelog-spec.js:441 — all 3 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 (18 lines × 2 locations) packages/server/lib/browsers/chrome.ts:574— packages/server/lib/browsers/chrome.ts:574 · packages/server/lib/browsers/electron.ts:546 — 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 (15 lines × 4 locations) packages/errors/src/errors.ts:1532— packages/errors/src/errors.ts:1532 · packages/errors/src/errors.ts:1548 · packages/errors/src/errors.ts:1565 · packages/errors/src/errors.ts:1581 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited.
Complex function action (cyclomatic 85, cognitive 35) packages/driver/src/cypress.ts:484— action has cyclomatic complexity 85 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 formatValue (cyclomatic 42, cognitive 51) packages/driver/src/cy/chai/inspect.ts:73— formatValue has cyclomatic complexity 42 and cognitive complexity 51; 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 38, cognitive 49) packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:460— (anonymous) has cyclomatic complexity 38 and cognitive complexity 49; 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 validateTyping (cyclomatic 38, cognitive 45) packages/driver/src/cy/keyboard.ts:387— validateTyping has cyclomatic complexity 38 and cognitive complexity 45; 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 request (cyclomatic 37, cognitive 44) packages/driver/src/cy/commands/request.ts:82— request 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 (anonymous) (cyclomatic 34, cognitive 48) packages/driver/src/cypress/log.ts:66— (anonymous) has cyclomatic complexity 34 and cognitive complexity 48; 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 32, cognitive 31) cli/lib/exec/run.ts:38— (anonymous) has cyclomatic complexity 32 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.
Complex function (anonymous) (cyclomatic 32, cognitive 29) system-tests/projects/e2e/static/obstructive_code.js:3— (anonymous) has cyclomatic complexity 32 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 backendRequest (cyclomatic 32, cognitive 3) packages/server/lib/socket-base.ts:514— backendRequest has cyclomatic complexity 32 and cognitive complexity 3; 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 getReasonIsHidden (cyclomatic 30, cognitive 37) packages/driver/src/dom/visibility.ts:527— getReasonIsHidden has cyclomatic complexity 30 and cognitive complexity 37; 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 waitForTestsToFinishRunning (cyclomatic 30, cognitive 33) packages/server/lib/modes/run.ts:628— waitForTestsToFinishRunning has cyclomatic complexity 30 and cognitive complexity 33; 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 _onAttachToTarget (cyclomatic 29, cognitive 32) packages/server/lib/browsers/browser-cri-client.ts:461— _onAttachToTarget has cyclomatic complexity 29 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 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 29, cognitive 19) packages/server/lib/browsers/cdp-protocol/cdp_automation.ts:506— (anonymous) has cyclomatic complexity 29 and cognitive complexity 19; 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 28, cognitive 37) packages/server/lib/browsers/cdp-protocol/cdp-fetch-transport.ts:741— (anonymous) has cyclomatic complexity 28 and cognitive complexity 37; 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 plugin (cyclomatic 28, cognitive 32) npm/grep/src/plugin.ts:19— plugin has cyclomatic complexity 28 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 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 28, cognitive 24) packages/reporter/src/commands/command.tsx:401— (anonymous) has cyclomatic complexity 28 and cognitive complexity 24; 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 27, cognitive 63) packages/config/src/validation.ts:375— (anonymous) has cyclomatic complexity 27 and cognitive complexity 63; 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 maybeHandleRetryOnFailure (cyclomatic 27, cognitive 41) packages/driver/src/cypress/runner.ts:1436— maybeHandleRetryOnFailure has cyclomatic complexity 27 and cognitive complexity 41; 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 toObject (cyclomatic 27, cognitive 33) packages/server/lib/util/args.ts:342— toObject has cyclomatic complexity 27 and cognitive complexity 33; 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 _providerCommitParams (cyclomatic 27, cognitive 18) packages/server/lib/util/ci_provider.ts:554— _providerCommitParams has cyclomatic complexity 27 and cognitive complexity 18; 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.
Dead file (~155 LoC) packages/app/src/layouts/default.vue— no import path from any entry point (485 application, 493 tooling, 3279 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 (~132 LoC) packages/app/src/runs/useProjectRuns.ts— no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (packages/app/src/pages/Runs.vue) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~113 LoC) packages/app/src/pages/Debug.vue— no import path from any entry point (485 application, 493 tooling, 3279 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 (~96 LoC) npm/webpack-dev-server/src/loader.ts— no import path from any entry point (485 application, 493 tooling, 3279 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 (~77 LoC) packages/app/src/runs/useGitTreeRuns.ts— no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (packages/app/src/pages/Runs.vue) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~64 LoC) scripts/github-actions/commit-via-api.mjs— no import path from any entry point (485 application, 493 tooling, 3279 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 (~60 LoC) packages/app/src/pages/Runs.vue— no import path from any entry point (485 application, 493 tooling, 3279 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 (~46 LoC) packages/app/src/navigation/SidebarNavigationContainer.vue— no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (packages/app/src/layouts/default.vue) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~17 LoC) cli/lib/index.mts— no import path from any entry point (485 application, 493 tooling, 3279 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 (~13 LoC) npm/webpack-dev-server/src/aut-runner.ts— no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (npm/webpack-dev-server/src/loader.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~10 LoC) packages/app/src/runs/RunsComposable.ts— no import path from any entry point (485 application, 493 tooling, 3279 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (packages/app/src/pages/Runs.vue, packages/app/src/runs/useGitTreeRuns.ts, packages/app/src/runs/useProjectRuns.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it
Dead file (~5 LoC) npm/webpack-dev-server/src/browser.ts— no import path from any entry point (485 application, 493 tooling, 3279 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 (~4 LoC) packages/v8-snapshot-require/src/constants.ts— no import path from any entry point (485 application, 493 tooling, 3279 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 (~1 LoC) npm/puppeteer/support/index.js— no import path from any entry point (485 application, 493 tooling, 3279 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
Unused dependency '@cypress/angular' — Declared in cli/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
Unused dependency '@cypress/grep' — Declared in cli/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
Unused dependency '@cypress/svelte' — Declared in cli/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it.
No direct assertions: handles module interop, object spread, class properties, and async/await npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:34— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles jsx npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:38— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles mjs npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:42— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles importing .js, .json, .jsx, and .mjs npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:46— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: shims node globals npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:50— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles typescript (and tsconfig paths) npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:69— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles tsconfig paths without baseUrl (TypeScript 6+ style) npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:73— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles tsx npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:77— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles importing .ts and .tsx npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:81— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles importing ESM .ts and .mts npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:85— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles esModuleInterop: false (default) npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:89— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles esModuleInterop: true npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:93— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: adds typescript support if using defaultOptions npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:100— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles typescript (and tsconfig paths) via babel npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:128— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles tsx via babel npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:132— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: handles importing .ts and .tsx via babel npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:136— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: emits decorator metadata (emitDecoratorMetadata parity) via babel npm/webpack-batteries-included-preprocessor/test/e2e/features.spec.ts:141— No conventional assertion call was detected, and 17 of 32 tests in `npm/webpack-batteries-included-preprocessor` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: accepts imports system-tests/project-fixtures/angular/src/app/mount.cy.ts:55— No conventional assertion call was detected, and 439 of 772 tests in `system-tests` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: accepts declarations system-tests/project-fixtures/angular/src/app/mount.cy.ts:60— No conventional assertion call was detected, and 439 of 772 tests in `system-tests` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: accepts providers system-tests/project-fixtures/angular/src/app/mount.cy.ts:68— No conventional assertion call was detected, and 439 of 772 tests in `system-tests` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: detects changes via setInput method system-tests/project-fixtures/angular/src/app/mount.cy.ts:74— No conventional assertion call was detected, and 439 of 772 tests in `system-tests` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: can handle content projection with a WrapperComponent system-tests/project-fixtures/angular/src/app/mount.cy.ts:161— No conventional assertion call was detected, and 439 of 772 tests in `system-tests` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: can handle content projection using template system-tests/project-fixtures/angular/src/app/mount.cy.ts:169— No conventional assertion call was detected, and 439 of 772 tests in `system-tests` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: can use cy.intercept system-tests/project-fixtures/angular/src/app/mount.cy.ts:181— No conventional assertion call was detected, and 439 of 772 tests in `system-tests` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: can use cy.intercept on child component system-tests/project-fixtures/angular/src/app/mount.cy.ts:196— No conventional assertion call was detected, and 439 of 772 tests in `system-tests` read the same way — so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
Off-boarding risk: anonymized user #1 — If anonymized user #1 becomes unavailable, 30 significant file(s) lose their only recent owner: packages/driver/src/cy/commands/cookies.ts, packages/proxy/lib/http/util/service-worker-manager.ts, packages/driver/src/cy/commands/request.ts, REDACTED, packages/driver/src/cy/commands/connectors.ts, packages/driver/src/dom/elements/complexElements.ts, packages/config/src/browser.ts, packages/driver/src/cypress/ensure.ts (+22 more). Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #2 — If anonymized user #2 becomes unavailable, 11 significant file(s) lose their only recent owner: system-tests/project-fixtures/angular/src/app/mount.cy.ts, packages/server/lib/plugins/child/run_require_async_child.ts, packages/server/lib/plugins/util.ts, npm/vite-dev-server/src/plugins/cypress.ts, npm/vite-dev-server/src/resolveConfig.ts, system-tests/__snapshots__/non_proxied_spec.ts.js, packages/packherd-require/src/transpile-ts.ts, packages/server/lib/automation/cookie/converters/bidi.ts (+3 more). Pair on, review, or document these before any departure.
Off-boarding risk: anonymized user #3 — If anonymized user #3 becomes unavailable, 8 significant file(s) lose their only recent owner: packages/frontend-shared/cypress/support/customPercyCommand.ts, tooling/electron-mksnapshot/src/mksnapshot-run.ts, packages/socket/lib/node/cdp-socket.ts, packages/frontend-shared/src/components/StandardModal.cy.tsx, packages/launchpad/src/setup/OpenBrowser.vue, packages/server/scripts/sync-cloud-validations.ts, packages/driver/src/cy/commands/env.ts, system-tests/lib/protocol-stubs/protocolStubFontFlooding.ts. Pair on, review, or document these before any departure.
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 282 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.
D16 · Bus Factor· Further sole-owners (lower concentration) · ×1
Further sole-owners (lower concentration) — 4 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold — folded into the bus-factor score and metrics (56 single-owned of 784 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 784 of the 2727 production source files in this repository met that bar). They are anonymized user #4 (3 file(s)), anonymized user #5 (2 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) — spread or document their files in the same way, at lower priority than the named off-boarding risks above.
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 packages/driver — A massive driver project at 43k LoC across 30 namespaces whose namespaces are all cy/commands/cy-net-stubbing/cross-origin/dom elements. Suggested:
Split packages/server — A huge server project at 34k LoC across 33 namespaces whose namespaces are all unrelated cloud/lib/plugins/browsers/modes types. Suggested:
D28 · Secrets (history)· Rotate the exposed credentials · ×1
D34 · Knowledge Freshness· Further orphaned files (smaller) · ×1
Further orphaned files (smaller) — 213 smaller file(s) also have no living knowledge — folded into the freshness score and metrics rather than raised one row each — most significant first: packages/frontend-shared/src/gql-components/HeaderBarContent.cy.tsx, packages/app/src/debug/DebugSpec.cy.tsx, packages/packherd-require/src/sourcemap-support.ts, npm/webpack-dev-server/src/helpers/nextHandler.ts, packages/app/src/navigation/SidebarNavigation.cy.tsx, packages/frontend-shared/src/gql-components/modals/SelectCloudProjectModal.vue, system-tests/__snapshots__/test_isolation_spec.ts.js, packages/telemetry/src/telemetry/index.ts (and 205 more) (217 orphaned of 791 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 791 of the 2727 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway.
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 30/38 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `npm/puppeteer`, `packages/reporter`, `system-tests/projects/next-15-tsconfig-tailwind`, `system-tests/projects/next-16`, `system-tests/projects/next-16-tsconfig-tailwind` and 3 more.
Unused export 'createMount' npm/react/src/createMount.ts:150— Nothing ultimately consumes this binding: its only referrer is the re-export in npm/react/src/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in npm/react/src/index.ts in the same commit, or the barrel will import a name that no longer exists.
Unused export 'mount' npm/react/src/mount.ts:47— Nothing ultimately consumes this binding: its only referrer is the re-export in npm/react/src/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in npm/react/src/index.ts in the same commit, or the barrel will import a name that no longer exists.
Unused export 'default' npm/webpack-dev-server/src/devServer.ts:146— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'ElectronActions' · ×1
Unused export 'ElectronActions' packages/data-context/src/actions/ElectronActions.ts:27— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'BrowserDataSource' · ×1
Unused export 'BrowserDataSource' packages/data-context/src/sources/BrowserDataSource.ts:43— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'CloudDataSource' · ×1
Unused export 'CloudDataSource' packages/data-context/src/sources/CloudDataSource.ts:91— No runtime consumer imports this binding — the only demand on it comes from a type-position import of its module, which asks for the module's type surface rather than for this name. If the value is genuinely unneeded, remove it; if a consumer needs only its TYPE, export that type (e.g. `export type X = typeof x`) and drop the value. A value export — a const, a function, a class — cannot itself be rewritten as `export type`.
R7 · Dead Code· Unused export 'ProjectDataSource' · ×1
Unused export 'ProjectDataSource' packages/data-context/src/sources/ProjectDataSource.ts:224— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'insertValuesInConfigFile' · ×1
Unused export 'insertValuesInConfigFile' packages/data-context/src/util/config-file-updater.ts:16— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'encodeBase64Unicode' · ×1
Unused export 'encodeBase64Unicode' packages/frontend-shared/src/utils/base64.ts:34— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'getSourceMapAndContent' · ×1
Unused export 'getSourceMapAndContent' packages/packherd-require/src/sourcemap-support.ts:94— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'hookTranspileTs' · ×1
Unused export 'hookTranspileTs' packages/packherd-require/src/transpile-ts.ts:68— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'detectThirdPartyCTFrameworks' · ×1
Unused export 'detectThirdPartyCTFrameworks' packages/scaffold-config/src/ct-detect-third-party.ts:107— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'SUPPORT_STATUSES' · ×1
Unused export 'SUPPORT_STATUSES' packages/scaffold-config/src/frameworks.ts:104— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'resolveComponentFrameworkDefinition' · ×1
Unused export 'resolveComponentFrameworkDefinition' packages/scaffold-config/src/frameworks.ts:222— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'supportFileE2E' · ×1
Unused export 'supportFileE2E' packages/scaffold-config/src/supportFile.ts:4— Nothing imports this binding — it is safe to review for removal.
Unused export 'patchFs' packages/server/lib/util/patch-fs.ts:4— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'initializeStartTime' · ×1
Unused export 'initializeStartTime' packages/server/lib/util/performance_benchmark.ts:13— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'debugElapsedTime' · ×1
Unused export 'debugElapsedTime' packages/server/lib/util/performance_benchmark.ts:23— Nothing imports this binding — it is safe to review for removal.
R7 · Dead Code· Unused export 'writeForTesting' · ×1
Unused export 'writeForTesting' packages/server/lib/util/settings.ts:20— Nothing imports this binding — it is safe to review for removal.
R8 · Dependency Hygiene· Type-only dependency 'find-up' in production deps · ×1
Type-only dependency 'find-up' in production deps npm/webpack-dev-server/src/helpers/angularHandler.ts:221— Every import is type-only — move it to devDependencies.
Outdated (npm): @angular/common — @angular/common is pinned at 22.0.0; registry.npmjs.org publishes 22.2.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @angular/compiler — @angular/compiler is pinned at 22.0.0; registry.npmjs.org publishes 22.2.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @angular/core — @angular/core is pinned at 22.0.0; registry.npmjs.org publishes 22.2.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @angular/forms — @angular/forms is pinned at 22.0.0; registry.npmjs.org publishes 22.2.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @angular/platform-browser — @angular/platform-browser is pinned at 22.0.0; registry.npmjs.org publishes 22.2.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @angular/router — @angular/router is pinned at 22.0.0; registry.npmjs.org publishes 22.2.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/code-frame — @babel/code-frame is pinned at 7.27.1; registry.npmjs.org publishes 8.0.6 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/core — @babel/core is pinned at 7.29.7; registry.npmjs.org publishes 8.0.6 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/parser — @babel/parser is pinned at 7.29.7; registry.npmjs.org publishes 7.29.9 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/plugin-proposal-decorators — @babel/plugin-proposal-decorators is pinned at 7.29.7; registry.npmjs.org publishes 8.0.2 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/plugin-syntax-typescript — @babel/plugin-syntax-typescript is pinned at 7.29.7; registry.npmjs.org publishes 8.0.3 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/plugin-transform-class-properties — @babel/plugin-transform-class-properties is pinned at 7.27.1; registry.npmjs.org publishes 8.0.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/plugin-transform-object-rest-spread — @babel/plugin-transform-object-rest-spread is pinned at 7.28.0; registry.npmjs.org publishes 8.0.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/plugin-transform-runtime — @babel/plugin-transform-runtime is pinned at 7.28.0; registry.npmjs.org publishes 8.0.6 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/plugin-transform-typescript — @babel/plugin-transform-typescript is pinned at 7.29.7; registry.npmjs.org publishes 7.29.9 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/preset-env — @babel/preset-env is pinned at 7.28.5; registry.npmjs.org publishes 8.0.6 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/preset-react — @babel/preset-react is pinned at 7.28.5; registry.npmjs.org publishes 8.0.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/preset-typescript — @babel/preset-typescript is pinned at 7.29.7; registry.npmjs.org publishes 8.0.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/runtime — @babel/runtime is pinned at 7.28.2; registry.npmjs.org publishes 8.0.5 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/traverse — @babel/traverse is pinned at 7.29.7; registry.npmjs.org publishes 8.0.6 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @babel/types — @babel/types is pinned at 7.29.7; registry.npmjs.org publishes 8.0.6 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @cypress-design/vue-icon — @cypress-design/vue-icon is pinned at 1.33.0; registry.npmjs.org publishes 3.3.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @cypress/request — @cypress/request is pinned at 4.0.0; registry.npmjs.org publishes 4.0.1 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @electron/get — @electron/get is pinned at 4.0.3; registry.npmjs.org publishes 5.1.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Outdated (npm): @graphql-tools/batch-execute — @graphql-tools/batch-execute is pinned at 8.4.6; registry.npmjs.org publishes 10.2.0 as the latest release. Upgrading is a judgement call — read that package's changelog for what changed between the two — but a direct production dependency several releases behind is where security and compatibility debt accumulates silently.
Skipped (documented): test cli/types/tests/cypress-tests.ts:1007— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): test cli/types/tests/cypress-tests.ts:1009— Skipped with a documented reason — a deferral, not lazy debt: switched off by xit
Skipped (documented): some test npm/eslint-plugin-dev/test/fixtures/skip-comment-pass.js:3— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): some test npm/eslint-plugin-dev/test/fixtures/skip-comment-pass.js:19— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): some test npm/eslint-plugin-dev/test/fixtures/skip-comment-pass.js:23— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): some test npm/eslint-plugin-dev/test/fixtures/skip-comment-fail.js:1— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): some test npm/eslint-plugin-dev/test/fixtures/skip-comment-config.js:2— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): some test npm/eslint-plugin-dev/test/fixtures/skip-comment-config.js:7— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): is pending npm/grep/cypress/e2e/skip.cy.ts:6— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): is pending again npm/grep/cypress/e2e/skip.cy.ts:9— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): first test npm/grep/cypress/e2e/omit-and-skip.cy.ts:4— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): parses tag1 but not tag2 npm/grep/test/unit.spec.ts:178— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): works with react-router and lazy route npm/vite-plugin-cypress-esm/cypress/component/edgeCases.cy.tsx:67— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): shows two items at the start npm/vue/cypress/component/basic/props/message-list.cy.ts:88— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): imports and applies style npm/vue/cypress/component/basic/style-in-spec/todo.cy.js:6— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): has syntax error npm/webpack-preprocessor/cypress/tests/e2e/compile-error.js:14— Skipped with a documented reason — a deferral, not lazy debt: declared with no body — a pending test the runner lists but never runs
Skipped (documented): shows no icon and file system timestamp for files packages/app/cypress/e2e/specs_list_no_git_repo.cy.ts:11— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): resize nav and persist the state after refresh packages/app/cypress/e2e/sidebar_navigation.cy.ts:291— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): when a project is created, injects new projectId into the config file, and sends expected UTM params packages/app/cypress/e2e/runs.cy.ts:312— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): opens Connect Project modal after clicking Reconnect Project button packages/app/cypress/e2e/runs.cy.ts:473— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): filters the list of specs when searching for specs packages/app/cypress/e2e/reporter_header.cy.ts:22— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): opens attempt on each attempt failure for the screenshot, and closes after test passes packages/app/cypress/e2e/runner/retries.ui.cy.ts:63— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): creates a new test with a url that changes top packages/app/cypress/e2e/studio/studio-new-tests.cy.ts:104— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): shows copy tooltip when button is focused packages/app/src/runner/selector-playground/SelectorPlayground.cy.tsx:180— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): handles higher-order-components packages/data-context/test/unit/actions/CodegenActions.spec.ts:117— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
+ 88 more in this group — see findings.md.
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.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
Run 01a0e6b9-3a38-705e-9fd2-76e5ca6ed9b2 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 337 · Warnings: 2482 · Recommendations: 628 · Info: 292 — Appendix A · all findings · full markdown report.
Generated by Watchdog — deterministic code-health analysis. 28-09-2026 @ 06:34 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.