BugSleuth AI reviews installed plugins, installed themes, and individual PHP, JavaScript, CSS, and HTML files.
The built-in analyzer uses the PHP tokenizer. It does not execute the scanned code and does not require an AI API key. Optional AI review sends redacted excerpts to OpenAI only after you enable AI, store an API key, and consent to external processing.
Suggested code changes stay pending until you preview the diff, approve the suggestion, and confirm that it should be applied. A verified backup is written before a file is replaced. Rollback is refused when the file has changed again.
PHP_CodeSniffer, WordPress Coding Standards, and PHPCompatibility are not bundled. The plugin reports them as unavailable until you configure an executable. It does not pretend those tools ran.
- Upload the
bugsleuth-ai folder to /wp-content/plugins/, or upload bugsleuth-ai.zip from Plugins → Add Plugin → Upload Plugin.
- Activate BugSleuth AI.
- Open BugSleuth AI → New Code Review and start a static review.
- Open Settings if you want to configure OpenAI. Static analysis works without a key.
No Composer, Node.js, SSH, or shell access is required on the hosting server.