CommonsBooking 2.10

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

Summary

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

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

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

Environment
WordPress version6.7.1
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 23

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=59a69a5278
Aspect after-activation
HTTP status 200
Load time 1.652 s
Memory usage 4.9 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.292 s
Memory usage 4.88 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.248 s
Memory usage 4.59 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.267 s
Memory usage 4.49 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.332 s
Memory usage 4.74 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.358 s
Memory usage 4.68 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.271 s
Memory usage 4.67 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.55 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.258 s
Memory usage 4.52 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.408 s
Memory usage 4.5 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.247 s
Memory usage 4.51 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.309 s
Memory usage 4.58 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.326 s
Memory usage 4.54 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.256 s
Memory usage 4.5 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.548 s
Memory usage 4.5 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.281 s
Memory usage 4.54 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.258 s
Memory usage 4.5 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.272 s
Memory usage 4.54 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.312 s
Memory usage 4.47 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.269 s
Memory usage 4.47 MiB
JS errors None
Resource errors None

Commons Booking → Mass Operations

Page screenshot: Commons Booking → Mass Operations
URL /wp-admin/admin.php?page=cb-mass-operations
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage 4.47 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.514 s
Memory usage 7.88 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.003 s
Memory usage 7.2 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.393 s0.475 s+0.082 s3.48 MiB4.57 MiB+ 1.09 MiB
/wp-admin/edit.php0.249 s0.301 s+0.052 s3.54 MiB4.63 MiB+ 1.09 MiB
/wp-admin/post-new.php0.951 s1.321 s+0.370 s5.92 MiB7.43 MiB+ 1.51 MiB
/wp-admin/upload.php0.691 s0.617 s-0.074 s3.49 MiB4.48 MiB+ 1012.84 KiB
/wp-admin/options-writing.php0.247 s0.282 s+0.035 s3.47 MiB4.47 MiB+ 1017.55 KiB
/wp-admin/media-new.php0.307 s0.324 s+0.017 s3.46 MiB4.46 MiB+ 1 MiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.278 s+0.064 s3.47 MiB4.52 MiB+ 1.05 MiB
/wp-admin/post-new.php?post_type=page0.667 s0.754 s+0.087 s5.92 MiB7.38 MiB+ 1.46 MiB
/wp-admin/options-discussion.php0.342 s0.618 s+0.276 s3.47 MiB4.46 MiB+ 1014.67 KiB
/wp-admin/edit-comments.php0.235 s0.297 s+0.062 s3.49 MiB4.52 MiB+ 1.03 MiB
/0.418 s0.391 s-0.027 s3.41 MiB4.02 MiB+ 618.05 KiB
Average 0.429 s0.514 s+0.086 s3.92 MiB4.99 MiB+ 1.07 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.3%26,2668,60035
PHP28.0%18,7427,096137
CSS16.7%11,16639316
Sass11.4%7,6211334
PO File3.4%2,2441,0921
JSON1.3%871011
Total 66,910 17,194 234

PHP Code Analysis | More results »

Lines of code 16,303
Total complexity 2,736
Median class complexity 12.0
Median method complexity 2.0
Most complex class CommonsBooking\Model\Timeframe
Most complex function CommonsBooking\View\Booking::getBookingListData()
Classes 102
Methods 763
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_map": {
        "cb_map-custom-fields": {
            "title": "Map settings",
            "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 2 lines

[09-Jan-2025 15:06:14 UTC] PHP Warning:  Attempt to read property "ID" on bool in /wp-content/plugins/commonsbooking/src/View/Booking.php on line 322
[09-Jan-2025 15:06:17 UTC] PHP Warning:  Attempt to read property "ID" on bool in /wp-content/plugins/commonsbooking/src/View/Booking.php on line 322
See also: All tests for this plugin, How to Hide Commons Booking Admin Menus and Meta Boxes