WP-Memory-Usage

Monitor PHP memory usage, set alert thresholds, and diagnose your server configuration — directly inside WordPress admin.

v2.3.0berkuxUpdated Added 10k+ installs90% rating
89
Score
4
Errors
9
Warnings
+0
Change

Category Scores

Security82
Repo100
Performance100
Maintainability95

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

13 findings

Security

5

2 issue groups

I18n

4

2 issue groups

Maintainability

4

2 issue groups

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$table} at "SELECT log_data FROM `{$table}` WHERE log_type = 'log' ORDER BY id ASC"4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$table} at "SELECT log_data FROM `{$table}` WHERE log_type = 'log' ORDER BY id ASC"

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d, %3$d", but got "%d, %d, %d" in 'Danger (%d%%) and Critical (%d%%) thresholds are very close together (gap: %d%%). Consider a gap of at least 5%%.'.3
Category
I18n
Occurrences
3
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d, %3$d", but got "%d, %d, %d" in 'Danger (%d%%) and Critical (%d%%) thresholds are very close together (gap: %d%%). Consider a gap of at least 5%%.'.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP-Memory-Usage" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP-Memory-Usage" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGI18nDiscouraged text-domain loadingload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table used in $wpdb->get_var()\n$table assigned unsafely at line 1759.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb->get_var()\n$table assigned unsafely at line 1759.

ERRORMaintainabilityfile system operations is writableFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

Score History

First score snapshot

v2.3.0

89

Latest

Findings
13
Errors
4
Warnings
9
Check
2.0.0

Related Plugins

PufferDesk

0 active installs

100
Simply Show Hooks

2k+ active installs

100
Hide WP Admin Notifications

1k+ active installs

99
One Click Close Comments

4k+ active installs

99
Plugin Report

1k+ active installs

99