Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼2.09MB] [CPU: ▼342.40ms] Passed 4 tests
A check of server-side resources used by Ultimate Widgets Light
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.22 | 6.73 ▼43.35 |
Dashboard /wp-admin | 2.29 ▼1.11 | 6.15 ▼27.69 |
Posts /wp-admin/edit.php | 2.30 ▼1.34 | 5.66 ▼31.89 |
Add New Post /wp-admin/post-new.php | 2.29 ▼4.68 | 5.69 ▼1,266.65 |
Media Library /wp-admin/upload.php | 2.30 ▼1.00 | 5.06 ▼17.95 |
Menus /wp-admin/nav-menus.php | 2.30 | 5.41 |
Contact Us /wp-admin/admin.php?page=uwl_options-contact | 2.30 | 5.98 |
Upgrade ➤ /wp-admin/admin.php?page=uwl_options-pricing | 2.30 | 6.86 |
Widgets /wp-admin/widgets.php | 2.30 | 6.17 |
Import / Export /wp-admin/admin.php?page=uwl_options&tab=8 | 2.30 | 5.79 |
Widgets /wp-admin/admin.php?page=uwl_options&tab=1 | 2.30 | 6.25 |
Custom CSS /wp-admin/admin.php?page=uwl_options&tab=7 | 2.30 | 4.96 |
Styling /wp-admin/admin.php?page=uwl_options&tab=2 | 2.30 | 4.90 |
Options Object /wp-admin/admin.php?page=uwl_options&tab=9 | 2.30 | 4.74 |
Freemius Debug [v.1.2.1] /wp-admin/admin.php?page=freemius | 2.30 | 9.51 |
Server storage [IO: ▲6.63MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 582 new files
Database: no new tables, 16 new options
New WordPress options |
---|
fs_active_plugins |
widget_uwl_text |
uwl_options-transients |
widget_uwl_about_me |
redux_version_upgraded_from |
widget_uwl_menu |
widget_uwl_video |
widget_uwl_mailchimp |
uwl_options |
fs_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate Widgets Light
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,023 ▲265 | 16.38 ▲0.82 | 6.58 ▼0.15 | 2.21 ▼0.36 |
Dashboard /wp-admin | 3,129 ▲271 | 7.03 ▲0.82 | 123.00 ▼12.65 | 170.07 ▲8.68 |
Posts /wp-admin/edit.php | 2,862 ▲174 | 3.62 ▲0.37 | 92.00 ▲28.55 | 147.36 ▲3.09 |
Add New Post /wp-admin/post-new.php | 1,777 ▲87 | 16.04 ▼5.42 | 385.65 ▼66.72 | 159.09 ▼0.37 |
Media Library /wp-admin/upload.php | 1,864 ▲166 | 6.01 ▲0.48 | 127.44 ▼13.04 | 180.69 ▼6.25 |
Menus /wp-admin/nav-menus.php | 2,401 | 3.95 | 98.69 | 137.78 |
Contact Us /wp-admin/admin.php?page=uwl_options-contact | 1,401 | 4.30 | 74.97 | 127.96 |
Upgrade ➤ /wp-admin/admin.php?page=uwl_options-pricing | 1,407 | 4.43 | 85.49 | 126.88 |
Widgets /wp-admin/widgets.php | 2,612 | 23.57 | 548.34 | 144.81 |
Import / Export /wp-admin/admin.php?page=uwl_options&tab=8 | 3,400 | 5.87 | 104.41 | 190.38 |
Widgets /wp-admin/admin.php?page=uwl_options&tab=1 | 3,400 | 6.01 | 108.72 | 190.40 |
Custom CSS /wp-admin/admin.php?page=uwl_options&tab=7 | 3,446 | 6.15 | 127.54 | 238.27 |
Styling /wp-admin/admin.php?page=uwl_options&tab=2 | 4,037 | 5.26 | 142.13 | 196.22 |
Options Object /wp-admin/admin.php?page=uwl_options&tab=9 | 3,400 | 5.72 | 104.25 | 157.82 |
Freemius Debug [v.1.2.1] /wp-admin/admin.php?page=freemius | 1,410 | 3.24 | 61.48 | 151.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/inc/class.redux_filesystem.php+29
Creating default object from empty value
- This plugin does not fully uninstall, leaving 16 options in the database
- widget_uwl_instagram
- widget_uwl_menu
- fs_api_cache
- uwl_options
- uwl_options-transients
- fs_active_plugins
- fs_accounts
- fs_debug_mode
- redux_version_upgraded_from
- widget_uwl_video
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 31 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=freemius
- > Warning in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/inc/class.redux_filesystem.php+29
Creating default object from empty value
SRP 50% 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
The following issues need your attention
- 33× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/templates/panel/footer.tpl.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/inc/class.p.php:7
- > PHP Fatal error
Uncaught Error: Class 'Redux_Customizer_Control' not found in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/inc/extensions/customizer/inc/customizer_fields.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/ultimate-widgets-light/assets/admin/templates/footer.tpl.php:17
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/inc/themecheck/checks/full_package.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/inc/welcome/views/extensions.php:64
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/ultimate-widgets-light/assets/walker-nav.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/inc/welcome/views/support.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ultimate-widgets-light/assets/admin/redux-core/inc/fields/select/elusive-icons.php:312
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ultimate-widgets-light/widgets/widget-text.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=uwl_options-contact
- > Network (severe)
https://wp.freemius.com/contact/?page=uwl_options-contact&plugin_id=286&plugin_public_key=pk_0ac879dbcb2b339fe7c26c9b9ac3f&plugin_version=1.5.9.4&wp_login_url=http%3A%2F%2Fwp.com%2Fwp-login.php&site_url=http%3A%2F%2Fwp.com#http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin.php%3Fpage%3Duwl_options-contact - Failed to load resource: the server responded with a status of 500 ()
- > GET request to /wp-admin/admin.php?page=uwl_options-pricing
- > Network (severe)
https://wp.freemius.com/pricing/?plugin_id=286&plugin_public_key=pk_0ac879dbcb2b339fe7c26c9b9ac3f&plugin_version=1.5.9.4&page=uwl_options-pricing&next=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin.php%3Ffs_action%3Dultimate-widgets-light_sync_license%26page%3Duwl_options-account&billing_cycle=annual#http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin.php%3Fpage%3Duwl_options-pricing - Failed to load resource: the server responded with a status of 500 ()
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 70 tag instead of maximum 10
ultimate-widgets-light/functions.php 77% from 13 tests
The entry point to "Ultimate Widgets Light" version 1.5.9.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ultimate-widgets-light.php" instead of "functions.php")
- Description: The description should be shorter than 140 characters (currently 144 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin63,051 lines of code in 435 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 193 | 7,467 | 13,178 | 31,868 |
JavaScript | 94 | 2,634 | 2,049 | 11,853 |
Sass | 64 | 865 | 140 | 7,069 |
PO File | 5 | 2,977 | 4,561 | 4,793 |
SVG | 3 | 0 | 0 | 3,286 |
CSS | 67 | 368 | 255 | 2,303 |
JSON | 3 | 184 | 0 | 951 |
LESS | 3 | 82 | 79 | 715 |
Markdown | 1 | 59 | 0 | 191 |
YAML | 2 | 2 | 0 | 22 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 149)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 35.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 943.00 |
Average method complexity | 5.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 149.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 152 | |
▷ Abstract classes | 2 | 1.32% |
▷ Concrete classes | 150 | 98.68% |
▷ Final classes | 0 | 0.00% |
Methods | 1,306 | |
▷ Static methods | 187 | 14.32% |
▷ Public methods | 981 | 75.11% |
▷ Protected methods | 103 | 7.89% |
▷ Private methods | 222 | 17.00% |
Functions | 71 | |
▷ Named functions | 71 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 151 | |
▷ Global constants | 77 | 50.99% |
▷ Class constants | 74 | 49.01% |
▷ Public constants | 74 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
35 PNG files occupy 0.07MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/redux-core/inc/fields/spinner/arrow_right.png | 0.15KB | 0.12KB | ▼ 18.18% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/admin/redux-core/assets/img/2-col-portfolio.png | 1.02KB | 0.15KB | ▼ 85.07% |
assets/admin/redux-core/assets/img/1c.png | 0.13KB | 0.13KB | ▼ 0.72% |
assets/images/about-avatar.png | 1.01KB | 1.10KB | 0.00% |