Skip to main content

Coverage Audit

What you’ll learn#

  • What is Coverage Audit
  • How to setup Coverage Audit
Canarytrace Pro

Canarytrace collects requests on resources e.g. (javascript and css) and measures how much percentage is not used. All data are saved into c.coverage-audit-* Elasticsearch index. Coverage audit is ideal to monitor if you want to speed up web loading and if you want to save on data transfer in the cloud.

Example
{
"total": 685,
"unused": 42,
"percentUnused": 6,
"url": "https://bat.bing.com/p/action/26080613.js",
"labels": [
"mode=canarytrace-smoke-pro-4.21.5",
"engine=wdio",
"develop002336"
],
"spec": "smoke.js",
"testStep": "https://your-web.com",
"uuidAction": "d2494b9f1089bb2348ef",
"uuid": "6c0bdcb54d3dda801f1e6f6b44f59f17",
"timestamp": "2022-02-20T23:23:46.631Z"
}