Skip to content

Add test (coverage)

d53f8d5
Select commit
Loading
Failed to load commit list.
Draft

feat: add methods to Subcircuit for finding const inputs #1290

Add test (coverage)
d53f8d5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 28, 2025 in 0s

78.67% (-0.79%) compared to 0f1d700

View this Pull Request on Codecov

78.67% (-0.79%) compared to 0f1d700

Details

Codecov Report

❌ Patch coverage is 73.34852% with 234 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.67%. Comparing base (0f1d700) to head (d53f8d5).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
tket/src/subcircuit.rs 74.78% 165 Missing and 14 partials ⚠️
tket/src/resource.rs 69.35% 18 Missing and 1 partial ⚠️
tket/src/rewrite/strategy.rs 5.00% 19 Missing ⚠️
tket/src/resource/scope.rs 85.71% 5 Missing and 2 partials ⚠️
tket/src/portmatching/matcher.rs 33.33% 4 Missing ⚠️
tket/src/resource/types.rs 0.00% 2 Missing ⚠️
tket/src/rewrite.rs 83.33% 1 Missing and 1 partial ⚠️
tket/src/rewrite/trace.rs 0.00% 1 Missing ⚠️
tket/src/subcircuit/interval.rs 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1290      +/-   ##
==========================================
- Coverage   79.46%   78.67%   -0.79%     
==========================================
  Files         160      161       +1     
  Lines       20378    21364     +986     
  Branches    19446    20398     +952     
==========================================
+ Hits        16194    16809     +615     
- Misses       3201     3560     +359     
- Partials      983      995      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.