• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 34398813091
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: fix-issue-16688
DEFAULT BRANCH: main
Ran 09 Sep 2026 08:36PM UTC
Jobs 1
Files 970
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2026 08:04PM UTC coverage: 88.103% (+0.02%) from 88.079%
34398813091

Pull #16932

github

mtreinish
Skip a branch with no leaves when iterating a data tree

`iter_leaves` and `iter_path` primed their lookahead by taking the first leaf of
a nested branch and unwrapping it, so a branch with no leaves beneath it
panicked instead of yielding nothing. `leaf_count` is built on `iter_leaves`, and
assembling a `QuantumProgram` counts a structure's leaves, so a structure holding
an empty branch anywhere but at its root could not be used at all.

Both iterators now step over such a branch and carry on, which is what
`leaf_count` already documents and what `into_leaves` already does.
Pull Request #16932: Skip a branch with no leaves when iterating a data tree

37 of 37 new or added lines in 1 file covered. (100.0%)

5 existing lines in 2 files now uncovered.

119536 of 135678 relevant lines covered (88.1%)

962783.59 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
94.02
0.47% crates/providers/src/data_tree.rs
2
93.06
1.03% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 34398813091.1 09 Sep 2026 08:36PM UTC 970
88.1
GitHub Action Run
Source Files on build 34398813091
  • Tree
  • List 970
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34398813091
  • Pull Request #16932
  • PR Base - ihincks/qp-06a-call-nodes (#34398812923)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc