CommonsBooking 2.4

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: 754.36 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 1.270 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=8bfd45f8ce
Aspect after-activation
HTTP status 200
Load time 3.802 s
Memory usage 3.6 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 2.570 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 1.424 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 1.528 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.204 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.591 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.524 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.593 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.405 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.167 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.210 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.371 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.774 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=1613326301:23:27)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/commonsbooking/assets/public/js/public.js?ver=1613326301: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.562 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.457 s1.693 s+1.236 s2.79 MiB3.38 MiB+ 601.56 KiB
/wp-admin/edit.php0.305 s1.715 s+1.410 s2.84 MiB3.45 MiB+ 632.87 KiB
/wp-admin/post-new.php1.338 s2.406 s+1.068 s4.93 MiB6.36 MiB+ 1.42 MiB
/wp-admin/upload.php0.526 s2.642 s+2.116 s2.67 MiB3.31 MiB+ 658.14 KiB
/wp-admin/options-writing.php0.235 s2.157 s+1.922 s2.68 MiB3.3 MiB+ 627.63 KiB
/wp-admin/media-new.php0.224 s1.491 s+1.267 s2.65 MiB3.29 MiB+ 659.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.260 s1.446 s+1.186 s2.68 MiB3.32 MiB+ 659.59 KiB
/wp-admin/post-new.php?post_type=page0.923 s2.352 s+1.429 s4.92 MiB6.34 MiB+ 1.42 MiB
/wp-admin/options-discussion.php0.473 s1.795 s+1.322 s2.65 MiB3.29 MiB+ 660.13 KiB
/wp-admin/edit-comments.php0.410 s1.315 s+0.905 s2.75 MiB3.33 MiB+ 595.52 KiB
/0.561 s0.666 s+0.105 s2.61 MiB2.9 MiB+ 295.09 KiB
Average 0.519 s1.789 s+1.270 s3.11 MiB3.84 MiB+ 754.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,0472,71888
CSS18.7%9,03992115
Sass11.2%5,413326
PO File2.7%1,3008611
Markdown0.3%15103
JSON0.1%6302
SVG0.1%2622
Total 48,280 12,549 160

PHP Code Analysis | More results »

Lines of code 7,497
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