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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/upload-artifact-7
DEFAULT BRANCH: master
Ran 30 Mar 2026 11:35AM UTC
Jobs 1
Files 89
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

30 Mar 2026 11:32AM UTC coverage: 65.613% (-0.5%) from 66.102%
23742596401

Pull #707

github

ptondereau
fix(memory): eliminate module definition memory leak

Store the ModuleEntry in a static (StaticModuleEntry) instead of
Box::into_raw, mirroring how C extensions use a static zend_module_entry.
Free all secondary heap allocations (name, version, functions, arg_info,
class-name pointers) during MSHUTDOWN via cleanup_module_allocations().

Reduces valgrind-reported leaks by ~44% (10KB / 225 blocks) on the test
extension. Remaining leaks are from class registration — a separate concern.

Closes #540
Pull Request #707: fix(memory): eliminate module definition memory leak

6 of 59 new or added lines in 1 file covered. (10.17%)

54 existing lines in 5 files now uncovered.

8071 of 12301 relevant lines covered (65.61%)

31.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
53
9.68
-90.32% src/zend/module.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
0.0
0.0% src/types/mod.rs
3
9.68
-90.32% src/zend/module.rs
4
22.34
-4.26% src/convert.rs
16
80.59
-1.97% src/types/zval.rs
28
89.73
-0.3% crates/macros/src/function.rs
Jobs
ID Job ID Ran Files Coverage
1 23742596401.1 30 Mar 2026 11:35AM UTC 89
65.61
GitHub Action Run
Source Files on build 23742596401
  • Tree
  • List 89
  • Changed 8
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23742596401
  • Pull Request #707
  • PR Base - master (#23739555840)
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