Code Engine – PHP Snippets, AI Functions & Automation for WordPress

Manage PHP & JS snippets the clean way, then turn any function into an AI tool, a workflow step, or a REST endpoint. Write once, use everywhere. 🤟

v0.5.2Jordy MeowUpdated Added 700 installs100% rating
28
Score
124
Errors
101
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability20

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

225 findings

Security

89

9 issue groups

Maintainability

69

12 issue groups

I18n

36

4 issue groups

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $this->domain21
Category
I18n
Occurrences
21
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: $this->domain

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $alter_query17
Category
Security
Occurrences
17
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $alter_query

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Code Engine: Function name does not match. The name should be {$params['name']}."'.16
Category
Security
Occurrences
16
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Code Engine: Function name does not match. The name should be {$params['name']}."'.

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.15
Category
Security
Occurrences
15
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "MeowKit_MWCODE_Admin".13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "MeowKit_MWCODE_Admin".

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $globalScopeQuery at "SELECT COUNT( * ) FROM $this->table_name WHERE scope IN ('$globalScopeQuery')"12
Category
Security
Occurrences
12
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $globalScopeQuery at "SELECT COUNT( * ) FROM $this->table_name WHERE scope IN ('$globalScopeQuery')"

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $alter_query used in $wpdb->query()\n$alter_query assigned unsafely at line 997.9
Category
Security
Occurrences
9
Severity
error

Sample message

Unescaped parameter $alter_query used in $wpdb->query()\n$alter_query assigned unsafely at line 997.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

Show 15 more
WARNINGSecurityRequest data is not unslashed7
Category
Security
Occurrences
7
Severity
warning

Sample message

$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nText Domain Mismatch7
Category
I18n
Occurrences
7
Severity
error

Sample message

Mismatched text domain. Expected 'code-engine' but got 'meowapps'.

ERRORMaintainabilitydate date6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityNon-prefixed global variable6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$current_mwcode_snippet".

WARNINGSecurityMissing nonce verification6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityForbidden PHP function found5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

The use of function eval() is forbidden

ERRORMaintainabilityrand mt rand5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

mt_rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORSecurityOutput is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$nonce'.

ERRORI18nMissing Translators Comment4
Category
I18n
Occurrences
4
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

ERRORI18nNon Singular String Literal Text4
Category
I18n
Occurrences
4
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $success ? 'OK' : "Could not reset options."

WARNINGMaintainabilityerror log error log3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGSecurityInput is not sanitized3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']

ERRORMaintainabilityfile system operations fwrite3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

WARNINGMaintainabilityNot In Footer3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

WARNINGMaintainabilityDynamic hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$filter".

External Connections

Potential connections found in static code analysis.

12 domains

Outbound calls

46

External assets

0

Incoming endpoints

0

Notable Domains

meowapps.com17 · outbound
php-fig.org2 · outbound
getcomposer.org1 · outbound
jordymeow.com1 · outbound
offbeatjapan.org1 · outbound
stackoverflow.com1 · outbound

Platform / Reference Domains

ps.w.org12 · platform/reference
wordpress.org6 · platform/reference
github.com2 · platform/reference
gnu.org1 · platform/reference
opensource.org1 · platform/reference
w3.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

4 score snapshots

-1
1007550250Jun 25, 2026, 10:10 AM UTC Score 29/100 Plugin v0.4.9 Plugin Check 2.0.0 122 errors, 101 warningsJun 26, 2026, 10:59 AM UTC Score 28/100 Plugin v0.5.0 Plugin Check 2.0.0 124 errors, 101 warningsJun 28, 2026, 02:08 AM UTC Score 28/100 Plugin v0.5.1 Plugin Check 2.0.0 124 errors, 101 warningsJun 30, 2026, 04:45 AM UTC Score 28/100 Plugin v0.5.2 Plugin Check 2.0.0 124 errors, 101 warningsJun 25, 2026Jun 30, 2026

v0.5.2

28

Latest

Findings
225
Errors
124
Warnings
101
Check
2.0.0

v0.5.1

28

Score

Findings
225
Errors
124
Warnings
101
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

35 nodes

Related Plugins