CommonsBooking 2.10.4

Does Commons Booking work with WordPress 6.8.1 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.13 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.8.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=62a287160d
Aspect after-activation
HTTP status 200
Load time 1.535 s
Memory usage 4.98 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.222 s
Memory usage 4.9 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.219 s
Memory usage 4.61 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.201 s
Memory usage 4.51 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.293 s
Memory usage 4.76 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.291 s
Memory usage 4.7 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.321 s
Memory usage 4.69 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.226 s
Memory usage 4.57 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.218 s
Memory usage 4.55 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.219 s
Memory usage 4.52 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.224 s
Memory usage 4.54 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.270 s
Memory usage 4.6 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.243 s
Memory usage 4.56 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.426 s
Memory usage 4.55 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.55 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.232 s
Memory usage 4.56 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.220 s
Memory usage 4.55 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.238 s
Memory usage 4.56 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.233 s
Memory usage 4.49 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.235 s
Memory usage 4.5 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.199 s
Memory usage 4.49 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.445 s
Memory usage 7.9 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 1.388 s
Memory usage 7.24 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.351 s0.403 s+0.052 s3.51 MiB4.59 MiB+ 1.08 MiB
/wp-admin/edit.php0.201 s0.242 s+0.041 s3.57 MiB4.65 MiB+ 1.07 MiB
/wp-admin/post-new.php0.825 s1.125 s+0.300 s6.06 MiB7.89 MiB+ 1.83 MiB
/wp-admin/upload.php0.779 s0.993 s+0.214 s3.52 MiB4.51 MiB+ 1007.72 KiB
/wp-admin/options-writing.php0.230 s0.231 s+0.001 s3.5 MiB4.49 MiB+ 1012.43 KiB
/wp-admin/media-new.php0.293 s0.292 s-0.001 s3.49 MiB4.49 MiB+ 1020.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.232 s+0.059 s3.5 MiB4.55 MiB+ 1.04 MiB
/wp-admin/post-new.php?post_type=page0.623 s0.703 s+0.080 s6.05 MiB7.84 MiB+ 1.79 MiB
/wp-admin/options-discussion.php0.315 s0.822 s+0.507 s3.5 MiB4.49 MiB+ 1009.55 KiB
/wp-admin/edit-comments.php0.206 s0.258 s+0.052 s3.52 MiB4.54 MiB+ 1.02 MiB
/0.324 s0.328 s+0.004 s3.43 MiB4.04 MiB+ 617.55 KiB
Average 0.393 s0.512 s+0.119 s3.97 MiB5.1 MiB+ 1.13 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
JavaScript38.9%26,2768,60235
PHP28.7%19,3567,491137
CSS16.5%11,16639316
Sass11.3%7,6211334
PO File3.3%2,2441,1711
JSON1.3%871011
Total 67,534 17,670 234

PHP Code Analysis | More results »

Lines of code 16,757
Total complexity 2,749
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 769
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

The log file is empty.

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