Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.42MB] [CPU: ▼1.92ms] Passed 4 tests
A check of server-side resources used by Memory Usage, Memory Limit, PHP and Server Memory Health Check and Provide Suggestions
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 35.44 ▼3.45 |
Dashboard /wp-admin | 3.79 ▲0.45 | 53.87 ▼4.71 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 56.84 ▲10.00 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 90.59 ▼6.83 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 40.18 ▲7.33 |
WP Memory /wp-admin/tools.php?page=wp_memory_admin_page | 3.76 | 411.12 |
Server storage [IO: ▲2.32MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 69 new files
Database: no new tables, 12 new options
New WordPress options |
---|
wpmemory_last_notification_date |
bill_go_pro_hide |
widget_theysaidso_widget |
wpmemory_was_activated |
widget_recent-comments |
widget_recent-posts |
wpmemory_activated_notice |
wp_memory_last_feedback |
wpmemory_activated_pointer |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Memory Usage, Memory Limit, PHP and Server Memory Health Check and Provide Suggestions
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲89 | 13.67 ▼1.04 | 1.80 ▲0.15 | 37.31 ▼5.16 |
Dashboard /wp-admin | 2,214 ▲34 | 5.46 ▼0.18 | 97.93 ▲6.21 | 43.51 ▲0.79 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.49 ▲0.53 | 44.81 ▲3.90 | 34.74 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.31 ▲0.23 | 627.61 ▼42.34 | 51.13 ▲0.89 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.62 ▲0.42 | 97.29 ▼0.83 | 40.80 ▼3.16 |
WP Memory /wp-admin/tools.php?page=wp_memory_admin_page | 1,146 | 2.42 | 42.77 | 37.10 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 12 options in the database
- theysaidso_admin_options
- bill_go_pro_hide
- widget_recent-posts
- wp_memory_last_feedback
- wpmemory_activated_pointer
- db_upgraded
- widget_theysaidso_widget
- wpmemory_last_notification_date
- can_compress_scripts
- widget_recent-comments
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 11× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wp-memory/dashboard/hardware.php
- > /wp-content/plugins/wp-memory/css/dashboard_container.php
- > /wp-content/plugins/wp-memory/dashboard/tools.php
- > /wp-content/plugins/wp-memory/dashboard/settings.php
- > /wp-content/plugins/wp-memory/dashboard/premium.php
- > /wp-content/plugins/wp-memory/public/restore-config.php
- > /wp-content/plugins/wp-memory/dashboard/dashboard.php
- > /wp-content/plugins/wp-memory/functions/functions.php
- > /wp-content/plugins/wp-memory/dashboard/dashboard_container.php
- > /wp-content/plugins/wp-memory/wpmemory.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function bill_banners\\get_transient() in wp-content/plugins/wp-memory/dashboard/mybanners.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wpmemoryPlugin_activate\\is_multisite() in wp-content/plugins/wp-memory/includes/feedback/activated-manager.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-memory/dashboard/circle_memory.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Memory Usage (Memory Limit, PHP Memory, hardware memory)), #2 (Page Health Info), #3 (Site-Health: Memory), #4 (Server Errors)
wp-memory/wpmemory.php 85% from 13 tests
The main file in "Memory Usage, Memory Limit, PHP and Server Memory Health Check and Provide Suggestions" v. 3.17 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-memory.php" instead of "wpmemory.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected6,561 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 574 | 477 | 2,803 |
PO File | 5 | 552 | 592 | 1,946 |
JavaScript | 11 | 262 | 308 | 1,237 |
CSS | 6 | 110 | 78 | 575 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 9 | 64.29% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 54 | |
▷ Named functions | 54 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 29 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.91MB with 0.57MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/banner.png | 22.04KB | 8.42KB | ▼ 61.79% |
screenshot-1.png | 194.12KB | 64.79KB | ▼ 66.63% |
screenshot-3.png | 155.72KB | 49.60KB | ▼ 68.15% |
screenshot-4.png | 202.09KB | 63.39KB | ▼ 68.63% |
images/logo.png | 8.49KB | 4.52KB | ▼ 46.79% |