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

rpgmem / ffcertificate / 24543468876
70%

Build:
DEFAULT BRANCH: main
Ran 17 Apr 2026 01:59AM UTC
Jobs 1
Files 165
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

17 Apr 2026 01:46AM UTC coverage: 58.64% (-0.06%) from 58.702%
24543468876

push

github

web-flow
Claude/review repo improvements w p bhb (#32)

* test: add 45 tests covering Geofence validation + Loader initialization

New test files:
- GeofenceDatetimeValidationTest (12 tests): daily + span mode datetime
  validation, all branch paths including edge cases
- GeofenceGeolocationTest (17 tests): parse_areas, validate_geolocation
  with IP fallback scenarios, has_form_expired_by_days
- GeofenceFrontendConfigTest (10 tests): get_form_config boolean casting,
  get_frontend_config with admin bypass / partial bypass / regular user
- LoaderTest (6 tests): constructor hook registration, frontend asset
  registration and localization

Closes the remaining coverage gaps in security-critical geofence code
and the main plugin loader.

https://claude.ai/code/session_013mTv5ethMq15faTc8FKta9

* fix(geofence): frontend config flags always false due to type mismatch

get_form_config() casts boolean fields to PHP bool (true/false), but
get_frontend_config() compared them with '1' === $config['...'] which
is always false ('1' === true → false in PHP strict comparison).

This caused the JS frontend to never enforce datetime or geolocation
restrictions — forms were always shown regardless of configured
restrictions. The backend validation in can_access_form() was
unaffected (uses truthiness check).

Fix: compare the already-cast boolean values directly instead of
against the string '1'.

https://claude.ai/code/session_013mTv5ethMq15faTc8FKta9

* fix(admin): correct submission link filter + add CSV download column

1. Fix submission count link: use filter_form_id instead of form_id
   so clicking the count actually filters the submissions list.

2. Add "CSV Downloads" column to the forms list table showing the
   public download count for forms with CSV download enabled.
   Displays count/limit when a quota is set, or just the count
   otherwise. Shows dash when CSV download is not enabled.

https://claude.ai/code/session_013mTv5ethMq15faTc8FKta9

* feat(geofence): ad... (continued)

116 of 238 new or added lines in 5 files covered. (48.74%)

16890 of 28803 relevant lines covered (58.64%)

3.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
67
34.41
-3.46% includes/admin/class-ffc-form-editor-metabox-renderer.php
43
53.98
-33.16% includes/settings/tabs/class-ffc-tab-geolocation.php
8
29.59
1.02% includes/admin/class-ffc-form-editor-save-handler.php
3
96.88
includes/security/class-ffc-geofence-location-registry.php
1
94.24
-0.21% includes/security/class-ffc-geofence.php
Jobs
ID Job ID Ran Files Coverage
1 24543468876.1 17 Apr 2026 01:59AM UTC 165
58.64
GitHub Action Run
Source Files on build 24543468876
  • Tree
  • List 165
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24543468876
  • c4b80562 on github
  • Prev Build on main (#24542627676)
  • Next Build on main (#24543841729)
  • Delete
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