🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Switchrail Audit icon
Activement maintenu Testé avec WP 7.1 #3 in code analysis

Switchrail Audit

Check a site's code against the WordPress VIP platform guidelines and coding standard, with an actionable fix for every issue found.

Installations actives<10Nouveau
Téléchargements · 30D148• 0% vs prév. 30j
Évaluation—0 avis
Score de santé64/100Bon
Téléchargements de tous les temps146Depuis novembre 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.0PHP 7.4+
Téléchargements · 7j148• 0% semaine après semaine
Notre verdict

Choix solide

Switchrail Audit is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 3 days ago, and scores 64/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 3 jours
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

204162Nov 30Dec 1Dec 2
Hier5
Moyenne quotidienne (1 ans)49
Jour de pointe83Dec 1, 2026
12 Derniers mois148

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Switchrail Audit stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
code analysis >100 1,762 Best code analysis plugins →
code review >100 9,666 Best code review plugins →
coding standards >100 4,452 Best coding standards plugins →
compatibility >100 10,000 Best compatibility plugins →
phpcs #28 1,407 Best phpcs plugins →

About Switchrail Audit

À partir du Lisez-moi officiel · v1.0.0

Description

This plugin checks a site’s plugins, themes, database and file layout against the publicly documented WordPress VIP platform guidelines and the WordPress-VIP-Go coding standard. It reports what breaks those guidelines, and what to change it to.

Use it as an everyday coding-standard and compatibility check, since the guidelines are a strict, well-documented bar for performance, security and scale on any host. Or use it as a checklist before moving a site to the platform.

It scans every plugin, theme and must-use plugin with a PHP tokeniser rather than pattern-matching raw text, so a function name in a comment, a docblock or a string literal is not mistaken for a call, and $pdo->exec() is not mistaken for a shell command. Where a value cannot be resolved at analysis time, the finding says so and records its confidence instead of asserting an incompatibility it cannot prove.

Findings are separated by what they actually are

  • Incompatible — likely to fail on the platform.
  • Potentially incompatible — depends on runtime conditions; needs a human check.
  • Performance concern — works, but does not scale.
  • Security concern — the kind of issue the platform’s code-review guidelines call out.
  • Redundant on WordPress VIP — the platform already provides it.
  • Coding-standard violation — reported by the WordPress-VIP-Go PHPCS standard.
  • Recommendation and Informational.

Each is scored independently for severity, detection confidence, and the kind of work the fix needs (automatic, manual, configuration, or architectural).

That is the scanner’s reasoning: it drives the ranking and is in every export. What the interface leads with is a single instruction derived from it — must fix, should fix, worth checking or FYI — used on every screen, so there is no vocabulary to learn before the report can be read.

What every finding tells you

The issue title, what was detected, why it matters on the WordPress VIP Platform specifically, the file, line and function, the line of code as evidence, the recommended fix, an alternative approach where one exists, a link to the WordPress VIP documentation the rule came from, and the rule id for a switchrail-audit:ignore annotation. Exports also carry the severity, confidence and matching WordPress-VIP-Go PHPCS sniff.

What gets checked

  • Filesystem and media — writes outside /tmp/ and the uploads directory, directory traversal over the WordPress VIP File System object store, hard-coded upload paths, generated PHP/CSS/JS files, .htaccess and Apache assumptions, and local image processing the platform already performs.
  • Database — storage engines, collations and table prefixes, plus unprepared SQL, uncached queries, unbounded result sets and runtime schema changes.
  • Caching — cache-busting headers, full object-cache flushes, and custom caching layers that duplicate the platform edge cache.
  • Cron — WP-Cron constants and manual cron invocation that conflict with Cron Control.
  • External requests — raw cURL, sockets, remote URLs fetched through filesystem functions, and uncached or untimed HTTP calls.
  • Security — shell execution, dynamic code execution, unserialisation, unescaped request data and dynamic includes.
  • Environment — PHP sessions, runtime ini_set(), server-layout assumptions, and redefined core constants.
  • Platform overlap — plugins WordPress VIP documents as incompatible, plugins that need testing, and plugins duplicating something WordPress VIP already provides.

Déclaration

An overall score and the first three things to do; a map of every plugin, theme, table and path on the site, one square each, by verdict; one ranked list of fixes with the recommended change on the face of every entry, filtered from a column of one-click links; per-plugin, per-theme and per-table breakdowns; scan history with a change summary between runs; and export to JSON, CSV or Markdown for CI, an analysis sheet or a pull request.

The admin menu carries a count of what must be fixed, so the work is visible from anywhere in wp-admin without opening the plugin.

Accuracy

Results are only as good as their false-positive rate, so the scanner resolves local variable assignments before judging a path, checks the fopen() mode so a file opened only for reading is not reported as a write, checks whether a query is cached before calling it uncached, and recognises that an admin-only response is not part of the edge cache. Where it still cannot be sure, it lowers the confidence and says why. Findings can be acknowledged in the source with a // switchrail-audit:ignore <rule-id> -- reason annotation.

The plugin holds itself to the same standard: its own source passes phpcs --standard=WordPress-VIP-Go.

Désistement

Not affiliated with or endorsed by Automattic, WordPress VIP, or the WordPress Foundation.

Usage

Open Switchrail Audit in the admin menu and run a scan from the header. Results are stored, so screens load without re-analysing the codebase. A plugin or theme updated through WordPress, and everything after a rule-set update, is scanned again the next time its screen opens. Code changed any other way, such as a deploy or an edit over SFTP, needs a Rescan.

Rescan re-reads everything. The caret beside it narrows the rescan to one area — plugins, themes, must-use plugins, the database schema or wp-content — which is what you want after updating a single plugin or converting a few tables, and avoids re-tokenising a codebase that has not changed.

Choosing an area takes you straight to that screen and reads its rows one at a time behind a progress bar, so you watch the work happen instead of waiting on a blank page. Stopping partway is safe: rows that never resolved stay marked unscanned and are picked up the next time you open that screen.

Overview answers how the site measures up and what to do first. Findings is one ranked list of fixes, worst first, with the recommended change visible on every card. Plugins, Themes and Must-use give a per-target verdict, with each row expanding to the evidence behind it. Database and wp-content check the schema and the application structure against what WordPress VIP requires.

Scan results are stored in the options table and are only readable by users who can manage_options, or on multisite by network administrators, since the code and the database are shared by every site. The switchrail_audit_capability filter changes this. Results are removed when the plugin is uninstalled.

Installation

  1. Download the plugin ZIP file.
  2. Go to your WordPress admin dashboard.
  3. Navigate to Plugins > Add New and click on Upload Plugin.
  4. Choose the downloaded ZIP file and click Install Now.
  5. After installation, click Activate to enable the plugin.

Journal de modifications

1.0.0

  • Version initiale.
  • Scans every plugin, theme and must-use plugin with a PHP tokeniser against 47 rules drawn from the WordPress VIP platform guidelines, each with a recommended fix and a documentation link.
  • Audits the database schema (engine, collation and prefix) and the wp-content layout.
  • Ranks every finding as must fix, should fix, worth checking or FYI, and gives each plugin, theme, table and path a verdict.
  • An overview with a score, where to start and scan history; a findings list with filters and search; export to JSON, CSV or Markdown.
  • Rescans can be narrowed to one area: plugins, themes, must-use plugins, the database or wp-content.
  • Findings can be acknowledged in the source with a switchrail-audit:ignore annotation.

Journal des modifications complet sur WordPress.org →

Captures d'écran

Overview with the score, the outstanding work by tier, and where to start.
Overview with the score, the outstanding work by tier, and where to start.
Findings, filtered to one tier, with a finding expanded to its evidence, rationale and remediation.
Findings, filtered to one tier, with a finding expanded to its evidence, rationale and…
Plugins, with a row expanded to its author, location and findings.
Plugins, with a row expanded to its author, location and findings.
Themes, with the active theme expanded.
Themes, with the active theme expanded.
Must-use plugins, each with where it belongs on WordPress VIP.
Must-use plugins, each with where it belongs on WordPress VIP.
The database audit with per-table verdicts and the SQL to fix them.
The database audit with per-table verdicts and the SQL to fix them.
The wp-content layout measured against the WordPress VIP application structure.
The wp-content layout measured against the WordPress VIP application structure.

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Switchrail Audit alternatives

All code analysis plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 The Code Registry – Code Backup & Intelligence The Code Registry – Code Backup & Intelligence Backup your code and analyze security vulnerabilities, third-party component usage… by thecoderegistry <10 ★★★★★★★★★★ 5 (1) Il y a 2 ans 28
2 Sajjetti – AI Audit Sajjetti – AI Audit AI-assisted theme and plugin scanner for security, performance, and best practices… by Sajjetti <10 ★★★★★★★★★★ Aucun avis Il y a 1 an 30

FAQ

Switchrail Audit: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Switchrail Audit free?

Yes. Switchrail Audit is free to download and use from the official WordPress.org plugin directory.

Is Switchrail Audit safe to use in 2026?

Switchrail Audit is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 3 days ago, and scores 64/100 on our health check.

How many websites use Switchrail Audit?

Switchrail Audit is active on <10 WordPress websites and has been downloaded 146 times since it launched in November 2026. It was downloaded 148 times in the last 30 days.

Does Switchrail Audit work with WordPress 7.1?

Yes. The developer has tested Switchrail Audit up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does Switchrail Audit need?

Switchrail Audit requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Switchrail Audit last updated?

The latest version, 1.0.0, was released on November 30, 2026 (3 days ago).

Who makes Switchrail Audit?

Switchrail Audit is developed and maintained by Niraj Giri.

What are the best alternatives to Switchrail Audit?

The most popular alternatives to Switchrail Audit are The Code Registry (<10 installs) and Sajjetti – AI Audit (<10 installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir