77% ulimate-client-dash

Code Review | Ultimate Client Dash

WordPress plugin Ultimate Client Dash scored77%from 54 tests.

About plugin

  • Plugin page: ulimate-client-dash
  • Plugin version: 4.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Oct 1, 2018
  • Latest release: Jul 28, 2023
  • Number of updates: 79
  • Update frequency: every 22.3 days
  • Top authors: wpcodeus (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

3,000+ active /58,963 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.65MB] [CPU: ▲15.66ms] Passed 4 tests

A check of server-side resources used by Ultimate Client Dash
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /4.05 ▲0.5849.27 ▲13.13
Dashboard /wp-admin4.04 ▲0.7373.44 ▲24.23
Posts /wp-admin/edit.php4.08 ▲0.7263.20 ▲14.16
Add New Post /wp-admin/post-new.php6.55 ▲0.66115.45 ▲16.32
Media Library /wp-admin/upload.php3.87 ▲0.6454.64 ▲19.02
Buy Pro Version /wp-admin/admin.php?page=ultimate-client-dash&tab=upgrade3.8850.45
Menu /wp-admin/admin.php?page=ultimate-client-dash&tab=menu-items3.8747.86
Shortcodes /wp-admin/admin.php?page=ultimate-client-dash&tab=shortcodes3.8748.87
Widgets /wp-admin/admin.php?page=ultimate-client-dash&tab=widget-settings3.9356.14
Login Page /wp-admin/admin.php?page=ultimate-client-dash&tab=login-settings3.9355.15
Tracking/Code /wp-admin/admin.php?page=ultimate-client-dash&tab=tracking-and-custom-code3.8752.77
Dashboard /wp-admin/admin.php?page=ultimate-client-dash&tab=dashboard-settings3.9252.03
Misc /wp-admin/admin.php?page=ultimate-client-dash&tab=misc3.8853.49
Client Access /wp-admin/admin.php?page=ultimate-client-dash&tab=client-access3.8751.01
Landing Page /wp-admin/admin.php?page=ultimate-client-dash&tab=landing-page3.9457.71

Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 12 new options
New WordPress options
ucd_custom_widget_count
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
ucd_under_construction_title
ucd_under_construction_body
widget_recent-comments
ucd_login_logo_title
theysaidso_admin_options
ucd_login_logo_url
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Ultimate Client Dash
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,033 ▲27214.79 ▲0.172.00 ▲0.3942.00 ▲2.04
Dashboard /wp-admin2,431 ▲2536.37 ▲0.51116.92 ▲19.7750.03 ▲6.28
Posts /wp-admin/edit.php2,346 ▲2463.56 ▲1.5946.39 ▲9.4131.51 ▼3.32
Add New Post /wp-admin/post-new.php1,753 ▲22722.18 ▼1.10610.70 ▼49.1639.15 ▼15.93
Media Library /wp-admin/upload.php1,489 ▲924.35 ▲0.1582.37 ▼22.9841.47 ▼3.37
Buy Pro Version /wp-admin/admin.php?page=ultimate-client-dash&tab=upgrade1,5683.3439.3889.84
Menu /wp-admin/admin.php?page=ultimate-client-dash&tab=menu-items1,4623.3939.1784.75
Shortcodes /wp-admin/admin.php?page=ultimate-client-dash&tab=shortcodes1,5373.3640.0280.27
Widgets /wp-admin/admin.php?page=ultimate-client-dash&tab=widget-settings1,9736.90122.92115.73
Login Page /wp-admin/admin.php?page=ultimate-client-dash&tab=login-settings2,2547.45141.60111.00
Tracking/Code /wp-admin/admin.php?page=ultimate-client-dash&tab=tracking-and-custom-code1,2303.5041.4467.54
Dashboard /wp-admin/admin.php?page=ultimate-client-dash&tab=dashboard-settings2,8537.30155.82110.61
Misc /wp-admin/admin.php?page=ultimate-client-dash&tab=misc1,3033.3739.5382.38
Client Access /wp-admin/admin.php?page=ultimate-client-dash&tab=client-access1,3443.3939.6677.86
Landing Page /wp-admin/admin.php?page=ultimate-client-dash&tab=landing-page2,7668.11147.28114.17

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 12 options in the database
    • ucd_login_logo_url
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • ucd_under_construction_title
    • ucd_custom_widget_count
    • ucd_under_construction_body
    • widget_recent-posts
    • ucd_custom_widget
    • db_upgraded
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

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
The following issues need your attention
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/ulimate-client-dash/ultimate-client-dash.php
  • 21× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ulimate-client-dash/admin/settings/landing-page.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ulimate-client-dash/admin/settings/dashboard-settings.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ulimate-client-dash/admin/settings/shortcodes.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ulimate-client-dash/styling/styling-functions.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ulimate-client-dash/admin/settings/main.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ulimate-client-dash/admin/settings/menu-items.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/ulimate-client-dash/include/plugin-functions.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ulimate-client-dash/admin/options/client-capabilities.php:44
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ulimate-client-dash/admin/settings/client-access.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ulimate-client-dash/admin/settings/widget-settings.php:6

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 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
These attributes need your attention:
  • Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in ulimate-client-dash/assets to your readme.txt
You can take inspiration from this readme.txt

ulimate-client-dash/ultimate-client-dash.php 77% from 13 tests

"Ultimate Client Dash" version 4.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Description: The description should be shorter than 140 characters (currently 173 characters long)
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("ulimate-client-dash.php" instead of "ultimate-client-dash.php")

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
No dangerous file extensions were detected4,831 lines of code in 29 files:
LanguageFilesBlank linesComment linesLines of code
PHP245452583,414
CSS439211,331
JavaScript1223486

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions80
▷ Named functions7998.75%
▷ Anonymous functions11.25%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/settings/assets/check.png0.99KB0.74KB▼ 24.93%
admin/settings/assets/Ultimate-Client-Dash-Logo.png4.31KB2.79KB▼ 35.32%
admin/settings/assets/information.png1.08KB0.83KB▼ 23.05%