CommonsBooking 2.8.2

Does Commons Booking work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
10PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 903.09 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.090 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/commonsbooking/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 22

Plugins ‹ Test site — WordPress

Page screenshot: 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=85c1dd7edb
Aspect after-activation
HTTP status 200
Load time 1.667 s
Memory usage 3.96 MiB
JS errors None
Resource errors None

Settings → CommonsBooking

Page screenshot: Settings → CommonsBooking
URL /wp-admin/options-general.php?page=commonsbooking_options
Aspect menu-item
HTTP status 200
Load time 0.245 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → General

Page screenshot: Settings → CommonsBooking → General
URL /wp-admin/admin.php?page=commonsbooking_options_general
Aspect menu-item-tab
HTTP status 200
Load time 0.202 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Booking Codes

Page screenshot: Settings → CommonsBooking → Booking Codes
URL /wp-admin/admin.php?page=commonsbooking_options_bookingcodes
Aspect menu-item-tab
HTTP status 200
Load time 0.220 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Templates

Page screenshot: Settings → CommonsBooking → Templates
URL /wp-admin/admin.php?page=commonsbooking_options_templates
Aspect menu-item-tab
HTTP status 200
Load time 0.291 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Restrictions

Page screenshot: Settings → CommonsBooking → Restrictions
URL /wp-admin/admin.php?page=commonsbooking_options_restrictions
Aspect menu-item-tab
HTTP status 200
Load time 0.227 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Reminder

Page screenshot: Settings → CommonsBooking → Reminder
URL /wp-admin/admin.php?page=commonsbooking_options_reminder
Aspect menu-item-tab
HTTP status 200
Load time 0.261 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Migration

Page screenshot: Settings → CommonsBooking → Migration
URL /wp-admin/admin.php?page=commonsbooking_options_migration
Aspect menu-item-tab
HTTP status 200
Load time 0.219 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Export

Page screenshot: Settings → CommonsBooking → Export
URL /wp-admin/admin.php?page=commonsbooking_options_export
Aspect menu-item-tab
HTTP status 200
Load time 0.244 s
Memory usage 3.76 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → API

Page screenshot: Settings → CommonsBooking → API
URL /wp-admin/admin.php?page=commonsbooking_options_api
Aspect menu-item-tab
HTTP status 200
Load time 0.526 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Advanced Options

Page screenshot: Settings → CommonsBooking → Advanced Options
URL /wp-admin/admin.php?page=commonsbooking_options_advanced-options
Aspect menu-item-tab
HTTP status 200
Load time 0.229 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Commons Booking

Page screenshot: Commons Booking
URL /wp-admin/admin.php?page=cb-dashboard
Aspect menu-item
HTTP status 200
Load time 0.272 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Commons Booking → Timeframes

Page screenshot: Commons Booking → Timeframes
URL /wp-admin/edit.php?post_type=cb_timeframe
Aspect menu-item
HTTP status 200
Load time 0.288 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Commons Booking → Items

Page screenshot: Commons Booking → Items
URL /wp-admin/edit.php?post_type=cb_item
Aspect menu-item
HTTP status 200
Load time 0.234 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Commons Booking → Locations

Page screenshot: Commons Booking → Locations
URL /wp-admin/edit.php?post_type=cb_location
Aspect menu-item
HTTP status 200
Load time 0.229 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Commons Booking → Bookings

Page screenshot: Commons Booking → Bookings
URL /wp-admin/edit.php?post_type=cb_booking
Aspect menu-item
HTTP status 200
Load time 0.264 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Commons Booking → Maps

Page screenshot: Commons Booking → Maps
URL /wp-admin/edit.php?post_type=cb_map
Aspect menu-item
HTTP status 200
Load time 0.268 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Commons Booking → Restrictions

Page screenshot: Commons Booking → Restrictions
URL /wp-admin/edit.php?post_type=cb_restriction
Aspect menu-item
HTTP status 200
Load time 0.225 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Commons Booking → Item Categories

Page screenshot: Commons Booking → Item Categories
URL /wp-admin/edit-tags.php?taxonomy=cb_items_category
Aspect menu-item
HTTP status 200
Load time 0.254 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Commons Booking → Location Categories

Page screenshot: Commons Booking → Location Categories
URL /wp-admin/edit-tags.php?taxonomy=cb_locations_category
Aspect menu-item
HTTP status 200
Load time 0.218 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.525 s
Memory usage 7.52 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.756 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.php0.478 s0.516 s+0.038 s2.82 MiB3.63 MiB+ 827.52 KiB
/wp-admin/edit.php0.288 s0.307 s+0.019 s2.85 MiB3.75 MiB+ 926.02 KiB
/wp-admin/post-new.php0.780 s1.448 s+0.668 s5.21 MiB6.55 MiB+ 1.33 MiB
/wp-admin/upload.php0.619 s0.656 s+0.037 s2.77 MiB3.57 MiB+ 822.47 KiB
/wp-admin/options-writing.php0.233 s0.268 s+0.035 s2.76 MiB3.56 MiB+ 816.25 KiB
/wp-admin/media-new.php0.399 s0.331 s-0.068 s2.74 MiB3.55 MiB+ 827.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.288 s+0.093 s2.76 MiB3.58 MiB+ 840.56 KiB
/wp-admin/post-new.php?post_type=page0.602 s0.834 s+0.232 s5.21 MiB6.51 MiB+ 1.3 MiB
/wp-admin/options-discussion.php0.287 s0.440 s+0.153 s2.75 MiB3.55 MiB+ 822.44 KiB
/wp-admin/edit-comments.php0.511 s0.266 s-0.245 s2.78 MiB3.58 MiB+ 821.42 KiB
/0.323 s0.350 s+0.027 s3.13 MiB3.65 MiB+ 533.42 KiB
Average 0.429 s0.519 s+0.090 s3.25 MiB4.13 MiB+ 903.09 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.

JavaScript
PHP
CSS
Sass
Language % Lines of code Comment lines Files
JavaScript39.6%24,0918,09727
PHP24.6%14,9664,809118
CSS18.5%11,2781,45316
Sass11.7%7,1421332
PO File4.3%2,6131,0151
JSON1.0%62606
Markdown0.2%15103
Total 60,867 15,387 203

PHP Code Analysis | More results »

Lines of code 12,171
Total complexity 2,144
Median class complexity 14.0
Median method complexity 2.0
Most complex class CommonsBooking\Wordpress\CustomPostType\Booking
Most complex function CommonsBooking\Map\MapAdmin::validate_options()
Classes 83
Methods 602
Functions 25

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

Custom Post Types 6

ID Name
cb_itemItems
cb_locationLocations
cb_timeframeTimeframes
cb_mapMaps
cb_bookingBookings
cb_restrictionRestrictions

Sidebar Widgets 1

ID Name
commonsbooking-user-widgetCommonsBooking 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_managercb_manager

Capabilities 85

PHP Error Log 10 lines

[15-Aug-2023 15:03:11 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
[15-Aug-2023 15:03:12 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[15-Aug-2023 15:03:12 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[15-Aug-2023 15:03:12 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[15-Aug-2023 15:03:12 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Wordpress/Options/AdminOptions.php on line 43
[15-Aug-2023 15:03:12 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[15-Aug-2023 15:03:12 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[15-Aug-2023 15:03:12 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[15-Aug-2023 15:03:12 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[15-Aug-2023 15:03:24 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
See also: All tests for this plugin, How to Hide Commons Booking Admin Menus and Meta Boxes