Skip to content
Sign in

WPTwins-Detective

Evidence for performance investigations, update comparisons and client reports.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

WPTwins is an independent publisher. This plugin is not affiliated with or endorsed by the WordPress Foundation or the WordPress project.

A free diagnostic tool. All included features work without a WPTwins account, license key or purchase. It measures and explains; it does not automatically optimize, update, restore or roll back the site. Optional Google API checks require your own provider configuration.

  • Opt-in PHP sampling: 15 minutes, maximum 200 samples, median/p95 duration, memory and query count. Public anonymous requests only; excludes ordinary WooCommerce requests and WP-MachCache hits.
  • Investigate: one signed anonymous GET of a public page, product, category, cart or checkout. Actual query timing aggregated by calling component, plugin loading intervals, remote HTTP host timings, PHP duration and memory.
  • Update Checks: same configured public paths, three HTTP runs each, median duration, HTTP status and component inventory comparison. Cache-state differences and unstable status are flagged instead of declaring a performance regression.
  • Reports & Alerts: thresholds, repeated findings, 30-entry history, JSON and printable HTML reports that can be saved as PDF. Optional WP-Cron comparison after WordPress upgrader update events against an administrator-captured baseline. No email notifications.
  • Browser Performance: manual Google PageSpeed Insights jobs for mobile and desktop. LCP, CLS, TBT, FCP, Speed Index, score and optimization opportunities. Separate CrUX p75 field data for mobile/desktop including INP, where available.
  • Clear, readable reports with contextual guidance and a radar identity.

Start here

  1. Capture a baseline under Update Checks before making changes.
  2. Update on staging and run a comparison. Three requests per path, up to five paths, eight-second timeout per run. Keep a verified backup separately.
  3. Use Investigate for a suspected slow page. Compare like-for-like measurements; profiling adds overhead.
  4. Reports & Alerts controls optional post-update comparisons and the Google API key.
  5. Browser Performance explicitly sends the chosen public URL to Google. Checks run sequentially through WP-Cron; a working cron and site traffic are required. Errors and unavailable data are shown, not replaced by invented scores.

Google connection

Create a project in Google Cloud, enable PageSpeed Insights API and Chrome UX Report API, create an API key, restrict it to these APIs and (when appropriate) your server IP, and enter it in Reports & Alerts. The key is stored in a non-autoloaded WordPress option and is excluded from exports. Blank input preserves the key; Remove stored API key removes it.
PageSpeed quotas may require a key. CrUX requires a configured key and sufficient eligible traffic for that URL/device. No provider charges or paid plan are activated by this plugin. Your Google project/provider quotas apply.
Documentation: https://developers.google.com/speed/docs/insights/v5/get-started
Field data: https://developer.chrome.com/docs/crux/api
Privacy: https://policies.google.com/privacy
Terms: https://policies.google.com/terms

Measurement limits

A slowdown near an update is correlation, not proof of cause. Server-to-server response time is not browser load time. A three-run median reduces noise but is not a controlled load test.
Plugin loading intervals cover only plugins observed after Detective begins loading; they are not full per-plugin runtime or exclusive function profiling. Query attribution is by the first observed plugin/theme caller. Earlier bootstrap work, MU plugins, drop-ins, raw cURL and direct database connections may be outside coverage. At most 5,000 queries are aggregated and 100 HTTP calls retained per profile. SAVEQUERIES is enabled only in the signed probe request if it was not explicitly disabled by the site; SQL may exist transiently in PHP memory, never in Detective’s stored reports. No wp-config.php changes are made.
WooCommerce investigations use an empty anonymous session, read-only GET, no cookies and no submitted order data. Checkout can redirect to an empty cart. They do not validate purchases, payment providers, logged-in customers or shipping integrations. Public browser checks exclude customer and transaction routes.
Passive sampling still uses a bounded option and can lose simultaneous samples under concurrency. Deep profiles bypass compatible caches, but an upstream cache/firewall may prevent a profile; this is reported as unavailable.
Lighthouse is lab data. CrUX is aggregate real-user data for Google’s reported period, not a real-time visitor monitor. Lack of field data does not mean good or bad performance.

Privacy, permissions and lifecycle

Actions require POST, manage_options and valid WordPress nonces. Probe tokens are random, short-lived, path-scoped and not stored in reports. Reports never retain SQL, visitor IPs, cookies or query strings. Configured public paths, component names, remote host names and performance aggregates can appear in reports; keep exported reports private. API keys are not exported.
History displays up to 30 entries from the last 30 days; expired history is pruned on history access/write. Other latest reports and baselines remain until cleared or uninstalled. Deactivation stops collection and scheduled jobs but preserves settings/reports. WordPress uninstall removes this plugin’s options and jobs. Expiring probe transients follow WordPress transient cleanup.
Former UpdateGuard settings are copied once without overwriting Detective data; legacy source options are retained.

Artwork and trademarks

Bundled code and artwork are licensed under GPL-2.0-or-later. This copyright license does not grant trademark rights. See ASSETS-LICENSE.txt and TRADEMARKS.txt.

Written by Joobi from the project's own listing. See the source page

diagnosticsmonitoringperformanceprofiling
22 Nov 2026
Version 0.3.15 released. Not scanned yet.

0.3.15

  • Replace the promotional card with a small, quiet Overview-only strip.
  • Automatically hide the strip when WP-MachCache is installed, including inactive installations. Remove manual hide/restore controls; previous dismissal preferences no longer control visibility.

0.3.14

  • Compact WP-MachCache card with an original, bundled website-speed illustration (not a product logo).
  • Restore a hidden recommendation from Workspace > Recording Settings, for the current administrator only. Protected by capability and nonce checks.

0.3.13

  • Add a dismissible, text-only WP-MachCache companion card at the top right of Overview, independent of diagnostic results.
  • Clearly identify the optional paid product; preserve administrator dismissal across updates. No logo, tracking or external assets.

0.3.12

  • Selected radar-D identity with transparent artwork and subtle hover/focus light effects.
  • Refresh banners, icons and actual interface screenshots. Respect reduced-motion preferences.

0.3.11

  • New original Detective lens and performance-signal icon, licensed GPL-2.0-or-later.
  • Update visible companion product references to WP-MachCache.
  • Refresh directory artwork and screenshots. No diagnostic behavior changes.

0.3.9

  • Generate printable report styles through the WordPress Styles API while preserving offline viewing.
  • Complete the exported HTML document structure.

0.3.8

  • Version logo URLs in the admin menu and header so updates request fresh artwork automatically.

0.3.7

  • Keep open product icons and text-only by WPTwins attribution.
  • Remove WPTwins and WP-MachCache brand artwork from directory packages; preserve Explore WP-MachCache link.

0.3.6

  • Restored original logos with explicit GPL artwork licensing and separate trademark notice.

0.3.4

  • New navy, cobalt and yellow visual system matching WPTwins, refined controls and subtle motion effects.
  • Reduced-motion support; functional settings and stored data are unchanged.

0.3.3

  • Free distribution without a license or purchase requirement.
  • Optional, dismissible WP-MachCache suggestion based on a recent slow public-page profile; existing diagnostics are unchanged.

0.3.2

  • Add prioritized, evidence-based findings with recommended actions and verification steps in Investigate, Reports and exports.
  • Compare the previous profile on the same path without claiming single-run causation.
  • Distinguish background HTTP dispatch from failure; old HTTP 0 is marked unknown.

0.3.1

  • Redesign the complete Detective interface with grouped top navigation, a blue/white diagnostics workspace, accessible controls and responsive data tables. Existing diagnostics and settings are preserved.

0.3.0

  • Add signed request investigations, caller-attributed database aggregates, observed plugin loading and remote HTTP timings.
  • Add safe anonymous WooCommerce request investigations.
  • Add three-run update comparisons, regression thresholds, repeated dashboard alerts and opt-in post-update jobs.
  • Add investigation history, JSON and printable client reports.
  • Add sequential mobile/desktop PageSpeed integration and separate CrUX field data with explicit unavailable/error states.
  • Add provider key management, POST-only actions and new DETECTIVE by WPTwins branding.

0.2.0

  • Incorporate former UpdateGuard baseline, inventory, public checks and update history.

0.1.0

  • First local PHP diagnostics preview.
19 Nov 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)