Oscar Hotel Booking Engine 3.9

Does Oscar Hotel Booking Engine work with WordPress 5.9 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: 141.33 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.9
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=b3c8d3ec61
Aspect after-activation
HTTP status 200
Load time 0.512 s
Memory usage 3.45 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.390 s
Memory usage 3.38 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.416 s
Memory usage 3.48 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.635 s
Memory usage 5.26 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.425 s+0.088 s3.36 MiB3.49 MiB+ 133.23 KiB
/wp-admin/edit.php0.175 s0.248 s+0.073 s3.39 MiB3.52 MiB+ 133.63 KiB
/wp-admin/post-new.php0.855 s1.211 s+0.356 s6.14 MiB6.28 MiB+ 136.69 KiB
/wp-admin/upload.php0.347 s0.541 s+0.194 s3.24 MiB3.38 MiB+ 139.73 KiB
/wp-admin/options-writing.php0.298 s0.194 s-0.104 s3.24 MiB3.36 MiB+ 127.02 KiB
/wp-admin/media-new.php0.323 s0.258 s-0.065 s3.22 MiB3.36 MiB+ 141.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.218 s+0.036 s3.25 MiB3.39 MiB+ 141.8 KiB
/wp-admin/post-new.php?post_type=page0.700 s0.995 s+0.295 s6.14 MiB6.27 MiB+ 132.27 KiB
/wp-admin/options-discussion.php0.225 s0.347 s+0.122 s3.22 MiB3.36 MiB+ 143.96 KiB
/wp-admin/edit-comments.php0.205 s0.278 s+0.073 s3.26 MiB3.45 MiB+ 196.27 KiB
/0.254 s0.307 s+0.053 s3.35 MiB3.48 MiB+ 128.16 KiB
Average 0.355 s0.457 s+0.102 s3.8 MiB3.94 MiB+ 141.33 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,0931,43228
PO File24.6%3,007619
Sass20.8%2,5395218
JavaScript10.5%1,2831668
SVG2.4%28801
HTML0.2%2401
CSS0.0%202
Total 12,236 1,711 67

PHP Code Analysis | More results »

Lines of code 4,490
Total complexity 838
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 20

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 5 lines

[30-Jan-2022 09:04:31 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 103
[30-Jan-2022 09:04:31 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 125
[30-Jan-2022 09:04:31 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 125
[30-Jan-2022 09:04:31 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 125
[30-Jan-2022 09:04:31 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 125
See also: All tests for this plugin, How to Hide the "Redforts Hotel" Admin Menu