Oscar Hotel Booking Engine 4.2

Does Oscar Hotel Booking Engine work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
5PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.0.2
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/oscar-hotel-booking-engine/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=oscar-hotel-booking-engine%2Foscar-hotel-booking-engine.php&plugin_status=all&paged=1&s&_wpnonce=b3d83c8316
Aspect after-activation
HTTP status 200
Load time 0.404 s
Memory usage 3.76 MiB
JS errors None
Resource errors None

Oscar Hotel

Page screenshot: Oscar Hotel
URL /wp-admin/admin.php?page=ohbe
Aspect menu-item
HTTP status 200
Load time 0.204 s
Memory usage 3.75 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.402 s
Memory usage 3.6 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.625 s
Memory usage 5.6 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
    },
    {
        "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.310 s0.406 s+0.096 s3.72 MiB3.79 MiB+ 63.99 KiB
/wp-admin/edit.php0.183 s0.198 s+0.015 s3.76 MiB3.82 MiB+ 63.28 KiB
/wp-admin/post-new.php0.721 s0.989 s+0.268 s5.55 MiB5.62 MiB+ 71.45 KiB
/wp-admin/upload.php0.645 s0.388 s-0.257 s3.69 MiB3.75 MiB+ 62.49 KiB
/wp-admin/options-writing.php0.151 s0.167 s+0.016 s3.62 MiB3.73 MiB+ 109.83 KiB
/wp-admin/media-new.php0.403 s0.231 s-0.172 s3.66 MiB3.73 MiB+ 64.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.202 s+0.033 s3.69 MiB3.75 MiB+ 64.56 KiB
/wp-admin/post-new.php?post_type=page0.596 s0.617 s+0.021 s5.54 MiB5.6 MiB+ 63.03 KiB
/wp-admin/options-discussion.php0.213 s0.292 s+0.079 s3.6 MiB3.73 MiB+ 130.72 KiB
/wp-admin/edit-comments.php0.202 s0.223 s+0.021 s3.7 MiB3.76 MiB+ 63.03 KiB
/0.284 s0.282 s-0.002 s3.6 MiB3.6 MiB- 4.71 KiB
Average 0.352 s0.363 s+0.011 s4.01 MiB4.08 MiB+ 68.39 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.

PHP
PO File
SVG
Language % Lines of code Comment lines Files
PHP48.3%1,15248917
PO File26.8%639459
SVG12.1%28801
JavaScript6.5%154203
Sass6.3%151236
CSS0.1%202
Total 2,386 577 38

PHP Code Analysis | More results »

Lines of code 1,029
Total complexity 185
Median class complexity 24.5
Median method complexity 1.0
Most complex class OHBE_Main
Most complex function OHBE_Tools::setUrlParams()
Classes 6
Methods 70
Functions 10

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.

Options wp_options 2

Sidebar Widgets 1

ID Name
ohbe_search_widgetOscar Hotel: Create booking

PHP Error Log 5 lines

[05-Sep-2022 01:39:22 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/oscar-hotel-booking-engine/includes/api/OscarAPI.php on line 59
[05-Sep-2022 01:39:22 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/oscar-hotel-booking-engine/includes/api/OscarAPI.php on line 81
[05-Sep-2022 01:39:22 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/oscar-hotel-booking-engine/includes/api/OscarAPI.php on line 81
[05-Sep-2022 01:39:22 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/oscar-hotel-booking-engine/includes/api/OscarAPI.php on line 81
[05-Sep-2022 01:39:22 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/oscar-hotel-booking-engine/includes/api/OscarAPI.php on line 81
See also: All tests for this plugin, How to Hide the "Redforts Hotel" Admin Menu