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

extphprs / ext-php-rs / 25674249509
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: fix/740-drop-clang-sys-fork
DEFAULT BRANCH: master
Ran 11 May 2026 01:53PM UTC
Jobs 1
Files 96
Run time 1min
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

11 May 2026 01:46PM UTC coverage: 66.23% (-0.01%) from 66.241%
25674249509

Pull #735

github

ptondereau
test: regression coverage for ZendClassObject<T> set_zval refcount leak

Adds an integration test that exercises the exact buggy code path
fixed in the previous commit: a class extending \Exception with a
#[php(prop)] field, constructed via ZendClassObject::new(...)
.into_zval(...) and thrown via PhpException::with_object. Memory
growth across 1024 throws is measured against a warm baseline:
the unfixed path leaks ~80 bytes per iteration (~80 KB total),
the fixed path stays within a few KB of allocator jitter.

The HT shutdown assertion only fires on a debug PHP build, so
measuring growth keeps the regression visible on release PHP
too. Verified locally: the test fails (655 KB growth) with the
fix reverted and passes (<8 KB growth) with the fix applied.
Pull Request #735: fix: leak one refcount in ZBox<ZendClassObject<T>>::set_zval

0 of 4 new or added lines in 2 files covered. (0.0%)

9 existing lines in 1 file now uncovered.

8653 of 13065 relevant lines covered (66.23%)

33.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
41.18
-0.82% src/enum_.rs
2
0.0
0.0% src/types/class_object.rs

Coverage Regressions

Lines Coverage ∆ File
9
0.0
0.0% src/types/class_object.rs
Jobs
ID Job ID Ran Files Coverage
1 25674249509.1 11 May 2026 01:53PM UTC 96
66.23
GitHub Action Run
Source Files on build 25674249509
  • Tree
  • List 96
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25674249509
  • Pull Request #735
  • PR Base - master (#24796431378)
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