PhpStorm
 
Get PhpStorm

Find unused code with coverage

Last modified: 29 September 2022

Required plugins:

Javascript and TypeScript, JavaScript Debugger -  The plugins are bundled with PhpStorm and enabled by default.

PhpStorm lets you find unused JavaScript, TypeScript, and CSS code in your client-side applications. When you run an application in the special Code Coverage mode, PhpStorm creates a report showing how much code in every file and folder was used. Thanks to source maps, this report shows coverage for your source files but not for the compiled code that was actually run in the browser.