Updated on 2019–06–23. PHPUnit Code Coverage Analysis is often used with xdebug as the coverage data source. But it has one major drawback: it can become very slow. As a reference, here are my results of running the test suites of three sample projects: As you can see, activating the code coverage analysis multiplies the time needed to run the test suites. Those are just examples of course, and de
![Speed up PHPUnit Code Coverage Analysis](https://cdn-ak-scissors.b.st-hatena.com/image/square/bf0ed497f12c165c3f7f00b3f552ac266c22838c/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2A7Jfw3WQroFLyFcpyNVDW6Q.png)