Risk

Every changed code file, riskiest first. Risk points (0–100, as in the merge risk score) combine its reach with what its diff coverage leaves and its findings. Reach: centrality of each changed file in the import graph: who uses it directly, how many files depend on it through any chain of imports, and how many of the 4 existing pages reach it. High: used by at least half of the pages (or 10+ pages). Medium: used by some page, or by 10+ files, or new code inside existing pages, or deleted. Low: additive, or not used by existing pages.

0
high reach
0
medium reach
2
low reach
Risk: Change:
FileChangeReach (existing pages)Diff coverageFindingsRisk pointsWhy
format.tsadditivelow 0 / 4
67%1 lint6additive change: nothing that existed changed
discount.tsaddedlow 0 / 4
0%2new code not used by existing pages

Security

Static analysis of added lines

XSS sinks, dynamic code execution, hard-coded credentials, javascript: URLs, unsafe cross-window messaging, links without rel=noopener and plain-HTTP URLs on the lines this PR adds (tests and stories excluded).

None.

Vulnerabilities in added or changed dependencies

From the npm/pnpm audit report of the head: advisories on packages this PR added or changed (direct) or on packages they bring in (transitive).

Not verified no audit report given (--audit or signals.audit)

Dependencies

No dependency change in this PR.

Coverage

Diff coverage

44.4%
4 / 9

Files present in the report only: 66.7% (4 / 6).

FileChanged executable linesCoveredUncovered ranges
format.ts647, 14
discount.ts missing from the report301–3

Lint on changed lines

1 error(s) and 1 warning(s) on changed lines; 1 error(s) and 1 warning(s) elsewhere in the files.

LocationSeverityRuleMessage
format.ts:9errorno-magic-numbersNo magic number: 100.
format.ts:14warningno-nested-ternaryDo not nest ternary expressions.

Added suppressions

None.

Modified existing tests

None.

Routes

Pages with changes: 0 affected, 0 new

None.

New files no route reaches

discount.ts

Files

Source (2)
FileStatus+−Additive rule
discount.tsadded30
format.tsmodified120additive
Tests (1)
FileStatus+−Additive rule
format.test.tsadded60

Details

All reasons (3)
ReasonFileDetail
only new declarations, comments or formatting
declarations-additive
format.tsonly additions: new declarations src/lib/format.ts#formatCount, src/lib/format.ts#formatPercent
new file no route reaches
new-file-disconnected
discount.tsnew file that no route reaches
no existing code touched
no-existing-code-touched
the PR only adds new files, routes, exports or keys, or changes tests
Diagnostics

Routes farol cannot read (0)

None.

Unresolved imports (0)

None.

Syntax errors (0)

None.

Time per stage (ms)

diff 0 · readTree 0 · program 0 · graph 0 · routes 0 · base 0 · classify 0 · signals 0 · diffs 0