Home
WP Hotelier
2.6.1
Does WP Hotelier work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on 2021-09-10 17:29:06 UTC .
Summary
Errors
1 PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance
Memory usage: 974.23 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.063 seconds
The average page load time increased by this amount after activating the plugin.
Environment
WordPress version 5.8.1 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=1c7b25fb09
Aspect
after-activation
HTTP status
200
Load time
3.398 s
Memory usage
4.11 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.638 s
Memory usage
4.13 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.164 s
Memory usage
4.08 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.191 s
Memory usage
4.09 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.196 s
Memory usage
4.08 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.199 s
Memory usage
4.08 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.293 s
Memory usage
4.04 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.311 s
Memory usage
4.09 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.235 s
Memory usage
4.34 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.223 s
Memory usage
4.02 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.163 s
Memory usage
4.02 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.185 s
Memory usage
4.03 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.389 s
Memory usage
3.44 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.875 s
Memory usage
5.45 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.309 s 0.329 s +0.020 s 3.08 MiB 4.08 MiB + 1023.23 KiB /wp-admin/edit.php 0.172 s 0.323 s +0.151 s 3.11 MiB 4.12 MiB + 1 MiB /wp-admin/post-new.php 0.913 s 1.289 s +0.376 s 5.27 MiB 6.28 MiB + 1.02 MiB /wp-admin/upload.php 0.541 s 0.534 s -0.007 s 3.03 MiB 4.02 MiB + 1018.82 KiB /wp-admin/options-writing.php 0.165 s 0.173 s +0.008 s 3.02 MiB 4 MiB + 1002.7 KiB /wp-admin/media-new.php 0.235 s 0.236 s +0.001 s 3.01 MiB 4 MiB + 1018.99 KiB /wp-admin/edit-tags.php?taxonomy=category 0.231 s 0.189 s -0.042 s 3.04 MiB 4.03 MiB + 1019.07 KiB /wp-admin/post-new.php?post_type=page 0.950 s 1.167 s +0.217 s 5.26 MiB 6.27 MiB + 1.01 MiB /wp-admin/options-discussion.php 0.292 s 0.311 s +0.019 s 3 MiB 4 MiB + 1019.21 KiB /wp-admin/edit-comments.php 0.216 s 0.211 s -0.005 s 3.04 MiB 4.04 MiB + 1019.06 KiB / 0.299 s 0.250 s -0.049 s 2.96 MiB 3.43 MiB + 490.09 KiB
Average
0.393 s 0.456 s +0.063 s 3.44 MiB 4.39 MiB + 974.23 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.
Language
%
Lines of code
Comment lines
Files
PHP 56.9% 20,317 8,593 280 SVG 24.6% 8,788 12 14 CSS 11.6% 4,148 315 6 JavaScript 3.5% 1,253 52 11 XML 3.3% 1,181 16 1
Total
35,687
8,988
312
Lines of code
14,272
Total complexity
3,111
Median class complexity
20.0
Median method complexity
2.0
Most complex class
HTL_Reservation
Most complex function
HTL_Meta_Box_Reservation_Save::change_reservation_totals()
Classes
77
Methods
794
Functions
201
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
6 hotelier_settings hotelier_version 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 4
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
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 1 lines [10-Sep-2021 17:29:43 UTC] PHP Notice: Trying to get property 'id' of non-object in /wp-content/plugins/wp-hotelier/includes/class-htl-comments.php on line 54