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

Qiskit / qiskit / 20106402736
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: rust_qpy
DEFAULT BRANCH: main
Ran 10 Dec 2025 05:28PM UTC
Jobs 1
Files 881
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

10 Dec 2025 04:48PM UTC coverage: 88.309% (-0.002%) from 88.311%
20106402736

push

github

web-flow
Unify symbol-extraction code in control-flow blocks parameter tracking (#15428)

* Unify symbol-extraction code in control-flow blocks parameter tracking

Previously, the `CircuitData::track_instruction_parameters` and
`untrack_instruction_parameters` logic was duplicated for extracting
symbols from blocks, which was particularly hard to update because it
involves coupled magic numbers.

This factors it out into a single "map" logic, which guarantees that the
two will always be in sync with each other.  This wasn't easily possible
earlier because of the borrow-check rules on how
`CircuitData::try_view_control_flow` worked, but with that factored out
to `ControlFlowView::try_from_instruction`, we can now have the
finer-grained borrow-check control that lets us do this.

A side effect of `ControlFlowView::try_from_instruction` is that we no
longer need to clone blocks in the way the algorithm is written, which
is more performant for construction.

* Document internal method for clarity

54 of 56 new or added lines in 1 file covered. (96.43%)

21 existing lines in 3 files now uncovered.

96254 of 108997 relevant lines covered (88.31%)

1206278.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.71
0.26% crates/circuit/src/circuit_data.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
73.31
0.25% crates/circuit/src/parameter/symbol_expr.rs
6
92.29
-0.26% crates/qasm2/src/lex.rs
12
97.09
-0.94% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 20106402736.1 10 Dec 2025 05:28PM UTC 881
88.31
GitHub Action Run
Source Files on build 20106402736
  • Tree
  • List 881
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20106402736
  • 7f49ad60 on github
  • Prev Build on gh-readonly-queue/main/pr-15430-1258df0421908937b645e2d2f4d06e962323e4a4 (#20105226654)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc