Oscar Hotel Booking Engine 3.7

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

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

Environment
WordPress version5.8.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=5d1017d784
Aspect after-activation
HTTP status 200
Load time 0.430 s
Memory usage 3.24 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.454 s
Memory usage 3.16 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.421 s
Memory usage 3.04 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.104 s
Memory usage 4.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.321 s0.425 s+0.104 s3.08 MiB3.22 MiB+ 140.87 KiB
/wp-admin/edit.php0.179 s0.222 s+0.043 s3.11 MiB3.31 MiB+ 205.97 KiB
/wp-admin/post-new.php0.918 s1.151 s+0.233 s5.27 MiB5.41 MiB+ 141.82 KiB
/wp-admin/upload.php0.561 s0.418 s-0.143 s3.03 MiB3.17 MiB+ 139.37 KiB
/wp-admin/options-writing.php0.169 s0.148 s-0.021 s3.02 MiB3.15 MiB+ 126.77 KiB
/wp-admin/media-new.php0.253 s0.216 s-0.037 s3.01 MiB3.15 MiB+ 141.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.221 s+0.035 s3.04 MiB3.18 MiB+ 141.44 KiB
/wp-admin/post-new.php?post_type=page0.931 s0.996 s+0.065 s5.26 MiB5.39 MiB+ 137.41 KiB
/wp-admin/options-discussion.php0.226 s0.289 s+0.063 s3 MiB3.14 MiB+ 143.59 KiB
/wp-admin/edit-comments.php0.202 s0.262 s+0.060 s3.04 MiB3.18 MiB+ 139.91 KiB
/0.265 s0.326 s+0.061 s2.96 MiB3.04 MiB+ 81.74 KiB
Average 0.383 s0.425 s+0.042 s3.44 MiB3.57 MiB+ 140.03 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,0781,43228
PO File24.6%3,007619
Sass20.8%2,5385218
JavaScript10.4%1,2651658
SVG2.4%28801
HTML0.2%2401
CSS0.0%202
Total 12,202 1,710 67

PHP Code Analysis | More results »

Lines of code 4,475
Total complexity 833
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

[14-Sep-2021 00:45:50 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
[14-Sep-2021 00:45:50 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
[14-Sep-2021 00:45:50 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
[14-Sep-2021 00:45:50 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
[14-Sep-2021 00:45:50 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