CommonsBooking 2.4.1

Does CommonsBooking work with WordPress 5.6.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

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

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

Environment
WordPress version5.6.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 14

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=4d3cbe2d1f
Aspect after-activation
HTTP status 200
Load time 3.760 s
Memory usage 3.59 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 1.943 s
Memory usage 3.33 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.987 s
Memory usage 3.7 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.879 s
Memory usage 3.4 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 1.005 s
Memory usage 3.37 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 1.065 s
Memory usage 3.39 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 1.072 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

CommonsBooking

Page screenshot: CommonsBooking
URL /wp-admin/admin.php?page=cb-dashboard
Aspect menu-item
HTTP status 200
Load time 1.165 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

CommonsBooking → Timeframes

Page screenshot: CommonsBooking → Timeframes
URL /wp-admin/edit.php?post_type=cb_timeframe
Aspect menu-item
HTTP status 200
Load time 1.118 s
Memory usage 3.4 MiB
JS errors
[
    {
        "message": "TypeError: $(...).datepicker is not a function\n    at HTMLDocument.<anonymous> (/wp-admin/edit.php?post_type=cb_timeframe:232:92)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6.1:2:30005)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.6.1:2:30307)",
        "trace": null,
        "code": null
    }
]
Resource errors None

CommonsBooking → Items

Page screenshot: CommonsBooking → Items
URL /wp-admin/edit.php?post_type=cb_item
Aspect menu-item
HTTP status 200
Load time 1.766 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

CommonsBooking → Locations

Page screenshot: CommonsBooking → Locations
URL /wp-admin/edit.php?post_type=cb_location
Aspect menu-item
HTTP status 200
Load time 1.400 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

CommonsBooking → Maps

Page screenshot: CommonsBooking → Maps
URL /wp-admin/edit.php?post_type=cb_map
Aspect menu-item
HTTP status 200
Load time 1.446 s
Memory usage 3.4 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.605 s
Memory usage 2.9 MiB
JS errors
[
    {
        "message": "TypeError: Shuffle needs to be initialized with an element.\n    at new Shuffle (/wp-content/plugins/commonsbooking/assets/global/js/vendor.js?ver=1.0.0:899:15)\n    at new BookingList (/wp-content/plugins/commonsbooking/assets/public/js/public.js?ver=1613327750:23:27)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/commonsbooking/assets/public/js/public.js?ver=1613327750:228:19)",
        "trace": null,
        "code": null
    }
]
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.670 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.251 s1.058 s+0.807 s2.79 MiB3.38 MiB+ 601.41 KiB
/wp-admin/edit.php0.175 s2.110 s+1.935 s2.84 MiB3.45 MiB+ 631.33 KiB
/wp-admin/post-new.php0.949 s2.794 s+1.845 s4.93 MiB6.36 MiB+ 1.42 MiB
/wp-admin/upload.php0.466 s1.784 s+1.318 s2.67 MiB3.31 MiB+ 657.93 KiB
/wp-admin/options-writing.php0.166 s1.359 s+1.193 s2.68 MiB3.29 MiB+ 624.05 KiB
/wp-admin/media-new.php0.309 s1.501 s+1.192 s2.65 MiB3.29 MiB+ 658.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s1.094 s+0.909 s2.68 MiB3.32 MiB+ 659.38 KiB
/wp-admin/post-new.php?post_type=page0.673 s1.569 s+0.896 s4.93 MiB6.34 MiB+ 1.41 MiB
/wp-admin/options-discussion.php0.295 s1.621 s+1.326 s2.65 MiB3.29 MiB+ 659.98 KiB
/wp-admin/edit-comments.php0.220 s1.115 s+0.895 s2.75 MiB3.33 MiB+ 595.37 KiB
/0.240 s0.415 s+0.175 s2.61 MiB2.9 MiB+ 294.94 KiB
Average 0.357 s1.493 s+1.136 s3.11 MiB3.84 MiB+ 753.36 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
PHP
CSS
Sass
Language % Lines of code Comment lines Files
JavaScript48.1%23,2418,04423
PHP18.7%9,0462,72088
CSS18.7%9,03992115
Sass11.2%5,413326
PO File2.7%1,3008611
Markdown0.3%15103
JSON0.1%6302
SVG0.1%2622
Total 48,279 12,551 160

PHP Code Analysis | More results »

Lines of code 7,496
Total complexity 1,306
Median class complexity 12.5
Median method complexity 2.0
Most complex class CommonsBooking\Wordpress\CustomPostType\Timeframe
Most complex function CommonsBooking\Map\MapAdmin::validate_options()
Classes 58
Methods 367
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 5

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