CommonsBooking 2.6.9

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

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version5.9
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=2d33c39e58
Aspect after-activation
HTTP status 200
Load time 2.233 s
Memory usage 4.49 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.197 s
Memory usage 4.53 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.178 s
Memory usage 4.32 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.172 s
Memory usage 4.22 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.179 s
Memory usage 4.38 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.243 s
Memory usage 4.29 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.186 s
Memory usage 4.3 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.188 s
Memory usage 4.29 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.184 s
Memory usage 4.43 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.193 s
Memory usage 4.29 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.194 s
Memory usage 4.23 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.222 s
Memory usage 4.23 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.264 s
Memory usage 4.3 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.374 s
Memory usage 4.3 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.190 s
Memory usage 4.3 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.184 s
Memory usage 4.3 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.186 s
Memory usage 4.3 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.185 s
Memory usage 4.3 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.206 s
Memory usage 4.16 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.203 s
Memory usage 4.16 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.457 s
Memory usage 3.87 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.717 s
Memory usage 6.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.316 s0.424 s+0.108 s3.36 MiB4.27 MiB+ 927.49 KiB
/wp-admin/edit.php0.169 s0.271 s+0.102 s3.39 MiB4.33 MiB+ 960.99 KiB
/wp-admin/post-new.php0.975 s1.198 s+0.223 s6.14 MiB8.2 MiB+ 2.06 MiB
/wp-admin/upload.php0.366 s0.622 s+0.256 s3.24 MiB4.16 MiB+ 939.87 KiB
/wp-admin/options-writing.php0.251 s0.208 s-0.043 s3.24 MiB4.14 MiB+ 926.16 KiB
/wp-admin/media-new.php0.260 s0.279 s+0.019 s3.22 MiB4.14 MiB+ 941.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.223 s+0.042 s3.25 MiB4.17 MiB+ 941.94 KiB
/wp-admin/post-new.php?post_type=page0.990 s0.981 s-0.009 s6.14 MiB8.19 MiB+ 2.05 MiB
/wp-admin/options-discussion.php0.372 s0.303 s-0.069 s3.22 MiB4.14 MiB+ 942.8 KiB
/wp-admin/edit-comments.php0.206 s0.231 s+0.025 s3.26 MiB4.24 MiB+ 996.65 KiB
/0.251 s0.383 s+0.132 s3.35 MiB3.87 MiB+ 533.71 KiB
Average 0.394 s0.466 s+0.071 s3.8 MiB4.9 MiB+ 1.09 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
JavaScript41.2%23,9348,09026
PHP22.4%13,0444,160113
CSS19.1%11,1161,42516
Sass12.0%6,9931331
PO File3.9%2,2411,1881
JSON1.1%62606
Markdown0.3%15103
SVG0.0%2622
Total 58,131 14,878 198

PHP Code Analysis | More results »

Lines of code 9,948
Total complexity 1,804
Median class complexity 12.5
Median method complexity 2.0
Most complex class CommonsBooking\Model\Timeframe
Most complex function CommonsBooking\Map\MapAdmin::validate_options()
Classes 80
Methods 529
Functions 20

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 1 lines

[18-Feb-2022 20:34:53 UTC] PHP Notice:  Undefined index: post_type in /wp-content/plugins/commonsbooking/src/Wordpress/CustomPostType/Booking.php on line 634
See also: All tests for this plugin, How to Hide Commons Booking Admin Menus and Meta Boxes