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

bleedingdeacons / unity / 30099123109
96%

Build:
DEFAULT BRANCH: main
Ran 24 Jul 2026 01:59PM UTC
Jobs 1
Files 8
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

24 Jul 2026 01:59PM UTC coverage: 94.079% (+73.8%) from 20.248%
30099123109

push

github

web-flow
test: raise coverage to ~92% (tests only) (#23)

Lift Unity's line coverage from ~20% to ~92% without touching any
production code — the eight concrete classes (the container, config
store, cache adapter, service provider, logger trait, exception, the
ResponderCertification enum and the Plugin bootstrap) now sit at 100%
method coverage.

- phpunit.xml: exclude the pure-interface directories from coverage.
  They carry no executable behaviour — only the
  `if (!defined('ABSPATH')) exit;` guard — so they have nothing to
  unit-test and only distort the denominator, exactly as Reach and
  Integrity exclude their src/Admin render glue. The remaining ~8%
  is those unreachable exit guards in the concrete files.
- tests/bootstrap.php: add a Sentinel_Log_Channel stub so the HasLogger
  path can be exercised.
- New tests: UnityConfiguration, WordPressCache (WP_Mock wp_cache_*),
  UnityServiceProvider, DependencyNotRegisteredException,
  ResponderCertification, HasLogger, and the Plugin static façade
  (init / initContainer / initServices / getContainer / getInstance /
  setInstance / deactivate) plus tracker resolution and its guards.
- .gitignore: ignore the local tests/coverage HTML report.

47 tests green; PHPStan clean. CI already uploads Clover to Coveralls.

143 of 152 relevant lines covered (94.08%)

3.09 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
92.0
88.0% unity/unity/src/Logger/HasLogger.php
Jobs
ID Job ID Ran Files Coverage
1 30099123109.1 24 Jul 2026 01:59PM UTC 8
94.08
GitHub Action Run
Source Files on build 30099123109
  • Tree
  • List 8
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30099123109
  • b6923912 on github
  • Prev Build on main (#30029028130)
  • Next Build on main (#30554438876)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc