Skip to content

Exclude test code from coverage reports - #8255

Merged
Amaury Chamayou (achamayou) merged 1 commit into
mainfrom
achamayou-fix-coverage-calculation
Sep 1, 2026
Merged

Exclude test code from coverage reports#8255
Amaury Chamayou (achamayou) merged 1 commit into
mainfrom
achamayou-fix-coverage-calculation

Conversation

@achamayou

Copy link
Copy Markdown
Member

Summary

  • exclude third-party, test, and performance code from LLVM coverage reports
  • keep coverage focused on the framework implementation

Validation

  • Bash syntax check
  • ShellCheck
  • copyright and ASCII checks

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 1, 2026 20:17
@achamayou
Amaury Chamayou (achamayou) requested a review from a team as a code owner September 1, 2026 20:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The script’s CLI help text is now out of date with the newly expanded coverage exclusions and should be updated to match actual behavior.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the LLVM coverage aggregation script to exclude non-framework sources so coverage reports focus on CCF’s core implementation rather than the code exercising it.

Changes:

  • Expand llvm-cov’s -ignore-filename-regex to filter out third-party, test, and performance paths.
File summaries
File Description
scripts/coverage.sh Extends the ignore regex for llvm-cov coverage reporting to exclude additional non-framework code paths.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scripts/coverage.sh
@achamayou
Amaury Chamayou (achamayou) merged commit cd60587 into main Sep 1, 2026
14 checks passed
@achamayou
Amaury Chamayou (achamayou) deleted the achamayou-fix-coverage-calculation branch September 1, 2026 20:41
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.

3 participants