Oscar Hotel Booking Engine 3.3

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

Summary

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

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

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

Environment
WordPress version5.6.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=28c4e38269
Aspect after-activation
HTTP status 200
Load time 2.107 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.308 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.412 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 1.000 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.280 s0.294 s+0.014 s2.79 MiB2.93 MiB+ 144.58 KiB
/wp-admin/edit.php0.181 s0.226 s+0.045 s2.84 MiB2.97 MiB+ 136.58 KiB
/wp-admin/post-new.php0.926 s1.128 s+0.202 s4.93 MiB5.08 MiB+ 147.41 KiB
/wp-admin/upload.php0.531 s0.538 s+0.007 s2.67 MiB2.8 MiB+ 135.48 KiB
/wp-admin/options-writing.php0.164 s0.178 s+0.014 s2.68 MiB2.79 MiB+ 106.52 KiB
/wp-admin/media-new.php0.259 s0.220 s-0.039 s2.65 MiB2.78 MiB+ 137.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.291 s+0.063 s2.68 MiB2.88 MiB+ 202.44 KiB
/wp-admin/post-new.php?post_type=page1.204 s1.206 s+0.002 s4.92 MiB5.06 MiB+ 142.99 KiB
/wp-admin/options-discussion.php0.301 s0.303 s+0.002 s2.65 MiB2.78 MiB+ 139.34 KiB
/wp-admin/edit-comments.php0.246 s0.237 s-0.009 s2.75 MiB2.88 MiB+ 136.13 KiB
/0.336 s0.325 s-0.011 s2.61 MiB2.74 MiB+ 130.66 KiB
Average 0.423 s0.450 s+0.026 s3.11 MiB3.25 MiB+ 141.79 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.6%5,0201,42127
PO File24.6%2,971459
Sass20.8%2,5105016
JavaScript10.4%1,2591657
SVG2.4%28801
HTML0.2%2401
CSS0.0%101
Total 12,073 1,681 62

PHP Code Analysis | More results »

Lines of code 4,441
Total complexity 827
Median class complexity 49.5
Median method complexity 2.0
Most complex class OHBE_Availability
Most complex function OHBE_Reservation::printReservationFieldType()
Classes 10
Methods 179
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 4 lines

[26-Feb-2021 21:14:54 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 108
[26-Feb-2021 21:14:54 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 108
[26-Feb-2021 21:14:54 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 108
[26-Feb-2021 21:14:54 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 108
See also: All tests for this plugin, How to Hide the "Redforts Hotel" Admin Menu