WPTwins-Detective Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
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 TurboCache 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 magnifier/pulse identity.
Start here
- Capture a baseline under Update Checks before making changes.
- 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.
- Use Investigate for a suspected slow page. Compare like-for-like measurements; profiling adds overhead.
- Reports & Alerts controls optional post-update comparisons and the Google API key.
- 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.
Screenshots
Overview: bounded sampling controls, measurement context and next-step guidance.
Investigate: a real anonymous profile from an isolated WordPress test installation. Results depend on the site and request.
Reports & Alerts: comparison thresholds, optional scheduling and Google connection settings.

