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

bleedingdeacons / sentinel / 30470902232
91%

Build:
DEFAULT BRANCH: main
Ran 29 Jul 2026 04:29PM 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

29 Jul 2026 04:28PM UTC coverage: 90.517% (+9.2%) from 81.3%
30470902232

push

github

web-flow
test: raise line coverage to ~90% (tests only) (#16)

Close the ~10-point gap to 90% with tests only (no production changes):

- SentinelLoggerEngineTest: the logger engine — buffered dispatch/flush (with
  redaction), the enabled/threshold guards, createTable/truncateTable/dropTable,
  config resolution and request-type detection — driven against the bootstrap's
  $wpdb stand-in (complements SentinelLoggerTest's pure-logic coverage)
- UnityControlPageExtraTest: the runtime-killed and development-mode render
  branches (isolated processes, since they need the real UNITY_KILL / PRODUCTION
  constants), plus the marker-insert and no-op writer branches
- UnityControlPageFailureTest / SettingsPageFailureTest: the write-failure
  branches, reached deterministically by occupying the atomic writer's temp path
  with a directory so file_put_contents() fails while wp-config.php stays
  writable
- StatusDashboardKilledTest: the UNITY_KILL-engaged dashboard render (kill-switch
  badge, dependents stood down, alert help block), in an isolated process

The one previously-fixed defect these lean on: the writers check is_writable on
the same path isWpConfigWritable() does, so the failure branches are otherwise
unreachable from a writable config — the directory-at-temp-path trick exercises
them without a real permission change.

1699 of 1877 relevant lines covered (90.52%)

4.33 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
98.4
3.56% src/Admin/SettingsPage.php
1
96.78
20.17% src/Admin/UnityControlPage.php
Jobs
ID Job ID Ran Files Coverage
1 30470902232.1 29 Jul 2026 04:29PM UTC 8
90.52
GitHub Action Run
Source Files on build 30470902232
  • Tree
  • List 8
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30470902232
  • 1bc693c6 on github
  • Prev Build on main (#30055179211)
  • Next Build on main (#30554465855)
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