Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▼29.79ms] Passed 4 tests
Server-side resources used by Ultimate Booking Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.97 | 29.46 ▼13.54 |
Dashboard /wp-admin | 4.48 ▲1.18 | 33.70 ▼17.25 |
Posts /wp-admin/edit.php | 4.48 ▲1.13 | 29.61 ▼19.87 |
Add New Post /wp-admin/post-new.php | 4.48 ▼1.40 | 29.15 ▼68.51 |
Media Library /wp-admin/upload.php | 4.48 ▲1.26 | 30.76 ▼6.76 |
Payments /wp-admin/edit.php?post_type=dt_customers&page=dt_payments | 4.49 | 37.81 |
Calendar /wp-admin/edit.php?post_type=dt_customers&page=dt_calender | 4.49 | 31.28 |
Settings /wp-admin/edit.php?post_type=dt_service&page=dt-booking-settings | 4.49 | 33.33 |
Add New /wp-admin/post-new.php?post_type=dt_person | 4.48 | 27.97 |
Customers /wp-admin/edit.php?post_type=dt_customers | 4.49 | 32.56 |
All Services /wp-admin/edit.php?post_type=dt_service | 4.49 | 26.15 |
Add New /wp-admin/post-new.php?post_type=dt_service | 4.48 | 32.20 |
All Persons /wp-admin/edit.php?post_type=dt_person | 4.49 | 29.57 |
Server storage [IO: ▲4.57MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 203 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
_cs_options |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Ultimate Booking Manager: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,286 ▲540 | 16.02 ▲1.41 | 10.26 ▲8.59 | 41.94 ▼0.21 |
Dashboard /wp-admin | 2,545 ▲354 | 7.02 ▲2.15 | 129.55 ▲23.58 | 40.27 ▼5.10 |
Posts /wp-admin/edit.php | 2,463 ▲377 | 3.71 ▲1.72 | 53.02 ▲15.46 | 33.09 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,707 ▲174 | 18.50 ▼4.58 | 625.51 ▼104.51 | 33.84 ▼24.81 |
Media Library /wp-admin/upload.php | 1,593 ▲205 | 4.81 ▲0.62 | 92.28 ▼12.93 | 45.01 ▼4.80 |
Payments /wp-admin/edit.php?post_type=dt_customers&page=dt_payments | 1,394 | 3.47 | 43.35 | 26.53 |
Calendar /wp-admin/edit.php?post_type=dt_customers&page=dt_calender | 1,873 | 4.40 | 88.12 | 54.59 |
Settings /wp-admin/edit.php?post_type=dt_service&page=dt-booking-settings | 10,041 | 4.39 | 108.64 | 157.79 |
Add New /wp-admin/post-new.php?post_type=dt_person | 9,289 | 8.68 | 229.26 | 109.07 |
Customers /wp-admin/edit.php?post_type=dt_customers | 1,421 | 3.89 | 51.35 | 30.65 |
All Services /wp-admin/edit.php?post_type=dt_service | 1,483 | 3.63 | 49.47 | 26.06 |
Add New /wp-admin/post-new.php?post_type=dt_service | 2,982 | 8.03 | 176.58 | 59.18 |
All Persons /wp-admin/edit.php?post_type=dt_person | 1,483 | 3.66 | 51.68 | 32.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/dt-booking-manager/post-types/dt-person-post-type.php+621
Trying to access array offset on value of type null
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- _cs_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 48 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=dt_person
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/dt-booking-manager/post-types/dt-person-post-type.php+650
Trying to access array offset on value of type null
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
Please fix the following
- 29× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DTBookingManager\\Widgets\\DTBookingManagerWidgetBase' not found in wp-content/plugins/dt-booking-manager/widgets/modules/class-widget-reserve-appointment.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dt-booking-manager/dt-booking-manager.php:54
- > PHP Fatal error
Uncaught Error: Class 'DTBookingManager\\Widgets\\DTBookingManagerWidgetBase' not found in wp-content/plugins/dt-booking-manager/widgets/modules/class-widget-person-item.php:6
- > PHP Fatal error
Uncaught Error: Class 'DTBaseBookingSC' not found in wp-content/plugins/dt-booking-manager/vc/shortcodes/reserve_appointment.php:4
- > PHP Fatal error
Uncaught Error: Class 'DTBookingManager\\Widgets\\DTBookingManagerWidgetBase' not found in wp-content/plugins/dt-booking-manager/widgets/modules/class-widget-reservation-form.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dt-booking-manager/templates/taxonomy-department.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/dt-booking-manager/templates/archive-service.php:13
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/dt-booking-manager/widgets/class-common-widget-base.php:6
- > PHP Fatal error
Uncaught Error: Class 'DTBaseBookingSC' not found in wp-content/plugins/dt-booking-manager/vc/shortcodes/service_item.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dt-booking-manager/functions/reservation-functions.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: reservation, online booking, scheduling, elementor, appointments...
dt-booking-manager/dt-booking-manager.php Passed 13 tests
"Ultimate Booking Manager" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
70 characters long description:
A simple wordpress plugin designed to implements reservation features.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected50,351 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 17,050 |
PHP | 98 | 2,932 | 1,759 | 11,919 |
JavaScript | 14 | 1,490 | 1,432 | 7,509 |
SVG | 4 | 0 | 12 | 5,551 |
CSS | 14 | 1,181 | 100 | 5,290 |
Sass | 6 | 341 | 0 | 2,083 |
PO File | 7 | 306 | 334 | 705 |
Markdown | 2 | 24 | 0 | 177 |
XML | 1 | 4 | 0 | 64 |
Bourne Shell | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 13.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 65 | |
▷ Abstract classes | 3 | 4.62% |
▷ Concrete classes | 62 | 95.38% |
▷ Final classes | 0 | 0.00% |
Methods | 273 | |
▷ Static methods | 9 | 3.30% |
▷ Public methods | 258 | 94.51% |
▷ Protected methods | 15 | 5.49% |
▷ Private methods | 0 | 0.00% |
Functions | 81 | |
▷ Named functions | 81 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 20 | 95.24% |
▷ Class constants | 1 | 4.76% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
21 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cs-framework-override/images/one-third-column.png | 1.86KB | 0.82KB | ▼ 56.17% |
reservation/menu/calender/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
cs-framework/assets/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
cs-framework-override/images/1-3-3-3-1.png | 2.22KB | 0.92KB | ▼ 58.51% |
cs-framework-override/images/individual-option.png | 1.91KB | 0.50KB | ▼ 73.89% |