npm test -- --files link/link.js -c
=============================== Coverage summary ===============================
Statements : 89.47% ( 170/190 )
Branches : 73.33% ( 44/60 )
Functions : 88.37% ( 38/43 )
Lines : 89.25% ( 166/186 )
================================================================================

This makes text reporter a bit useless.
That's a glob for which test files to run. It's not always possible to match them with files in src/.
It might be simple if we agree to keep the same files structure in src and tests.
Something like:
const filesToCover = glob.sync( providedGlob )
.forEach( path => path.replace( '/tests/', '/src/' ) );
It's also simple if we agree that we use simple CC stats for whole packages only ;). If you work with just one file, then you can open the results for that specific file.
With matching the src structure the problem is that sometimes we have more test files than src files. Not to mention cases where we test dev utils kept in tests/ or some other uncommon scenarios.

I feel so bad now ;)
Most helpful comment