Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.16ms] Passed 4 tests
An overview of server-side resources used by WP-Memory-Usage
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.94 ▼10.08 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.21 ▲4.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.20 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.66 ▼9.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.79 ▼3.98 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
wpmemoryusage_emopt |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
wpmemoryusage_settings |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP-Memory-Usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲204 | 13.39 ▼1.35 | 1.84 ▲0.05 | 37.29 ▼1.45 |
Dashboard /wp-admin | 2,331 ▲146 | 4.89 ▼0.00 | 103.52 ▼7.60 | 39.82 ▼0.25 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.04 | 39.52 ▲1.60 | 35.65 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.24 ▲5.49 | 573.92 ▼109.81 | 62.74 ▲8.39 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.05 | 94.96 ▼24.19 | 40.51 ▼4.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-memory-usage/wp-memory-usage.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: ip, memory-limit, adress, php, info...
wp-memory-usage/wp-memory-usage.php Passed 13 tests
The principal PHP file in "WP-Memory-Usage" v. 1.2.8 is loaded by WordPress automatically on each request
102 characters long description:
Show up memory limits, current memory usage, IP-Address, PHP-Version in the dashboard and admin footer
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin406 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 50 | 22 | 359 |
PO File | 1 | 15 | 15 | 47 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 79.00 |
▷ Minimum class complexity | 79.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 10.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 62.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 37.50% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin