CommonsBooking 2.4.2

Does CommonsBooking work with WordPress 5.7 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.05 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.7
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=818f2a5950
Aspect after-activation
HTTP status 200
Load time 4.400 s
Memory usage 3.62 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.972 s
Memory usage 3.36 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.416 s
Memory usage 3.73 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.506 s
Memory usage 3.43 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.528 s
Memory usage 3.4 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.124 s
Memory usage 3.42 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.342 s
Memory usage 3.42 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.539 s
Memory usage 3.38 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.676 s
Memory usage 3.43 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.7:2:30005)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.7: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 2.470 s
Memory usage 3.43 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 2.902 s
Memory usage 3.43 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 3.144 s
Memory usage 3.43 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.559 s
Memory usage 2.93 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=1615782901:23:27)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/commonsbooking/assets/public/js/public.js?ver=1615782901: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 4.551 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.256 s2.840 s+2.584 s2.82 MiB3.41 MiB+ 601.41 KiB
/wp-admin/edit.php0.174 s4.257 s+4.083 s2.86 MiB3.48 MiB+ 632.71 KiB
/wp-admin/post-new.php0.866 s2.578 s+1.712 s5.02 MiB6.47 MiB+ 1.45 MiB
/wp-admin/upload.php0.457 s1.559 s+1.102 s2.7 MiB3.34 MiB+ 657.62 KiB
/wp-admin/options-writing.php0.250 s1.385 s+1.135 s2.71 MiB3.32 MiB+ 623.2 KiB
/wp-admin/media-new.php0.220 s0.943 s+0.723 s2.67 MiB3.32 MiB+ 659.04 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.848 s+0.661 s2.77 MiB3.35 MiB+ 596.68 KiB
/wp-admin/post-new.php?post_type=page1.105 s1.233 s+0.128 s5.01 MiB6.46 MiB+ 1.45 MiB
/wp-admin/options-discussion.php0.283 s1.102 s+0.819 s2.67 MiB3.32 MiB+ 659.98 KiB
/wp-admin/edit-comments.php0.232 s0.895 s+0.663 s2.78 MiB3.36 MiB+ 595.37 KiB
/0.259 s0.398 s+0.139 s2.65 MiB2.94 MiB+ 291.25 KiB
Average 0.390 s1.640 s+1.250 s3.15 MiB3.89 MiB+ 753.05 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
JavaScript48.2%23,2418,04423
CSS18.7%9,03992115
PHP18.7%9,0342,72388
Sass11.2%5,413326
PO File2.7%1,3008611
Markdown0.3%15103
JSON0.1%6302
SVG0.1%2622
Total 48,267 12,554 160

PHP Code Analysis | More results »

Lines of code 7,484
Total complexity 1,302
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