DisCoverage

DisCoverage

This extension helps to analize css and javascript coverage reports for multiple resource files and multiple pages at once.

What is DisCoverage?
DisCoverage is a Chrome extension designed to help optimize page loading speed by analyzing CSS and JavaScript coverage reports. It allows you to detect unused code on multiple pages and for multiple resource files. With features like code preview, line information, and coverage reduction, DisCoverage provides valuable insights for optimizing your website's performance.
Merlin
Stats
This extension was removed from Chrome Web Store on 2022-07-14
By: xtech.dev
Users: 1,000+
Rating: 3.71 (7)
Version: 1.0.1 (Last updated: 2019-11-15)
Creation date: 2019-11-15
Risk impact: High risk impact
Risk likelihood: High risk likelihood
Manifest version: 2
Permissions:
  • debugger
  • storage
  • activeTab
  • file://*/*
Size: 242.69K
Stats date:

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.
Chrome-Stats extension
Merlin
Summary

The story One of important issues with page loading speed optimization is to reduce size of css and javascript resources. Usually optimization tools (like lighthouse) gives us a clue to "cut" unused css rules or javascript functions.

So how to detect what is really unused?

Lately i have discovered chrome coverage tool that I find very useful (https://developers.google.com/web/updates/2017/04/devtools-release-notes#coverage). The main limitation of this awesome tools is that it works only in the context of a single page.

Now i hear your say: Right, but my website consists of multiple pages and all of them share same javascript and css resources...

Well, that was my problem too. Till i have decided to write and extension that will be able to analyze coverage data for multiple websites.

Usage Collecting coverage reports:

  1. Install DisCoverage extension.
  2. Ensure "Allow access to file URLs" on extension management screen is ENABLED (https://user-images.githubusercontent.com/3299098/46309757-2f946c80-c572-11e8-91a9-e417a8ab8981.png)
See more
User reviews
Errors occured while loading files: ( Cannot find any .json files inside specified directory. )
by 许可 许可, 2021-06-04

Super helpful extension. Hopefully DevTools will add the feature that allows one to export only the used lines of CSS.
by Dario Manoukian Dario Manoukian, 2020-01-29

I just tried the extension on the latest version of Chrome. I put 2 json files in the folder but the extension read only one
View all user reviews
Safety
Risk impact

DisCoverage is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this extension. Review carefully before installing. We recommend that you only install DisCoverage if you trust the publisher.

Risk likelihood

DisCoverage may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.

Upgrade to see risk analysis details
Similar extensions

Here are some Chrome extensions that are similar to DisCoverage: