measure_coverage
Identify unused JavaScript and CSS code by measuring per-file byte coverage on the current page, revealing optimization opportunities.
Instructions
Measure JavaScript and CSS code coverage on the current page. Returns per-file byte usage showing how much code was actually executed/applied versus total loaded. Useful for identifying unused bundles, oversized dependencies, and performance optimization opportunities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Which coverage to measure: 'js' for JavaScript only, 'css' for CSS only, 'all' for both | all |
| reset | No | Stop any in-progress coverage, clear data, and restart fresh |