Code coverage is the measure of how many lines of code your tests have covered. It is expressed as a percentage of the total lines of code in your project.

Code coverage is really about testing all the control flows in your code.

Code coverage can help you visualize which lines have been tested.

The code coverage outcome of this test would tell us that we have covered the following 3 methods: Config::__construct()
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Community Partners