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

Qiskit / qiskit / 10838195456
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: doc/code-review
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

Jobs
ID Job ID Ran Files Coverage
1 10838195456.1 12 Sep 2024 08:45PM UTC 0
88.91
GitHub Action Run
Source Files on build 10838195456
Detailed source file information is not available for this build.
  • 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