Code coverage
Code coverage in PhpStorm lets you determine the share of code covered by tests and identify areas that lack sufficient test coverage.
In general, code coverage answers the question "Was this line of code executed during unit testing simulation?" Measuring code coverage is available for PHP (PHPUnit tests, Pest tests) and JavaScript (Mocha tests, Karma tests).
In this section, read about:
Last modified: 13 November 2024