Skip to content

docs: document function coverage in deno coverage#3093

Open
lunadogbot wants to merge 3 commits into
denoland:mainfrom
lunadogbot:docs/2.8-coverage-functions
Open

docs: document function coverage in deno coverage#3093
lunadogbot wants to merge 3 commits into
denoland:mainfrom
lunadogbot:docs/2.8-coverage-functions

Conversation

@lunadogbot
Copy link
Copy Markdown
Contributor

Summary

Documents the new function-coverage column in the summary table and HTML report shipping in Deno 2.8 (denoland/deno#32507).

  • New "Function coverage" subsection in runtime/reference/cli/coverage.md.
  • Mock summary-table snippet showing the new column alongside Branch % and Line %.
  • Notes that the lcov output already contained the data — only the textual / HTML reporters changed.

Test plan

  • deno task serve — section renders.

Adds a "Function coverage" subsection to the deno coverage reference
page describing the new function-coverage column added to the summary
table and HTML report in Deno 2.8. Notes that the underlying data was
already in lcov output — only the human-readable reporters changed.

Refs denoland/deno#32507
Function coverage shipped in 2.7.5 (deno#32507), not 2.8.
@lunadogbot lunadogbot changed the title docs: document function coverage in deno coverage (2.8) docs: document function coverage in deno coverage May 2, 2026
Copy link
Copy Markdown
Contributor

@fibibot fibibot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claim matches denoland/deno#32507 (merged 2026-03-07): function-coverage column added to summary table and HTML report; lcov already carried the data. Definition ("percentage of declared functions called at least once") is accurate. CI is green.

  • nit: the mock table code fence has no language tag — console or text matches the rest of the repo's plain-output blocks.
  • nit: last_modified: 2025-04-23 should bump for a new section.
  • 2.8-gating is the maintainer's call; flagging since the upstream feature only ships in 2.8.

@fibibot
Copy link
Copy Markdown
Contributor

fibibot commented May 14, 2026

@bartlomieju this is ready to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants