CommonsBooking 2.9.1

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

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

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

Environment
WordPress version6.5.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=a2f5d192a4
Aspect after-activation
HTTP status 200
Load time 1.656 s
Memory usage 4.77 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.249 s
Memory usage 4.74 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 4.45 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.232 s
Memory usage 4.35 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.300 s
Memory usage 4.6 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.317 s
Memory usage 4.5 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.365 s
Memory usage 4.37 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.263 s
Memory usage 4.36 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.242 s
Memory usage 4.49 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.243 s
Memory usage 4.36 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.240 s
Memory usage 4.38 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.475 s
Memory usage 4.44 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.290 s
Memory usage 4.38 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.231 s
Memory usage 4.34 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.222 s
Memory usage 4.34 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.258 s
Memory usage 4.34 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.267 s
Memory usage 4.34 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.262 s
Memory usage 4.34 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.241 s
Memory usage 4.3 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.242 s
Memory usage 4.3 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.465 s
Memory usage 7.81 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.439 s
Memory usage 7.06 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.415 s0.451 s+0.036 s3.44 MiB4.43 MiB+ 1016.52 KiB
/wp-admin/edit.php0.217 s0.248 s+0.031 s3.46 MiB4.49 MiB+ 1.03 MiB
/wp-admin/post-new.php0.905 s1.151 s+0.246 s5.59 MiB7.16 MiB+ 1.57 MiB
/wp-admin/upload.php0.624 s0.721 s+0.097 s3.38 MiB4.31 MiB+ 948.45 KiB
/wp-admin/options-writing.php0.227 s0.309 s+0.082 s3.37 MiB4.29 MiB+ 940.71 KiB
/wp-admin/media-new.php0.307 s0.355 s+0.048 s3.35 MiB4.29 MiB+ 957.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.257 s+0.053 s3.37 MiB4.31 MiB+ 965.02 KiB
/wp-admin/post-new.php?post_type=page0.619 s0.872 s+0.253 s5.59 MiB7.11 MiB+ 1.53 MiB
/wp-admin/options-discussion.php0.335 s0.379 s+0.044 s3.36 MiB4.29 MiB+ 953.24 KiB
/wp-admin/edit-comments.php0.276 s0.270 s-0.006 s3.39 MiB4.34 MiB+ 975.8 KiB
/0.311 s0.385 s+0.074 s3.37 MiB3.96 MiB+ 608.51 KiB
Average 0.404 s0.491 s+0.087 s3.79 MiB4.82 MiB+ 1.03 MiB

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.7%25,9088,53732
PHP27.7%18,0506,692134
CSS17.0%11,10738116
Sass11.0%7,1781332
PO File3.2%2,1141,0911
JSON1.3%871011
Total 65,228 16,714 226

PHP Code Analysis | More results »

Lines of code 15,046
Total complexity 2,671
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 98
Methods 744
Functions 30

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 11

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

The log file is empty.

See also: All tests for this plugin, How to Hide Commons Booking Admin Menus and Meta Boxes