Add site health check to detect blocked REST API and short-circuit optimization when unavailable #1762
95.36% of diff hit (target 57.41%)
View this Pull Request on Codecov
95.36% of diff hit (target 57.41%)
Annotations
Check warning on line 20 in plugins/optimization-detective/hooks.php
codecov / codecov/patch
plugins/optimization-detective/hooks.php#L18-L20
Added lines #L18 - L20 were not covered by tests
Check warning on line 132 in plugins/optimization-detective/load.php
codecov / codecov/patch
plugins/optimization-detective/load.php#L132
Added line #L132 was not covered by tests
Check warning on line 10 in plugins/optimization-detective/site-health.php
codecov / codecov/patch
plugins/optimization-detective/site-health.php#L9-L10
Added lines #L9 - L10 were not covered by tests
Check warning on line 210 in plugins/optimization-detective/site-health.php
codecov / codecov/patch
plugins/optimization-detective/site-health.php#L210
Added line #L210 was not covered by tests