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

Qiskit / qiskit / 10838195456
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: lightcone-fix
DEFAULT BRANCH: main
Ran 12 Sep 2024 08:45PM UTC
Jobs 1
Files 884
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

12 Sep 2024 08:23PM UTC coverage: 88.911% (-0.01%) from 88.925%
10838195456

push

github

web-flow
Move `Option<Box<_>>` into `ExtraInstructionAttributes`. (#13127)

* Move Option<Box<_>> into ExtraInstructionAttributes.

Previously, CircuitInstruction and PackedInstruction held
the ExtraInstructionAttributes struct within an Option<Box<_>>.
By putting the Option<Box<_>> inside ExtraInstructionAttributes,
we can use the struct itself to manage its memory and provide
access to the attributes behind a nicer interface.

The size of ExtraInstructionAttributes should be the same size
as the old Option<Box<ExtraInstructionAttributes>>, so this
should not have memory implications.

* Address review comments.

- Use tuple struct.
- Use 'Attributes' over 'Attrs'.
- Add doc comment for internal 'ExtraAttributes' struct.
- Add doc comments for methods.
- Add setters for unit and duration.

* Fix performance regression from unnecessary dict creation.

107 of 164 new or added lines in 8 files covered. (65.24%)

13 existing lines in 5 files now uncovered.

73443 of 82603 relevant lines covered (88.91%)

362237.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.68
0.6% crates/circuit/src/packed_instruction.rs
2
81.49
4.38% crates/circuit/src/dag_node.rs
54
78.11
-4.82% crates/circuit/src/circuit_instruction.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.73
0.07% crates/circuit/src/dag_circuit.rs
1
94.02
-0.24% crates/qasm2/src/expr.rs
2
88.26
-0.36% qiskit/transpiler/passes/synthesis/unitary_synthesis.py
3
91.98
-0.25% crates/qasm2/src/lex.rs
6
90.91
-4.55% qiskit/synthesis/two_qubit/xx_decompose/decomposer.py
Jobs
ID Job ID Ran Files Coverage
1 10838195456.1 12 Sep 2024 08:45PM UTC 884
88.91
GitHub Action Run
Source Files on build 10838195456
  • Tree
  • List 884
  • Changed 62
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c655acb5 on github
  • Prev Build on gh-readonly-queue/main/pr-13126-b083de6cdefac86c47171f4b8e4ef2913979bebc (#10837470562)
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