Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼31.09ms] Passed 4 tests
Server-side resources used by Ultimate Appointment Booking & Scheduling
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.27 ▲0.81 | 22.77 ▼17.08 |
Dashboard /wp-admin | 4.33 ▲1.03 | 28.57 ▼27.56 |
Posts /wp-admin/edit.php | 4.33 ▲0.98 | 31.81 ▼19.03 |
Add New Post /wp-admin/post-new.php | 4.33 ▼1.56 | 29.59 ▼60.67 |
Media Library /wp-admin/upload.php | 4.33 ▲1.10 | 34.03 ▼4.47 |
Add New /wp-admin/admin.php?page=ewd-uasp-add-edit-appointment | 4.33 | 31.42 |
Dashboard /wp-admin/admin.php?page=ewd-uasp-dashboard | 4.33 | 26.44 |
Export /wp-admin/admin.php?page=ewd-uasp-export | 4.33 | 29.25 |
Import /wp-admin/admin.php?page=ewd-uasp-import | 4.33 | 27.22 |
Service Providers /wp-admin/edit.php?post_type=uasp-provider | 4.33 | 28.19 |
Ultimate Appointment Scheduling - Welcome! /wp-admin/index.php?page=ewd-uasp-getting-started | 4.33 | 25.55 |
Appointments /wp-admin/admin.php?page=ewd-uasp-appointment-submenu | 4.33 | 27.24 |
About Us /wp-admin/admin.php?page=ewd-uasp-about-us | 4.33 | 24.59 |
Exceptions /wp-admin/edit.php?post_type=uasp-exception | 4.33 | 28.14 |
Settings /wp-admin/admin.php?page=ewd-uasp-settings | 4.33 | 25.80 |
Server storage [IO: ▲7.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 590 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_EWD_UASP_Appointments |
wp_EWD_UASP_Custom_Fields_Meta |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
ewd-uasp-installation-time |
widget_recent-comments |
theysaidso_admin_options |
ewd-uasp-permission-level |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Appointment Booking & Scheduling
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲144 | 14.35 ▼0.04 | 1.60 ▼0.38 | 38.21 ▼6.34 |
Dashboard /wp-admin | 2,274 ▲94 | 5.65 ▼0.01 | 93.22 ▼2.54 | 41.43 ▲2.04 |
Posts /wp-admin/edit.php | 2,179 ▲76 | 2.00 ▼0.00 | 41.36 ▼1.07 | 36.60 ▼3.61 |
Add New Post /wp-admin/post-new.php | 6,428 ▲4,902 | 27.61 ▲4.68 | 915.39 ▲230.85 | 36.62 ▼23.24 |
Media Library /wp-admin/upload.php | 1,476 ▲76 | 4.22 ▲0.03 | 111.38 ▲5.31 | 75.32 ▲31.93 |
Add New /wp-admin/admin.php?page=ewd-uasp-add-edit-appointment | 1,138 | 2.07 | 34.79 | 44.41 |
Dashboard /wp-admin/admin.php?page=ewd-uasp-dashboard | 1,310 | 2.21 | 30.38 | 58.78 |
Export /wp-admin/admin.php?page=ewd-uasp-export | 917 | 2.18 | 32.56 | 34.12 |
Import /wp-admin/admin.php?page=ewd-uasp-import | 917 | 2.18 | 31.18 | 34.41 |
Service Providers /wp-admin/edit.php?post_type=uasp-provider | 1,216 | 2.20 | 38.18 | 33.78 |
Ultimate Appointment Scheduling - Welcome! /wp-admin/index.php?page=ewd-uasp-getting-started | 8,831 | 2.23 | 31.22 | 33.56 |
Appointments /wp-admin/admin.php?page=ewd-uasp-appointment-submenu | 1,306 | 2.22 | 31.95 | 35.49 |
About Us /wp-admin/admin.php?page=ewd-uasp-about-us | 1,194 | 2.21 | 28.57 | 26.71 |
Exceptions /wp-admin/edit.php?post_type=uasp-exception | 1,216 | 2.21 | 37.57 | 35.91 |
Settings /wp-admin/admin.php?page=ewd-uasp-settings | 4,713 | 3.57 | 59.86 | 42.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/ultimate-appointment-scheduling/includes/Settings.class.php+979
preg_replace(): Unknown modifier 'd'
- Zombie tables detected upon uninstall: 2 tables
- wp_EWD_UASP_Custom_Fields_Meta
- wp_EWD_UASP_Appointments
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- ewd-uasp-permission-level
- can_compress_scripts
- widget_recent-posts
- ewd-uasp-installation-time
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ewd-uasp-settings
- > Warning in wp-content/plugins/ultimate-appointment-scheduling/includes/Settings.class.php+979
preg_replace(): Unknown modifier 'd'
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ultimate-appointment-scheduling/ewd-uasp-templates/recaptcha.php
- 154× 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 esc_html() in wp-content/plugins/ultimate-appointment-scheduling/ewd-uasp-templates/login.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function ewd_format_classes() in wp-content/plugins/ultimate-appointment-scheduling/ewd-uasp-templates/appointment-booking-form.php:1
- > PHP Warning
require_once(EWD_UASP_PLUGIN_DIR/views/View.class.php): failed to open stream: No such file or directory in wp-content/plugins/ultimate-appointment-scheduling/views/Base.class.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-appointment-scheduling/ewd-uasp-templates/admin-selected-date-time.php:6
- > PHP Fatal error
Uncaught Error: Interface 'PhpOffice\\PhpSpreadsheet\\Cell\\IValueBinder' not found in wp-content/plugins/ultimate-appointment-scheduling/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php:9
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Style\\Supervisor' not found in wp-content/plugins/ultimate-appointment-scheduling/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Alignment.php:7
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Xlsx\\WriterPart' not found in wp-content/plugins/ultimate-appointment-scheduling/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Chart.php:17
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-appointment-scheduling/lib/simple-admin-pages/classes/AdminPageSetting.Number.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Reader\\BaseReader' not found in wp-content/plugins/ultimate-appointment-scheduling/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Gnumeric.php:21
- > PHP Fatal error
Uncaught Error: Class 'PhpOffice\\PhpSpreadsheet\\Writer\\Xlsx\\WriterPart' not found in wp-content/plugins/ultimate-appointment-scheduling/lib/PHPSpreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/index.php?page=ewd-uasp-getting-started
- > Network (severe)
wp-content/plugins/ultimate-appointment-scheduling/assets/css/admin.css?ver=2.2.6 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #10, #11, #7, #8, #9 in ultimate-appointment-scheduling/assets to your readme.txt
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ultimate-appointment-scheduling/ultimate-appointment-scheduling.php Passed 13 tests
The main file in "Ultimate Appointment Booking & Scheduling" v. 2.2.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
137 characters long description:
Appointment booking calendar and scheduling plugin that lets you set up different services, service providers, locations and availability
Code Analysis 95% 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
Good job! No executable or dangerous file extensions detected88,493 lines of code in 494 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 311 | 15,165 | 31,391 | 64,054 |
JavaScript | 141 | 1,018 | 2,385 | 15,846 |
CSS | 21 | 551 | 260 | 5,927 |
Markdown | 10 | 411 | 0 | 1,855 |
PO File | 1 | 191 | 275 | 436 |
JSON | 3 | 0 | 0 | 245 |
YAML | 5 | 19 | 12 | 84 |
Bourne Again Shell | 1 | 6 | 3 | 24 |
XML | 1 | 0 | 0 | 22 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 1,016)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 387)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 41.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,016.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 387.00 |
Code structure | ||
---|---|---|
Namespaces | 40 | |
Interfaces | 10 | |
Traits | 0 | |
Classes | 257 | |
▷ Abstract classes | 14 | 5.45% |
▷ Concrete classes | 243 | 94.55% |
▷ Final classes | 0 | 0.00% |
Methods | 3,076 | |
▷ Static methods | 608 | 19.77% |
▷ Public methods | 2,468 | 80.23% |
▷ Protected methods | 75 | 2.44% |
▷ Private methods | 533 | 17.33% |
Functions | 35 | |
▷ Named functions | 31 | 88.57% |
▷ Anonymous functions | 4 | 11.43% |
Constants | 777 | |
▷ Global constants | 12 | 1.54% |
▷ Class constants | 765 | 98.46% |
▷ Public constants | 765 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
45 PNG files occupy 1.73MB with 1.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/premium-screenshots/customfields.png | 45.15KB | 13.88KB | ▼ 69.25% |
assets/img/ewd-uasp-dashboard-banner.png | 150.62KB | 77.17KB | ▼ 48.76% |
assets/img/ewd-support-icon-youtube.png | 1.75KB | 0.66KB | ▼ 62.56% |
assets/img/premium-screenshots/styling1.png | 61.55KB | 16.41KB | ▼ 73.34% |
assets/img/premium-screenshots/labelling1.png | 27.65KB | 7.68KB | ▼ 72.22% |