Tests / @ogygia/data-shake
@ogygia/data-shake
Version 0.14.0 latest
620ddcca 212 test runs (212 tests, each run in Node, the browsers or both)
1.27× lines of test for each line of source (1,332 to 1,052) Only real test code counts: test files and their helpers, not fixtures, sample apps or benches.
Blank lines are left out on both sides.
Exactly what is counted
non-blank lines of test code across the repo (*.test.ts, *.test-d.ts, *.spec.ts, and the .ts helpers in test/ and e2e/ folders; no fixtures, fixture apps, stubs or benches), over non-blank lines of packages/*/src (no .d.ts or generated files)94.1% of source lines run by the tests
- 212Unit
- 0Browser
- 0End to end
- 0Type tests
- 0Lint rules
- 0Failing
Coverage
- 94.1%Lines
- 83.2%Branches
- 95.7%Functions
- 91.3%Statements
Every test
212 tests
| Test | Kind | Node | Chromium | Firefox | WebKit |
|---|---|---|---|---|---|
packages/data-shake/test/page-keys-soundness.test.ts | |||||
| a get() or derived() that is not svelte/store > a followed helper reading through svelte/store get is still summarized | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > function get(o, k) { return o.data[k]; } use(get(page, 'b').url); answers all or follows the call | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { derived } from './my-derived'; derived(page, (p) => p.url); answers all or follows the call | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { derived } from 'svelte/store'; const d = derived(page, (p) => p.data.b); still reads b alone | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { derived } from 'svelte/store'; const pick = (p) => p.data.b; derived(page, pick); answers all or follows the call | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { derived } from 'svelte/store'; import { pick } from './pick'; derived(page, pick); answers all or follows the call | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { derived as d } from 'svelte/store'; const s = d([page], ([p]) => p.data.b); still reads b alone | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { get } from 'lodash-es'; const v = get(page, 'data.b'); use(v.params); answers all or follows the call | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { get } from 'lodash-es'; use(get(page, 'data.b').url); answers all or follows the call | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { get } from 'svelte/store'; use(get(page).data.b); still reads b alone | Unit | pass | not run | not run | not run |
| a get() or derived() that is not svelte/store > import { get as read } from 'svelte/store'; use(read(page).data.b); still reads b alone | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export const h = (p, { b } = p.data) => b; | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export const h = (p) => p.data?.b; | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(...ps) { return ps[0].data.b; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p, q = p.data.b) { return q; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { const d = p.data; return d.b; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { const q = p; return q.data.b; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { const r = arguments; return r[0].data.b; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { function inner() { return p.data.b; } return inner(); } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { let q; q = p; return q.data.b; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { return [p][0].data.b; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { return arguments[0].data.b; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { return p.data.b; } | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export function h(p) { return p.url; } h = (p) => p.data.b; | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > export let h = (p) => p.url; h = (p) => p.data.b; | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > function g(p) { return p.data.b; } export { g as h }; | Unit | pass | not run | not run | not run |
| an imported helper handed the page is summarized soundly > function h(p) { return p.url; } export { h }; h = (p) => p.data.b; | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > { const window = undefined; use(typeof window === 'undefined' ? page.data.b : 0); } | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > class V0 { m() { return page.data.b; } } use(new V0().m()); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const [v0] = [page.data]; use(v0.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const { b: v0 } = page.data; use(v0); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const { b: v0, ...v1 } = page.data; use(v0); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const { data: { b: v0 } } = page; use(v0); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const { data: v0 } = page; use(v0.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = 'b'; use(page.data[v0]); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = () => page.data.b; use(v0()); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = (0, page.data); use(v0.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = (o = page.data) => o.b; use(v0()); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = (o) => o.data.b; use(v0(page)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = [page]; use(v0[0].data.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = { get x() { return page.data.b; } }; use(v0.x); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = { p: page }; use(v0.p.data.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = page; use(v0.data.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = page.data ?? {}; use(v0.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = page.data; { const v0 = { z: 1 }; use(v0.z); } use(v0.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = page.data; use(v0.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > const v0 = true ? page.data : null; use(v0.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > for (const v0 in page.data) use(0); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0({ data } = page) { return data.b; } use(v0()); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0({ data }) { return data.b; } use(v0(page)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0(o) { return o.b; } use(v0(page.data)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0(p = page) { return p.data.b; } use(v0()); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0(p, q = p.data.b) { return q; } use(v0(page)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0(p) { const q = p; return q.data.b; } use(v0(page)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0(p) { return arguments[0].data.b; } use(v0(page)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0(p) { return p.url; } function v1() { const v0 = (p) => p.data.b; return v0(page); } use(v1()); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > function v0(p) { return p.url; } v0 = (p) => p.data.b; use(v0(page)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > let v0 = (p) => p.url; v0 = (p) => p.data.b; use(v0(page)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > let v0; ({ b: v0 } = page.data); use(v0); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > let v0; v0 = page.data; use(v0.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > over generated mixes of the shapes | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use('b' in page.data); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(((x) => x)(page.data).b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use((page.data).b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use([page.data][0].b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use([page]); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use([page][0].data.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use({ ...page.data }); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(JSON.stringify(page.data)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(Object.hasOwn(page.data, 'b')); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(Object.keys(page.data)); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page?.data?.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data?.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data.b = page.data.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data.b, page.data); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data.b?.x); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data.b.toString()); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data.b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data.hasOwnProperty('b')); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data.valueOf().b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data['b']); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data[('b')]); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page.data[`b`]); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(page['data'].b); | Unit | pass | not run | not run | not run |
| page.data seed shaping is sound > use(Reflect.get(page.data, 'b')); | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > a re-export of another name from the page module answers null | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > const { page } = await import('$app/state'); use(page.data.b); answers all | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > export { page } from '$app/state'; answers all | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > export { page as p } from '$app/stores'; answers all | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > export * as app from '$app/state'; answers all | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > export * from '$app/state'; answers all | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > import { getStores } from '$app/stores'; const { page } = getStores(); page.subscribe((p) => use(p.data.b)); answers all | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > import { getStores as stores } from '$app/stores'; use(stores().page); answers all | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > import { page } from '$app/state'; export { page as p } from '$app/state'; use(page.data.a); answers all | Unit | pass | not run | not run | not run |
| the page store re-exported or imported dynamically > import('$app/stores').then((m) => use(m.page)); answers all | Unit | pass | not run | not run | not run |
packages/data-shake/test/page-keys-summaries.test.ts | |||||
| a followed function rebound by destructuring is not followed > ((f) = (p) => p.data.b); | Unit | pass | not run | not run | not run |
| a followed function rebound by destructuring is not followed > ({ ...f } = {}); | Unit | pass | not run | not run | not run |
| a followed function rebound by destructuring is not followed > ({ f } = { f: (p) => p.data.b }); | Unit | pass | not run | not run | not run |
| a followed function rebound by destructuring is not followed > ({ f = (p) => p.data.b } = {}); | Unit | pass | not run | not run | not run |
| a followed function rebound by destructuring is not followed > ({ x: f } = { x: (p) => p.data.b }); | Unit | pass | not run | not run | not run |
| a followed function rebound by destructuring is not followed > (f as any) = (p) => p.data.b; | Unit | pass | not run | not run | not run |
| a followed function rebound by destructuring is not followed > [...[f]] = [(p) => p.data.b]; | Unit | pass | not run | not run | not run |
| a followed function rebound by destructuring is not followed > [f = (p) => p.data.b] = []; | Unit | pass | not run | not run | not run |
| a followed function rebound by destructuring is not followed > [f] = [(p) => p.data.b]; | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > flag && use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (!!flag) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (!(typeof window !== 'undefined')) use(page.data.b); is server only | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (!(typeof window === 'undefined')) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (!flag) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (!import.meta.env.SSR) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if ('undefined' !== typeof document) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if ('undefined' === typeof window) use(page.data.b); is server only | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (env.SSR) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (flag) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (import.meta.env.DEV) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (import.meta.env.SSR) {} else use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (import.meta.env.SSR) use(page.data.b); is server only | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (import.meta.env[SSR]) use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof document == 'undefined') use(page.data.b); is server only | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof foo === 'undefined') use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof window != 'undefined') use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof window !== 'undefined') use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof window < 'undefined') use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof window === 'object') use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof window === 'string') use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof window === 'undefined') {} else use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (typeof window === 'undefined') use(page.data.b); is server only | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > if (void window === 'undefined') use(page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > typeof window === 'undefined' && use(page.data.b); is server only | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > use(typeof window === 'undefined' ? 0 : page.data.b); | Unit | pass | not run | not run | not run |
| a read in a branch the browser can take counts > use(typeof window === 'undefined' ? page.data.b : 0); is server only | Unit | pass | not run | not run | not run |
| a renamed re-export is followed under its source name > `export { g as h }` looks for g, not h, in the source module | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > a component that does not parse gives up | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > a default-imported helper handed the page is followed by its default export | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > const g = (p) => p.data.b; export { g as h }; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > const g = function (p) { return p.data.b; }; export { g as h }; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export { g as h } from './x'; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export { h } from './b'; export * from './a'; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export { h } from './x'; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export * from './a'; export { h } from './b'; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export * from './a'; export function h(p) { return p.data.b; } (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export class h { constructor(p) { this.b = p.data.b; } } (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export const a = (p) => p.data.a, h = (p) => p.data.b; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export const h = (p) => p.data.b; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export const h = (p) => p.data.b; (k, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export const h = 1; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export const h = function (p) { return p.data.b; }; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export function h(a, p) { return p.data.b + a.data.a; } (h, arg 1) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export function h(a, p) { return p.url; } (h, arg 1) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export function h(p) { return p.data.b; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export function h(p) { return p.data.b; } export function k(p) { return p.url; } (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > export function h(p) { return p.data.b; } (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > function g(p) { return p.data.b; } export { g as h }; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > function outer() { const g = (p) => p.url; return g; } const g = (p) => p.data.b; export { g as h }; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > function outer() { function g(p) { return p.url; } return g; } function g(p) { return p.data.b; } export { g as h }; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > import { g } from './x'; export { g as h }; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > import { g } from './x'; export const k = 1; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > import { k as g } from './x'; export { g as h }; (h, arg 0) | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > names the line of the read that ships all, not the module's last | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > page_data_keys: const f = function (p) { return p.data.b; }; use(f(page)); | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > page_data_keys: function f() { return arguments.length; } use(f(), page.data.b); | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > page_data_keys: use(page.data.b); const = ; | Unit | pass | not run | not run | not run |
| summarize_export answers exactly > reads a component module script | Unit | pass | not run | not run | not run |
packages/data-shake/test/page-keys.test.ts | |||||
| follow_pending_page_calls > an `export *` fan-out is searched; a helper that hands the page on → all with a reason | Unit | pass | not run | not run | not run |
| follow_pending_page_calls > an unresolvable specifier → all, named in the reason | Unit | pass | not run | not run | not run |
| follow_pending_page_calls > follows getParams(page) through a barrel to its url-only reader; url(page) adds its key | Unit | pass | not run | not run | not run |
| merge_page_keys > unions sets, all absorbs, null is identity | Unit | pass | not run | not run | not run |
| page_data_keys — a branch the browser never takes > a read under typeof window === 'undefined' or import.meta.env.SSR is not the client's | Unit | pass | not run | not run | not run |
| page_data_keys — a branch the browser never takes > the client branch still counts: typeof window !== 'undefined', and the else of a server test | Unit | pass | not run | not run | not run |
| page_data_keys — call following > a helper of the same module is followed: its parameter is the page inside it | Unit | pass | not run | not run | not run |
| page_data_keys — call following > an imported helper is recorded as pending, the rest of the module still pinned | Unit | pass | not run | not run | not run |
| page_data_keys — call following > summarize_export: a barrel re-export says where to follow | Unit | pass | not run | not run | not run |
| page_data_keys — call following > summarize_export: what the helper reads of its page parameter | Unit | pass | not run | not run | not run |
| page_data_keys — components > $page?.data?.key in the script and page.data.key in the template | Unit | pass | not run | not run | not run |
| page_data_keys — components > a component that only reads params → empty set | Unit | pass | not run | not run | not run |
| page_data_keys — components > a module script and an {#each} over page data | Unit | pass | not run | not run | not run |
| page_data_keys — components > the palaestra reader that hands page.data to an arrow → all | Unit | pass | not run | not run | not run |
| page_data_keys — doubt goes to all > a same-named unrelated identifier is not the page: `foo.page`, `pageContent` | Unit | pass | not run | not run | not run |
| page_data_keys — doubt goes to all > dynamic index, subscribe, namespace import, the whole page passed to a function | Unit | pass | not run | not run | not run |
| page_data_keys — doubt goes to all > page.data used whole: passed on, spread, compared, returned | Unit | pass | not run | not run | not run |
| page_data_keys — doubt goes to all > prose that says "page" is not a reference | Unit | pass | not run | not run | not run |
| page_data_keys — doubt goes to all > the data object aliased or destructured off the page | Unit | pass | not run | not run | not run |
| page_data_keys — guards and subscribers > `const { a, b } = $page?.data || {}` names its keys; a subscriber parameter is the page | Unit | pass | not run | not run | not run |
| page_data_keys — ogygia's own Region parts > Region's page seed ask reads no page.data, so a hole's or a lake's endpoint never looks its page up for it | Unit | pass | not run | not run | not run |
| page_data_keys — safe built-ins > Object.keys(page) reads names only; isEmpty(page) from a library still hands the page on | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > $app/state: page.data.key, optional chaining, nested paths keep the top-level key | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > a local name that shadows svelte/store get is a plain call that takes the page | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > a template call into a helper of the script follows aliases the helper makes | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > an aliased import name | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > bracket access with a string literal | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > derived(page, ($page) => …) and derived([a, page], ([$a, $page]) => …) name the page parameter | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > destructuring page.data names its keys | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > get(page).data.key, and the whole page aliased then read (the analytics helper) | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > null for a module that never names the page store, even one that does not parse | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > null when the module never imports the page | Unit | pass | not run | not run | not run |
| page_data_keys — scripts > only url / params / route / status reads → an empty set (the seed still ships, data empty) | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > a reason names the construct and the line | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > a shadowing local named page in an inner scope is over-approximated, never a crash | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > an alias declared in one function is not applied in a sibling function | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > an alias is scoped to its function: an unrelated `value` elsewhere is not the page | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > component: <style lang="scss"> with // comments does not stop the analysis | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > component: a spread of page.data into attributes → all | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > component: runes — $state, $derived.by, $effect, class fields; legacy context="module" | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > component: template constructs — {#if} {#each} {#await} {@const} {@html} attributes, bind:, handlers, snippets, svelte:head | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > component: the whole page passed to a helper in the template → all, with the reason | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > scale: a long module with many reads stays linear and exact | Unit | pass | not run | not run | not run |
| page_data_keys — the demented cases > TypeScript wrappers: as / ! / satisfies / parentheses around the page or page.data | Unit | pass | not run | not run | not run |
| page_data_keys — the PENDING13 shape > `if (!page?.url) return` keeps a helper summarizable as url/params-only | Unit | pass | not run | not run | not run |
packages/data-shake/test/plugin.test.ts | |||||
| dataShake() > registers one seed-shaping answer with the build | Unit | pass | not run | not run | not run |
| page_reads > a helper call is unknown until settled, then folds in its keys | Unit | pass | not run | not run | not run |
| page_reads > an unpinned read is 'unknown' with its line; a module that never reads the page is null | Unit | pass | not run | not run | not run |
| page_reads > dev: the files' keys together, a helper followed; an unresolved helper is unknown with why | Unit | pass | not run | not run | not run |