Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.57MB] [CPU: ▲0.82ms] 75% from 4 tests
Server-side resources used by Menu Manager Ultra
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 1,988.84ms on /wp-admin/themes.php?page=menu-manager-ultra)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.07 ▲0.61 | 41.71 ▲1.45 |
Dashboard /wp-admin | 3.91 ▲0.61 | 47.45 ▼3.08 |
Posts /wp-admin/edit.php | 3.96 ▲0.61 | 50.08 ▼0.47 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.67 | 133.90 ▲28.72 |
Media Library /wp-admin/upload.php | 3.67 ▲0.45 | 39.66 ▲5.39 |
Menu Manager Ultra /wp-admin/themes.php?page=menu-manager-ultra | 3.96 | 1,988.84 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.04 | 40.10 |
Server storage [IO: ▲5.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 254 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
fs_accounts |
fs_active_plugins |
fs_debug_mode |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Menu Manager Ultra
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 14.33 ▼0.05 | 1.74 ▲0.08 | 32.69 ▼17.34 |
Dashboard /wp-admin | 2,243 ▲55 | 6.06 ▲0.15 | 121.21 ▲13.41 | 45.64 ▲1.58 |
Posts /wp-admin/edit.php | 2,137 ▲45 | 2.89 ▲0.90 | 47.22 ▲6.78 | 60.41 ▲25.19 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 23.87 ▲0.72 | 662.35 ▲63.16 | 34.51 ▼16.60 |
Media Library /wp-admin/upload.php | 1,436 ▲45 | 5.57 ▲1.34 | 102.42 ▼2.46 | 43.30 ▼1.48 |
Menu Manager Ultra /wp-admin/themes.php?page=menu-manager-ultra | 1,216 | 2.64 | 38.54 | 65.15 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,111 | 2.87 | 31.21 | 27.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/menu-manager-ultra/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- db_upgraded
- can_compress_scripts
- fs_active_plugins
- fs_debug_mode
- fs_accounts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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 fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/menu-manager-ultra/templates/app.php
- 13× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MenuManagerUltra\\API\\ReturnValue' not found in wp-content/plugins/menu-manager-ultra/src/API/MenuItemsReturnValue.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/menu-manager-ultra/src/API/Endpoints/Menus.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/menu-manager-ultra/src/API/Endpoints/MenuItems.php:12
- > PHP Fatal error
Uncaught Error: Class 'MenuManagerUltra\\API\\ReturnValue' not found in wp-content/plugins/menu-manager-ultra/src/API/MenusReturnValue.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/menu-manager-ultra/menu-manager-routes.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/menu-manager-ultra/src/API/Endpoints/FieldData.php:9
- > PHP Fatal error
Uncaught Error: Interface 'MenuManagerUltra\\lib\\CustomField\\CustomFieldInterface' not found in wp-content/plugins/menu-manager-ultra/src/lib/CustomField/CustomField_ACF.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/menu-manager-ultra/menu-manager-routes.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/menu-manager-ultra/src/API/Endpoints/Posts.php:8
- > PHP Fatal error
Uncaught Error: Class 'MenuManagerUltra\\API\\ReturnValue' not found in wp-content/plugins/menu-manager-ultra/src/API/MenuReturnValue.php:7
- > PHP Fatal error
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, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: menu, menu edit, menu manager, large menu
menu-manager-ultra/menu-manager-ultra.php 92% from 13 tests
Analyzing the main PHP file in "Menu Manager Ultra" version 1.0.9
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin66,487 lines of code in 206 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 151 | 8,678 | 17,558 | 34,846 |
JavaScript | 35 | 3,566 | 2,582 | 18,169 |
JSON | 4 | 0 | 0 | 12,072 |
CSS | 14 | 24 | 10 | 814 |
Sass | 1 | 164 | 25 | 585 |
Markdown | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 65.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 2 | 2.82% |
▷ Concrete classes | 69 | 97.18% |
▷ Final classes | 4 | 5.80% |
Methods | 1,369 | |
▷ Static methods | 228 | 16.65% |
▷ Public methods | 979 | 71.51% |
▷ Protected methods | 17 | 1.24% |
▷ Private methods | 373 | 27.25% |
Functions | 146 | |
▷ Named functions | 113 | 77.40% |
▷ Anonymous functions | 33 | 22.60% |
Constants | 160 | |
▷ Global constants | 101 | 63.12% |
▷ Class constants | 59 | 36.88% |
▷ Public constants | 59 | 100.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
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/menu-manager-ultra.png | 12.07KB | 2.12KB | ▼ 82.44% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |