Skip to content

Instantly share code, notes, and snippets.

@mikeal
Created July 1, 2020 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeal/e6ccae27332a04d8603e0b02ddd4ba40 to your computer and use it in GitHub Desktop.
Save mikeal/e6ccae27332a04d8603e0b02ddd4ba40 to your computer and use it in GitHub Desktop.
show functions with missing coverage
cat coverage/tmp/coverage-* | jq '.result[] | select(.url == "file:///root/dagdb/src/kv.js")
| .functions[] | select(.ranges[].count == 0)'
cat coverage/tmp/coverage-* | jq '.result[] | select(.url == "file:///root/dagdb/src/kv.js")
| .functions[] | select(.ranges[].count == 0) | .functionName'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment