Oscar Hotel Booking Engine 3.2

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

Summary

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

Memory usage: 141.73 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 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/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=d504dc34d4
Aspect after-activation
HTTP status 200
Load time 0.591 s
Memory usage 2.88 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.299 s
Memory usage 2.82 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.376 s
Memory usage 2.74 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 0.910 s
Memory usage 2.89 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.288 s0.276 s-0.012 s2.79 MiB2.93 MiB+ 144.58 KiB
/wp-admin/edit.php0.184 s0.226 s+0.042 s2.84 MiB2.97 MiB+ 136.58 KiB
/wp-admin/post-new.php0.903 s0.949 s+0.046 s4.93 MiB5.08 MiB+ 147.41 KiB
/wp-admin/upload.php0.523 s0.528 s+0.005 s2.67 MiB2.8 MiB+ 135.48 KiB
/wp-admin/options-writing.php0.163 s0.167 s+0.004 s2.68 MiB2.79 MiB+ 106.52 KiB
/wp-admin/media-new.php0.241 s0.195 s-0.046 s2.65 MiB2.78 MiB+ 137.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.246 s+0.033 s2.68 MiB2.88 MiB+ 202.44 KiB
/wp-admin/post-new.php?post_type=page1.442 s0.839 s-0.603 s4.92 MiB5.06 MiB+ 142.99 KiB
/wp-admin/options-discussion.php0.307 s0.320 s+0.013 s2.65 MiB2.78 MiB+ 139.34 KiB
/wp-admin/edit-comments.php0.222 s0.249 s+0.027 s2.75 MiB2.88 MiB+ 136.13 KiB
/0.261 s0.336 s+0.075 s2.61 MiB2.74 MiB+ 129.98 KiB
Average 0.432 s0.394 s-0.038 s3.11 MiB3.24 MiB+ 141.73 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
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP41.2%4,9481,39527
PO File24.1%2,8901159
Sass21.6%2,5965416
JavaScript10.5%1,2591657
SVG2.4%28801
HTML0.2%2401
CSS0.0%101
Total 12,006 1,729 62

PHP Code Analysis | More results »

Lines of code 4,374
Total complexity 824
Median class complexity 48.0
Median method complexity 2.0
Most complex class OHBE_Availability
Most complex function OHBE_Reservation::printReservationFieldType()
Classes 10
Methods 176
Functions 18

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 3

Sidebar Widgets 2

ID Name
ohbe_search_widgetOscar Hotel: Create booking
ohbe_show_widgetOscar Hotel: Look up booking

PHP Error Log 3 lines

[08-Feb-2021 01:34:56 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 104
[08-Feb-2021 01:34:56 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 104
[08-Feb-2021 01:34:56 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 104
See also: All tests for this plugin, How to Hide the "Redforts Hotel" Admin Menu