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

shinghim / rust-bitcoin / 14784650235

30 Apr 2025 02:01PM UTC coverage: 84.188% (+0.07%) from 84.115%
14784650235

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#4411: Mutation testing: Add exclusions for match arm/guard mutants

<a class=hub.com/shinghim/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/shinghim/rust-bitcoin/commit/3bcb5b0f8d7e1750675b2aba09f487fb4daab97b">3bcb5b0f8 Add exclusions for match arm/guard mutants (Jamil Lambert, PhD)

Pull request description:

  cargo-mutants 25.0.1 introduced a new mutation pattern that deletes an arm of a match statement or replaces a match guard with true and false. These are applied in sections that have been excluded from mutation testing and cause false positives.
  The match patterns are also now stricter causing previously excluded `impl` to be included.

  Exclude the new match arm and guard mutation patterns.

  Add `impl fmt::` versions for Debug and Display.

  Closes #4402

ACKs for top commit:
  apoelstra:
    ACK 3bcb5b0f8d7e1750675b2aba09f487fb4daab97b; successfully ran local tests
  tcharding:
    ACK 3bcb5b0f8d7e1750675b2aba09f487fb4daab97b

Tree-SHA512: d7a45bdd520da275fd84cc3894b78b0721e

22873 of 27169 relevant lines covered (84.19%)

16437.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

92.33
/primitives/src/script/mod.rs


Source Not Available

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