CB Site Health & Debug
CB Site Health & Debug

CB Site Health & Debug

0/5 (0 ratings) — active installs Updated Sep 21, 2026
The CB Site Health & Debug performance report, showing status badges and fixes.

The CB Site Health & Debug performance report, showing status badges and fixes.

CB Site Health & Debug is a two-part tool for developers and site owners who want to know why a page is slow and what to fix, without digging through server logs.

1. Front-end debug bar

A toolbar item (visible only to logged-in administrators) that opens a panel showing, for the exact page you’re looking at:

  • Database queries, with timing and the code that triggered each one (requires SAVEQUERIES)
  • Hooks and actions fired, with counts
  • _doing_it_wrong() calls and deprecated function/argument/hook usage
  • PHP notices, warnings, and errors
  • Outbound HTTP API calls and their response times
  • Enqueued scripts and styles, with handles, sources, versions, and dependencies
  • Loaded text domains, transient writes, and capability checks
  • WordPress lifecycle timing (plugins_loaded init template_redirect footer)
  • Template hierarchy and conditional tags
  • A custom cbdd_log( $value ) helper you can call from your own code to send values to the panel, the same way you’d use error_log()

2. Site Health & Debug report (Tools menu)

A page that scans your site for common performance and configuration problems and rates each one Good / Warning / Needs Fixing, with a plain-English explanation and a fix — covering PHP/server settings, database bloat (autoloaded options, revisions, expired transients), caching (object cache, page cache), overdue cron events, unoptimized images, and — when WooCommerce is active — Action Scheduler backlogs.

It also includes:

  • One-click cleanup — remove expired transients, delete old post revisions, clear the slow-query log
  • Slow query log — queries over a configurable threshold are saved across visits, not just the current page load
  • History & trend — a daily snapshot shows what’s newly failing or fixed since the last check, and a 10-day trend table
  • Admin menu badge — a red count bubble on the Tools menu when critical issues exist, refreshed daily even if nobody opens the page
  • Optional weekly email digest — a summary of critical/warning findings sent to an address you choose

Everything is restricted to users with the manage_options capability. Nothing runs for site visitors, and no data leaves your site — there is no external service, tracking, or license check involved.