Back to all steps

Unused CSS/JS

Informational step — it never fails the test and does not compare against any threshold; the result is shown in the step card of the run report. Reports the share of unused code — how much of the loaded CSS and JS is not used while rendering the page («dead weight»). The worker reloads the current page with coverage capture (Chromium Coverage API) and computes the percentage of unused bytes plus the «heaviest» files. No parameters — the current page is checked.
Usage example

Checks “Unused CSS/JS” — how much of the loaded CSS and JS is not used while rendering the page.

No fields required. Informational step — it never fails the test and does not compare against any threshold; the result is shown in the step card of the run report.

The worker reloads the current page with coverage capture (Chromium Coverage API) and computes the percentage of unused bytes plus the «heaviest» files — purely as a reference summary.

Typical scenario:

  1. Go to pagehttps://mysite.com
  2. Unused CSS/JS