Home
WP Hotelier
2.7.1
Does WP Hotelier work with WordPress 5.9.2 and PHP 7.4.8? A smoke test was performed on 2022-03-13 02:29:01 UTC .
Summary
Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance
Memory usage: 1 MiB
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 version 5.9.2 PHP version 7.4.8 MySQL version 8.0.21 PHP memory limit 256M
Pages 14 Plugins ‹ Test site — WordPress
URL
/wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL
/wp-admin/plugins.php?action=activate&plugin=wp-hotelier%2Fhotelier.php&plugin_status=all&paged=1&s&_wpnonce=fc2755587d
Aspect
after-activation
HTTP status
200
Load time
1.374 s
Memory usage
4.44 MiB
JS errors
None
Resource errors
None
Hotelier
URL
/wp-admin/admin.php?page=hotelier-settings
Aspect
menu-item
HTTP status
200
Load time
0.719 s
Memory usage
4.39 MiB
JS errors
None
Resource errors
None
Hotelier → Add Reservation
URL
/wp-admin/admin.php?page=hotelier-add-reservation
Aspect
menu-item
HTTP status
200
Load time
0.176 s
Memory usage
4.34 MiB
JS errors
None
Resource errors
None
Hotelier → Reservations
URL
/wp-admin/edit.php?post_type=room_reservation
Aspect
menu-item
HTTP status
200
Load time
0.213 s
Memory usage
4.41 MiB
JS errors
None
Resource errors
None
Hotelier → Extras
URL
/wp-admin/edit.php?post_type=extra
Aspect
menu-item
HTTP status
200
Load time
0.170 s
Memory usage
4.41 MiB
JS errors
None
Resource errors
None
Hotelier → Calendar
URL
/wp-admin/admin.php?page=hotelier-calendar
Aspect
menu-item
HTTP status
200
Load time
0.206 s
Memory usage
4.34 MiB
JS errors
None
Resource errors
None
Hotelier → Logs
URL
/wp-admin/admin.php?page=hotelier-logs
Aspect
menu-item
HTTP status
200
Load time
0.157 s
Memory usage
4.3 MiB
JS errors
None
Resource errors
None
Rooms
URL
/wp-admin/edit.php?post_type=room
Aspect
menu-item
HTTP status
200
Load time
0.274 s
Memory usage
4.41 MiB
JS errors
None
Resource errors
None
Rooms → Add New
URL
/wp-admin/post-new.php?post_type=room
Aspect
menu-item
HTTP status
200
Load time
1.110 s
Memory usage
4.66 MiB
JS errors
None
Resource errors
None
Rooms → Categories
URL
/wp-admin/edit-tags.php?taxonomy=room_cat&post_type=room
Aspect
menu-item
HTTP status
200
Load time
0.208 s
Memory usage
4.29 MiB
JS errors
None
Resource errors
None
Rooms → Rates
URL
/wp-admin/edit-tags.php?taxonomy=room_rate&post_type=room
Aspect
menu-item
HTTP status
200
Load time
0.169 s
Memory usage
4.29 MiB
JS errors
None
Resource errors
None
Rooms → Facilities
URL
/wp-admin/edit-tags.php?taxonomy=room_facilities&post_type=room
Aspect
menu-item
HTTP status
200
Load time
0.342 s
Memory usage
4.29 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.854 s
Memory usage
3.89 MiB
JS errors
None
Resource errors
None
Widgets ‹ Test site — WordPress
URL
/wp-admin/widgets.php
Aspect
new-sidebar-widgets
HTTP status
200
Load time
1.435 s
Memory usage
6.27 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.372 s 0.341 s -0.031 s 3.37 MiB 4.41 MiB + 1.04 MiB /wp-admin/edit.php 0.175 s 0.189 s +0.014 s 3.4 MiB 4.45 MiB + 1.05 MiB /wp-admin/post-new.php 1.088 s 1.096 s +0.008 s 6.15 MiB 7.2 MiB + 1.05 MiB /wp-admin/upload.php 0.471 s 0.339 s -0.132 s 3.25 MiB 4.29 MiB + 1.04 MiB /wp-admin/options-writing.php 0.205 s 0.144 s -0.061 s 3.24 MiB 4.27 MiB + 1.03 MiB /wp-admin/media-new.php 0.241 s 0.203 s -0.038 s 3.23 MiB 4.27 MiB + 1.04 MiB /wp-admin/edit-tags.php?taxonomy=category 0.192 s 0.174 s -0.018 s 3.27 MiB 4.36 MiB + 1.1 MiB /wp-admin/post-new.php?post_type=page 0.928 s 0.972 s +0.044 s 6.15 MiB 7.2 MiB + 1.05 MiB /wp-admin/options-discussion.php 0.218 s 0.300 s +0.082 s 3.22 MiB 4.26 MiB + 1.04 MiB /wp-admin/edit-comments.php 0.206 s 0.204 s -0.002 s 3.27 MiB 4.37 MiB + 1.1 MiB / 0.273 s 0.225 s -0.048 s 3.4 MiB 3.89 MiB + 503.11 KiB
Average
0.397 s 0.381 s -0.017 s 3.81 MiB 4.82 MiB + 1 MiB
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.
Language
%
Lines of code
Comment lines
Files
PHP 57.6% 21,096 8,800 294 SVG 24.0% 8,788 12 14 CSS 11.3% 4,148 315 6 JavaScript 3.9% 1,413 56 12 XML 3.2% 1,181 16 1
Total
36,626
9,199
327
Lines of code
14,713
Total complexity
3,237
Median class complexity
18.5
Median method complexity
2.0
Most complex class
HTL_Reservation
Most complex function
HTL_Meta_Box_Reservation_Save::change_reservation_totals()
Classes
78
Methods
800
Functions
205
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.
Database Tables 5 wp_hotelier_bookings wp_hotelier_reservation_itemmeta wp_hotelier_reservation_items wp_hotelier_rooms_bookings wp_hotelier_sessions Options wp_options
7 hotelier_settings hotelier_version widget_hotelier-widget-ajax-room-booking widget_hotelier-widget-booking widget_hotelier-widget-room-search widget_hotelier-widget-rooms widget_hotelier-widget-rooms-filter Custom Post Types 3
ID
Name
room Rooms room_reservation Reservations extra Extras
Sidebar Widgets 5
ID
Name
hotelier-widget-booking Hotelier Booking hotelier-widget-rooms-filter Hotelier Rooms Filter hotelier-widget-room-search Hotelier Room Search hotelier-widget-rooms Hotelier Rooms hotelier-widget-ajax-room-booking Hotelier AJAX Room Booking
Meta Boxes {
"room": {
"hotelier-room-images": {
"title": "Room Gallery",
"context": "side"
},
"hotelier-room-settings": {
"title": "Room Settings",
"context": "normal"
},
"postexcerpt": {
"title": "Room Short Description",
"context": "normal"
}
},
"room_reservation": {
"hotelier-reservation-save": {
"title": "Save Reservation",
"context": "side"
},
"hotelier-reservation-notes": {
"title": "Reservation Notes",
"context": "side"
},
"hotelier-reservation-data": {
"title": "Reservation Details",
"context": "normal"
},
"hotelier-reservation-items": {
"title": "Rooms",
"context": "normal"
}
},
"coupon": {
"hotelier-coupon-settings": {
"title": "Coupon Settings",
"context": "normal"
}
},
"extra": {
"hotelier-extra-settings": {
"title": "Extra Settings",
"context": "normal"
}
}
}
Roles 1
ID
Name
hotel_manager Hotel Manager
Capabilities 69 manage_hotelier edit_room read_room delete_room edit_rooms edit_others_rooms publish_rooms read_private_rooms delete_rooms delete_private_rooms delete_published_rooms delete_others_rooms edit_private_rooms edit_published_rooms manage_room_terms edit_room_terms delete_room_terms assign_room_terms edit_room_reservation read_room_reservation delete_room_reservation edit_room_reservations edit_others_room_reservations publish_room_reservations read_private_room_reservations delete_room_reservations delete_private_room_reservations delete_published_room_reservations delete_others_room_reservations edit_private_room_reservations edit_published_room_reservations manage_room_reservation_terms edit_room_reservation_terms delete_room_reservation_terms assign_room_reservation_terms edit_coupon read_coupon delete_coupon edit_coupons edit_others_coupons publish_coupons read_private_coupons delete_coupons delete_private_coupons delete_published_coupons delete_others_coupons edit_private_coupons edit_published_coupons manage_coupon_terms edit_coupon_terms delete_coupon_terms assign_coupon_terms edit_extra read_extra delete_extra edit_extras edit_others_extras publish_extras read_private_extras delete_extras delete_private_extras delete_published_extras delete_others_extras edit_private_extras edit_published_extras manage_extra_terms edit_extra_terms delete_extra_terms assign_extra_terms PHP Error Log The log file is empty.