Home
CommonsBooking
2.8.3
Does Commons Booking work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on 2023-09-04 13:27:23 UTC .
Summary
Errors
10 PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance
Memory usage: 903.39 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.055 seconds
The average page load time increased by this amount after activating the plugin.
Environment
WordPress version 6.3.1 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 22 Plugins ‹ Test site — WordPress
URL
/wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL
/wp-admin/plugins.php?action=activate&plugin=commonsbooking%2Fcommonsbooking.php&plugin_status=all&paged=1&s&_wpnonce=2b0298096c
Aspect
after-activation
HTTP status
200
Load time
1.360 s
Memory usage
3.96 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking
URL
/wp-admin/options-general.php?page=commonsbooking_options
Aspect
menu-item
HTTP status
200
Load time
0.214 s
Memory usage
3.92 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → General
URL
/wp-admin/admin.php?page=commonsbooking_options_general
Aspect
menu-item-tab
HTTP status
200
Load time
0.186 s
Memory usage
3.65 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → Booking Codes
URL
/wp-admin/admin.php?page=commonsbooking_options_bookingcodes
Aspect
menu-item-tab
HTTP status
200
Load time
0.191 s
Memory usage
3.57 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → Templates
URL
/wp-admin/admin.php?page=commonsbooking_options_templates
Aspect
menu-item-tab
HTTP status
200
Load time
0.261 s
Memory usage
3.86 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → Restrictions
URL
/wp-admin/admin.php?page=commonsbooking_options_restrictions
Aspect
menu-item-tab
HTTP status
200
Load time
0.189 s
Memory usage
3.64 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → Reminder
URL
/wp-admin/admin.php?page=commonsbooking_options_reminder
Aspect
menu-item-tab
HTTP status
200
Load time
0.202 s
Memory usage
3.64 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → Migration
URL
/wp-admin/admin.php?page=commonsbooking_options_migration
Aspect
menu-item-tab
HTTP status
200
Load time
0.209 s
Memory usage
3.63 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → Export
URL
/wp-admin/admin.php?page=commonsbooking_options_export
Aspect
menu-item-tab
HTTP status
200
Load time
0.193 s
Memory usage
3.76 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → API
URL
/wp-admin/admin.php?page=commonsbooking_options_api
Aspect
menu-item-tab
HTTP status
200
Load time
0.363 s
Memory usage
3.63 MiB
JS errors
None
Resource errors
None
Settings → CommonsBooking → Advanced Options
URL
/wp-admin/admin.php?page=commonsbooking_options_advanced-options
Aspect
menu-item-tab
HTTP status
200
Load time
0.202 s
Memory usage
3.64 MiB
JS errors
None
Resource errors
None
Commons Booking
URL
/wp-admin/admin.php?page=cb-dashboard
Aspect
menu-item
HTTP status
200
Load time
0.244 s
Memory usage
3.68 MiB
JS errors
None
Resource errors
None
Commons Booking → Timeframes
URL
/wp-admin/edit.php?post_type=cb_timeframe
Aspect
menu-item
HTTP status
200
Load time
0.242 s
Memory usage
3.65 MiB
JS errors
None
Resource errors
None
Commons Booking → Items
URL
/wp-admin/edit.php?post_type=cb_item
Aspect
menu-item
HTTP status
200
Load time
0.198 s
Memory usage
3.62 MiB
JS errors
None
Resource errors
None
Commons Booking → Locations
URL
/wp-admin/edit.php?post_type=cb_location
Aspect
menu-item
HTTP status
200
Load time
0.215 s
Memory usage
3.62 MiB
JS errors
None
Resource errors
None
Commons Booking → Bookings
URL
/wp-admin/edit.php?post_type=cb_booking
Aspect
menu-item
HTTP status
200
Load time
0.225 s
Memory usage
3.62 MiB
JS errors
None
Resource errors
None
Commons Booking → Maps
URL
/wp-admin/edit.php?post_type=cb_map
Aspect
menu-item
HTTP status
200
Load time
0.219 s
Memory usage
3.62 MiB
JS errors
None
Resource errors
None
Commons Booking → Restrictions
URL
/wp-admin/edit.php?post_type=cb_restriction
Aspect
menu-item
HTTP status
200
Load time
0.203 s
Memory usage
3.62 MiB
JS errors
None
Resource errors
None
Commons Booking → Item Categories
URL
/wp-admin/edit-tags.php?taxonomy=cb_items_category
Aspect
menu-item
HTTP status
200
Load time
0.200 s
Memory usage
3.56 MiB
JS errors
None
Resource errors
None
Commons Booking → Location Categories
URL
/wp-admin/edit-tags.php?taxonomy=cb_locations_category
Aspect
menu-item
HTTP status
200
Load time
0.201 s
Memory usage
3.56 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.416 s
Memory usage
7.52 MiB
JS errors
None
Resource errors
None
Widgets ‹ Test site — WordPress
URL
/wp-admin/widgets.php
Aspect
new-sidebar-widgets
HTTP status
200
Load time
2.379 s
Memory usage
6.44 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.334 s 0.390 s +0.056 s 2.82 MiB 3.63 MiB + 828.17 KiB /wp-admin/edit.php 0.197 s 0.233 s +0.036 s 2.85 MiB 3.75 MiB + 926.67 KiB /wp-admin/post-new.php 0.725 s 1.116 s +0.391 s 5.21 MiB 6.55 MiB + 1.33 MiB /wp-admin/upload.php 0.574 s 0.547 s -0.027 s 2.77 MiB 3.57 MiB + 823.13 KiB /wp-admin/options-writing.php 0.213 s 0.209 s -0.004 s 2.76 MiB 3.56 MiB + 816.91 KiB /wp-admin/media-new.php 0.372 s 0.296 s -0.076 s 2.74 MiB 3.55 MiB + 828.39 KiB /wp-admin/edit-tags.php?taxonomy=category 0.196 s 0.214 s +0.018 s 2.76 MiB 3.58 MiB + 841.22 KiB /wp-admin/post-new.php?post_type=page 0.573 s 0.709 s +0.136 s 5.21 MiB 6.51 MiB + 1.3 MiB /wp-admin/options-discussion.php 0.213 s 0.374 s +0.161 s 2.75 MiB 3.55 MiB + 823.09 KiB /wp-admin/edit-comments.php 0.374 s 0.253 s -0.121 s 2.78 MiB 3.58 MiB + 822.08 KiB / 0.287 s 0.322 s +0.035 s 3.13 MiB 3.65 MiB + 530.23 KiB
Average
0.369 s 0.424 s +0.055 s 3.25 MiB 4.13 MiB + 903.39 KiB
Code Statistics
Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where
possible, so the numbers you see here may be lower than those reported by other tools.
Language
%
Lines of code
Comment lines
Files
JavaScript 39.3% 23,943 8,088 27 PHP 25.0% 15,253 4,931 121 CSS 18.3% 11,166 1,451 13 Sass 11.7% 7,142 13 32 PO File 4.3% 2,627 1,035 1 JSON 0.9% 563 0 4 Markdown 0.4% 266 0 1
Total
60,960
15,518
199
Lines of code
12,431
Total complexity
2,209
Median class complexity
13.0
Median method complexity
2.0
Most complex class
CommonsBooking\Wordpress\CustomPostType\Booking
Most complex function
CommonsBooking\Map\MapAdmin::validate_options()
Classes
86
Methods
608
Functions
27
Additions
Things that the plugin adds to the site. This section is not intended to be comprehensive.
The test tool only looks for a few specific types of added content.
Database Tables 1 Options wp_options
10 commonsbooking_bookingcodes_db_version commonsbooking_options_advanced-options commonsbooking_options_export commonsbooking_options_general commonsbooking_options_reminder commonsbooking_options_restrictions commonsbooking_options_templates commonsbooking_plugin_version commonsbooking_settings_metaboxfields widget_commonsbooking-user-widget Custom Post Types 6
ID
Name
cb_item Items cb_location Locations cb_timeframe Timeframes cb_map Maps cb_booking Bookings cb_restriction Restrictions
Sidebar Widgets 1
ID
Name
commonsbooking-user-widget CommonsBooking User Widget
Meta Boxes {
"cb_item": {
"_cb_item_info": {
"title": "Item Info",
"context": "normal"
}
},
"cb_location": {
"_cb_location_adress": {
"title": "Address",
"context": "normal"
},
"_cb_location_info": {
"title": "General Location information",
"context": "normal"
}
},
"cb_timeframe": {
"cb_timeframe-custom-fields": {
"title": "Timeframe",
"context": "normal"
}
},
"cb_booking": {
"cb_booking-custom-fields": {
"title": "Booking",
"context": "normal"
}
},
"cb_restriction": {
"cb_restriction-custom-fields": {
"title": "Restriction",
"context": "normal"
}
}
}
Roles 1
ID
Name
cb_manager cb_manager
Capabilities 85 manage_commonsbooking read_cb_item manage_commonsbooking_cb_item edit_cb_item edit_cb_items edit_private_cb_items edit_published_cb_items publish_cb_items delete_cb_item delete_cb_items read_private_cb_items edit_others_cb_items delete_private_cb_items delete_published_cb_items delete_others_cb_items read_cb_location manage_commonsbooking_cb_location edit_cb_location edit_cb_locations edit_private_cb_locations edit_published_cb_locations publish_cb_locations delete_cb_location delete_cb_locations read_private_cb_locations edit_others_cb_locations delete_private_cb_locations delete_published_cb_locations delete_others_cb_locations read_cb_timeframe manage_commonsbooking_cb_timeframe edit_cb_timeframe edit_cb_timeframes edit_private_cb_timeframes edit_published_cb_timeframes publish_cb_timeframes delete_cb_timeframe delete_cb_timeframes read_private_cb_timeframes edit_others_cb_timeframes delete_private_cb_timeframes delete_published_cb_timeframes delete_others_cb_timeframes read_cb_map manage_commonsbooking_cb_map edit_cb_map edit_cb_maps edit_private_cb_maps edit_published_cb_maps publish_cb_maps delete_cb_map delete_cb_maps read_private_cb_maps edit_others_cb_maps delete_private_cb_maps delete_published_cb_maps delete_others_cb_maps read_cb_booking manage_commonsbooking_cb_booking edit_cb_booking edit_cb_bookings edit_private_cb_bookings edit_published_cb_bookings publish_cb_bookings delete_cb_booking delete_cb_bookings read_private_cb_bookings edit_others_cb_bookings delete_private_cb_bookings delete_published_cb_bookings delete_others_cb_bookings read_cb_restriction manage_commonsbooking_cb_restriction edit_cb_restriction edit_cb_restrictions edit_private_cb_restrictions edit_published_cb_restrictions publish_cb_restrictions delete_cb_restriction delete_cb_restrictions read_private_cb_restrictions edit_others_cb_restrictions delete_private_cb_restrictions delete_published_cb_restrictions delete_others_cb_restrictions PHP Error Log 10 lines [04-Sep-2023 13:27:39 UTC] PHP Deprecated: Optional parameter $field_escaped_value declared before required parameter $field_type_object is implicitly treated as a required parameter in /wp-content/plugins/commonsbooking/vendor/mustardBees/cmb-field-select2/cmb-field-select2.php on line 83
[04-Sep-2023 13:27:39 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[04-Sep-2023 13:27:39 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[04-Sep-2023 13:27:39 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[04-Sep-2023 13:27:39 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Wordpress/Options/AdminOptions.php on line 43
[04-Sep-2023 13:27:39 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[04-Sep-2023 13:27:39 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[04-Sep-2023 13:27:39 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[04-Sep-2023 13:27:39 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[04-Sep-2023 13:27:51 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1735