Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.39MB] [CPU: ▲11.86ms] Passed 4 tests
Server-side resources used by Ultimate Dashboard - Custom WordPress Dashboard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.77 ▲1.30 | 43.93 ▲2.35 |
Dashboard /wp-admin | 4.74 ▲1.43 | 59.54 ▲4.54 |
Posts /wp-admin/edit.php | 4.78 ▲1.42 | 71.86 ▲22.71 |
Add New Post /wp-admin/post-new.php | 7.37 ▲1.48 | 104.86 ▲17.82 |
Media Library /wp-admin/upload.php | 4.66 ▲1.42 | 55.18 ▲22.85 |
Login Redirect /wp-admin/edit.php?post_type=udb_widgets&page=udb_login_redirect | 4.66 | 51.58 |
Settings /wp-admin/edit.php?post_type=udb_widgets&page=udb_settings | 4.79 | 57.31 |
Add New /wp-admin/post-new.php?post_type=udb_widgets | 5.12 | 65.62 |
White Label /wp-admin/edit.php?post_type=udb_widgets&page=udb_branding | 4.66 | 59.35 |
Modules /wp-admin/edit.php?post_type=udb_widgets&page=udb_features | 4.65 | 53.10 |
Tools /wp-admin/edit.php?post_type=udb_widgets&page=udb_tools | 4.64 | 51.25 |
Admin Bar Editor /wp-admin/edit.php?post_type=udb_widgets&page=udb_admin_bar | 4.80 | 51.50 |
Admin Pages /wp-admin/edit.php?post_type=udb_admin_page | 4.72 | 56.22 |
Admin Menu Editor /wp-admin/edit.php?post_type=udb_widgets&page=udb_admin_menu | 4.69 | 52.34 |
All Widgets /wp-admin/edit.php?post_type=udb_widgets | 4.72 | 54.30 |
Server storage [IO: ▲4.61MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 333 new files
Database: no new tables, 15 new options
New WordPress options |
---|
udb_recent_admin_menu |
theysaidso_admin_options |
udb_login_customizer_flush_url |
widget_recent-posts |
widget_theysaidso_widget |
udb_plugin_activated |
udb_settings |
udb_compat_widget_status |
udb_install_date |
udb_compat_old_option |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Ultimate Dashboard - Custom WordPress Dashboard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲193 | 14.33 ▲0.05 | 1.96 ▲0.08 | 27.91 ▼19.20 |
Dashboard /wp-admin | 2,310 ▲133 | 5.59 ▼0.05 | 96.76 ▼1.15 | 94.47 ▲53.77 |
Posts /wp-admin/edit.php | 2,226 ▲126 | 2.11 ▲0.10 | 41.70 ▲2.79 | 38.23 ▲6.11 |
Add New Post /wp-admin/post-new.php | 1,626 ▲100 | 23.75 ▲0.72 | 732.38 ▲111.01 | 60.50 ▼3.14 |
Media Library /wp-admin/upload.php | 1,534 ▲137 | 4.14 ▼0.03 | 95.77 ▼7.54 | 77.42 ▲32.26 |
Login Redirect /wp-admin/edit.php?post_type=udb_widgets&page=udb_login_redirect | 1,168 | 2.19 | 47.55 | 44.23 |
Settings /wp-admin/edit.php?post_type=udb_widgets&page=udb_settings | 2,417 | 8.32 | 201.80 | 94.48 |
Add New /wp-admin/post-new.php?post_type=udb_widgets | 2,578 | 8.70 | 203.79 | 93.73 |
White Label /wp-admin/edit.php?post_type=udb_widgets&page=udb_branding | 2,525 | 2.86 | 78.08 | 43.24 |
Modules /wp-admin/edit.php?post_type=udb_widgets&page=udb_features | 1,222 | 1.78 | 30.17 | 44.41 |
Tools /wp-admin/edit.php?post_type=udb_widgets&page=udb_tools | 1,106 | 1.82 | 28.78 | 43.44 |
Admin Bar Editor /wp-admin/edit.php?post_type=udb_widgets&page=udb_admin_bar | 4,678 | 2.56 | 63.48 | 43.18 |
Admin Pages /wp-admin/edit.php?post_type=udb_admin_page | 1,207 | 2.08 | 39.97 | 36.71 |
Admin Menu Editor /wp-admin/edit.php?post_type=udb_widgets&page=udb_admin_menu | 6,361 | 3.25 | 89.14 | 45.26 |
All Widgets /wp-admin/edit.php?post_type=udb_widgets | 1,191 | 2.06 | 34.89 | 36.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 15 options in the database
- udb_settings
- udb_compat_delete_login_customizer_page
- can_compress_scripts
- theysaidso_admin_options
- udb_compat_widget_status
- udb_compat_old_option
- udb_login_customizer_flush_url
- udb_install_date
- widget_recent-comments
- udb_recent_admin_menu
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 143× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/ultimate-dashboard/modules/admin-page/class-admin-page-module.php
- > /wp-content/plugins/ultimate-dashboard/modules/login-customizer/class-login-customizer-output.php
- > /wp-content/plugins/ultimate-dashboard/modules/branding/templates/fields/admin-menu-bg-color.php
- > /wp-content/plugins/ultimate-dashboard/modules/admin-page/ajax/change-active-status.php
- > /wp-content/plugins/ultimate-dashboard/modules/widget/inc/save-post.php
- > /wp-content/plugins/ultimate-dashboard/helpers/class-widget-helper.php
- > /wp-content/plugins/ultimate-dashboard/modules/login-redirect/templates/fields/wp-admin-redirect-url.php
- > /wp-content/plugins/ultimate-dashboard/modules/admin-menu/inc/not-doing-ajax.php
- > /wp-content/plugins/ultimate-dashboard/modules/admin-page/inc/save-post.php
- > /wp-content/plugins/ultimate-dashboard/modules/widget/templates/metaboxes/priority.php
- 10× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/controls/class-udb-customize-pro-control.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_customize_preview() in wp-content/plugins/ultimate-dashboard/modules/login-customizer/templates/udb-login-page.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Color_Control' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/controls/class-udb-customize-color-control.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/controls/class-udb-customize-toggle-switch-control.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/settings/class-custom-css-setting.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/controls/class-udb-customize-range-control.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/controls/class-udb-customize-control.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/controls/class-udb-customize-color-picker-control.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/controls/class-udb-customize-login-template-control.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Image_Control' not found in wp-content/plugins/ultimate-dashboard/modules/login-customizer/controls/class-udb-customize-image-control.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 23 tag instead of maximum 10
ultimate-dashboard/ultimate-dashboard.php Passed 13 tests
The entry point to "Ultimate Dashboard - Custom WordPress Dashboard" version 3.7.10 is a PHP file that has certain tags in its header comment area
82 characters long description:
Create a custom Dashboard and give the WordPress admin area a more meaningful use.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin30,661 lines of code in 303 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 156 | 3,805 | 4,030 | 10,938 |
SVG | 5 | 0 | 12 | 9,447 |
JSON | 7 | 0 | 0 | 3,458 |
CSS | 22 | 515 | 133 | 2,714 |
JavaScript | 23 | 459 | 461 | 2,147 |
TypeScript | 90 | 472 | 45 | 1,957 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 44 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 373 | |
▷ Static methods | 26 | 6.97% |
▷ Public methods | 355 | 95.17% |
▷ Protected methods | 8 | 2.14% |
▷ Private methods | 10 | 2.68% |
Functions | 100 | |
▷ Named functions | 8 | 8.00% |
▷ Anonymous functions | 92 | 92.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/feature/assets/img/login-redirect.png | 6.46KB | 3.11KB | ▼ 51.88% |
modules/feature/assets/img/admin-menu.png | 4.06KB | 0.87KB | ▼ 78.67% |
assets/img/logo.png | 3.88KB | 3.89KB | 0.00% |
modules/feature/assets/img/login-customizer.png | 4.54KB | 1.12KB | ▼ 75.37% |
modules/feature/assets/img/admin-pages.png | 4.79KB | 1.23KB | ▼ 74.39% |