CommonsBooking 2.4.3

Does Commons Booking work with WordPress 5.7.1 and PHP 7.4.8? 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: 745.67 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.7.1
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 17

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=c4beb6aefd
Aspect after-activation
HTTP status 200
Load time 3.378 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Settings → Commons Booking Map

Page screenshot: Settings → Commons Booking Map
URL /wp-admin/options-general.php?page=commonsbooking
Aspect menu-item
HTTP status 200
Load time 0.240 s
Memory usage 3.35 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.209 s
Memory usage 3.72 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.183 s
Memory usage 3.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.171 s
Memory usage 3.34 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.254 s
Memory usage 3.43 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.265 s
Memory usage 3.41 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.172 s
Memory usage 3.55 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.237 s
Memory usage 3.38 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.337 s
Memory usage 3.42 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.247 s
Memory usage 3.42 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.172 s
Memory usage 3.42 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.175 s
Memory usage 3.42 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.238 s
Memory usage 3.34 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.190 s
Memory usage 3.34 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.516 s
Memory usage 2.94 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.005 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.289 s0.436 s+0.147 s2.82 MiB3.4 MiB+ 592.77 KiB
/wp-admin/edit.php0.185 s0.446 s+0.261 s2.86 MiB3.47 MiB+ 618.21 KiB
/wp-admin/post-new.php0.915 s1.180 s+0.265 s5.02 MiB6.46 MiB+ 1.44 MiB
/wp-admin/upload.php0.514 s0.499 s-0.015 s2.7 MiB3.33 MiB+ 648.95 KiB
/wp-admin/options-writing.php0.263 s0.235 s-0.028 s2.71 MiB3.32 MiB+ 619.74 KiB
/wp-admin/media-new.php0.216 s0.232 s+0.016 s2.67 MiB3.31 MiB+ 650.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.225 s+0.030 s2.77 MiB3.35 MiB+ 588.64 KiB
/wp-admin/post-new.php?post_type=page1.278 s0.724 s-0.554 s5.01 MiB6.44 MiB+ 1.44 MiB
/wp-admin/options-discussion.php0.315 s0.270 s-0.045 s2.67 MiB3.31 MiB+ 652.25 KiB
/wp-admin/edit-comments.php0.229 s0.233 s+0.004 s2.78 MiB3.35 MiB+ 586.73 KiB
/0.258 s0.459 s+0.201 s2.65 MiB2.94 MiB+ 299.13 KiB
Average 0.423 s0.449 s+0.026 s3.15 MiB3.88 MiB+ 745.67 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
CSS
PHP
Sass
Language % Lines of code Comment lines Files
JavaScript45.4%23,2868,05424
CSS20.9%10,7281,31115
PHP18.9%9,7202,86690
Sass11.5%5,898223
PO File2.8%1,4509101
Markdown0.3%15103
JSON0.1%6302
SVG0.1%2622
Total 51,322 13,145 160

PHP Code Analysis | More results »

Lines of code 7,961
Total complexity 1,407
Median class complexity 13.0
Median method complexity 2.0
Most complex class CommonsBooking\Wordpress\CustomPostType\Timeframe
Most complex function CommonsBooking\Map\MapAdmin::validate_options()
Classes 60
Methods 387
Functions 17

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 6

Custom Post Types 4

ID Name
cb_itemItems
cb_locationLocations
cb_timeframeTimeframes
cb_mapMaps

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"
        }
    }
}

Roles 1

ID Name
cb_managerCommonsBooking Manager

Capabilities 57

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