Home
CommonsBooking
2.8.5
Does Commons Booking work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on 2023-11-13 20:33:36 UTC .
Summary
Errors
4 PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance
Memory usage: 963.19 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
insignificant.
The plugin didn't make the site noticeably slower.
Environment
WordPress version 6.4.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=9cd706b64e
Aspect
after-activation
HTTP status
200
Load time
1.232 s
Memory usage
4.58 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.253 s
Memory usage
4.54 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.237 s
Memory usage
4.29 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.221 s
Memory usage
4.18 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.285 s
Memory usage
4.48 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.232 s
Memory usage
4.25 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.387 s
Memory usage
4.27 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.236 s
Memory usage
4.24 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.225 s
Memory usage
4.37 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.246 s
Memory usage
4.24 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.246 s
Memory usage
4.25 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.287 s
Memory usage
4.3 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.263 s
Memory usage
4.26 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.220 s
Memory usage
4.22 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.218 s
Memory usage
4.22 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.253 s
Memory usage
4.23 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.225 s
Memory usage
4.22 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.240 s
Memory usage
4.22 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.233 s
Memory usage
4.18 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.220 s
Memory usage
4.18 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.492 s
Memory usage
7.73 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.636 s
Memory usage
6.76 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.391 s 0.499 s +0.108 s 3.38 MiB 4.31 MiB + 954.47 KiB /wp-admin/edit.php 0.331 s 0.269 s -0.062 s 3.41 MiB 4.37 MiB + 988.53 KiB /wp-admin/post-new.php 0.846 s 0.988 s +0.142 s 5.46 MiB 6.85 MiB + 1.39 MiB /wp-admin/upload.php 0.778 s 0.538 s -0.240 s 3.32 MiB 4.19 MiB + 885.3 KiB /wp-admin/options-writing.php 0.225 s 0.238 s +0.013 s 3.32 MiB 4.18 MiB + 879.29 KiB /wp-admin/media-new.php 0.310 s 0.516 s +0.206 s 3.29 MiB 4.17 MiB + 894 KiB /wp-admin/edit-tags.php?taxonomy=category 0.199 s 0.235 s +0.036 s 3.31 MiB 4.19 MiB + 902.98 KiB /wp-admin/post-new.php?post_type=page 0.808 s 0.673 s -0.135 s 5.45 MiB 6.79 MiB + 1.35 MiB /wp-admin/options-discussion.php 0.299 s 0.382 s +0.083 s 3.3 MiB 4.17 MiB + 886.1 KiB /wp-admin/edit-comments.php 0.253 s 0.263 s +0.010 s 3.34 MiB 4.2 MiB + 885.05 KiB / 0.277 s 0.328 s +0.051 s 3.36 MiB 3.86 MiB + 518.65 KiB
Average
0.429 s 0.448 s +0.019 s 3.72 MiB 4.66 MiB + 963.19 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 47.6% 24,152 8,102 28 PHP 31.0% 15,697 5,774 122 Sass 14.1% 7,142 13 32 PO File 3.6% 1,847 948 1 CSS 2.5% 1,287 44 16 JSON 1.2% 591 0 5
Total
50,716
14,881
204
Lines of code
12,858
Total complexity
2,298
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
87
Methods
628
Functions
28
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 4 lines [13-Nov-2023 20:33:55 UTC] PHP Deprecated: Calling static trait method CommonsBooking\Service\Cache::clearCache is deprecated, it should only be called on a class using the trait in /wp-content/plugins/commonsbooking/src/Service/Upgrade.php on line 95
[13-Nov-2023 20:33:55 UTC] PHP Deprecated: Calling static trait method CommonsBooking\Service\Cache::getCache is deprecated, it should only be called on a class using the trait in /wp-content/plugins/commonsbooking/src/Service/Cache.php on line 186
[13-Nov-2023 20:33:55 UTC] PHP Deprecated: Calling static trait method CommonsBooking\Service\Cache::getCache is deprecated, it should only be called on a class using the trait in /wp-content/plugins/commonsbooking/src/Service/Cache.php on line 192
[13-Nov-2023 20:33:55 UTC] PHP Deprecated: Calling static trait method CommonsBooking\Service\Cache::getCache is deprecated, it should only be called on a class using the trait in /wp-content/plugins/commonsbooking/src/Service/Cache.php on line 193