Public report of ionic-team/ionic-framework, published 28 September 2026. It has the same score, grades and number of
findings as the full report. The details of security findings (where they are in the code, which known
vulnerabilities and which passwords or keys were found) are left out, so nobody can use them against the project.
Public
Executive reportMeasured under the Code Assurance Index, an open standard for code quality, using its published scoring rules (rubric version 2026.09.16). Watchdog signed this survey and filed it in the standard's public register, where anyone can look it up by its survey ID. Check this survey →
Signed and filed in the standard's public register, 28 September 2026, 10:11 UTC · Survey ID cd_a4f882a111a0477da189b090a1f866e1
Medium · 71,151 LoC · 14 projects · rebuild ~1.1 person-years · weakest lens: Readiness (39%)
Findings by grade
109 critical892 serious41 minor49 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, 08:04 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 ▸
1019findings with an exact file:lineof 1042 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
56/132dimensions across the health lenses71151 LoC · 14 projects — wide & deep
⚠ A critical security finding caps this grade — resolve it before relying on the score below; see the Security lens.
The system is currently at risk, scoring 51% overall. While the codebase is functional, its operational fragility threatens delivery speed and reliability. This is a medium-sized asset with significant value tied up in its logic, making its current state a liability rather than an asset.
The primary concern is operational readiness. With a score of 39%, the system lacks the testing, observability, and security controls needed for safe, continuous deployment. This gap creates a high risk of outages and slow incident response. For a system of this size, the cost of failure is substantial, and the lack of confidence in its stability directly impacts business continuity and customer trust.
A secondary theme is the hidden velocity tax. Code quality signals suggest that every change incurs a 7–16% efficiency penalty due to complexity and duplication. This acts as a recurring cost, slowing down feature delivery and increasing the effort required for maintenance. Over time, this drag compounds, making the system harder and more expensive to evolve compared to a healthier codebase.
However, there are genuine strengths. The architecture is reasonably sound, and the code is not bloated with boilerplate. The team has a clear path to improvement, and the highest-leverage action is straightforward: adopt structured logging and clean up dependencies. This fix is low-cost and pays for itself quickly by reducing the annual drag on engineering capacity.
Focus first on improving operational readiness. Implementing structured logging and dependency management will yield the fastest return on investment, stabilizing the system and reducing the velocity tax. This approach addresses the most critical risks while building a foundation for long-term health. The picture is partial, as some areas like domain modeling were not measured, but the current risks are clear and actionable.
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.
0.7× (at 51% quality) — the last 20% of quality is most of the work
Size & shape
Medium · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk)
This codebase represents roughly ~1.1 person-years of build effort (about ~€150,000 to rebuild). Its weakest lens is Readiness at 39% — 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 Medium asset (~1.1 person-years to rebuild), and its weakest lens is Readiness at 39%. 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 27.1–162.7 engineer-days every year, paid as drag on the ~150,607 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 7–16% 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: 37,136 line(s) changed over a 90-day window ⇒ ~150,607/year · D1/D2 code quality: averaging 5.1/10 ⇒ a 7–16% 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: Adopt pino (or winston) and log at meaningful points in the services you run. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Adopt pino (or winston) and log at meaningful points in the services you run.
A velocity tax on every change · Medium · Economics
The code-quality signals (complexity, duplication, cohesion) average 5.1/10, which acts as a tax on every change in the weaker areas: modifications there plausibly cost on the order of 7–16% 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.1/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.)
1183 modules, 483 dependencies. 2 dependency cycles across 5 modules, marked above the diagonal.
Showing the 40 most-connected modules; 1143 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.
core.src.components.menu.menu-interface uses core.src.utils.animation.animation-interface. Changing core.src.utils.animation.animation-interface can break core.src.components.menu.menu-interface, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
13→5 core.src.components.modal.modal-interface depends on core.src.utils.test.playwright.generator✕
Type pairs
1 distinct (type in core.src.components.modal.modal-interface → type in core.src.utils.test.playwright.generator) reference.
core.src.components.modal.modal-interface uses core.src.utils.test.playwright.generator. Changing core.src.utils.test.playwright.generator can break core.src.components.modal.modal-interface, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
14→5 core.src.components.nav.nav-interface depends on core.src.utils.test.playwright.generator✕
Type pairs
1 distinct (type in core.src.components.nav.nav-interface → type in core.src.utils.test.playwright.generator) reference.
core.src.components.nav.nav-interface uses core.src.utils.test.playwright.generator. Changing core.src.utils.test.playwright.generator can break core.src.components.nav.nav-interface, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
15→5 core.src.components.popover.popover-interface depends on core.src.utils.test.playwright.generator✕
Type pairs
1 distinct (type in core.src.components.popover.popover-interface → type in core.src.utils.test.playwright.generator) reference.
core.src.components.popover.popover-interface uses core.src.utils.test.playwright.generator. Changing core.src.utils.test.playwright.generator can break core.src.components.popover.popover-interface, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
16→5 core.src.components.toast.toast-interface depends on core.src.utils.test.playwright.generator✕
Type pairs
1 distinct (type in core.src.components.toast.toast-interface → type in core.src.utils.test.playwright.generator) reference.
core.src.components.toast.toast-interface uses core.src.utils.test.playwright.generator. Changing core.src.utils.test.playwright.generator can break core.src.components.toast.toast-interface, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
17→5 core.src.utils.config depends on core.src.utils.test.playwright.generator✕
Type pairs
1 distinct (type in core.src.utils.config → type in core.src.utils.test.playwright.generator) reference.
core.src.utils.config uses core.src.utils.test.playwright.generator. Changing core.src.utils.test.playwright.generator can break core.src.utils.config, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
18→11 packages.migrate.src depends on packages.migrate.src.context✕
Type pairs
5 distinct (type in packages.migrate.src → type in packages.migrate.src.context) references.
packages.migrate.src.types uses packages.migrate.src.context. Changing packages.migrate.src.context can break packages.migrate.src.types, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
20→27 packages.react.src.components.react-component-lib.interfaces depends on core.src.utils.overlays-interfacecycle✕
Type pairs
1 distinct (type in packages.react.src.components.react-component-lib.interfaces → type in core.src.utils.overlays-interface) reference.
packages.react.src.components.react-component-lib.interfaces uses core.src.utils.overlays-interface. Changing core.src.utils.overlays-interface can break packages.react.src.components.react-component-lib.interfaces, not the reverse.
Position
Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
21→1 packages.react.src.models.RouteInfo depends on core.src.components.router.utils.interface✕
Type pairs
1 distinct (type in packages.react.src.models.RouteInfo → type in core.src.components.router.utils.interface) reference.
packages.react.src.models.RouteInfo uses core.src.components.router.utils.interface. Changing core.src.components.router.utils.interface can break packages.react.src.models.RouteInfo, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
22→2 core.src.components.menu.menu depends on core.src.utils.animation.animation-interface✕
Type pairs
1 distinct (type in core.src.components.menu.menu → type in core.src.utils.animation.animation-interface) reference.
core.src.components.menu.menu uses core.src.utils.animation.animation-interface. Changing core.src.utils.animation.animation-interface can break core.src.components.menu.menu, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
22→4 core.src.components.menu.menu depends on core.src.utils.gesture✕
Type pairs
2 distinct (type in core.src.components.menu.menu → type in core.src.utils.gesture) references.
core.src.components.menu.menu uses core.src.components.menu.menu-interface. Changing core.src.components.menu.menu-interface can break core.src.components.menu.menu, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
22→20 core.src.components.menu.menu depends on packages.react.src.components.react-component-lib.interfaces✕
Type pairs
1 distinct (type in core.src.components.menu.menu → type in packages.react.src.components.react-component-lib.interfaces) reference.
core.src.components.menu.menu uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.components.menu.menu, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
23→2 core.src.components.nav.nav depends on core.src.utils.animation.animation-interface✕
Type pairs
1 distinct (type in core.src.components.nav.nav → type in core.src.utils.animation.animation-interface) reference.
core.src.components.nav.nav uses core.src.utils.animation.animation-interface. Changing core.src.utils.animation.animation-interface can break core.src.components.nav.nav, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
23→4 core.src.components.nav.nav depends on core.src.utils.gesture✕
Type pairs
1 distinct (type in core.src.components.nav.nav → type in core.src.utils.gesture) reference.
core.src.components.nav.nav uses core.src.components.nav.nav-interface. Changing core.src.components.nav.nav-interface can break core.src.components.nav.nav, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
23→20 core.src.components.nav.nav depends on packages.react.src.components.react-component-lib.interfaces✕
Type pairs
1 distinct (type in core.src.components.nav.nav → type in packages.react.src.components.react-component-lib.interfaces) reference.
core.src.components.nav.nav uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.components.nav.nav, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
24→1 core.src.components.router-outlet.router-outlet depends on core.src.components.router.utils.interface✕
Type pairs
3 distinct (type in core.src.components.router-outlet.router-outlet → type in core.src.components.router.utils.interface) references.
core.src.components.router-outlet.router-outlet uses core.src.components.router.utils.interface. Changing core.src.components.router.utils.interface can break core.src.components.router-outlet.router-outlet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
24→2 core.src.components.router-outlet.router-outlet depends on core.src.utils.animation.animation-interface✕
Type pairs
1 distinct (type in core.src.components.router-outlet.router-outlet → type in core.src.utils.animation.animation-interface) reference.
core.src.components.router-outlet.router-outlet uses core.src.utils.animation.animation-interface. Changing core.src.utils.animation.animation-interface can break core.src.components.router-outlet.router-outlet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
24→4 core.src.components.router-outlet.router-outlet depends on core.src.utils.gesture✕
Type pairs
1 distinct (type in core.src.components.router-outlet.router-outlet → type in core.src.utils.gesture) reference.
core.src.components.router-outlet.router-outlet uses core.src.utils.gesture. Changing core.src.utils.gesture can break core.src.components.router-outlet.router-outlet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
24→14 core.src.components.router-outlet.router-outlet depends on core.src.components.nav.nav-interface✕
Type pairs
2 distinct (type in core.src.components.router-outlet.router-outlet → type in core.src.components.nav.nav-interface) references.
core.src.components.router-outlet.router-outlet uses core.src.components.nav.nav-interface. Changing core.src.components.nav.nav-interface can break core.src.components.router-outlet.router-outlet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
24→20 core.src.components.router-outlet.router-outlet depends on packages.react.src.components.react-component-lib.interfaces✕
Type pairs
1 distinct (type in core.src.components.router-outlet.router-outlet → type in packages.react.src.components.react-component-lib.interfaces) reference.
core.src.components.router-outlet.router-outlet uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.components.router-outlet.router-outlet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
25→1 core.src.components.router.router depends on core.src.components.router.utils.interface✕
Type pairs
2 distinct (type in core.src.components.router.router → type in core.src.components.router.utils.interface) references.
core.src.components.router.router uses core.src.components.router.utils.interface. Changing core.src.components.router.utils.interface can break core.src.components.router.router, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
25→20 core.src.components.router.router depends on packages.react.src.components.react-component-lib.interfaces✕
Type pairs
1 distinct (type in core.src.components.router.router → type in packages.react.src.components.react-component-lib.interfaces) reference.
core.src.components.router.router uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.components.router.router, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
26→17 core.src.global.config depends on core.src.utils.config✕
Type pairs
1 distinct (type in core.src.global.config → type in core.src.utils.config) reference.
core.src.utils.overlays-interface uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.utils.overlays-interface, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
28→9 packages.angular.src.lazy.providers.modal-controller depends on packages.angular.src.common.utils.overlay✕
Type pairs
1 distinct (type in packages.angular.src.lazy.providers.modal-controller → type in packages.angular.src.common.utils.overlay) reference.
packages.angular.src.lazy.providers.modal-controller uses packages.angular.src.common.utils.overlay. Changing packages.angular.src.common.utils.overlay can break packages.angular.src.lazy.providers.modal-controller, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
28→13 packages.angular.src.lazy.providers.modal-controller depends on core.src.components.modal.modal-interface✕
Type pairs
1 distinct (type in packages.angular.src.lazy.providers.modal-controller → type in core.src.components.modal.modal-interface) reference.
packages.angular.src.lazy.providers.modal-controller uses core.src.components.modal.modal-interface. Changing core.src.components.modal.modal-interface can break packages.angular.src.lazy.providers.modal-controller, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
29→11 packages.migrate.src.ast depends on packages.migrate.src.context✕
Type pairs
3 distinct (type in packages.migrate.src.ast → type in packages.migrate.src.context) references.
packages.react-router.src.ReactRouter uses packages.react.src.models.RouteInfo. Changing packages.react.src.models.RouteInfo can break packages.react-router.src.ReactRouter, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
31→1 packages.react.src.routing.NavManager depends on core.src.components.router.utils.interface✕
Type pairs
1 distinct (type in packages.react.src.routing.NavManager → type in core.src.components.router.utils.interface) reference.
packages.react.src.routing.NavManager uses core.src.components.router.utils.interface. Changing core.src.components.router.utils.interface can break packages.react.src.routing.NavManager, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
31→21 packages.react.src.routing.NavManager depends on packages.react.src.models.RouteInfo✕
Type pairs
1 distinct (type in packages.react.src.routing.NavManager → type in packages.react.src.models.RouteInfo) reference.
packages.react.src.routing.NavManager uses packages.react.src.models.RouteInfo. Changing packages.react.src.models.RouteInfo can break packages.react.src.routing.NavManager, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
32→4 core.src.components.action-sheet.action-sheet depends on core.src.utils.gesture✕
Type pairs
1 distinct (type in core.src.components.action-sheet.action-sheet → type in core.src.utils.gesture) reference.
core.src.components.action-sheet.action-sheet uses core.src.utils.gesture. Changing core.src.utils.gesture can break core.src.components.action-sheet.action-sheet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
32→20 core.src.components.action-sheet.action-sheet depends on packages.react.src.components.react-component-lib.interfaces✕
Type pairs
1 distinct (type in core.src.components.action-sheet.action-sheet → type in packages.react.src.components.react-component-lib.interfaces) reference.
core.src.components.action-sheet.action-sheet uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.components.action-sheet.action-sheet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
32→27 core.src.components.action-sheet.action-sheet depends on core.src.utils.overlays-interface✕
Type pairs
2 distinct (type in core.src.components.action-sheet.action-sheet → type in core.src.utils.overlays-interface) references.
core.src.components.action-sheet.action-sheet uses core.src.utils.overlays-interface. Changing core.src.utils.overlays-interface can break core.src.components.action-sheet.action-sheet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
33→4 core.src.components.alert.alert depends on core.src.utils.gesture✕
Type pairs
1 distinct (type in core.src.components.alert.alert → type in core.src.utils.gesture) reference.
core.src.components.alert.alert uses core.src.utils.gesture. Changing core.src.utils.gesture can break core.src.components.alert.alert, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
33→20 core.src.components.alert.alert depends on packages.react.src.components.react-component-lib.interfaces✕
Type pairs
1 distinct (type in core.src.components.alert.alert → type in packages.react.src.components.react-component-lib.interfaces) reference.
core.src.components.alert.alert uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.components.alert.alert, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
33→27 core.src.components.alert.alert depends on core.src.utils.overlays-interface✕
Type pairs
2 distinct (type in core.src.components.alert.alert → type in core.src.utils.overlays-interface) references.
core.src.components.alert.alert uses core.src.utils.overlays-interface. Changing core.src.utils.overlays-interface can break core.src.components.alert.alert, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
34→2 core.src.components.modal.modal depends on core.src.utils.animation.animation-interface✕
Type pairs
1 distinct (type in core.src.components.modal.modal → type in core.src.utils.animation.animation-interface) reference.
core.src.components.modal.modal uses core.src.utils.animation.animation-interface. Changing core.src.utils.animation.animation-interface can break core.src.components.modal.modal, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
34→4 core.src.components.modal.modal depends on core.src.utils.gesture✕
Type pairs
1 distinct (type in core.src.components.modal.modal → type in core.src.utils.gesture) reference.
core.src.components.modal.modal uses core.src.utils.gesture. Changing core.src.utils.gesture can break core.src.components.modal.modal, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
34→13 core.src.components.modal.modal depends on core.src.components.modal.modal-interface✕
Type pairs
3 distinct (type in core.src.components.modal.modal → type in core.src.components.modal.modal-interface) references.
core.src.components.modal.modal uses core.src.components.modal.modal-interface. Changing core.src.components.modal.modal-interface can break core.src.components.modal.modal, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
34→20 core.src.components.modal.modal depends on packages.react.src.components.react-component-lib.interfaces✕
Type pairs
1 distinct (type in core.src.components.modal.modal → type in packages.react.src.components.react-component-lib.interfaces) reference.
core.src.components.modal.modal uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.components.modal.modal, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
34→27 core.src.components.modal.modal depends on core.src.utils.overlays-interface✕
Type pairs
2 distinct (type in core.src.components.modal.modal → type in core.src.utils.overlays-interface) references.
core.src.components.modal.modal uses core.src.utils.overlays-interface. Changing core.src.utils.overlays-interface can break core.src.components.modal.modal, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
35→1 core.src.utils depends on core.src.components.router.utils.interface✕
Type pairs
1 distinct (type in core.src.utils → type in core.src.components.router.utils.interface) reference.
core.src.utils uses core.src.components.router.utils.interface. Changing core.src.components.router.utils.interface can break core.src.utils, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
35→5 core.src.utils depends on core.src.utils.test.playwright.generator✕
Type pairs
2 distinct (type in core.src.utils → type in core.src.utils.test.playwright.generator) references.
core.src.utils uses core.src.utils.test.playwright.generator. Changing core.src.utils.test.playwright.generator can break core.src.utils, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
35→12 core.src.utils depends on core.src.components.menu.menu-interface✕
Type pairs
1 distinct (type in core.src.utils → type in core.src.components.menu.menu-interface) reference.
core.src.utils uses core.src.components.menu.menu-interface. Changing core.src.components.menu.menu-interface can break core.src.utils, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
35→17 core.src.utils depends on core.src.utils.config✕
Type pairs
1 distinct (type in core.src.utils → type in core.src.utils.config) reference.
core.src.utils uses packages.react.src.components.react-component-lib.interfaces. Changing packages.react.src.components.react-component-lib.interfaces can break core.src.utils, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
35→27 core.src.utils depends on core.src.utils.overlays-interface✕
Type pairs
2 distinct (type in core.src.utils → type in core.src.utils.overlays-interface) references.
packages.angular.src.common.providers.nav-controller uses core.src.components.router.utils.interface. Changing core.src.components.router.utils.interface can break packages.angular.src.common.providers.nav-controller, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
36→14 packages.angular.src.common.providers.nav-controller depends on core.src.components.nav.nav-interface✕
Type pairs
1 distinct (type in packages.angular.src.common.providers.nav-controller → type in core.src.components.nav.nav-interface) reference.
packages.angular.src.common.providers.nav-controller uses core.src.components.nav.nav-interface. Changing core.src.components.nav.nav-interface can break packages.angular.src.common.providers.nav-controller, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
36→25 packages.angular.src.common.providers.nav-controller depends on core.src.components.router.router✕
Type pairs
1 distinct (type in packages.angular.src.common.providers.nav-controller → type in core.src.components.router.router) reference.
packages.angular.src.common.providers.nav-controller uses core.src.components.router.router. Changing core.src.components.router.router can break packages.angular.src.common.providers.nav-controller, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
36→39 packages.angular.src.common.providers.nav-controller depends on packages.angular.src.common.directives.navigation.router-outletcycle✕
Type pairs
1 distinct (type in packages.angular.src.common.providers.nav-controller → type in packages.angular.src.common.directives.navigation.router-outlet) reference.
packages.angular.src.common.providers.nav-controller uses packages.angular.src.common.directives.navigation.router-outlet. Changing packages.angular.src.common.directives.navigation.router-outlet can break packages.angular.src.common.providers.nav-controller, not the reverse.
Position
Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
37→1 packages.angular.src.common.directives.navigation.stack-controller depends on core.src.components.router.utils.interface✕
Type pairs
1 distinct (type in packages.angular.src.common.directives.navigation.stack-controller → type in core.src.components.router.utils.interface) reference.
packages.angular.src.common.directives.navigation.stack-controller uses core.src.components.router.utils.interface. Changing core.src.components.router.utils.interface can break packages.angular.src.common.directives.navigation.stack-controller, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
37→25 packages.angular.src.common.directives.navigation.stack-controller depends on core.src.components.router.router✕
Type pairs
1 distinct (type in packages.angular.src.common.directives.navigation.stack-controller → type in core.src.components.router.router) reference.
packages.angular.src.common.directives.navigation.stack-controller uses core.src.components.router.router. Changing core.src.components.router.router can break packages.angular.src.common.directives.navigation.stack-controller, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
37→36 packages.angular.src.common.directives.navigation.stack-controller depends on packages.angular.src.common.providers.nav-controller✕
Type pairs
1 distinct (type in packages.angular.src.common.directives.navigation.stack-controller → type in packages.angular.src.common.providers.nav-controller) reference.
packages.angular.src.common.directives.navigation.stack-controller uses packages.angular.src.common.providers.nav-controller. Changing packages.angular.src.common.providers.nav-controller can break packages.angular.src.common.directives.navigation.stack-controller, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
38→26 packages.angular.test.base.src.app.lazy.providers.providers_component depends on core.src.global.config✕
Type pairs
1 distinct (type in packages.angular.test.base.src.app.lazy.providers.providers_component → type in core.src.global.config) reference.
packages.angular.test.base.src.app.lazy.providers.providers_component uses core.src.global.config. Changing core.src.global.config can break packages.angular.test.base.src.app.lazy.providers.providers_component, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
38→28 packages.angular.test.base.src.app.lazy.providers.providers_component depends on packages.angular.src.lazy.providers.modal-controller✕
Type pairs
1 distinct (type in packages.angular.test.base.src.app.lazy.providers.providers_component → type in packages.angular.src.lazy.providers.modal-controller) reference.
packages.angular.test.base.src.app.lazy.providers.providers_component uses packages.angular.src.lazy.providers.modal-controller. Changing packages.angular.src.lazy.providers.modal-controller can break packages.angular.test.base.src.app.lazy.providers.providers_component, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
38→36 packages.angular.test.base.src.app.lazy.providers.providers_component depends on packages.angular.src.common.providers.nav-controller✕
Type pairs
1 distinct (type in packages.angular.test.base.src.app.lazy.providers.providers_component → type in packages.angular.src.common.providers.nav-controller) reference.
packages.angular.test.base.src.app.lazy.providers.providers_component uses packages.angular.src.common.providers.nav-controller. Changing packages.angular.src.common.providers.nav-controller can break packages.angular.test.base.src.app.lazy.providers.providers_component, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
39→25 packages.angular.src.common.directives.navigation.router-outlet depends on core.src.components.router.router✕
Type pairs
1 distinct (type in packages.angular.src.common.directives.navigation.router-outlet → type in core.src.components.router.router) reference.
packages.angular.src.common.directives.navigation.router-outlet uses core.src.components.router.router. Changing core.src.components.router.router can break packages.angular.src.common.directives.navigation.router-outlet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
39→37 packages.angular.src.common.directives.navigation.router-outlet depends on packages.angular.src.common.directives.navigation.stack-controller✕
Type pairs
1 distinct (type in packages.angular.src.common.directives.navigation.router-outlet → type in packages.angular.src.common.directives.navigation.stack-controller) reference.
packages.angular.src.common.directives.navigation.router-outlet uses packages.angular.src.common.directives.navigation.stack-controller. Changing packages.angular.src.common.directives.navigation.stack-controller can break packages.angular.src.common.directives.navigation.router-outlet, not the reverse.
Position
Below the diagonal — points down the layering, which is what you want.
40→39 packages.react.src.components.navigation.IonTabs depends on packages.angular.src.common.directives.navigation.router-outlet✕
Type pairs
1 distinct (type in packages.react.src.components.navigation.IonTabs → type in packages.angular.src.common.directives.navigation.router-outlet) reference.
packages.react.src.components.navigation.IonTabs uses packages.angular.src.common.directives.navigation.router-outlet. Changing packages.angular.src.common.directives.navigation.router-outlet can break packages.react.src.components.navigation.IonTabs, 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
80
High / Critical
A03:2021 — Injection
23
High / Critical
A02:2021 — Cryptographic Failures
4
High / Critical
A05:2021 — Security Misconfiguration
1
Medium
Roadmap
First, implement structured logging using pino or winston to establish basic observability across services. Next, clean up the dependency tree by removing unused packages and explicitly declaring imports, while enabling automated dependency review tools to improve security and performance. Finally, address the inverted test pyramid by adding tests for unreached production modules to ensure comprehensive coverage.
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.
Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
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 — 109
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 — 892
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 — 41
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved — 49
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. 52 of 56 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 — 56 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, 1019 of 1042 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: this repository's production source spans .tsx, .ts, and our analyzer cannot run the .tsx, .ts test suite(s) — so no coverage was collected for the repository as a whole. The JavaScript/TypeScript half did build and run, and its own line coverage came back at 81.8% — but that is a figure for one half of the product, and we do not publish a partial one as if it were complete. This is OUR limitation, not a defect in the repo — coverage is excluded from the score rather than counted as a near-zero. In the meantime, produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures and real coverage will be read. You can widen what we reach: optional: produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then both halves are read on the next scan.
D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Dependency Hygiene ran out of its 5-minute budget before it had finished, so what it reports here is a floor rather than a complete count. The rows above are real and stand; what is not known is how many more there are. This is a limit of the analysis run, not a finding about this repository.
D14 License Compliance — evaluation did not complete — License Compliance not included (check did not complete) — excluded from the score.
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 (core/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) — 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. `packages/vue/types/proxies.d.ts` 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.
D44 Platform End-of-Life — 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 dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (go.mod, a Gemfile's ruby directive, a REDACTED) is simply not read here yet.
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.
P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
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. 137 further occurrence(s) are not listed individually; the score already reflects all 177.
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. 66 further occurrence(s) are not listed individually; the score already reflects all 106.
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. 49 further occurrence(s) are not listed individually; the score already reflects all 89.
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: 2 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.
D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
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.
D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
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.
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".
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.
68 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was router.createIonRouter at 97. A further 2 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 Refresher.setupiOSNativeRefresher at 21 — they are counted neither in the figure above nor in this dimension's score.
+ 63 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 router.createIonRouter (cyclomatic 97) finding(s) in Cyclomatic Complexity — start with router.ts. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 IonRouter.IonRouter (cyclomatic 91) finding(s) in Cyclomatic Complexity — start with IonRouter.tsx. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 animation.createAnimation (cyclomatic 86) finding(s) in Cyclomatic Complexity — start with animation.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.
+ 80 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 IonRouter.IonRouter (cognitive 134) finding(s) in Cognitive Complexity — start with IonRouter.tsx. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 router.createIonRouter (cognitive 134) finding(s) in Cognitive Complexity — start with router.ts. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 animation.createAnimation (cognitive 107) finding(s) in Cognitive Complexity — start with animation.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.2 / 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 13 FunctionTooLong finding(s) in God Classes — start with REDACTED (2), animation.ts, router.ts. — One of this dimension's main actionable groups (13 warning-level).
Resolve the 10 FileTooLong finding(s) in God Classes — start with datetime.tsx, StackManager.tsx, select.tsx. — One of this dimension's main actionable groups (10 warning-level).
Resolve the 7 ClassTooLong finding(s) in God Classes — start with datetime.tsx, modal.tsx, select.tsx. — One of this dimension's main actionable groups (7 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.
14 production modules (Gradle+npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; edges a convention plugin adds from buildSrc or build-logic are not visible there, 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.2 / 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.
4191 test methods: 1218 unit, 0 integration, 0 BDD, 2973 e2e. The JavaScript/TypeScript suite contributes 4191 `it`/`test` case(s) across 719 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.6 / 10Adequategated by 2 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.
21 skipped (21 with a documented reason), 378 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 4189 tests.
No assertions (empty test): type checks component props at compile time · ×2packages/react/src/hooks/__tests__/overlay-hook-types.spec.tsx:155
No assertions: should open alert from action sheet · ×376core/src/components/action-sheet/test/basic/action-sheet.e2e.ts:59
Skipped (documented): accordions should be keyboard navigable · ×21core/src/components/accordion/test/a11y/accordion.e2e.ts:7
What to do
Resolve the 2 No assertions (empty test) finding(s) in Test Quality — start with overlay-hook-types.spec.tsx, hooks.spec.tsx. — One of this dimension's main actionable groups (2 issue-level).
Resolve the 376 No assertions finding(s) in Test Quality — start with routing.cy.js (54), datetime.e2e.ts (27), tabs.cy.js (27). — One of this dimension's main actionable groups (376 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.
Do you agree with this assessment?
D11 · Test Reliability10.0 / 10Adequategated by 2 critical findings✓ Tool-verified
What it measures: Whether the tests pass reliably, with no flakiness.
Method: Suite re-run N times within tiered wall-clock budgets (unit to e2e); tests failing non-deterministically across runs flagged; guarded tests retried when #if guards detected.
0 flaky across 1 measured tier(s). JavaScript/TypeScript (jest via `npm ci --ignore-scripts` in core/ (88 tests); vitest via `npm ci --ignore-scripts` in packages/migrate/ (308 tests); jest via `npm ci --ignore-scripts` in packages/react/ (83 tests); vitest via `npm ci --ignore-scripts` in packages/react/test/apps/react18/ (0 tests); vitest via `npm ci --ignore-scripts` in packages/react/test/apps/react19/ (0 tests)): measured (0 flaky).
Test suite declares a test script but contains no test files: packages/react/test/apps/react18/ · ×2
What to do
Resolve the 2 Test suite declares a test script but contains no test files finding(s) in Test Reliability. — One of this dimension's main actionable groups (2 issue-level).
Detailed fixes: d11_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.
Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.
What it measures: Files that change often and are also complex — the riskiest hotspots.
Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.
Top hotspots: core/src/components/modal/gestures/sheet.ts (3×74=222); packages/vue-router/src/router.ts (2×97=194); packages/react-router/src/ReactRouter/StackManager.tsx (4×46=184) Repeated repair below the complexity floor: core/src/utils/helpers.ts (3 of 3 changes were fixes); core/src/components/modal/test/safe-area/modal.e2e.ts (3 of 3 changes were fixes)
Resolve the 14 Hotspot finding(s) in Churn × Complexity Hotspots — start with sheet.ts, router.ts, StackManager.tsx. — One of this dimension's main actionable groups (14 warning-level).
Resolve the 2 Repeated repair finding(s) in Churn × Complexity Hotspots — start with helpers.ts, modal.e2e.ts. — One of this dimension's main actionable groups (2 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.1 / 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.
19 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is packages/react-router/src/ReactRouter/StackManager.tsx. Counted over 209 of the 540 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
Off-boarding risk: anonymized user #1
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.
162 deducted task-comment markers across 69378 LoC (0.2/KLoC) → score 9.5. 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 11 filescore/src/components/alert/alert-interface.ts:28
TodoComment repeated across 28 filescore/src/components/alert/alert.tsx:41
TodoComment repeated across 13 filespackages/react/src/framework-delegate.tsx:6
What to do
Resolve the 108 TodoComment finding(s) in Explicit Debt — start with select.e2e.ts (13), select-modal.tsx (5), select-popover.tsx (5). — One of this dimension's main actionable groups (108 warning-level).
Resolve the 1 TodoComment repeated across 11 files finding(s) in Explicit Debt — start with alert-interface.ts. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 TodoComment repeated across 28 files finding(s) in Explicit Debt — start with alert.tsx. — One of this dimension's main actionable groups (1 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 (Ionic) is clear and comprehensive: it states what the project does, names the Web Components framework it is based on, shows a full license badge with PR welcome, and links to quickstart, contributing, and blog. The core/README documents that directory (Ionic Core package features, usage, framework bindings, custom elements build, contribution) without mentioning the repository's root; each of its named sections exists in the outline and is present in the visible text. Each docs/README for a subdirectory also clearly states what it documents (e.g., contributing, testing guides), with full outlines. The only unshown element across all files is an architecture or design doc, which the summary does not flag but the clipped portion would confirm exists. The READMEs of each package/test directory (25 total) document only that directory rather than the repository; they all open with a one-line 'Refer to...' directive pointing to an internal docs link. The architecture/design markdown files are separate and not shown in this summary. There is no overview of what the project does, no installation/build instructions, no usage examples, no contributing guidance, and no licence statement among the visible documents.
What to do
Improve Documentation Quality — currently 8.0/10. — The repository's root README (Ionic) is clear and comprehensive: it states what the project does, names the Web Components framework it is based on, shows a full license badge with PR welcome, and links to quickstart, contributing, and blog. The core/README documents that directory (Ionic Core package features, usage, framework bindings, custom elements build, contribution) without mentioning the repository's root; each of its named sections exists in the outline and is present in the visible text. Each docs/README for a subdirectory also clearly states what it documents (e.g., contributing, testing guides), with full outlines. The only unshown element across all files is an architecture or design doc, which the summary does not flag but the clipped portion would confirm exists. The READMEs of each package/test directory (25 total) document only that directory rather than the repository; they all open with a one-line 'Refer to...' directive pointing to an internal docs link. The architecture/design markdown files are separate and not shown in this summary. There is no overview of what the project does, no installation/build instructions, no usage examples, no contributing guidance, and no licence statement among the visible documents.
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: 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.
3 finding(s): 0 critical, 3 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
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 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).
23 finding(s): 0 critical, 21 high, 2 medium, 0 low. semgrep hit a parse error in 2 file(s) — `core/scripts/vercel-build.sh` (line 78), `packages/vue/types/proxies.d.ts` (line 2, line 3, line 4, …) — 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 11 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
What to do
Resolve the 12 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (8), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (12 issue-level).
Resolve the 5 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (4), REDACTED. — One of this dimension's main actionable groups (5 issue-level).
Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (4). — 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.
Resolve the 51 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (51). — One of this dimension's main actionable groups (51 issue-level).
Resolve the 17 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (17). — One of this dimension's main actionable groups (17 warning-level).
Resolve the 5 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (5). — One of this dimension's main actionable groups (5 issue-level).
Detailed fixes: d30_recommendation.md · top locations in Appendix A, every location in findings.md.
Resolve the 1 Medium IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d31_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned — last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.
Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.
73 of 209 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is core/src/utils/transition/ios.transition.ts. Counted over 209 of the 540 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
Resolve the 3 Orphaned knowledge finding(s) in Knowledge Freshness — start with ios.transition.ts, animation.ts, data.ts. — One of this dimension's main actionable groups (3 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 6 Change coupling finding(s) in Change Coupling — start with dom.ts, modal.tsx, nav.tsx. — One of this dimension's main actionable groups (6 warning-level).
Resolve the 2 Change-coupling hub finding(s) in Change Coupling — start with picker.tsx, loading.tsx. — One of this dimension's main actionable groups (2 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 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.
No dependency in any ecosystem this repository declares is published as malicious.
✓ On the Gold path — maintain.
Detailed fixes: d43_recommendation.md.
Do you agree with this assessment?
Frontend & cross-cutting dimensions
R = React/JS · M = Maturity · P = Readiness.
AC1 · Text alternatives10.0 / 10Exemplary○ Nothing flagged
Other · Accessibility — Whether non-text content carries a text alternative — img/area/input[type=image] have alt, a meaningful svg has a title or aria-label, video has a captions track, and object/embed/canvas have a name or fallback content. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: every img/area/input[type=image] checked for alt, svg[role=img] for a title/aria-label, video for a captions <track>. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: image/media elements — img, area, input[type=image], svg, video, object, embed, canvas — across the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and dynamic-attribute elements are skipped. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is NOT read by any producer, so it contributes no element to this population; where such a frontend is present the card discloses it as an analyzer gap rather than scoring around it.
Do you agree with this assessment?
AC2 · Forms & labels10.0 / 10Exemplary○ Nothing flagged
Other · Accessibility — Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, a click handler on a plain element names the control it declares, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.
Coverage: Population: form controls, buttons, links, fieldsets and known UI-library field components in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and spread/dynamic-attribute elements are skipped, so a control whose label arrives through a spread or a runtime expression is deliberately not judged. Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
Other · Accessibility — Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.
Coverage: Population: the PARSED MARKUP documents (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx). The page-level checks — lang, title, single main landmark — fire ONCE PER FULL DOCUMENT (an <html> root) and never on a partial or component fragment, so a repo of fragments is assessed only on the per-element checks (heading order, table headers, iframe titles, meta-refresh, zoom). Markup built in script — tagged-template (html`…`) UIs and hyperscript DOM factories — is not read at all.
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".
A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler. (×2) — core/src/components/accordion/accordion.tsx:519, core/src/components/popover/popover.tsx:781
A click handler on a plain element with no role and no tabindex: even where another element's key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a <button>, or add role + tabIndex={0}. (×2) — core/src/components/checkbox/checkbox.tsx:398, core/src/components/toggle/toggle.tsx:524
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. — core/src/components/picker-column-option/picker-column-option.tsx:127
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.
aria-hidden="true" hides the element from assistive tech but leaves it keyboard-focusable — a confusing dead stop. Remove aria-hidden or make the element non-focusable. (×6) — core/src/components/action-sheet/action-sheet.tsx:660, core/src/components/action-sheet/action-sheet.tsx:710, core/src/components/alert/alert.tsx:915, …
aria-labelledby is present but empty, so it references no element and the relationship is lost. Point it at the id(s) of the target element, or remove it. — core/src/components/input/input.tsx:757
What to do
Use valid, non-abstract roles, supply the ARIA state each role requires, and never put aria-hidden on a focusable element.
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.
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 123 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
Accessibility linting is already configured — 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.
370 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 3 of 12 project(s) that lack one — worth up to 0.5 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.
No logging call was found in the 553 JavaScript/TypeScript production file(s) this check read across 10 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
What to do
Adopt pino (or winston) and log at meaningful points in the services you run.
Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
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
Enable Dependabot/Renovate or a dependency-review gate.
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.
The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY'S PIPELINE FILES. What was read: every file under `.github/workflows/`, `.forgejo/workflows/`, `.gitea/workflows/`, `.azuredevops/` and `.azure-pipelines/`, plus `.gitlab-ci*` and `azure-pipelines*` — with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab's `when: manual`, CircleCI's `type: approval`, an Azure `ManualValidation@` task or an `approvals:` block, a Jenkins `input` step, a `uses:` step naming an approval action, an `environment:` paired with `reviewers` / `required_reviewers` / `protection` / `wait-timer` / `deployment_branch_policy`, a draft-release step, a `workflow_dispatch` promotion, or a release-event gate. ★ What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy — all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release.
What to do
Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
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.
`prerenderStatic` is async and calls readFileSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — core/scripts/testing/prerender.js:23
`prerenderHydrated` is async and calls readFileSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — core/scripts/testing/prerender.js:43
`prerenderDomino` is async and calls readFileSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — core/scripts/testing/prerender.js:57
`prerenderDir` is async and calls readdirSync, statSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — core/scripts/testing/prerender.js:128
`run` 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. — core/scripts/testing/prerender.js:146
`rewriteSourceMap` is async and calls existsSync, readFileSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/angular/scripts/normalize-change-detection.js:63
`normalize` is async and calls readFileSync, writeFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/angular/scripts/normalize-change-detection.js:116
`main` is async and calls existsSync, mkdirSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — packages/vue/scripts/build-vetur.js:35
What to do
TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
Do you agree with this assessment?
R1 · Type Safety9.7 / 10Exemplary✓ Tool-verified
React / JS · Code Health — How much of the frontend is typed TypeScript vs untyped JavaScript.
Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.
What to do
Migrate the remaining .js/.jsx files to TypeScript.
React / JS · Code Health — Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm over JS/TS tokens, D-386): a block is reported only where its copies still agree on most of their own identifiers and literals, or were renamed as they were pasted but kept most of their constants, and where the copies carry enough code to stand on their own or the copied extent reaches 30 lines — so a re-implementation sharing neither names nor values, and a small pasted declaration, are both found and deliberately not reported, and a clean R10 is not a claim that nothing was copied.
Method: Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm run over JS/TS tokens). Masking finds the candidates; a block is reported when its copies still agree on most of their own identifiers and literals, or when a renamed copy still agrees on most of its constants, AND the copies carry enough code to stand on their own — or when the copied extent reaches 30 lines. So a re-implementation sharing neither names nor values, and a small pasted declaration, are deliberately not counted. Deterministic.
72 duplicated blocks under core/src/components/ have copies in at least two of the sibling directories action-sheet, alert, back-button, badge, breadcrumbs, button (+46 more sibling(s) not listed) — 53 of them are reported below, and 19 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 72 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 72 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 72 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. — core/src/components/input/input.tsx:157
11 duplicated blocks under packages/angular/src/ have copies in at least two of the sibling directories common, lazy, standalone — 9 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 11 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 11 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 11 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/angular/src/lazy/directives/angular-component-lib/utils.ts:22
10 duplicated blocks under packages/ have copies in at least two of the sibling directories angular, react, react-router, vue, vue-router — 8 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 10 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 10 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 10 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/react/src/routing/LocationHistory.ts:41
core/src/components/input/input.tsx:157 · core/src/components/textarea/textarea.tsx:122 — the two spans are one implementation copied and then locally edited — 1015 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. — core/src/components/input/input.tsx:157
core/src/components/checkbox/checkbox.tsx:88 · core/src/components/toggle/toggle.tsx:106 — the two spans are one implementation copied and then locally edited — 610 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. — core/src/components/checkbox/checkbox.tsx:88
core/src/components/input/input.tsx:809 · core/src/components/textarea/textarea.tsx:624 — the two spans are one implementation copied and then locally edited — 670 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. — core/src/components/input/input.tsx:809
core/src/components/modal/animations/ios.transition.ts:17 · core/src/components/modal/animations/ios.transition.ts:108 — 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. — core/src/components/modal/animations/ios.transition.ts:17
packages/react/src/components/createOverlayComponent.tsx:2 · packages/react/src/components/react-component-lib/createOverlayComponent.tsx:1 — these 2 files are line-for-line copies of one another — 75 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/react/src/components/createOverlayComponent.tsx:2
core/src/components/popover/animations/ios.enter.ts:25 · core/src/components/popover/animations/md.enter.ts:13 — the two spans are one implementation copied and then locally edited — 416 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. — core/src/components/popover/animations/ios.enter.ts:25
core/src/components/select-modal/select-modal.tsx:75 · core/src/components/select-popover/select-popover.tsx:85 — the two spans are one implementation copied and then locally edited — 378 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. — core/src/components/select-modal/select-modal.tsx:75
core/src/components/input/input.tsx:643 · core/src/components/textarea/textarea.tsx:532 — the two spans are one implementation copied and then locally edited — 368 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. — core/src/components/input/input.tsx:643
packages/react/src/routing/OutletPageManager.tsx:10 · packages/react/src/routing/PageManager.tsx:9 — the two spans are one implementation copied and then locally edited — 363 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/react/src/routing/OutletPageManager.tsx:10
core/src/components/searchbar/searchbar.tsx:142 · core/src/components/textarea/textarea.tsx:156 — the two spans are one implementation copied and then locally edited — 368 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. — core/src/components/searchbar/searchbar.tsx:142
core/src/components/select-modal/select-modal.tsx:162 · core/src/components/select-popover/select-popover.tsx:126 — 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. — core/src/components/select-modal/select-modal.tsx:162
packages/react/src/routing/LocationHistory.ts:41 · packages/vue-router/src/locationHistory.ts:30 — the two spans are one implementation copied and then locally edited — 290 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/react/src/routing/LocationHistory.ts:41
core/src/components/loading/loading.tsx:46 · core/src/components/toast/toast.tsx:67 — the two spans are one implementation copied and then locally edited — 437 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. — core/src/components/loading/loading.tsx:46
core/src/components/datetime/datetime.tsx:1963 · core/src/components/datetime/datetime.tsx:2012 — 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. — core/src/components/datetime/datetime.tsx:1963
core/src/components/datetime/datetime.tsx:2095 · core/src/components/datetime/datetime.tsx:2138 — 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. — core/src/components/datetime/datetime.tsx:2095
core/src/components/button/button.tsx:237 · core/src/components/fab-button/fab-button.tsx:188 — 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. — core/src/components/button/button.tsx:237
packages/angular/src/lazy/directives/angular-component-lib/utils.ts:22 · packages/angular/src/standalone/directives/angular-component-lib/utils.ts:22 — 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/angular/src/lazy/directives/angular-component-lib/utils.ts:22
packages/react-router/src/ReactRouter/IonReactHashRouter.tsx:14 · packages/react-router/src/ReactRouter/IonReactMemoryRouter.tsx:15 · packages/react-router/src/ReactRouter/IonReactRouter.tsx:24 — the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — packages/react-router/src/ReactRouter/IonReactHashRouter.tsx:14
packages/react/eslint.config.js:4 · packages/vue/eslint.config.js:4 — 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/react/eslint.config.js:4
packages/react-router/eslint.config.js:4 · packages/vue-router/eslint.config.js:4 — 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/react-router/eslint.config.js:4
core/src/components/alert/alert.tsx:427 · core/src/components/toast/toast.tsx:336 — the two spans are one implementation copied and then locally edited — 213 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. — core/src/components/alert/alert.tsx:427
packages/react/src/hooks/useController.ts:8 · packages/react/src/hooks/useOverlay.ts:13 — the two spans are one implementation copied and then locally edited — 291 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/react/src/hooks/useController.ts:8
core/src/components/footer/footer.tsx:55 · core/src/components/tab-bar/tab-bar.tsx:91 — 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. — core/src/components/footer/footer.tsx:55
core/src/utils/transition/ios.transition.ts:74 · core/src/utils/transition/ios.transition.ts:108 — 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. — core/src/utils/transition/ios.transition.ts:74
core/src/components/modal/animations/ios.enter.ts:50 · core/src/components/modal/animations/ios.leave.ts:37 — the two spans are one implementation copied and then locally edited — 196 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. — core/src/components/modal/animations/ios.enter.ts:50
core/src/components/select/select.tsx:404 · core/src/components/toggle/toggle.tsx:196 — the two spans are one implementation copied and then locally edited — 144 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. — core/src/components/select/select.tsx:404
core/src/utils/transition/ios.transition.ts:552 · core/src/utils/transition/ios.transition.ts:724 — 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. — core/src/utils/transition/ios.transition.ts:552
packages/angular/src/common/overlays/modal.ts:110 · packages/angular/src/common/overlays/popover.ts:86 — 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/angular/src/common/overlays/modal.ts:110
packages/react/src/components/createControllerComponent.tsx:12 · packages/react/src/components/createOverlayComponent.tsx:14 — 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/react/src/components/createControllerComponent.tsx:12
packages/react/src/hooks/useIonModal.ts:26 · packages/react/src/hooks/useIonPopover.ts:22 — 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/react/src/hooks/useIonModal.ts:26
core/src/components/card-subtitle/card-subtitle.tsx:12 · core/src/components/card-title/card-title.tsx:12 — 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. — core/src/components/card-subtitle/card-subtitle.tsx:12
core/src/components/action-sheet/action-sheet.tsx:131 · core/src/components/alert/alert.tsx:144 · core/src/components/loading/loading.tsx:116 — the 3 copies are spread across 3 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. — core/src/components/action-sheet/action-sheet.tsx:131
core/src/components/modal/animations/ios.transition.ts:67 · core/src/components/modal/animations/ios.transition.ts:159 — 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. — core/src/components/modal/animations/ios.transition.ts:67
core/src/components/modal/modal.tsx:588 · core/src/components/popover/popover.tsx:454 — 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. — core/src/components/modal/modal.tsx:588
core/src/components/action-sheet/action-sheet.tsx:233 · core/src/components/alert/alert.tsx:464 — 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. — core/src/components/action-sheet/action-sheet.tsx:233
core/src/components/badge/badge.tsx:12 · core/src/components/note/note.tsx:12 — 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. — core/src/components/badge/badge.tsx:12
core/src/components/alert/alert.tsx:605 · core/src/components/alert/alert.tsx:672 — 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. — core/src/components/alert/alert.tsx:605
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.
packages/react/src/components/IonPage.tsx:4 reaches into another package with a relative path (../routing/PageManager) — import the package by name instead. — packages/react/src/components/IonPage.tsx:4
packages/react/src/components/IonRouterOutlet.tsx:5 reaches into another package with a relative path (../routing/OutletPageManager) — import the package by name instead. — packages/react/src/components/IonRouterOutlet.tsx:5
packages/react/src/components/navigation/IonTabs.tsx:6 reaches into another package with a relative path (../../routing/PageManager) — import the package by name instead. — packages/react/src/components/navigation/IonTabs.tsx:6
packages/react/src/index.ts:5 reaches into another package with a relative path (./routing) — import the package by name instead. — packages/react/src/index.ts:5
packages/react/src/routing/NavManager.tsx:5 reaches into another package with a relative path (../components/IonRouterContext) — import the package by name instead. — packages/react/src/routing/NavManager.tsx:5
packages/react/src/routing/NavManager.tsx:7 reaches into another package with a relative path (../contexts/NavContext) — import the package by name instead. — packages/react/src/routing/NavManager.tsx:7
packages/react/src/routing/OutletPageManager.tsx:4 reaches into another package with a relative path (../components/inner-proxies) — import the package by name instead. — packages/react/src/routing/OutletPageManager.tsx:4
packages/react/src/routing/OutletPageManager.tsx:5 reaches into another package with a relative path (../contexts/IonLifeCycleContext) — import the package by name instead. — packages/react/src/routing/OutletPageManager.tsx:5
packages/react/src/routing/PageManager.tsx:3 reaches into another package with a relative path (../components/react-component-lib/utils) — import the package by name instead. — packages/react/src/routing/PageManager.tsx:3
packages/react/src/routing/PageManager.tsx:4 reaches into another package with a relative path (../contexts/IonLifeCycleContext) — import the package by name instead. — packages/react/src/routing/PageManager.tsx:4
packages/react/src/routing/ViewLifeCycleManager.tsx:3 reaches into another package with a relative path (../contexts/IonLifeCycleContext) — import the package by name instead. — packages/react/src/routing/ViewLifeCycleManager.tsx:3
packages/react/src/routing/__tests__/LocationHistory.spec.ts:2 reaches past another workspace package's public entry into its internals with a relative path (../../models/RouteInfo) — the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead. — packages/react/src/routing/__tests__/LocationHistory.spec.ts:2
packages/react/src/routing/__tests__/LocationHistory.spec.ts:3 reaches past another workspace package's public entry into its internals with a relative path (../../utils/generateId) — the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead. — packages/react/src/routing/__tests__/LocationHistory.spec.ts:3
What to do
Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
React / JS · Code Health — Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) — real branching, not a regex heuristic.
Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.
handleHistoryChange has cyclomatic complexity 53 and cognitive complexity 93; 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/vue-router/src/router.ts:407
handleHistoryChange has cyclomatic complexity 45 and cognitive complexity 78; 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/react-router/src/ReactRouter/IonRouter.tsx:187
renderKnob has cyclomatic complexity 43 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — core/src/components/range/range.tsx:1093
renderViewItem 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/react-router/src/ReactRouter/ReactRouterViewStack.tsx:366
(anonymous) has cyclomatic complexity 31 and cognitive complexity 66; 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/react-router/src/ReactRouter/utils/computeParentPath.ts:240
main has cyclomatic complexity 31 and cognitive complexity 42; 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/migrate/src/main.ts:108
matchView has cyclomatic complexity 30 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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/react-router/src/ReactRouter/ReactRouterViewStack.tsx:794
(anonymous) has cyclomatic complexity 28 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 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. — core/src/components/input-otp/input-otp.tsx:615
(anonymous) has cyclomatic complexity 26 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 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. — core/src/components/datetime/datetime.tsx:2377
(anonymous) has cyclomatic complexity 25 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. — core/src/components/input-otp/input-otp.tsx:536
detect has cyclomatic complexity 24 and cognitive complexity 82; 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/migrate/src/migrations/v9/react-router-6-code.ts:111
(anonymous) has cyclomatic complexity 24 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. — core/src/utils/transition/ios.transition.ts:496
handlePageTransition has cyclomatic complexity 21 and cognitive complexity 25; 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/vue/src/components/IonRouterOutlet.ts:270
setDateTimeText has cyclomatic complexity 21 and cognitive complexity 23; 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. — core/src/components/datetime-button/datetime-button.tsx:191
(anonymous) has cyclomatic complexity 21 and cognitive complexity 22; 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. — core/src/components/datetime/utils/manipulation.ts:343
(anonymous) has cyclomatic complexity 20 and cognitive complexity 28; 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/react-router/src/ReactRouter/ReactRouterViewStack.tsx:250
verify has cyclomatic complexity 20 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 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. — REDACTED:88
(anonymous) has cyclomatic complexity 20 and cognitive complexity 22; 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. — core/src/components/picker-column/picker-column.tsx:482
render has cyclomatic complexity 20 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. — core/src/components/item/item.tsx:356
setNextIndex has cyclomatic complexity 19 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 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. — core/src/components/segment/segment.tsx:506
What to do
Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
Do you agree with this assessment?
R3 · Large Files7.0 / 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 Coverage7.7 / 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) — core/src/components/refresher/refresher.tsx, core/src/components/menu/menu.tsx, core/src/components/input-otp/input-otp.tsx, …
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 Code7.3 / 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.
1 file(s) (~2 LoC) were excluded from dead-code analysis. This package's entry point(s) resolved, but the walk stopped one hop in: core/scripts/custom-elements/custom-elements.d.ts imports './index', 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. — core/scripts/custom-elements
335 file(s) (~15137 LoC) were excluded from dead-code analysis. This package's entry point(s) resolved, but the walk stopped one hop in: packages/angular/src/lazy/directives/proxies-list.ts imports './proxies', 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/angular
4 file(s) (~164 LoC) were excluded from dead-code analysis. This package's entry point(s) resolved, but the walk stopped one hop in: packages/angular/test/apps/ng18/src/main.server.ts imports './environments/environment', 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/angular/test/apps/ng18
Unreachable from the 131 application, 55 tooling and 1178 test entry point(s) detected in this repo. Gate removals on `npm run build` — an undetected custom entry would make these reachable.
no import path from any entry point (131 application, 55 tooling, 1178 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 (×31) — core/src/components/refresher/refresher.tsx, core/src/components/menu/menu.tsx, core/src/components/input-otp/input-otp.tsx, …
no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (core/src/utils/input-shims/input-shims.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 — core/src/utils/input-shims/hacks/scroll-assist.ts
no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (core/src/components/header/header.tsx) — 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 — core/src/components/header/header.utils.ts
no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (core/src/components/app/app.tsx) — 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) — core/src/utils/tap-click/index.ts, core/src/utils/input-shims/input-shims.ts
no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (core/src/utils/input-shims/hacks/hide-caret.ts, core/src/utils/input-shims/hacks/scroll-assist.ts, core/src/utils/input-shims/hacks/scroll-data.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 — core/src/utils/input-shims/hacks/common.ts
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.
Imported but not declared in any reachable package.json — installs work only by hoisting accident. (×8) — packages/angular/test/base/src/app/app.server.module.ts:2, packages/angular/test/base/server.ts:4, packages/react/test/base/src/App.tsx:4, …
Declared in packages/angular/test/apps/ng18/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)
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.
core/src/utils/transition/index.ts → core/src/utils/transition/ios.transition.ts → core/src/utils/transition/index.ts (one verified cycle inside a mutually-dependent group of 3 files) — core/src/utils/transition/index.ts
Other · Security — Only what this repository's own non-C# files could be read for was assessed — and because this repository commits the configuration that serves its own HTTP surface, that configuration could be read in full for the security response headers it sets. Nothing else in this dimension was assessed: the transport, cookie, input-validation and crypto controls are read from a source model that was not loaded for this repository’s language, so their absence here is not a finding about this repository.
No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found — defense in depth, even when a reverse proxy could set them. This is reported because `vercel.json` configures this repository's static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (−2.0 on this card.) — core/vercel.json:1
What to do
Set security response headers on the surface this repository serves: an `add_header` directive per header in the nginx/Caddy/Apache config, a `_headers` / `vercel.json` / `netlify.toml` entry for a static host, or `helmet()` in the HTTP server. `Content-Security-Policy` is the one that pays for itself first — it is what contains an injected script once one reaches the page — followed by `X-Content-Type-Options: nosniff` and a frame policy (`X-Frame-Options: DENY`, or CSP `frame-ancestors`). Where the app is served from a build container, the header configuration belongs in the image beside the built assets, so it ships with them rather than depending on where it lands.
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 — 4 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.
P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 72 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 — the image ran but published no HTTP port — nothing to crawl (EXPOSE the web port to unlock runtime evidence) 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.
D14 License Compliance — License Compliance not included (check did not complete)
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
D27 Navigability — symbol resolution incomplete — navigability not assessed
D32 Data Compliance (PII/GDPR) — 1 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
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.
D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
D6 Cohesion (LCOM4) — D6 reads a CS/VB/GO/SCALA/SWIFT/DART/JAVA/PY/KT class graph only — this repository's production source is .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 — polyglot repository, one half has no runner
DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this lens looks for
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'.
P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
P9 Domain vs controller coverage — coverage data present for 21 file(s), but no domain-layer files were identified: no covered file's path contains any of the markers this check keys on (/domain/, /aggregates/, /valueobjects/, /domainmodel/, .domain/, /entities/), which are matched case-insensitively anywhere in the path. With no domain partition there is nothing to compare the web/controller layer against — if this repository keeps its business rules under a folder named none of those, that naming is what the check cannot see, not the domain logic.
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
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.
AC5 · ARIA correctness· aria-hidden on a focusable element · ×6
aria-hidden on a focusable element core/src/components/action-sheet/action-sheet.tsx:660— aria-hidden="true" hides the element from assistive tech but leaves it keyboard-focusable — a confusing dead stop. Remove aria-hidden or make the element non-focusable.
aria-hidden on a focusable element core/src/components/action-sheet/action-sheet.tsx:710— aria-hidden="true" hides the element from assistive tech but leaves it keyboard-focusable — a confusing dead stop. Remove aria-hidden or make the element non-focusable.
aria-hidden on a focusable element core/src/components/alert/alert.tsx:915— aria-hidden="true" hides the element from assistive tech but leaves it keyboard-focusable — a confusing dead stop. Remove aria-hidden or make the element non-focusable.
aria-hidden on a focusable element core/src/components/alert/alert.tsx:953— aria-hidden="true" hides the element from assistive tech but leaves it keyboard-focusable — a confusing dead stop. Remove aria-hidden or make the element non-focusable.
aria-hidden on a focusable element core/src/components/loading/loading.tsx:370— aria-hidden="true" hides the element from assistive tech but leaves it keyboard-focusable — a confusing dead stop. Remove aria-hidden or make the element non-focusable.
aria-hidden on a focusable element core/src/components/loading/loading.tsx:382— aria-hidden="true" hides the element from assistive tech but leaves it keyboard-focusable — a confusing dead stop. Remove aria-hidden or make the element non-focusable.
AC4 · Keyboard semantics· Click handler on a non-interactive <div> · ×4
Click handler on a non-interactive <div> core/src/components/accordion/accordion.tsx:519— 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> core/src/components/checkbox/checkbox.tsx:398— A click handler on a plain element with no role and no tabindex: even where another element's key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a <button>, or add role + tabIndex={0}.
Click handler on a non-interactive <div> core/src/components/popover/popover.tsx:781— 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> core/src/components/toggle/toggle.tsx:524— A click handler on a plain element with no role and no tabindex: even where another element's key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a <button>, or add role + tabIndex={0}.
Orphaned knowledge core/src/utils/transition/ios.transition.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 core/src/utils/animation/animation.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 core/src/components/datetime/utils/data.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.
D10 · Test Quality· No assertions (empty test) · ×2
No assertions (empty test): type checks component props at compile time packages/react/src/hooks/__tests__/overlay-hook-types.spec.tsx:155— Test method has an empty body — it asserts nothing and exercises no code.
No assertions (empty test): should pass packages/react/src/hooks/__tests__/hooks.spec.tsx:5— Test method has an empty body — it asserts nothing and exercises no code.
D11 · Test Reliability· Test suite declares a test script but contains no test files · ×2
Test suite declares a test script but contains no test files: packages/react/test/apps/react18/ — The vitest suite in packages/react/test/apps/react18/ was installed and launched successfully, and the runner then found no test files to run — include: **/__tests__/**/*.?(c|m)[jt]s?(x), **/?(*.){test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner's: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL — there are none.
Test suite declares a test script but contains no test files: packages/react/test/apps/react19/ — The vitest suite in packages/react/test/apps/react19/ was installed and launched successfully, and the runner then found no test files to run — include: **/__tests__/**/*.?(c|m)[jt]s?(x), **/?(*.){test,spec}.?(c|m)[jt]s?(x). The package declares a test script, so it reads as a tested package to anyone who checks its manifest, but there is nothing behind the declaration: no test case exists, so it cannot detect a regression and its presence overstates how much of this repository is tested. The ask is the owner's: write the first test for this package, or remove the test script from a package that has none. This is not a report that the tests FAIL — there are none.
AC4 · Keyboard semantics· Clickable role="button" that no keyboard user can reach · ×1
Clickable role="button" that no keyboard user can reach core/src/components/picker-column-option/picker-column-option.tsx:127— 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.
Empty aria-labelledby reference core/src/components/input/input.tsx:757— aria-labelledby is present but empty, so it references no element and the relationship is lost. Point it at the id(s) of the target element, or remove it.
Unlisted import '@angular/platform-server' packages/angular/test/base/src/app/app.server.module.ts:2— Imported but not declared in any reachable package.json — installs work only by hoisting accident.
Unlisted import 'express' packages/angular/test/base/server.ts:4— Imported but not declared in any reachable package.json — installs work only by hoisting accident.
Unlisted import 'react-router' packages/react/test/base/src/App.tsx:4— Imported but not declared in any reachable package.json — installs work only by hoisting accident.
Unlisted import '@testing-library/jest-dom' packages/react-router/test/base/src/setupTests.ts:5— Imported but not declared in any reachable package.json — installs work only by hoisting accident.
Unlisted import '@testing-library/react' packages/react-router/test/base/src/App.test.tsx:1— Imported but not declared in any reachable package.json — installs work only by hoisting accident.
Unlisted import 'cypress-terminal-report' packages/react-router/test/base/tests/e2e/plugins/index.js:21— Imported but not declared in any reachable package.json — installs work only by hoisting accident.
Unlisted import 'ionicons' packages/react-router/test/base/src/pages/dynamic-tabs/DynamicTabs.tsx:15— Imported but not declared in any reachable package.json — installs work only by hoisting accident.
Unlisted import '@vue/test-utils' packages/vue/test/base/tests/unit/deprecations.spec.ts:1— Imported but not declared in any reachable package.json — installs work only by hoisting accident.
No assertions: should open alert from action sheet core/src/components/action-sheet/test/basic/action-sheet.e2e.ts:59— 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: should open basic action sheet core/src/components/action-sheet/test/basic/action-sheet-rendering.e2e.ts:14— 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: should open cancel only action sheet core/src/components/action-sheet/test/basic/action-sheet-rendering.e2e.ts:26— 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: should open custom action sheet core/src/components/action-sheet/test/basic/action-sheet-rendering.e2e.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: should open scrollable action sheet core/src/components/action-sheet/test/basic/action-sheet-rendering.e2e.ts:34— 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: should open scrollable action sheet without cancel core/src/components/action-sheet/test/basic/action-sheet-rendering.e2e.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: should render all button states core/src/components/action-sheet/test/states/action-sheet.e2e.ts:27— 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: header, subheader, message core/src/components/alert/test/basic/alert.e2e.ts:67— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: long message core/src/components/alert/test/basic/alert.e2e.ts:72— 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: no message core/src/components/alert/test/basic/alert.e2e.ts:77— 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: two buttons core/src/components/alert/test/basic/alert.e2e.ts:82— 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: form prompt core/src/components/alert/test/basic/alert.e2e.ts:87— 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: radios core/src/components/alert/test/basic/alert.e2e.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: checkboxes core/src/components/alert/test/basic/alert.e2e.ts:97— 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: radio - placement start core/src/components/alert/test/label-placement/alert.e2e.ts:33— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: radio - placement end core/src/components/alert/test/label-placement/alert.e2e.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: checkbox - placement start core/src/components/alert/test/label-placement/alert.e2e.ts:43— 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: checkbox - placement end core/src/components/alert/test/label-placement/alert.e2e.ts:48— This method's body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* — so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as 'no assertion this check knows how to see', and if that is right, add one.
No assertions: should not have visual regressions core/src/components/datetime/test/locale/datetime.e2e.ts:20— 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: month/year picker should not have visual regressions core/src/components/datetime/test/locale/datetime.e2e.ts:25— 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: time picker should not have visual regressions core/src/components/datetime/test/locale/datetime.e2e.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: should not have visual regressions core/src/components/datetime/test/locale/datetime.e2e.ts:37— 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: month/year picker should not have visual regressions core/src/components/datetime/test/locale/datetime.e2e.ts:42— 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: time picker should not have visual regressions core/src/components/datetime/test/locale/datetime.e2e.ts:47— 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: should not have visual regressions core/src/components/datetime/test/locale/datetime.e2e.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.
TodoComment core/src/components/accordion/test/a11y/accordion.e2e.ts:6— // TODO(ROU-8157): remove skip once the keyboard navigation is working again
TodoComment core/src/components/accordion/test/a11y/accordion.e2e.ts:8— // TODO(ROU-5358): remove skip once issue is resolved
TodoComment core/src/components/accordion/test/a11y/accordion.e2e.ts:10— // TODO (ROU-5437)
TodoComment core/src/components/menu/test/basic/menu.e2e.ts:32— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:224— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:243— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:286— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:322— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:720— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:794— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:840— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:885— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:930— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:976— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:1022— // TODO (ROU-5437)
TodoComment core/src/components/select/test/basic/select.e2e.ts:1067— // TODO (ROU-5437)
TodoComment core/src/components/select/test/disabled/select.e2e.ts:82— // TODO (ROU-5437)
TodoComment core/src/components/alert/test/a11y/alert.e2e.ts:214— // TODO(ROU-8158): unskip this test when a solution is found
TodoComment core/src/components/alert/test/a11y/alert.e2e.ts:313— // TODO(ROU-8158): unskip this test when a solution is found
TodoComment core/src/components/datetime/datetime.tsx:133— // TODO(FW-2832): types (DatetimeParts causes some errors that need untangling)
TodoComment core/src/components/datetime/datetime.tsx:2631— // TODO (FW-615): Potentially remove this when intersection observers are fixed in picker column
TodoComment core/src/components/datetime/test/basic/datetime.e2e.ts:397— // TODO FW-6015 re-enable on webkit when bug is fixed
TodoComment core/src/components/fab-button/fab-button.tsx:190— // TODO(FW-7663): share the hidden button and form lookup with ion-button
TodoComment core/src/components/fab-button/test/a11y/fab-button.e2e.ts:39— // TODO(FW-7733): Remove the disableRules call once the ticket is resolved.
+ 83 more in this group — see findings.md.
R4 · Test Coverage· No test reaches this file · ×40
No test reaches this file core/src/components/refresher/refresher.tsx— 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 core/src/components/menu/menu.tsx— 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 core/src/components/input-otp/input-otp.tsx— 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 core/src/components/item-sliding/item-sliding.tsx— 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 core/src/components/datetime-button/datetime-button.tsx— 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 core/src/components/router/router.tsx— 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 core/src/components/reorder-group/reorder-group.tsx— 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 core/src/utils/input-shims/hacks/scroll-assist.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 core/src/components/router-outlet/router-outlet.tsx— 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 core/src/components/header/header.utils.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/vue/src/utils/overlays.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 core/src/components/select-popover/select-popover.tsx— 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 core/src/components/col/col.tsx— 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 core/src/components/tabs/tabs.tsx— 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 core/src/components/header/header.tsx— 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 core/src/components/infinite-scroll/infinite-scroll.tsx— 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 core/src/components/select-modal/select-modal.tsx— 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/angular/schematics/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 core/src/components/split-pane/split-pane.tsx— 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 core/src/components/tab-button/tab-button.tsx— 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 core/src/utils/tap-click/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 core/scripts/testing/prerender.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 core/src/components/footer/footer.tsx— 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/react/src/components/react-component-lib/utils/attachProps.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 core/src/components/img/img.tsx— 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.
+ 15 more in this group — see findings.md.
D30 · Dependency Vulnerabilities· Medium CVE · ×17
Hotspot: core/src/components/modal/gestures/sheet.ts core/src/components/modal/gestures/sheet.ts:44— core/src/components/modal/gestures/sheet.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in sheet.createSheetGesture at line 44. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/modal/gestures/sheet.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/vue-router/src/router.ts packages/vue-router/src/router.ts:24— packages/vue-router/src/router.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in router.createIonRouter at line 24. 1 of those changes was a fix/bug commit, and the other 1 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- packages/vue-router/src/router.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/react-router/src/ReactRouter/StackManager.tsx packages/react-router/src/ReactRouter/StackManager.tsx:471— packages/react-router/src/ReactRouter/StackManager.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in StackManager.handleReadyEnteringView at line 471. 2 of those changes were fix/bug commits, and the other 2 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- packages/react-router/src/ReactRouter/StackManager.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: packages/react-router/src/ReactRouter/IonRouter.tsx packages/react-router/src/ReactRouter/IonRouter.tsx:99— packages/react-router/src/ReactRouter/IonRouter.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in IonRouter.IonRouter at line 99. 1 of those changes was a fix/bug commit, and the other 1 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- packages/react-router/src/ReactRouter/IonRouter.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: core/src/components/modal/modal.tsx core/src/components/modal/modal.tsx:1403— core/src/components/modal/modal.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Modal.initParentRemovalObserver at line 1403. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/modal/modal.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: core/src/components/modal/gestures/swipe-to-close.ts core/src/components/modal/gestures/swipe-to-close.ts:19— core/src/components/modal/gestures/swipe-to-close.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in swipe-to-close.createSwipeToCloseGesture at line 19. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/modal/gestures/swipe-to-close.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: core/src/components/select/select.tsx core/src/components/select/select.tsx:1345— core/src/components/select/select.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Select.render at line 1345. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/select/select.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: packages/vue-router/src/locationHistory.ts packages/vue-router/src/locationHistory.ts:3— packages/vue-router/src/locationHistory.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in locationHistory.createLocationHistory at line 3. 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- packages/vue-router/src/locationHistory.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: core/src/components/refresher/refresher.tsx core/src/components/refresher/refresher.tsx:207— core/src/components/refresher/refresher.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Refresher.setupiOSNativeRefresher at line 207. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one — a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/refresher/refresher.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: packages/migrate/src/main.ts packages/migrate/src/main.ts:108— packages/migrate/src/main.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in main.main at line 108. 1 of those changes was a fix/bug commit, and the other 1 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- packages/migrate/src/main.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/react/src/components/react-component-lib/utils/attachProps.ts packages/react/src/components/react-component-lib/utils/attachProps.ts:35— packages/react/src/components/react-component-lib/utils/attachProps.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in attachProps.attachProps 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- packages/react/src/components/react-component-lib/utils/attachProps.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: core/src/components/item/item.tsx core/src/components/item/item.tsx:356— core/src/components/item/item.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Item.render at line 356. 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/item/item.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: core/src/components/picker-column/picker-column.tsx core/src/components/picker-column/picker-column.tsx:475— core/src/components/picker-column/picker-column.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in PickerColumn.initializeScrollListener at line 475. 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/picker-column/picker-column.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Hotspot: core/src/components/input/input.tsx core/src/components/input/input.tsx:862— core/src/components/input/input.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Input.render at line 862. 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/input/input.tsx`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
FunctionTooLong: animation.createAnimation core/src/utils/animation/animation.ts:33— FunctionTooLong — createAnimation runs 521 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 421 over it, 5.21× 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: router.createIonRouter packages/vue-router/src/router.ts:24— FunctionTooLong — createIonRouter runs 393 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 293 over it, 3.93× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: IonRouter.IonRouter packages/react-router/src/ReactRouter/IonRouter.tsx:99— FunctionTooLong — IonRouter runs 316 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 216 over it, 3.16× 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: sheet.createSheetGesture core/src/components/modal/gestures/sheet.ts:44— FunctionTooLong — createSheetGesture runs 292 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 192 over it, 2.92× 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: ios.transition.iosTransitionAnimation core/src/utils/transition/ios.transition.ts:496— FunctionTooLong — iosTransitionAnimation runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.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.
FunctionTooLong: viewStacks.createViewStacks packages/vue-router/src/viewStacks.ts:7— FunctionTooLong — createViewStacks 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.
FunctionTooLong: createInlineOverlayComponent.createInlineOverlayComponent packages/react/src/components/createInlineOverlayComponent.tsx:111— FunctionTooLong — createInlineOverlayComponent runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49× 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: overlays.defineOverlayContainer packages/vue/src/utils/overlays.ts:13— FunctionTooLong — defineOverlayContainer runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44× 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.createGesture core/src/utils/gesture/index.ts:7— FunctionTooLong — createGesture runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39× 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.createMenuController core/src/utils/menu-controller/index.ts:14— FunctionTooLong — createMenuController runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39× 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: locationHistory.createLocationHistory packages/vue-router/src/locationHistory.ts:3— FunctionTooLong — createLocationHistory runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
FunctionTooLong: ios.enter.iosEnterAnimation core/src/components/popover/animations/ios.enter.ts:31— FunctionTooLong — iosEnterAnimation runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19× 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: swipe-to-close.createSwipeToCloseGesture core/src/components/modal/gestures/swipe-to-close.ts:19— FunctionTooLong — createSwipeToCloseGesture 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.
Boundary violation [package:relative-cross-package] packages/react/src/components/IonPage.tsx:4— packages/react/src/components/IonPage.tsx:4 reaches into another package with a relative path (../routing/PageManager) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/components/IonRouterOutlet.tsx:5— packages/react/src/components/IonRouterOutlet.tsx:5 reaches into another package with a relative path (../routing/OutletPageManager) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/components/navigation/IonTabs.tsx:6— packages/react/src/components/navigation/IonTabs.tsx:6 reaches into another package with a relative path (../../routing/PageManager) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/index.ts:5— packages/react/src/index.ts:5 reaches into another package with a relative path (./routing) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/routing/NavManager.tsx:5— packages/react/src/routing/NavManager.tsx:5 reaches into another package with a relative path (../components/IonRouterContext) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/routing/NavManager.tsx:7— packages/react/src/routing/NavManager.tsx:7 reaches into another package with a relative path (../contexts/NavContext) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/routing/OutletPageManager.tsx:4— packages/react/src/routing/OutletPageManager.tsx:4 reaches into another package with a relative path (../components/inner-proxies) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/routing/OutletPageManager.tsx:5— packages/react/src/routing/OutletPageManager.tsx:5 reaches into another package with a relative path (../contexts/IonLifeCycleContext) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/routing/PageManager.tsx:3— packages/react/src/routing/PageManager.tsx:3 reaches into another package with a relative path (../components/react-component-lib/utils) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/routing/PageManager.tsx:4— packages/react/src/routing/PageManager.tsx:4 reaches into another package with a relative path (../contexts/IonLifeCycleContext) — import the package by name instead.
Boundary violation [package:relative-cross-package] packages/react/src/routing/ViewLifeCycleManager.tsx:3— packages/react/src/routing/ViewLifeCycleManager.tsx:3 reaches into another package with a relative path (../contexts/IonLifeCycleContext) — import the package by name instead.
Boundary violation [package:test-cross-package-internals] packages/react/src/routing/__tests__/LocationHistory.spec.ts:2— packages/react/src/routing/__tests__/LocationHistory.spec.ts:2 reaches past another workspace package's public entry into its internals with a relative path (../../models/RouteInfo) — the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead.
Boundary violation [package:test-cross-package-internals] packages/react/src/routing/__tests__/LocationHistory.spec.ts:3— packages/react/src/routing/__tests__/LocationHistory.spec.ts:3 reaches past another workspace package's public entry into its internals with a relative path (../../utils/generateId) — the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead.
FileTooLong: datetime/datetime.tsx core/src/components/datetime/datetime.tsx— FileTooLong — 1434 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: Datetime (118-2833). The bar is 500 significant lines; this is 934 over it, 2.87× 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: ReactRouter/StackManager.tsx packages/react-router/src/ReactRouter/StackManager.tsx— FileTooLong — 963 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: StackManager (114-1833). The bar is 500 significant lines; this is 463 over it, 1.93× 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: select/select.tsx core/src/components/select/select.tsx— FileTooLong — 839 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: Select (92-1432). The bar is 500 significant lines; this is 339 over it, 1.68× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: modal/modal.tsx core/src/components/modal/modal.tsx— FileTooLong — 763 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: Modal (80-1800). The bar is 500 significant lines; this is 263 over it, 1.53× 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: range/range.tsx core/src/components/range/range.tsx— FileTooLong — 662 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: Range (66-1068). The bar is 500 significant lines; this is 162 over it, 1.32× the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body — the parts that share the same inputs and are named together — into its own unit in a sibling file, and have the original call them.
FileTooLong: popover/utils.ts core/src/components/popover/utils.ts— FileTooLong — 548 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 48 over it, 1.10× 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: animation/animation.ts core/src/utils/animation/animation.ts— FileTooLong — 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: createAnimation (33-995). The bar is 500 significant lines; this is 40 over it, 1.08× 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: ReactRouter/ReactRouterViewStack.tsx packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx— FileTooLong — 534 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: ReactRouterViewStack (221-984). The bar is 500 significant lines; this is 34 over it, 1.07× 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: alert/alert.tsx core/src/components/alert/alert.tsx— FileTooLong — 531 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: Alert (54-957). The bar is 500 significant lines; this is 31 over it, 1.06× 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: transition/ios.transition.ts core/src/utils/transition/ios.transition.ts— FileTooLong — 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03× 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.
Sync-over-async blocking core/scripts/testing/prerender.js:23— `prerenderStatic` is async and calls readFileSync, 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 core/scripts/testing/prerender.js:43— `prerenderHydrated` is async and calls readFileSync, 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 core/scripts/testing/prerender.js:57— `prerenderDomino` is async and calls readFileSync, 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 core/scripts/testing/prerender.js:128— `prerenderDir` is async and calls readdirSync, 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 core/scripts/testing/prerender.js:146— `run` 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 packages/angular/scripts/normalize-change-detection.js:63— `rewriteSourceMap` is async and calls existsSync, readFileSync, 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/angular/scripts/normalize-change-detection.js:116— `normalize` is async and calls readFileSync, 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/vue/scripts/build-vetur.js:35— `main` is async and calls existsSync, mkdirSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs.
ClassTooLong: Datetime core/src/components/datetime/datetime.tsx:110— ClassTooLong — 1350 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 400 significant lines; this is 950 over it, 3.38× 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: Modal core/src/components/modal/modal.tsx:72— ClassTooLong — 688 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 400 significant lines; this is 288 over it, 1.72× 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: Select core/src/components/select/select.tsx:84— ClassTooLong — 654 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 254 over it, 1.64× 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: Range core/src/components/range/range.tsx:58— ClassTooLong — 484 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 84 over it, 1.21× 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: Alert core/src/components/alert/alert.tsx:46— ClassTooLong — 475 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 75 over it, 1.19× 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: Nav core/src/components/nav/nav.tsx:25— ClassTooLong — 451 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. The bar is 400 significant lines; this is 51 over it, 1.13× 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: Refresher core/src/components/refresher/refresher.tsx:33— ClassTooLong — 421 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 21 over it, 1.05× 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: Datetime core/src/components/datetime/datetime.tsx:110— TooManyMethods — 72 methods. The bar is 30 methods; this is 42 over it, 2.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: Modal core/src/components/modal/modal.tsx:72— TooManyMethods — 52 methods. The bar is 30 methods; this is 22 over it, 1.73× 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: Nav core/src/components/nav/nav.tsx:25— TooManyMethods — 43 methods. The bar is 30 methods; this is 13 over it, 1.43× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Select core/src/components/select/select.tsx:84— 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: Input core/src/components/input/input.tsx:43— TooManyMethods — 36 methods. The bar is 30 methods; this is 6 over it, 1.20× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Range core/src/components/range/range.tsx:58— TooManyMethods — 36 methods. The bar is 30 methods; this is 6 over it, 1.20× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Menu core/src/components/menu/menu.tsx:30— TooManyMethods — 34 methods. The bar is 30 methods; this is 4 over it, 1.13× 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.
Change coupling: dom.ts ↔ path.ts core/src/components/router/utils/dom.ts— `core/src/components/router/utils/dom.ts` and `core/src/components/router/utils/path.ts` change together 62% of the time (8 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 between them. They sit in the same directory, but in this ecosystem each file is its own module — a sibling reference still needs an import — so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are `a982516a` fix(router): support anchor fragments in href (#31172); `857550a0` chore(router): clean up code and add comments (#23355); `119e0c1f` refactor(all): avoid using export const enum (#16614) — run `git show` on any of them.
Change coupling: modal.tsx ↔ popover.tsx core/src/components/modal/modal.tsx— `core/src/components/modal/modal.tsx` and `core/src/components/popover/popover.tsx` change together 59% of the time (63 of the 106 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 63 shared commits counted here, the most recent 3 are `bfff8e13` fix(overlays): restore presented state after a DOM move (#31400); `db915bf6` docs(methods): update component method documentation #4145 (#30495); `92ce563c` fix(overlays): do not overwrite id set in htmlAttributes (#29722) — run `git show` on any of them.
Change coupling: nav.tsx ↔ dom.ts core/src/components/nav/nav.tsx— `core/src/components/nav/nav.tsx` and `core/src/components/router/utils/dom.ts` change together 58% of the time (14 of the 24 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 14 shared commits counted here, the most recent 3 are `d7354b58` feat(nav): remove ion-router integration (#31266); `119e0c1f` refactor(all): avoid using export const enum (#16614); `0f4ed816` chore(router): move RouterIntent out of interface — run `git show` on any of them.
Change coupling: action-sheet.tsx ↔ alert.tsx core/src/components/action-sheet/action-sheet.tsx— `core/src/components/action-sheet/action-sheet.tsx` and `core/src/components/alert/alert.tsx` change together 55% of the time (50 of the 91 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 50 shared commits counted here, the most recent 3 are `bfff8e13` fix(overlays): restore presented state after a DOM move (#31400); `db915bf6` docs(methods): update component method documentation #4145 (#30495); `c3b58f16` fix(overlays): hide the focus trap div from screen readers (#29970) — run `git show` on any of them.
Change coupling: modal-interface.ts ↔ popover-interface.ts core/src/components/modal/modal-interface.ts— `core/src/components/modal/modal-interface.ts` and `core/src/components/popover/popover-interface.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 `7c003516` feat(modal, popover): add ability to temporarily disable focus trappi…; `322a1dbc` refactor(types): remove overlay attribute interfaces (#26181); `9fbaaf95` chore(): simplify overlay attribute types (#25074) — run `git show` on any of them.
Change coupling: action-sheet-interface.ts ↔ alert-interface.ts core/src/components/action-sheet/action-sheet-interface.ts— `core/src/components/action-sheet/action-sheet-interface.ts` and `core/src/components/alert/alert-interface.ts` change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, 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 `f6fc22bb` fix(action-sheet, alert, toast): button roles autocomplete with avail…; `322a1dbc` refactor(types): remove overlay attribute interfaces (#26181); `9fbaaf95` chore(): simplify overlay attribute types (#25074) — run `git show` on any of them.
MethodTooLong: Datetime.renderMonth core/src/components/datetime/datetime.tsx:2336— MethodTooLong — renderMonth 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.
MethodTooLong: Range.renderRangeSlider core/src/components/range/range.tsx:785— MethodTooLong — renderRangeSlider runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23× 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: ReactRouterViewStack.renderViewItem packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:366— MethodTooLong — renderViewItem runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18× 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: StackManager.transitionPage packages/react-router/src/ReactRouter/StackManager.tsx:1506— MethodTooLong — transitionPage runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14× 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: Item.render core/src/components/item/item.tsx:356— MethodTooLong — render runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body — the runs of statements that work on the same values and would earn the same name — into its own named unit, and have this one call them in order.
Duplicated block (26 lines × 2 locations) core/src/utils/transition/ios.transition.ts:552— core/src/utils/transition/ios.transition.ts:552 · core/src/utils/transition/ios.transition.ts:724 — 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 (26 lines × 2 locations) packages/angular/src/common/overlays/modal.ts:110— packages/angular/src/common/overlays/modal.ts:110 · packages/angular/src/common/overlays/popover.ts:86 — 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 (26 lines × 2 locations) packages/react/src/components/createControllerComponent.tsx:12— packages/react/src/components/createControllerComponent.tsx:12 · packages/react/src/components/createOverlayComponent.tsx:14 — 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 (26 lines × 2 locations) packages/react/src/hooks/useIonModal.ts:26— packages/react/src/hooks/useIonModal.ts:26 · packages/react/src/hooks/useIonPopover.ts:22 — 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.
Repeated repair: core/src/utils/helpers.ts core/src/utils/helpers.ts:26— core/src/utils/helpers.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file's churn. Its max cyclomatic complexity is 6 (its worst body is helpers.transitionEnd at line 26), 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(button): sync aria attributes between host and native button (#31264)”; “fix(modal): prevent ion-content collapsing at content-based heights (#31413)”; “fix(menu): respect ion-app dir attribute for menu animation side (#31246)”. 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/utils/helpers.ts`: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each — a difference of several commits on a file whose history was re-landed or reverted inside the window.
Repeated repair: core/src/components/modal/test/safe-area/modal.e2e.ts core/src/components/modal/test/safe-area/modal.e2e.ts:712— core/src/components/modal/test/safe-area/modal.e2e.ts changed 3 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 2 (its worst body is sample at line 712), 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(modal): prevent ion-content collapsing at content-based heights (#31413)”; “fix(overlays): restore presented state after a DOM move (#31400)”; “fix(core): update offsets when safe-area insets arrive late (#31343)”. 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with `git log --since='2026-06-27 13:51:49 +00:00' --until='2026-09-25 13:51:49 +00:00' --full-history --no-merges -- core/src/components/modal/test/safe-area/modal.e2e.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.
Change-coupling hub: picker.tsx → action-sheet.tsx, alert.tsx, modal.tsx, popover.tsx, toast.tsx core/src/components/picker/picker.tsx— `core/src/components/picker/picker.tsx` changes together with 5 other files — `core/src/components/action-sheet/action-sheet.tsx`, `core/src/components/alert/alert.tsx`, `core/src/components/modal/modal.tsx`, `core/src/components/popover/popover.tsx`, `core/src/components/toast/toast.tsx` — none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5.
Change-coupling hub: loading.tsx → action-sheet.tsx, alert.tsx, modal.tsx, picker.tsx, popover.tsx, toast.tsx core/src/components/loading/loading.tsx— `core/src/components/loading/loading.tsx` changes together with 6 other files — `core/src/components/action-sheet/action-sheet.tsx`, `core/src/components/alert/alert.tsx`, `core/src/components/modal/modal.tsx`, `core/src/components/picker/picker.tsx`, `core/src/components/popover/popover.tsx`, `core/src/components/toast/toast.tsx` — none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 6.
R10 · Code Duplication· Duplicated block with local edits (30 matched lines × 2 locations) · ×2
Duplicated block with local edits (30 matched lines × 2 locations) core/src/components/alert/alert.tsx:427— core/src/components/alert/alert.tsx:427 · core/src/components/toast/toast.tsx:336 — the two spans are one implementation copied and then locally edited — 213 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 (30 matched lines × 2 locations) packages/react/src/hooks/useController.ts:8— packages/react/src/hooks/useController.ts:8 · packages/react/src/hooks/useOverlay.ts:13 — the two spans are one implementation copied and then locally edited — 291 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 (29 lines × 2 locations) core/src/components/footer/footer.tsx:55— core/src/components/footer/footer.tsx:55 · core/src/components/tab-bar/tab-bar.tsx:91 — 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 (29 lines × 2 locations) core/src/utils/transition/ios.transition.ts:74— core/src/utils/transition/ios.transition.ts:74 · core/src/utils/transition/ios.transition.ts:108 — 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.
R10 · Code Duplication· Duplicated block with local edits (28 matched lines × 2 locations) · ×2
Duplicated block with local edits (28 matched lines × 2 locations) core/src/components/modal/animations/ios.enter.ts:50— core/src/components/modal/animations/ios.enter.ts:50 · core/src/components/modal/animations/ios.leave.ts:37 — the two spans are one implementation copied and then locally edited — 196 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 (28 matched lines × 2 locations) core/src/components/select/select.tsx:404— core/src/components/select/select.tsx:404 · core/src/components/toggle/toggle.tsx:196 — the two spans are one implementation copied and then locally edited — 144 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 (23 lines × 2 locations) core/src/components/modal/animations/ios.transition.ts:67— core/src/components/modal/animations/ios.transition.ts:67 · core/src/components/modal/animations/ios.transition.ts:159 — 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 (23 lines × 2 locations) core/src/components/modal/modal.tsx:588— core/src/components/modal/modal.tsx:588 · core/src/components/popover/popover.tsx:454 — 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 (22 lines × 2 locations) core/src/components/action-sheet/action-sheet.tsx:233— core/src/components/action-sheet/action-sheet.tsx:233 · core/src/components/alert/alert.tsx:464 — 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 (22 lines × 2 locations) core/src/components/badge/badge.tsx:12— core/src/components/badge/badge.tsx:12 · core/src/components/note/note.tsx:12 — 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.
Dead file (~169 LoC) core/src/components/footer/footer.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~169 LoC) packages/react/src/components/react-component-lib/utils/attachProps.ts— no import path from any entry point (131 application, 55 tooling, 1178 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
router.createIonRouter (cyclomatic 97) packages/vue-router/src/router.ts:24— router.createIonRouter has cyclomatic complexity 97 (threshold 15). Most of this is not in the body itself: 2 of the 97 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 407, 283, 804, …). 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.
IonRouter.IonRouter (cyclomatic 91) packages/react-router/src/ReactRouter/IonRouter.tsx:99— IonRouter.IonRouter has cyclomatic complexity 91 (threshold 15). Most of this is not in the body itself: 1 of the 91 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 187, 609, 538, …). 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.
animation.createAnimation (cyclomatic 86) core/src/utils/animation/animation.ts:33— animation.createAnimation has cyclomatic complexity 86 (threshold 15). Most of this is not in the body itself: 5 of the 86 points are its own statements and the rest belongs to 39 function literals inside it that branch (lines 728, 830, 342, …). 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.
sheet.createSheetGesture (cyclomatic 74) core/src/components/modal/gestures/sheet.ts:44— sheet.createSheetGesture has cyclomatic complexity 74 (threshold 15). Most of this is not in the body itself: 10 of the 74 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 347, 496, 284, …). 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.
ReactRouterViewStack.renderViewItem (cyclomatic 56) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:366— ReactRouterViewStack.renderViewItem has cyclomatic complexity 56 (threshold 15). Of this number, 38 points are the body's own statements and 18 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.
ios.transition.iosTransitionAnimation (cyclomatic 51) core/src/utils/transition/ios.transition.ts:496— ios.transition.iosTransitionAnimation has cyclomatic complexity 51 (threshold 15). Of this number, 23 points are the body's own statements and 28 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.
range.renderKnob (cyclomatic 47) core/src/components/range/range.tsx:1093— range.renderKnob has cyclomatic complexity 47 (threshold 15). Of this number, 43 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
StackManager.handleReadyEnteringView (cyclomatic 46) packages/react-router/src/ReactRouter/StackManager.tsx:471— StackManager.handleReadyEnteringView has cyclomatic complexity 46 (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.
StackManager.transitionPage (cyclomatic 45) packages/react-router/src/ReactRouter/StackManager.tsx:1506— StackManager.transitionPage has cyclomatic complexity 45 (threshold 15). Of this number, 23 points are the body's own statements and 22 belong to 7 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.
ReactRouterViewStack.findViewItemByPath (cyclomatic 42) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:765— ReactRouterViewStack.findViewItemByPath has cyclomatic complexity 42 (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.
Datetime.renderMonth (cyclomatic 41) core/src/components/datetime/datetime.tsx:2336— Datetime.renderMonth has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 9 of the 41 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2377, 2484, 2514). 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.
createInlineOverlayComponent.createInlineOverlayComponent (cyclomatic 40) packages/react/src/components/createInlineOverlayComponent.tsx:111— createInlineOverlayComponent.createInlineOverlayComponent has cyclomatic complexity 40 (threshold 15). Of this number, 24 points are the body's own statements and 16 belong to 7 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.
manipulation.getClosestValidDate (cyclomatic 37) core/src/components/datetime/utils/manipulation.ts:428— manipulation.getClosestValidDate has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 9 of the 37 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 538, 492, 523, …). 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.
locationHistory.createLocationHistory (cyclomatic 36) packages/vue-router/src/locationHistory.ts:3— locationHistory.createLocationHistory has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 229, 89, 23, …). 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.
swipe-to-close.createSwipeToCloseGesture (cyclomatic 35) core/src/components/modal/gestures/swipe-to-close.ts:19— swipe-to-close.createSwipeToCloseGesture has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 1 of the 35 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 217, 130, 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.
StackManager.cleanupOrphanedSiblingViews (cyclomatic 32) packages/react-router/src/ReactRouter/StackManager.tsx:740— StackManager.cleanupOrphanedSiblingViews has cyclomatic complexity 32 (threshold 15). Of this number, 24 points are the body's own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
index.createMenuController (cyclomatic 31) core/src/utils/menu-controller/index.ts:14— index.createMenuController has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 15 function literals inside it that branch (lines 85, 177, 26, …). 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.
computeParentPath.computeParentPath (cyclomatic 31) packages/react-router/src/ReactRouter/utils/computeParentPath.ts:240— computeParentPath.computeParentPath has cyclomatic complexity 31 (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.
main.main (cyclomatic 29) packages/migrate/src/main.ts:108— main.main has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
StackManager.handlePageTransition (cyclomatic 29) packages/react-router/src/ReactRouter/StackManager.tsx:1116— StackManager.handlePageTransition has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
index.createGesture (cyclomatic 28) core/src/utils/gesture/index.ts:7— index.createGesture has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 3 of the 28 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 57, 90, 178, …). 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.
InputOTP.onInput (cyclomatic 27) core/src/components/input-otp/input-otp.tsx:615— InputOTP.onInput 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 2 function literals inside it that branch (lines 615, 658). 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.
viewStacks.createViewStacks (cyclomatic 27) packages/vue-router/src/viewStacks.ts:7— viewStacks.createViewStacks 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 9 function literals inside it that branch (lines 91, 103, 27, …). 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.
input-shims.startInputShims (cyclomatic 26) core/src/utils/input-shims/input-shims.ts:16— input-shims.startInputShims has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 5 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 61, 106). 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.
Item.render (cyclomatic 26) core/src/components/item/item.tsx:356— Item.render has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body's own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
ReactRouterViewStack.createViewItem (cyclomatic 26) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:244— ReactRouterViewStack.createViewItem has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 250). 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.
StackManager.handleWaitingForIonPage (cyclomatic 26) packages/react-router/src/ReactRouter/StackManager.tsx:896— StackManager.handleWaitingForIonPage has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body's own statements and 10 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.
InputOTP.onKeyDown (cyclomatic 25) core/src/components/input-otp/input-otp.tsx:536— InputOTP.onKeyDown has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to one function literal inside it that branches (line 536). 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.
overlays.defineOverlayContainer (cyclomatic 24) packages/vue/src/utils/overlays.ts:13— overlays.defineOverlayContainer has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 72, 202, 39, …). 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.startTapClick (cyclomatic 23) core/src/utils/tap-click/index.ts:6— index.startTapClick 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 6 function literals inside it that branch (lines 41, 104, 20, …). 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.
pointer-events.createPointerEvents (cyclomatic 23) core/src/utils/gesture/pointer-events.ts:6— pointer-events.createPointerEvents 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 7 function literals inside it that branch (lines 25, 51, 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.
data.generateTime (cyclomatic 22) core/src/components/datetime/utils/data.ts:202— data.generateTime has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body's own statements and 5 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
RadioGroup.onKeydown (cyclomatic 22) core/src/components/radio-group/radio-group.tsx:232— RadioGroup.onKeydown 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.
verify-change-detection.verify (cyclomatic 22) REDACTED:88— verify-change-detection.verify has cyclomatic complexity 22 (threshold 15). Of this number, 19 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.
manipulation.validateParts (cyclomatic 21) core/src/components/datetime/utils/manipulation.ts:339— manipulation.validateParts 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.
Datetime.initializeCalendarListener (cyclomatic 21) core/src/components/datetime/datetime.tsx:896— Datetime.initializeCalendarListener has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 934, 1035, 992, …). 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.
PickerColumn.initializeScrollListener (cyclomatic 21) core/src/components/picker-column/picker-column.tsx:475— PickerColumn.initializeScrollListener has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 482, 654). 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.
createOverlayComponent.createOverlayComponent (cyclomatic 20) packages/react/src/components/createOverlayComponent.tsx:21— createOverlayComponent.createOverlayComponent 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.
scroll-assist.jsSetFocus (cyclomatic 19) core/src/utils/input-shims/hacks/scroll-assist.ts:211— scroll-assist.jsSetFocus has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body's own statements and 4 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.
Menu.onEnd (cyclomatic 19) core/src/components/menu/menu.tsx:598— Menu.onEnd has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
utils.configureKeyboardInteraction (cyclomatic 19) core/src/components/popover/utils.ts:460— utils.configureKeyboardInteraction has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 461). 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.
Segment.setNextIndex (cyclomatic 19) core/src/components/segment/segment.tsx:506— Segment.setNextIndex 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.
ReactRouterViewStack.getChildrenToRender (cyclomatic 19) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:595— ReactRouterViewStack.getChildrenToRender has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body's own statements and 9 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.
createOverlayComponent.createOverlayComponent (cyclomatic 19) packages/react/src/components/react-component-lib/createOverlayComponent.tsx:21— createOverlayComponent.createOverlayComponent has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body's own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
IonTabs.render (cyclomatic 19) packages/react/src/components/navigation/IonTabs.tsx:119— IonTabs.render has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 130). 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.
IonTabBarUnwrapped.getDerivedStateFromProps (cyclomatic 19) packages/react/src/components/navigation/IonTabBar.tsx:136— IonTabBarUnwrapped.getDerivedStateFromProps has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body's own statements and 7 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
Datetime.processValue (cyclomatic 18) core/src/components/datetime/datetime.tsx:1366— Datetime.processValue 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.
Range.render (cyclomatic 18) core/src/components/range/range.tsx:987— Range.render has cyclomatic complexity 18 (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.
index.createFocusController (cyclomatic 18) core/src/utils/focus-controller/index.ts:30— index.createFocusController 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 2 function literals inside it that branch (lines 46, 31). 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.
viewItemUtils.compareRouteSpecificity (cyclomatic 18) packages/react-router/src/ReactRouter/utils/viewItemUtils.ts:12— viewItemUtils.compareRouteSpecificity has cyclomatic complexity 18 (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.
attachProps.attachProps (cyclomatic 18) packages/react/src/components/react-component-lib/utils/attachProps.ts:35— attachProps.attachProps has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 44). 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.
Alert.onKeydown (cyclomatic 17) core/src/components/alert/alert.tsx:237— Alert.onKeydown has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
ios.enter.iosEnterAnimation (cyclomatic 17) core/src/components/popover/animations/ios.enter.ts:31— ios.enter.iosEnterAnimation has cyclomatic complexity 17 (threshold 15). 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 152). 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.
Searchbar.render (cyclomatic 17) core/src/components/searchbar/searchbar.tsx:643— Searchbar.render 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.
verify-change-detection.findComponentDeclarations (cyclomatic 17) REDACTED:40— verify-change-detection.findComponentDeclarations 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.
react-overlay-hook-props-manual.callProblems (cyclomatic 17) packages/migrate/src/migrations/v9/react-overlay-hook-props-manual.ts:32— react-overlay-hook-props-manual.callProblems has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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.
pathMatching.matchPath (cyclomatic 17) packages/react-router/src/ReactRouter/utils/pathMatching.ts:27— pathMatching.matchPath 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.
CreateAnimation.checkConfig (cyclomatic 17) packages/react/src/components/CreateAnimation.tsx:113— CreateAnimation.checkConfig 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.
ActionSheet.onKeydown (cyclomatic 16) core/src/components/action-sheet/action-sheet.tsx:373— ActionSheet.onKeydown 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.
DatetimeButton.setDateTimeText (cyclomatic 16) core/src/components/datetime-button/datetime-button.tsx:191— DatetimeButton.setDateTimeText 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.
Input.render (cyclomatic 16) core/src/components/input/input.tsx:862— Input.render has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
Modal.initParentRemovalObserver (cyclomatic 16) core/src/components/modal/modal.tsx:1403— Modal.initParentRemovalObserver has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body's own statements and 3 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
Nav.prepareTI (cyclomatic 16) core/src/components/nav/nav.tsx:555— Nav.prepareTI 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.
Nav.postViewInit (cyclomatic 16) core/src/components/nav/nav.tsx:656— Nav.postViewInit has cyclomatic complexity 16 (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.
Refresher.onMove (cyclomatic 16) core/src/components/refresher/refresher.tsx:680— Refresher.onMove has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file's highest cyclomatic complexity: Refresher.setupiOSNativeRefresher (cyclomatic 21) is higher and carries no row of its own — it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
start-container-controller.createStartContainerController (cyclomatic 16) core/src/utils/forms/start-container-controller.ts:35— start-container-controller.createStartContainerController 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 6 function literals inside it that branch (lines 107, 46, 72, …). 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.
StackManager.findViewItems (cyclomatic 16) packages/react-router/src/ReactRouter/StackManager.tsx:236— StackManager.findViewItems has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
createControllerComponent.createControllerComponent (cyclomatic 16) packages/react/src/components/createControllerComponent.tsx:19— createControllerComponent.createControllerComponent has cyclomatic complexity 16 (threshold 15). Of this number, 13 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.
TodoComment repeated across 11 files core/src/components/alert/alert-interface.ts:28— The identical TodoComment appears in 11 files (13 occurrences) — almost certainly one boilerplate line from a single migration or decision, not 13 independent debts. Fix the systemic cause once rather than file-by-file. Text: "// TODO(FW-2832): type". Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)
TodoComment repeated across 28 files core/src/components/alert/alert.tsx:41— The identical TodoComment appears in 28 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: "// TODO(FW-2832): types". Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)
TodoComment repeated across 13 files packages/react/src/framework-delegate.tsx:6— The identical TodoComment appears in 13 files (13 occurrences) — almost certainly one boilerplate line from a single migration or decision, not 13 independent debts. Fix the systemic cause once rather than file-by-file. Text: "// TODO(FW-2959): types". Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)
IonRouter.IonRouter (cognitive 134) packages/react-router/src/ReactRouter/IonRouter.tsx:99— IonRouter.IonRouter has cognitive complexity 134 (threshold 15). Drivers by points: if/else 51 (91 pts), boolean chains 33, ternaries 4 (10 pts) (nesting depth added 46). Most of this is not in the body itself: 0 of the 134 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 187, 609, 538, …). 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.
router.createIonRouter (cognitive 134) packages/vue-router/src/router.ts:24— router.createIonRouter has cognitive complexity 134 (threshold 15). Drivers by points: if/else 54 (84 pts), boolean chains 29, ternaries 11 (21 pts) (nesting depth added 40). Most of this is not in the body itself: 1 of the 134 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 407, 283, 804, …). 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.
animation.createAnimation (cognitive 107) core/src/utils/animation/animation.ts:33— animation.createAnimation has cognitive complexity 107 (threshold 15). Drivers by points: if/else 73 (84 pts), boolean chains 11, loops 6 (10 pts), ternaries 2 (nesting depth added 15). Most of this is not in the body itself: 3 of the 107 points are its own statements and the rest belongs to 39 function literals inside it that branch (lines 728, 451, 467, …). 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.
ios.transition.iosTransitionAnimation (cognitive 93) core/src/utils/transition/ios.transition.ts:496— ios.transition.iosTransitionAnimation has cognitive complexity 93 (threshold 15). Drivers by points: if/else 35 (59 pts), ternaries 8 (22 pts), boolean chains 11, error handling 1 (nesting depth added 38). Of this number, 31 points are the body's own statements and 62 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.
StackManager.transitionPage (cognitive 89) packages/react-router/src/ReactRouter/StackManager.tsx:1506— StackManager.transitionPage has cognitive complexity 89 (threshold 15). Drivers by points: if/else 28 (73 pts), boolean chains 14, ternaries 2 (nesting depth added 45). Of this number, 48 points are the body's own statements and 41 belong to 7 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
sheet.createSheetGesture (cognitive 79) core/src/components/modal/gestures/sheet.ts:44— sheet.createSheetGesture has cognitive complexity 79 (threshold 15). Drivers by points: if/else 35 (46 pts), boolean chains 25, ternaries 8 (nesting depth added 11). Most of this is not in the body itself: 9 of the 79 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 347, 496, 588, …). 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.
ReactRouterViewStack.renderViewItem (cognitive 77) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:366— ReactRouterViewStack.renderViewItem has cognitive complexity 77 (threshold 15). Drivers by points: if/else 23 (50 pts), boolean chains 18, ternaries 6 (9 pts) (nesting depth added 30). Of this number, 49 points are the body's own statements and 28 belong to 4 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
computeParentPath.computeParentPath (cognitive 65) packages/react-router/src/ReactRouter/utils/computeParentPath.ts:240— computeParentPath.computeParentPath has cognitive complexity 65 (threshold 15). Drivers by points: if/else 15 (50 pts), boolean chains 12, loops 1 (3 pts) (nesting depth added 37). 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.
locationHistory.createLocationHistory (cognitive 61) packages/vue-router/src/locationHistory.ts:3— locationHistory.createLocationHistory has cognitive complexity 61 (threshold 15). Drivers by points: if/else 26 (42 pts), loops 6 (12 pts), boolean chains 6, match/switch 1 (nesting depth added 22). Most of this is not in the body itself: 0 of the 61 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 229, 89, 23, …). 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.
ReactRouterViewStack.findViewItemByPath (cognitive 56) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:765— ReactRouterViewStack.findViewItemByPath has cognitive complexity 56 (threshold 15). Drivers by points: if/else 22 (41 pts), boolean chains 14, ternaries 1 (nesting depth added 19). 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.
StackManager.handleReadyEnteringView (cognitive 50) packages/react-router/src/ReactRouter/StackManager.tsx:471— StackManager.handleReadyEnteringView has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 16, ternaries 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Datetime.renderMonth (cognitive 47) core/src/components/datetime/datetime.tsx:2336— Datetime.renderMonth has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 14, ternaries 5 (8 pts), error handling 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 8 of the 47 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2377, 2484, 2514). 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.
manipulation.getClosestValidDate (cognitive 38) core/src/components/datetime/utils/manipulation.ts:428— manipulation.getClosestValidDate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 13 (nesting depth added 10). Most of this is not in the body itself: 8 of the 38 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 476, 492, 509, …). 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.createMenuController (cognitive 38) core/src/utils/menu-controller/index.ts:14— index.createMenuController has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 6, ternaries 2 (nesting depth added 7). Most of this is not in the body itself: 0 of the 38 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 85, 177, 58, …). 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.
main.main (cognitive 37) packages/migrate/src/main.ts:108— main.main has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 7, ternaries 3 (6 pts), error handling 2 (5 pts) (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.
core-autocorrect.jsxAutocorrectAttrs (cognitive 37) packages/migrate/src/migrations/v9/core-autocorrect.ts:66— core-autocorrect.jsxAutocorrectAttrs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 5 (25 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 26). 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.
swipe-to-close.createSwipeToCloseGesture (cognitive 36) core/src/components/modal/gestures/swipe-to-close.ts:19— swipe-to-close.createSwipeToCloseGesture has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15, boolean chains 12, ternaries 9. Most of this is not in the body itself: 0 of the 36 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 217, 130, 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.
StackManager.handlePageTransition (cognitive 35) packages/react-router/src/ReactRouter/StackManager.tsx:1116— StackManager.handlePageTransition has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 10 (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.
InputOTP.onKeyDown (cognitive 34) core/src/components/input-otp/input-otp.tsx:536— InputOTP.onKeyDown has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 11, loops 2 (6 pts) (nesting depth added 9). Most of this is not in the body itself: 0 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 536). 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.
range.renderKnob (cognitive 34) core/src/components/range/range.tsx:1093— range.renderKnob has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 27, ternaries 5, if/else 2. Of this number, 30 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
createInlineOverlayComponent.createInlineOverlayComponent (cognitive 34) packages/react/src/components/createInlineOverlayComponent.tsx:111— createInlineOverlayComponent.createInlineOverlayComponent has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 12, ternaries 2 (nesting depth added 3). Of this number, 17 points are the body's own statements and 17 belong to 7 function literals inside it that branch. To reduce it, 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.
viewStacks.createViewStacks (cognitive 34) packages/vue-router/src/viewStacks.ts:7— viewStacks.createViewStacks has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (25 pts), loops 3 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 0 of the 34 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 91, 103, 217, …). 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.
data.generateTime (cognitive 33) core/src/components/datetime/utils/data.ts:202— data.generateTime has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 2 (nesting depth added 17). 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.createGesture (cognitive 33) core/src/utils/gesture/index.ts:7— index.createGesture has cognitive complexity 33 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 4 (nesting depth added 5). Most of this is not in the body itself: 3 of the 33 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 90, 57, 178, …). 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.
ReactRouterViewStack.createViewItem (cognitive 33) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:244— ReactRouterViewStack.createViewItem has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 11 (nesting depth added 10). Most of this is not in the body itself: 6 of the 33 points are its own statements and the rest belongs to one function literal inside it that branches (line 250). 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.
InputOTP.onInput (cognitive 31) core/src/components/input-otp/input-otp.tsx:615— InputOTP.onInput has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 13, if/else 9 (12 pts), loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 6). Most of this is not in the body itself: 0 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 615, 658). 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-assist.jsSetFocus (cognitive 30) core/src/utils/input-shims/hacks/scroll-assist.ts:211— scroll-assist.jsSetFocus has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 6 (nesting depth added 11). Of this number, 22 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.
StackManager.cleanupOrphanedSiblingViews (cognitive 30) packages/react-router/src/ReactRouter/StackManager.tsx:740— StackManager.cleanupOrphanedSiblingViews has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 13, loops 2, ternaries 1 (nesting depth added 5). Of this number, 20 points are the body's own statements and 10 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.
Segment.setNextIndex (cognitive 29) core/src/components/segment/segment.tsx:506— Segment.setNextIndex has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 4, ternaries 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
index.createFocusController (cognitive 29) core/src/utils/focus-controller/index.ts:30— index.createFocusController has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 6, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 14). Most of this is not in the body itself: 0 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 46, 31). 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.
RadioGroup.onKeydown (cognitive 28) core/src/components/radio-group/radio-group.tsx:232— RadioGroup.onKeydown has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 7 (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.
index.startTapClick (cognitive 27) core/src/utils/tap-click/index.ts:6— index.startTapClick has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 4 (nesting depth added 4). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 41, 104, 20, …). 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.
pointer-events.createPointerEvents (cognitive 27) core/src/utils/gesture/pointer-events.ts:6— pointer-events.createPointerEvents has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 2 (nesting depth added 4). Most of this is not in the body itself: 0 of the 27 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 108, 25, 51, …). 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.
StackManager.findRouteByRouteInfo (cognitive 27) packages/react-router/src/ReactRouter/StackManager.tsx:1889— StackManager.findRouteByRouteInfo has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (nesting depth added 12). Of this number, 24 points are the body's own statements and 3 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth — most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
verify-change-detection.verify (cognitive 26) REDACTED:88— verify-change-detection.verify has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 5 (9 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 7). Of this number, 23 points are the body's own statements and 3 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.
attachProps.attachProps (cognitive 26) packages/react/src/components/react-component-lib/utils/attachProps.ts:35— attachProps.attachProps has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 4 (nesting depth added 12). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 44). 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.
ios.leave.iosLeaveAnimation (cognitive 25) core/src/components/modal/animations/ios.leave.ts:21— ios.leave.iosLeaveAnimation has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (11 pts), boolean chains 1 (nesting depth added 12). Of this number, 21 points are the body's own statements and 4 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.
overlays.defineOverlayContainer (cognitive 25) packages/vue/src/utils/overlays.ts:13— overlays.defineOverlayContainer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 5, ternaries 3, loops 2 (nesting depth added 2). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 72, 202, 39, …). 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.
overlays.trapKeyboardFocus (cognitive 24) core/src/utils/overlays.ts:188— overlays.trapKeyboardFocus has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 2 (nesting depth added 6). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 219, 311). 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.
react-overlay-hooks.propsRead (cognitive 24) packages/migrate/src/ast/react-overlay-hooks.ts:125— react-overlay-hooks.propsRead has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (5 pts), boolean chains 3 (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.
ReactRouterViewStack.getChildrenToRender (cognitive 24) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:595— ReactRouterViewStack.getChildrenToRender has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 6, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 674, 653). 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.
ios.enter.iosEnterAnimation (cognitive 23) core/src/components/modal/animations/ios.enter.ts:26— ios.enter.iosEnterAnimation has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (11 pts), if/else 7 (10 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.
angular-zoneless.targetProvidersArrays (cognitive 23) packages/migrate/src/migrations/v9/angular-zoneless.ts:163— angular-zoneless.targetProvidersArrays has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), boolean chains 2 (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.
pathMatching.matchPath (cognitive 23) packages/react-router/src/ReactRouter/utils/pathMatching.ts:27— pathMatching.matchPath has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, ternaries 2 (5 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.
input-shims.startInputShims (cognitive 22) core/src/utils/input-shims/input-shims.ts:16— input-shims.startInputShims has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 61, 106). 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.
manipulation.validateParts (cognitive 22) core/src/components/datetime/utils/manipulation.ts:339— manipulation.validateParts has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 7 (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.
PickerColumn.initializeScrollListener (cognitive 22) core/src/components/picker-column/picker-column.tsx:475— PickerColumn.initializeScrollListener has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 4, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 0 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 482, 654). 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.
matching.matchesSegments (cognitive 22) core/src/components/router/utils/matching.ts:95— matching.matchesSegments has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (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.
Nav.prepareTI (cognitive 21) core/src/components/nav/nav.tsx:555— Nav.prepareTI has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 3, 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.
Nav.postViewInit (cognitive 21) core/src/components/nav/nav.tsx:656— Nav.postViewInit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (8 pts), boolean chains 4 (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.
angular-delegate.attachView (cognitive 21) packages/angular/src/common/providers/angular-delegate.ts:127— angular-delegate.attachView has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
react-overlay-hook-props-manual.callProblems (cognitive 21) packages/migrate/src/migrations/v9/react-overlay-hook-props-manual.ts:32— react-overlay-hook-props-manual.callProblems has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). 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 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.
StackManager.handleWaitingForIonPage (cognitive 21) packages/react-router/src/ReactRouter/StackManager.tsx:896— StackManager.handleWaitingForIonPage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 9 (nesting depth added 5). Of this number, 18 points are the body's own statements and 3 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.
AccordionGroup.requestAccordionToggle (cognitive 20) core/src/components/accordion-group/accordion-group.tsx:214— AccordionGroup.requestAccordionToggle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Item.render (cognitive 20) core/src/components/item/item.tsx:356— Item.render has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, ternaries 6 (7 pts), if/else 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
Menu.onEnd (cognitive 20) core/src/components/menu/menu.tsx:598— Menu.onEnd has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 8, if/else 2 (nesting depth added 2). 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.
verify-change-detection.findComponentDeclarations (cognitive 20) REDACTED:40— verify-change-detection.findComponentDeclarations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
react-router-6-routes.routeActions (cognitive 20) packages/migrate/src/migrations/v9/react-router-6-routes.ts:56— react-router-6-routes.routeActions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (6 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.
CreateAnimation.checkConfig (cognitive 20) packages/react/src/components/CreateAnimation.tsx:113— CreateAnimation.checkConfig has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (6 pts), boolean chains 5, 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.
App.componentDidLoad (cognitive 19) core/src/components/app/app.tsx:21— App.componentDidLoad has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 19 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.
dom.findFragmentTarget (cognitive 19) core/src/components/router/utils/dom.ts:117— dom.findFragmentTarget has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 1 (3 pts), loops 2 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
angular-zoneless.polyfillsEntries (cognitive 19) packages/migrate/src/migrations/v9/angular-zoneless.ts:39— angular-zoneless.polyfillsEntries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), ternaries 1 (4 pts), boolean chains 1 (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.
react-overlay-hook-props.annotations (cognitive 19) packages/migrate/src/migrations/v9/react-overlay-hook-props.ts:18— react-overlay-hook-props.annotations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
IonTabBarUnwrapped.getDerivedStateFromProps (cognitive 19) packages/react/src/components/navigation/IonTabBar.tsx:136— IonTabBarUnwrapped.getDerivedStateFromProps has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (9 pts) (nesting depth added 4). Of this number, 13 points are the body's own statements and 6 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
DatetimeButton.setDateTimeText (cognitive 18) core/src/components/datetime-button/datetime-button.tsx:191— DatetimeButton.setDateTimeText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 1 (4 pts), boolean chains 1, match/switch 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Datetime.initializeCalendarListener (cognitive 18) core/src/components/datetime/datetime.tsx:896— Datetime.initializeCalendarListener has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 3, ternaries 2. Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 934, 992, 1035, …). 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.
ios.enter.iosEnterAnimation (cognitive 18) core/src/components/popover/animations/ios.enter.ts:31— ios.enter.iosEnterAnimation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 152). 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.
Searchbar.positionCancelButton (cognitive 18) core/src/components/searchbar/searchbar.tsx:580— Searchbar.positionCancelButton has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
swipe-to-dismiss.createSwipeToDismissGesture (cognitive 18) core/src/components/toast/gestures/swipe-to-dismiss.ts:18— swipe-to-dismiss.createSwipeToDismissGesture has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 6 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 139, 247). 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.
verify-exports.verify (cognitive 18) packages/angular/scripts/verify-exports.js:47— verify-exports.verify has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
angular-zoneless.declaredProjects (cognitive 18) packages/migrate/src/migrations/v9/angular-zoneless.ts:81— angular-zoneless.declaredProjects has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 3 (5 pts), loops 2 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
IonTabs.render (cognitive 18) packages/react/src/components/navigation/IonTabs.tsx:119— IonTabs.render has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 5, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 9 points are the body's own statements and 9 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.
Datetime.processValue (cognitive 17) core/src/components/datetime/datetime.tsx:1366— Datetime.processValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth — many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
Picker.onPointerDown (cognitive 17) core/src/components/picker/picker.tsx:153— Picker.onPointerDown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
utils.configureKeyboardInteraction (cognitive 17) core/src/components/popover/utils.ts:460— utils.configureKeyboardInteraction has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, error handling 1, match/switch 1 (nesting depth added 6). 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 461). 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.
Range.render (cognitive 17) core/src/components/range/range.tsx:987— Range.render has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, ternaries 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
Refresher.onMove (cognitive 17) core/src/components/refresher/refresher.tsx:680— Refresher.onMove has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, ternaries 1 (nesting depth added 2). 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.
matching.matchesIDs (cognitive 17) core/src/components/router/utils/matching.ts:37— matching.matchesIDs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (5 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.
Select.open (cognitive 17) core/src/components/select/select.tsx:495— Select.open has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 504). 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.
pathMatching.derivePathnameToMatch (cognitive 17) packages/react-router/src/ReactRouter/utils/pathMatching.ts:115— pathMatching.derivePathnameToMatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, ternaries 1 (nesting depth added 4). Of this number, 12 points are the body's own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body 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.
viewItemUtils.compareRouteSpecificity (cognitive 17) packages/react-router/src/ReactRouter/utils/viewItemUtils.ts:12— viewItemUtils.compareRouteSpecificity has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, 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.
createOverlayComponent.createOverlayComponent (cognitive 17) packages/react/src/components/createOverlayComponent.tsx:21— createOverlayComponent.createOverlayComponent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 7, ternaries 1. Of this number, 14 points are the body's own statements and 3 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.
index.sanitizeElement (cognitive 16) core/src/utils/sanitization/index.ts:154— index.sanitizeElement has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, 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.
createOverlayComponent.createOverlayComponent (cognitive 16) packages/react/src/components/react-component-lib/createOverlayComponent.tsx:21— createOverlayComponent.createOverlayComponent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 1. Of this number, 13 points are the body's own statements and 3 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.
LocationHistory.findLastLocation (cognitive 16) packages/react/src/routing/LocationHistory.ts:157— LocationHistory.findLastLocation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D30 · Dependency Vulnerabilities· Medium vulnerability · ×1
No structured logging — No logging call was found in the 553 JavaScript/TypeScript production file(s) this check read across 10 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
Duplication concentrated across 52 sibling directories (72 clone groups) core/src/components/input/input.tsx:157— 72 duplicated blocks under core/src/components/ have copies in at least two of the sibling directories action-sheet, alert, back-button, badge, breadcrumbs, button (+46 more sibling(s) not listed) — 53 of them are reported below, and 19 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 72 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 72 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 72 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 3 sibling directories (11 clone groups) packages/angular/src/lazy/directives/angular-component-lib/utils.ts:22— 11 duplicated blocks under packages/angular/src/ have copies in at least two of the sibling directories common, lazy, standalone — 9 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 11 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 11 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 11 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 (10 clone groups) packages/react/src/routing/LocationHistory.ts:41— 10 duplicated blocks under packages/ have copies in at least two of the sibling directories angular, react, react-router, vue, vue-router — 8 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 10 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 10 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 10 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.
R10 · Code Duplication· Duplicated block with local edits (168 matched lines × 2 locations) · ×1
Duplicated block with local edits (168 matched lines × 2 locations) core/src/components/input/input.tsx:157— core/src/components/input/input.tsx:157 · core/src/components/textarea/textarea.tsx:122 — the two spans are one implementation copied and then locally edited — 1015 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 (103 matched lines × 2 locations) · ×1
Duplicated block with local edits (103 matched lines × 2 locations) core/src/components/checkbox/checkbox.tsx:88— core/src/components/checkbox/checkbox.tsx:88 · core/src/components/toggle/toggle.tsx:106 — the two spans are one implementation copied and then locally edited — 610 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 (100 matched lines × 2 locations) · ×1
Duplicated block with local edits (100 matched lines × 2 locations) core/src/components/input/input.tsx:809— core/src/components/input/input.tsx:809 · core/src/components/textarea/textarea.tsx:624 — the two spans are one implementation copied and then locally edited — 670 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 (81 lines × 2 locations) core/src/components/modal/animations/ios.transition.ts:17— core/src/components/modal/animations/ios.transition.ts:17 · core/src/components/modal/animations/ios.transition.ts:108 — 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.
Wholesale file copy (75 identical lines × 2 files) packages/react/src/components/createOverlayComponent.tsx:2— packages/react/src/components/createOverlayComponent.tsx:2 · packages/react/src/components/react-component-lib/createOverlayComponent.tsx:1 — these 2 files are line-for-line copies of one another — 75 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 (70 matched lines × 2 locations) · ×1
Duplicated block with local edits (70 matched lines × 2 locations) core/src/components/popover/animations/ios.enter.ts:25— core/src/components/popover/animations/ios.enter.ts:25 · core/src/components/popover/animations/md.enter.ts:13 — the two spans are one implementation copied and then locally edited — 416 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 (65 matched lines × 2 locations) · ×1
Duplicated block with local edits (65 matched lines × 2 locations) core/src/components/select-modal/select-modal.tsx:75— core/src/components/select-modal/select-modal.tsx:75 · core/src/components/select-popover/select-popover.tsx:85 — the two spans are one implementation copied and then locally edited — 378 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 (63 matched lines × 2 locations) · ×1
Duplicated block with local edits (63 matched lines × 2 locations) core/src/components/input/input.tsx:643— core/src/components/input/input.tsx:643 · core/src/components/textarea/textarea.tsx:532 — the two spans are one implementation copied and then locally edited — 368 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 (59 matched lines × 2 locations) · ×1
Duplicated block with local edits (59 matched lines × 2 locations) packages/react/src/routing/OutletPageManager.tsx:10— packages/react/src/routing/OutletPageManager.tsx:10 · packages/react/src/routing/PageManager.tsx:9 — the two spans are one implementation copied and then locally edited — 363 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 (55 matched lines × 2 locations) · ×1
Duplicated block with local edits (55 matched lines × 2 locations) core/src/components/searchbar/searchbar.tsx:142— core/src/components/searchbar/searchbar.tsx:142 · core/src/components/textarea/textarea.tsx:156 — the two spans are one implementation copied and then locally edited — 368 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 (53 lines × 2 locations) core/src/components/select-modal/select-modal.tsx:162— core/src/components/select-modal/select-modal.tsx:162 · core/src/components/select-popover/select-popover.tsx:126 — 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.
R10 · Code Duplication· Duplicated block with local edits (53 matched lines × 2 locations) · ×1
Duplicated block with local edits (53 matched lines × 2 locations) packages/react/src/routing/LocationHistory.ts:41— packages/react/src/routing/LocationHistory.ts:41 · packages/vue-router/src/locationHistory.ts:30 — the two spans are one implementation copied and then locally edited — 290 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 (52 matched lines × 2 locations) · ×1
Duplicated block with local edits (52 matched lines × 2 locations) core/src/components/loading/loading.tsx:46— core/src/components/loading/loading.tsx:46 · core/src/components/toast/toast.tsx:67 — the two spans are one implementation copied and then locally edited — 437 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 (49 lines × 2 locations) core/src/components/datetime/datetime.tsx:1963— core/src/components/datetime/datetime.tsx:1963 · core/src/components/datetime/datetime.tsx:2012 — 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 (43 lines × 2 locations) core/src/components/datetime/datetime.tsx:2095— core/src/components/datetime/datetime.tsx:2095 · core/src/components/datetime/datetime.tsx:2138 — 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 (42 lines × 2 locations) core/src/components/button/button.tsx:237— core/src/components/button/button.tsx:237 · core/src/components/fab-button/fab-button.tsx:188 — 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 (37 lines × 2 locations) packages/angular/src/lazy/directives/angular-component-lib/utils.ts:22— packages/angular/src/lazy/directives/angular-component-lib/utils.ts:22 · packages/angular/src/standalone/directives/angular-component-lib/utils.ts:22 — 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 (34 lines × 3 locations) packages/react-router/src/ReactRouter/IonReactHashRouter.tsx:14— packages/react-router/src/ReactRouter/IonReactHashRouter.tsx:14 · packages/react-router/src/ReactRouter/IonReactMemoryRouter.tsx:15 · packages/react-router/src/ReactRouter/IonReactRouter.tsx:24 — the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete.
Duplicated block (34 lines × 2 locations) packages/react/eslint.config.js:4— packages/react/eslint.config.js:4 · packages/vue/eslint.config.js:4 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are.
Duplicated block (32 lines × 2 locations) packages/react-router/eslint.config.js:4— packages/react-router/eslint.config.js:4 · packages/vue-router/eslint.config.js:4 — 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 (25 lines × 2 locations) core/src/components/card-subtitle/card-subtitle.tsx:12— core/src/components/card-subtitle/card-subtitle.tsx:12 · core/src/components/card-title/card-title.tsx:12 — 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 (24 lines × 3 locations) core/src/components/action-sheet/action-sheet.tsx:131— core/src/components/action-sheet/action-sheet.tsx:131 · core/src/components/alert/alert.tsx:144 · core/src/components/loading/loading.tsx:116 — the 3 copies are spread across 3 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 (21 lines × 2 locations) core/src/components/alert/alert.tsx:605— core/src/components/alert/alert.tsx:605 · core/src/components/alert/alert.tsx:672 — 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.
Complex function handleHistoryChange (cyclomatic 53, cognitive 93) packages/vue-router/src/router.ts:407— handleHistoryChange has cyclomatic complexity 53 and cognitive complexity 93; 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 handleHistoryChange (cyclomatic 45, cognitive 78) packages/react-router/src/ReactRouter/IonRouter.tsx:187— handleHistoryChange has cyclomatic complexity 45 and cognitive complexity 78; 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 renderKnob (cyclomatic 43, cognitive 30) core/src/components/range/range.tsx:1093— renderKnob has cyclomatic complexity 43 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function renderViewItem (cyclomatic 38, cognitive 49) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:366— renderViewItem 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 (anonymous) (cyclomatic 31, cognitive 66) packages/react-router/src/ReactRouter/utils/computeParentPath.ts:240— (anonymous) has cyclomatic complexity 31 and cognitive complexity 66; 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.
R2 · Cyclomatic Complexity· Complex function main (cyclomatic 31, cognitive 42) · ×1
Complex function main (cyclomatic 31, cognitive 42) packages/migrate/src/main.ts:108— main has cyclomatic complexity 31 and cognitive complexity 42; 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 matchView (cyclomatic 30, cognitive 40) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:794— matchView has cyclomatic complexity 30 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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 31) core/src/components/input-otp/input-otp.tsx:615— (anonymous) has cyclomatic complexity 28 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 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 26, cognitive 35) core/src/components/datetime/datetime.tsx:2377— (anonymous) has cyclomatic complexity 26 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 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 25, cognitive 33) core/src/components/input-otp/input-otp.tsx:536— (anonymous) has cyclomatic complexity 25 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 detect (cyclomatic 24, cognitive 82) packages/migrate/src/migrations/v9/react-router-6-code.ts:111— detect has cyclomatic complexity 24 and cognitive complexity 82; 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 24, cognitive 32) core/src/utils/transition/ios.transition.ts:496— (anonymous) has cyclomatic complexity 24 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 handlePageTransition (cyclomatic 21, cognitive 25) packages/vue/src/components/IonRouterOutlet.ts:270— handlePageTransition has cyclomatic complexity 21 and cognitive complexity 25; 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 setDateTimeText (cyclomatic 21, cognitive 23) core/src/components/datetime-button/datetime-button.tsx:191— setDateTimeText has cyclomatic complexity 21 and cognitive complexity 23; 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 21, cognitive 22) core/src/components/datetime/utils/manipulation.ts:343— (anonymous) has cyclomatic complexity 21 and cognitive complexity 22; 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 20, cognitive 28) packages/react-router/src/ReactRouter/ReactRouterViewStack.tsx:250— (anonymous) has cyclomatic complexity 20 and cognitive complexity 28; 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 verify (cyclomatic 20, cognitive 24) REDACTED:88— verify has cyclomatic complexity 20 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 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 20, cognitive 22) core/src/components/picker-column/picker-column.tsx:482— (anonymous) has cyclomatic complexity 20 and cognitive complexity 22; 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 render (cyclomatic 20, cognitive 18) core/src/components/item/item.tsx:356— render has cyclomatic complexity 20 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.
Complex function setNextIndex (cyclomatic 19, cognitive 29) core/src/components/segment/segment.tsx:506— setNextIndex has cyclomatic complexity 19 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 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.
Dead file (~969 LoC) core/src/components/refresher/refresher.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~884 LoC) core/src/components/menu/menu.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~879 LoC) core/src/components/input-otp/input-otp.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~515 LoC) core/src/components/item-sliding/item-sliding.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~471 LoC) core/src/components/datetime-button/datetime-button.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~433 LoC) core/src/components/router/router.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~381 LoC) core/src/components/reorder-group/reorder-group.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~353 LoC) core/src/utils/input-shims/hacks/scroll-assist.ts— no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (core/src/utils/input-shims/input-shims.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 (~312 LoC) core/src/components/router-outlet/router-outlet.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~284 LoC) core/src/components/header/header.utils.ts— no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (core/src/components/header/header.tsx) — 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 (~270 LoC) core/src/components/select-popover/select-popover.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~269 LoC) core/src/components/col/col.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~239 LoC) core/src/components/tabs/tabs.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~237 LoC) core/src/components/header/header.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~236 LoC) core/src/components/infinite-scroll/infinite-scroll.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~234 LoC) core/src/components/select-modal/select-modal.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~203 LoC) core/src/components/split-pane/split-pane.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~186 LoC) core/src/components/tab-button/tab-button.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~181 LoC) core/src/utils/tap-click/index.ts— no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (core/src/components/app/app.tsx) — 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 (~164 LoC) core/src/components/img/img.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~163 LoC) core/src/components/segment-view/segment-view.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~152 LoC) core/src/components/tab-bar/tab-bar.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~144 LoC) core/src/utils/input-shims/input-shims.ts— no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (core/src/components/app/app.tsx) — 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 (~130 LoC) core/src/components/app/app.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~129 LoC) core/src/components/item-option/item-option.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~122 LoC) core/src/components/label/label.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~121 LoC) core/src/components/progress-bar/progress-bar.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~120 LoC) core/src/components/menu-button/menu-button.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~117 LoC) core/src/components/toolbar/toolbar.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~111 LoC) core/src/components/spinner/spinner.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~110 LoC) core/src/utils/input-shims/hacks/common.ts— no import path from any entry point (131 application, 55 tooling, 1178 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (core/src/utils/input-shims/hacks/hide-caret.ts, core/src/utils/input-shims/hacks/scroll-assist.ts, core/src/utils/input-shims/hacks/scroll-data.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 (~102 LoC) core/src/components/ripple-effect/ripple-effect.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~93 LoC) core/src/components/fab/fab.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 (~84 LoC) core/src/components/route/route.tsx— no import path from any entry point (131 application, 55 tooling, 1178 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 '@angular/language-service' — Declared in packages/angular/test/apps/ng18/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 'core-js' — Declared in packages/angular/test/apps/ng18/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 'wait-on' — Declared in packages/angular/test/apps/ng18/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.
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 123 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.
Off-boarding risk: anonymized user #1 — If anonymized user #1 becomes unavailable, 16 significant file(s) lose their only recent owner: packages/react-router/src/ReactRouter/StackManager.tsx, packages/react/src/components/createInlineOverlayComponent.tsx, packages/migrate/src/context.ts, packages/migrate/src/migrations/v9/angular-zoneless.ts, packages/migrate/src/main.ts, packages/vue-router/src/viewStacks.ts, packages/react/src/components/react-component-lib/utils/attachProps.ts, core/src/utils/content/index.ts (+8 more). Pair on, review, or document these before any departure.
D16 · Bus Factor· Further sole-owners (lower concentration) · ×1
Further sole-owners (lower concentration) — 3 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 (19 single-owned of 209 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; 209 of the 540 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (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 core — A generic catch-all name that is huge (48k LoC) and sprawls across 129 namespaces. Suggested:
D28 · Secrets (history)· Rotate the exposed credentials · ×1
REDACTED
D34 · Knowledge Freshness· Further orphaned files (smaller) · ×1
Further orphaned files (smaller) — 70 smaller file(s) also have no living knowledge — folded into the freshness score and metrics rather than raised one row each — most significant first: core/src/components/datetime/utils/manipulation.ts, core/src/components/reorder-group/reorder-group.tsx, core/src/components/datetime/utils/format.ts, core/src/components/toast/gestures/swipe-to-dismiss.ts, core/src/components/header/header.utils.ts, core/src/components/accordion-group/accordion-group.tsx, core/src/components/refresher/refresher.utils.ts, core/src/utils/menu-controller/index.ts (and 62 more) (73 orphaned of 209 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; 209 of the 540 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.
No release approval gate — The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY'S PIPELINE FILES. What was read: every file under `.github/workflows/`, `.forgejo/workflows/`, `.gitea/workflows/`, `.azuredevops/` and `.azure-pipelines/`, plus `.gitlab-ci*` and `azure-pipelines*` — with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab's `when: manual`, CircleCI's `type: approval`, an Azure `ManualValidation@` task or an `approvals:` block, a Jenkins `input` step, a `uses:` step naming an approval action, an `environment:` paired with `reviewers` / `required_reviewers` / `protection` / `wait-timer` / `deployment_branch_policy`, a draft-release step, a `workflow_dispatch` promotion, or a release-event gate. ★ What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy — all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release.
No security response headers detected core/vercel.json:1— No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found — defense in depth, even when a reverse proxy could set them. This is reported because `vercel.json` configures this repository's static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (−2.0 on this card.)
Skipped (documented): accordions should be keyboard navigable core/src/components/accordion/test/a11y/accordion.e2e.ts:7— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): should position fabs correctly with custom sizes core/src/components/fab/test/custom-size/fab.e2e.ts:10— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): scrolling should change the active item core/src/components/picker-column/test/basic/picker-column.e2e.ts:40— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): should emit ionChange when the picker is scrolled core/src/components/picker-column/test/basic/picker-column.e2e.ts:66— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): should render no event popover core/src/components/popover/test/basic/popover.e2e.ts:33— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) core/src/components/select-modal/test/basic/select-modal.e2e.ts:23— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) core/src/components/select-modal/test/basic/select-modal.e2e.ts:58— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) core/src/components/select-modal/test/basic/select-modal.e2e.ts:87— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) core/src/components/select-popover/test/basic/select-popover.e2e.ts:23— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) core/src/components/select-popover/test/basic/select-popover.e2e.ts:58— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) core/src/components/select-popover/test/basic/select-popover.e2e.ts:87— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) core/src/utils/focus-controller/test/generic/focus-controller.e2e.ts:48— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) core/src/utils/focus-controller/test/ionic/focus-controller.e2e.ts:48— Skipped with a documented reason — a deferral, not lazy debt: switched off by test.skip
Skipped (documented): (unnamed test) packages/react-router/test/base/src/pages/modal-aria-hidden/ModalAriaHidden.tsx:44— 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): display modal with context packages/react/test/base/tests/e2e/specs/overlay-hooks/useIonModal.cy.ts:65— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): should show correct tab when clicking the tab button packages/react/test/base/tests/e2e/specs/tabs/tabs.cy.ts:68— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): should swipe and go back to home packages/vue/test/base/tests/e2e/specs/tabs.cy.js:698— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): should swipe and go back within a tab packages/vue/test/base/tests/e2e/specs/tabs.cy.js:717— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): should swipe and go back to correct tab after switching tabs packages/vue/test/base/tests/e2e/specs/tabs.cy.js:728— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): swipe to go back should work when using router.go() packages/vue/test/base/tests/e2e/specs/routing.cy.js:575— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Skipped (documented): should correctly go back to the root tab after switching pages packages/vue/test/base/tests/e2e/specs/hbb.cy.js:63— Skipped with a documented reason — a deferral, not lazy debt: switched off by it.skip
Appendix B — Reproduction & audit trail
Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.
semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 1 file(s) — `packages/vue/types/proxies.d.ts` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real.
disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
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 01a0e70b-2e2f-7948-8fb2-69d7083602d8 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 109 · Warnings: 892 · Recommendations: 20 · Info: 21 — Appendix A · all findings · full markdown report.
Generated by Watchdog — deterministic code-health analysis. 28-09-2026 @ 08:04 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.