CommonsBooking 2.7.1

Does Commons Booking work with WordPress 6.0 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: 1.06 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0
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=c3ac338149
Aspect after-activation
HTTP status 200
Load time 2.804 s
Memory usage 4.96 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.411 s
Memory usage 5 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.210 s
Memory usage 4.79 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.263 s
Memory usage 4.7 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.322 s
Memory usage 4.93 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.278 s
Memory usage 4.76 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.243 s
Memory usage 4.77 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.297 s
Memory usage 4.76 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.250 s
Memory usage 4.9 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.244 s
Memory usage 4.76 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.255 s
Memory usage 4.7 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.282 s
Memory usage 4.7 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.270 s
Memory usage 4.81 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.295 s
Memory usage 4.77 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.261 s
Memory usage 4.77 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.266 s
Memory usage 4.77 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.426 s
Memory usage 4.77 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.257 s
Memory usage 4.77 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.267 s
Memory usage 4.63 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.313 s
Memory usage 4.63 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.763 s
Memory usage 8.43 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 2.016 s
Memory usage 6.93 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.374 s0.477 s+0.103 s3.72 MiB4.73 MiB+ 1.02 MiB
/wp-admin/edit.php0.216 s0.262 s+0.046 s3.75 MiB4.8 MiB+ 1.05 MiB
/wp-admin/post-new.php0.857 s1.099 s+0.242 s5.53 MiB6.98 MiB+ 1.45 MiB
/wp-admin/upload.php0.544 s0.573 s+0.029 s3.68 MiB4.63 MiB+ 974.73 KiB
/wp-admin/options-writing.php0.436 s0.238 s-0.198 s3.61 MiB4.61 MiB+ 1021.49 KiB
/wp-admin/media-new.php0.329 s0.265 s-0.064 s3.66 MiB4.61 MiB+ 976.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.236 s0.398 s+0.162 s3.68 MiB4.64 MiB+ 977.67 KiB
/wp-admin/post-new.php?post_type=page0.772 s0.841 s+0.069 s5.53 MiB6.97 MiB+ 1.45 MiB
/wp-admin/options-discussion.php0.293 s0.322 s+0.029 s3.59 MiB4.61 MiB+ 1.02 MiB
/wp-admin/edit-comments.php0.276 s0.280 s+0.004 s3.69 MiB4.71 MiB+ 1.02 MiB
/0.368 s0.517 s+0.149 s3.55 MiB4.33 MiB+ 801.14 KiB
Average 0.427 s0.479 s+0.052 s4 MiB5.06 MiB+ 1.06 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
JavaScript40.5%23,9368,07926
PHP23.5%13,8854,432114
CSS18.9%11,2031,43716
Sass11.9%7,0591331
PO File3.9%2,3051,2391
JSON1.1%62606
Markdown0.3%15103
Total 59,165 15,200 197

PHP Code Analysis | More results »

Lines of code 10,624
Total complexity 1,891
Median class complexity 13.0
Median method complexity 2.0
Most complex class CommonsBooking\Model\Timeframe
Most complex function CommonsBooking\Map\MapAdmin::validate_options()
Classes 80
Methods 541
Functions 21

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

The log file is empty.

See also: All tests for this plugin, How to Hide Commons Booking Admin Menus and Meta Boxes