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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.81MB] [CPU: ▼6.47ms] Passed 4 tests
This is a short check of server-side resources used by Easy Menu Manager | WPZest
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.47 ▲1.01 | 41.53 ▲3.34 |
Dashboard /wp-admin | 4.25 ▲0.95 | 47.64 ▼2.20 |
Posts /wp-admin/edit.php | 4.32 ▲0.97 | 48.42 ▼0.52 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 74.18 ▼26.21 |
Media Library /wp-admin/upload.php | 4.10 ▲0.87 | 37.18 ▲3.04 |
Server storage [IO: ▲2.82MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Menu Manager | WPZest
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲55 | 13.21 ▼1.21 | 1.89 ▼0.12 | 39.07 ▼2.73 |
Dashboard /wp-admin | 2,206 ▲21 | 4.89 ▲0.00 | 104.45 ▲4.23 | 40.93 ▼1.28 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.01 | 35.22 ▼7.31 | 33.06 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,514 ▼30 | 17.73 ▼0.56 | 606.76 ▼27.61 | 52.40 ▼3.49 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.15 ▼0.02 | 94.77 ▼2.01 | 41.65 ▼1.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-menu-manager-wpzest/menu_wpzest.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu_Edit' not found in wp-content/plugins/easy-menu-manager-wpzest/includes/walker-nav-menu-edit.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-menu-manager-wpzest/includes/media-template.php:25
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu_Edit' not found in wp-content/plugins/easy-menu-manager-wpzest/menu-edit-wpzest.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (17 tag instead of maximum 10)
easy-menu-manager-wpzest/menu_wpzest.php 92% from 13 tests
The main PHP file in "Easy Menu Manager | WPZest" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-menu-manager-wpzest.php" instead of "menu_wpzest.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin13,945 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 44 | 43 | 5,321 |
PHP | 20 | 648 | 1,577 | 4,691 |
SVG | 5 | 0 | 6 | 2,913 |
JavaScript | 5 | 252 | 73 | 1,020 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 3 | 11.54% |
▷ Concrete classes | 23 | 88.46% |
▷ Final classes | 2 | 8.70% |
Methods | 138 | |
▷ Static methods | 48 | 34.78% |
▷ Public methods | 100 | 72.46% |
▷ Protected methods | 31 | 22.46% |
▷ Private methods | 7 | 5.07% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.39MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 82.14KB | 36.24KB | ▼ 55.88% |
screenshot-4.png | 136.89KB | 51.96KB | ▼ 62.05% |
images/red-trash.png | 1.01KB | 1.16KB | 0.00% |
screenshot-1.png | 97.22KB | 36.15KB | ▼ 62.82% |
screenshot-2.png | 81.40KB | 35.55KB | ▼ 56.33% |