CommonsBooking 2.7.3

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

Summary

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

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

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

Environment
WordPress version6.2
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=b82ed690b4
Aspect after-activation
HTTP status 200
Load time 1.179 s
Memory usage 4.16 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.192 s
Memory usage 4.13 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.253 s
Memory usage 3.86 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.195 s
Memory usage 3.78 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.235 s
Memory usage 4.01 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.187 s
Memory usage 3.85 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.189 s
Memory usage 3.85 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.183 s
Memory usage 3.81 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.190 s
Memory usage 3.97 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.194 s
Memory usage 3.84 MiB
JS errors None
Resource errors None

Settings → CommonsBooking → Meta Data-Sets

Page screenshot: Settings → CommonsBooking → Meta Data-Sets
URL /wp-admin/admin.php?page=commonsbooking_options_metadata
Aspect menu-item-tab
HTTP status 200
Load time 0.196 s
Memory usage 3.78 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.229 s
Memory usage 3.82 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.219 s
Memory usage 3.86 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.191 s
Memory usage 3.82 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.200 s
Memory usage 3.82 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.197 s
Memory usage 3.83 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.182 s
Memory usage 3.82 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.341 s
Memory usage 3.82 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.198 s
Memory usage 3.77 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.184 s
Memory usage 3.78 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.406 s
Memory usage 7.38 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 0.999 s
Memory usage 6.2 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.684 s0.382 s-0.302 s3.07 MiB3.9 MiB+ 850.32 KiB
/wp-admin/edit.php0.173 s0.216 s+0.043 s3.1 MiB3.97 MiB+ 887.82 KiB
/wp-admin/post-new.php0.730 s0.954 s+0.224 s5.02 MiB6.28 MiB+ 1.26 MiB
/wp-admin/upload.php0.491 s0.421 s-0.070 s3.02 MiB3.78 MiB+ 780.65 KiB
/wp-admin/options-writing.php0.137 s0.330 s+0.193 s3.01 MiB3.76 MiB+ 766.48 KiB
/wp-admin/media-new.php0.255 s0.270 s+0.015 s2.99 MiB3.74 MiB+ 769.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.162 s0.206 s+0.044 s3.01 MiB3.79 MiB+ 798.74 KiB
/wp-admin/post-new.php?post_type=page0.588 s0.630 s+0.042 s5.01 MiB6.24 MiB+ 1.22 MiB
/wp-admin/options-discussion.php0.223 s0.327 s+0.104 s3 MiB3.76 MiB+ 780.1 KiB
/wp-admin/edit-comments.php0.185 s0.225 s+0.040 s3.03 MiB3.79 MiB+ 781.33 KiB
/0.282 s0.332 s+0.050 s2.97 MiB3.52 MiB+ 562.72 KiB
Average 0.355 s0.390 s+0.035 s3.38 MiB4.23 MiB+ 865.65 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
JavaScript40.5%23,9958,08926
PHP23.5%13,9334,443114
CSS18.9%11,2031,43716
Sass11.9%7,0591331
PO File3.9%2,3361,3271
JSON1.1%62606
Markdown0.3%15103
Total 59,303 15,309 197

PHP Code Analysis | More results »

Lines of code 11,301
Total complexity 1,995
Median class complexity 13.0
Median method complexity 2.0
Most complex class CommonsBooking\Model\Timeframe
Most complex function CommonsBooking\Map\MapAdmin::validate_options()
Classes 81
Methods 566
Functions 21

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 9

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_managerCommonsBooking Manager

Capabilities 85

PHP Error Log 9 lines

[07-Apr-2023 19:39:50 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
[07-Apr-2023 19:39:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[07-Apr-2023 19:39:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[07-Apr-2023 19:39:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Wordpress/Options/AdminOptions.php on line 43
[07-Apr-2023 19:39:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[07-Apr-2023 19:39:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[07-Apr-2023 19:39:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[07-Apr-2023 19:39:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/commonsbooking/src/Settings/Settings.php on line 85
[07-Apr-2023 19:40:02 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1729
See also: All tests for this plugin, How to Hide Commons Booking Admin Menus and Meta Boxes