In general it's better to include just what needs to be covered, rather than including everything then trying to exclude things that don't. PHPUnit's exclusions work by file, so including "." then excluding "tests" and "vendor" and so on still requires that PHPUnit scan every file in "tests" and "vendor" before excluding it. In extreme cases, it can get lost in recursive directory loops (cf. #21218 and #18878). While doing this, I found at least four cases where WorDBLess was being used but wasn't being excluded, so coverage was being generated for all of WordPress. I also took the time to fix various broken `@covers` directives as I came across them while verifying that these changes still covered everything that had been covered before. I didn't update plugins/jetpack or plugins/vaultpress to avoid exclusions, as they have too many `.php` files in their root directories. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/1392089109
d99b470