Home
Hotel Booking Lite
4.7.2
Does Hotel Booking Lite work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on 2023-05-21 02:30:27 UTC .
Summary
Errors
1 PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance
Memory usage: 2.39 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 6.2.2 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 35 Plugins ‹ Test site — WordPress
URL
/wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL
/wp-admin/plugins.php?action=activate&plugin=motopress-hotel-booking-lite%2Fmotopress-hotel-booking.php&plugin_status=all&paged=1&s&_wpnonce=85e04bbc6d
Aspect
after-activation
HTTP status
200
Load time
1.522 s
Memory usage
5.61 MiB
JS errors
None
Resource errors
None
Accommodation
URL
/wp-admin/edit.php?post_type=mphb_room_type
Aspect
menu-item
HTTP status
200
Load time
0.196 s
Memory usage
5.36 MiB
JS errors
None
Resource errors
None
Accommodation → Add Accommodation Type
URL
/wp-admin/post-new.php?post_type=mphb_room_type
Aspect
menu-item
HTTP status
200
Load time
1.151 s
Memory usage
5.46 MiB
JS errors
None
Resource errors
None
Accommodation → Categories
URL
/wp-admin/edit-tags.php?taxonomy=mphb_room_type_category&post_type=mphb_room_type
Aspect
menu-item
HTTP status
200
Load time
0.228 s
Memory usage
5.27 MiB
JS errors
None
Resource errors
None
Accommodation → Tags
URL
/wp-admin/edit-tags.php?taxonomy=mphb_room_type_tag&post_type=mphb_room_type
Aspect
menu-item
HTTP status
200
Load time
0.211 s
Memory usage
5.26 MiB
JS errors
None
Resource errors
None
Accommodation → Amenities
URL
/wp-admin/edit-tags.php?taxonomy=mphb_room_type_facility&post_type=mphb_room_type
Aspect
menu-item
HTTP status
200
Load time
0.180 s
Memory usage
5.27 MiB
JS errors
None
Resource errors
None
Accommodation → Attributes
URL
/wp-admin/edit.php?post_type=mphb_room_type&page=mphb_room_attribute
Aspect
menu-item
HTTP status
200
Load time
0.156 s
Memory usage
5.24 MiB
JS errors
None
Resource errors
None
Accommodation → Seasons
URL
/wp-admin/edit.php?post_type=mphb_season
Aspect
menu-item
HTTP status
200
Load time
0.182 s
Memory usage
5.33 MiB
JS errors
None
Resource errors
None
Accommodation → Rates
URL
/wp-admin/edit.php?post_type=mphb_rate
Aspect
menu-item
HTTP status
200
Load time
0.185 s
Memory usage
5.33 MiB
JS errors
None
Resource errors
None
Accommodation → Services
URL
/wp-admin/edit.php?post_type=mphb_room_service
Aspect
menu-item
HTTP status
200
Load time
0.181 s
Memory usage
5.34 MiB
JS errors
None
Resource errors
None
Accommodation → Accommodations
URL
/wp-admin/edit.php?post_type=mphb_room
Aspect
menu-item
HTTP status
200
Load time
0.180 s
Memory usage
5.33 MiB
JS errors
None
Resource errors
None
Accommodation → Generate Accommodations
URL
/wp-admin/edit.php?post_type=mphb_room_type&page=mphb_rooms_generator
Aspect
menu-item
HTTP status
200
Load time
0.251 s
Memory usage
5.24 MiB
JS errors
None
Resource errors
None
Accommodation → Settings
URL
/wp-admin/edit.php?post_type=mphb_room_type&page=mphb_settings
Aspect
menu-item
HTTP status
200
Load time
0.814 s
Memory usage
5.36 MiB
JS errors
None
Resource errors
None
Accommodation → Settings → Admin Emails
URL
/wp-admin/admin.php?page=mphb_settings&tab=admin_emails
Aspect
menu-item-tab
HTTP status
200
Load time
0.714 s
Memory usage
5.34 MiB
JS errors
None
Resource errors
None
Accommodation → Settings → Customer Emails
URL
/wp-admin/admin.php?page=mphb_settings&tab=customer_emails
Aspect
menu-item-tab
HTTP status
200
Load time
0.883 s
Memory usage
5.36 MiB
JS errors
None
Resource errors
None
Accommodation → Settings → Email Settings
URL
/wp-admin/admin.php?page=mphb_settings&tab=global_emails
Aspect
menu-item-tab
HTTP status
200
Load time
0.615 s
Memory usage
5.34 MiB
JS errors
None
Resource errors
None
Accommodation → Settings → Payment Gateways
URL
/wp-admin/admin.php?page=mphb_settings&tab=payments
Aspect
menu-item-tab
HTTP status
200
Load time
0.414 s
Memory usage
5.26 MiB
JS errors
None
Resource errors
None
Accommodation → Settings → Extensions
URL
/wp-admin/admin.php?page=mphb_settings&tab=extensions
Aspect
menu-item-tab
HTTP status
200
Load time
0.177 s
Memory usage
5.25 MiB
JS errors
None
Resource errors
None
Accommodation → Settings → Advanced
URL
/wp-admin/admin.php?page=mphb_settings&tab=advanced
Aspect
menu-item-tab
HTTP status
200
Load time
0.243 s
Memory usage
5.32 MiB
JS errors
None
Resource errors
None
Accommodation → Language
URL
/wp-admin/edit.php?post_type=mphb_room_type&page=mphb_language
Aspect
menu-item
HTTP status
200
Load time
0.175 s
Memory usage
5.24 MiB
JS errors
None
Resource errors
None
Accommodation → Shortcodes
URL
/wp-admin/edit.php?post_type=mphb_room_type&page=mphb_shortcodes
Aspect
menu-item
HTTP status
200
Load time
0.204 s
Memory usage
5.24 MiB
JS errors
None
Resource errors
None
Bookings
URL
/wp-admin/edit.php?post_type=mphb_booking
Aspect
menu-item
HTTP status
200
Load time
0.199 s
Memory usage
5.36 MiB
JS errors
None
Resource errors
None
Bookings → Payment History
URL
/wp-admin/edit.php?post_type=mphb_payment
Aspect
menu-item
HTTP status
200
Load time
0.183 s
Memory usage
5.34 MiB
JS errors
None
Resource errors
None
Bookings → Calendar
URL
/wp-admin/admin.php?page=mphb_calendar&mphb_bookings_calendar%5Bperiod%5D=custom
Requested URL
/wp-admin/admin.php?page=mphb_calendar
Aspect
menu-item
HTTP status
200
Load time
0.255 s
Memory usage
5.28 MiB
JS errors
None
Resource errors
None
Bookings → Customers
URL
/wp-admin/admin.php?page=mphb_customers
Aspect
menu-item
HTTP status
200
Load time
0.179 s
Memory usage
5.5 MiB
JS errors
None
Resource errors
None
Bookings → Coupons
URL
/wp-admin/edit.php?post_type=mphb_coupon
Aspect
menu-item
HTTP status
200
Load time
0.173 s
Memory usage
5.34 MiB
JS errors
None
Resource errors
None
Bookings → Booking Rules
URL
/wp-admin/admin.php?page=mphb_booking_rules
Aspect
menu-item
HTTP status
200
Load time
0.201 s
Memory usage
5.31 MiB
JS errors
None
Resource errors
None
Bookings → Taxes & Fees
URL
/wp-admin/admin.php?page=mphb_taxes_and_fees
Aspect
menu-item
HTTP status
200
Load time
0.186 s
Memory usage
5.3 MiB
JS errors
None
Resource errors
None
Bookings → Sync Calendars
URL
/wp-admin/admin.php?page=mphb_ical
Aspect
menu-item
HTTP status
200
Load time
0.151 s
Memory usage
5.24 MiB
JS errors
None
Resource errors
None
Bookings → Reports
URL
/wp-admin/admin.php?page=mphb_reports
Aspect
menu-item
HTTP status
200
Load time
0.229 s
Memory usage
5.56 MiB
JS errors
None
Resource errors
None
Bookings → Reports → Export
URL
/wp-admin/admin.php?page=mphb_reports&tab=export
Aspect
menu-item-tab
HTTP status
200
Load time
0.178 s
Memory usage
5.3 MiB
JS errors
None
Resource errors
None
Bookings → Extensions
URL
/wp-admin/admin.php?page=mphb_extensions
Aspect
menu-item
HTTP status
200
Load time
1.649 s
Memory usage
5.46 MiB
JS errors
None
Resource errors
None
Bookings → Go Premium
URL
/wp-admin/admin.php?page=mphb_premium
Aspect
menu-item
HTTP status
200
Load time
0.193 s
Memory usage
5.24 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.266 s
Memory usage
4.65 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
0.992 s
Memory usage
8.06 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.666 s 0.606 s -0.060 s 3.07 MiB 5.35 MiB + 2.27 MiB /wp-admin/edit.php 0.173 s 0.213 s +0.040 s 3.1 MiB 5.42 MiB + 2.32 MiB /wp-admin/post-new.php 0.706 s 1.008 s +0.302 s 5.02 MiB 8.35 MiB + 3.33 MiB /wp-admin/upload.php 0.632 s 0.330 s -0.302 s 3.02 MiB 5.27 MiB + 2.25 MiB /wp-admin/options-writing.php 0.208 s 0.194 s -0.014 s 3.01 MiB 5.25 MiB + 2.24 MiB /wp-admin/media-new.php 0.273 s 0.214 s -0.059 s 2.99 MiB 5.25 MiB + 2.26 MiB /wp-admin/edit-tags.php?taxonomy=category 0.171 s 0.208 s +0.037 s 3.01 MiB 5.27 MiB + 2.27 MiB /wp-admin/post-new.php?post_type=page 0.555 s 0.744 s +0.189 s 5.01 MiB 8.14 MiB + 3.13 MiB /wp-admin/options-discussion.php 0.188 s 0.289 s +0.101 s 3 MiB 5.25 MiB + 2.25 MiB /wp-admin/edit-comments.php 0.184 s 0.230 s +0.046 s 3.03 MiB 5.3 MiB + 2.27 MiB / 0.300 s 0.213 s -0.087 s 2.97 MiB 4.65 MiB + 1.68 MiB
Average
0.369 s 0.386 s +0.018 s 3.38 MiB 5.77 MiB + 2.39 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
PO File 61.3% 106,500 1,430 26 PHP 29.3% 50,855 16,140 473 JavaScript 5.4% 9,443 1,443 7 CSS 3.9% 6,771 660 20 XML 0.1% 117 9 1 Markdown 0.1% 104 0 1 JSON 0.0% 18 0 1
Total
173,808
19,682
529
Lines of code
48,250
Total complexity
9,265
Median class complexity
16.0
Median method complexity
1.0
Most complex class
MPHB\BookingsCalendar
Most complex function
MPHB\Views\BookingView::generatePriceBreakdownArray()
Classes
363
Methods
3,494
Functions
173
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 7 wp_mphb_api_keys wp_mphb_customers wp_mphb_customers_meta wp_mphb_sync_logs wp_mphb_sync_queue wp_mphb_sync_stats wp_mphb_sync_urls Options wp_options
7 mphb_custom_roles_version mphb_db_version mphb_last_known_extensions mphb_passed_notices mphb_registered_attributes widget_mphb_rooms_widget widget_mphb_search_availability_widget Custom Post Types 10
ID
Name
mphb_booking Bookings mphb_room_type Accommodation Types mphb_room_attribute Attributes mphb_season Seasons mphb_rate Rates mphb_room_service Services mphb_room Accommodations mphb_payment Payment History mphb_reserved_room Reserved Accommodations mphb_coupon Coupons
Sidebar Widgets 2
ID
Name
mphb_rooms_widget Accommodation Types mphb_search_availability_widget Search Availability
Meta Boxes {
"mphb_booking": {
"submitdiv": {
"title": "Update Booking",
"context": "side"
},
"logs": {
"title": "Logs",
"context": "side"
},
"mphb_rooms": {
"title": "Reserved Accommodations",
"context": "advanced"
}
},
"mphb_room_type": {
"rooms": {
"title": "Generate Accommodations",
"context": "normal"
},
"attributes": {
"title": "Attributes",
"context": "side"
},
"reviews": {
"title": "Accommodation Reviews",
"context": "side"
}
},
"mphb_room_attribute": {
"submitdiv": {
"title": "Publish",
"context": "side"
},
"terms": {
"title": "Terms",
"context": "normal"
}
},
"mphb_rate": {
"submitdiv": {
"title": "Update Rate",
"context": "side"
}
},
"mphb_payment": {
"submitdiv": {
"title": "Update Payment",
"context": "side"
},
"logs": {
"title": "Logs",
"context": "side"
}
}
}
Roles 3
ID
Name
mphb_manager Hotel Manager mphb_worker Hotel Worker mphb_customer Hotel Customer
Capabilities 124 mphb_manage_settings mphb_manage_booking_rules mphb_view_calendar mphb_manage_taxes_and_fees mphb_view_reports mphb_export_reports mphb_sync_ical mphb_import_ical mphb_view_customers mphb_edit_customer mphb_delete_customer edit_mphb_bookings edit_private_mphb_bookings edit_others_mphb_bookings edit_published_mphb_bookings delete_mphb_bookings delete_private_mphb_bookings delete_others_mphb_bookings delete_published_mphb_bookings read_mphb_bookings read_private_mphb_bookings publish_mphb_bookings edit_mphb_room_types edit_private_mphb_room_types edit_others_mphb_room_types edit_published_mphb_room_types delete_mphb_room_types delete_private_mphb_room_types delete_others_mphb_room_types delete_published_mphb_room_types read_mphb_room_types read_private_mphb_room_types publish_mphb_room_types edit_mphb_room_attributes edit_private_mphb_room_attributes edit_others_mphb_room_attributes edit_published_mphb_room_attributes delete_mphb_room_attributes delete_private_mphb_room_attributes delete_others_mphb_room_attributes delete_published_mphb_room_attributes read_mphb_room_attributes read_private_mphb_room_attributes publish_mphb_room_attributes edit_mphb_seasons edit_private_mphb_seasons edit_others_mphb_seasons edit_published_mphb_seasons delete_mphb_seasons delete_private_mphb_seasons delete_others_mphb_seasons delete_published_mphb_seasons read_mphb_seasons read_private_mphb_seasons publish_mphb_seasons edit_mphb_rates edit_private_mphb_rates edit_others_mphb_rates edit_published_mphb_rates delete_mphb_rates delete_private_mphb_rates delete_others_mphb_rates delete_published_mphb_rates read_mphb_rates read_private_mphb_rates publish_mphb_rates edit_mphb_room_services edit_private_mphb_room_services edit_others_mphb_room_services edit_published_mphb_room_services delete_mphb_room_services delete_private_mphb_room_services delete_others_mphb_room_services delete_published_mphb_room_services read_mphb_room_services read_private_mphb_room_services publish_mphb_room_services edit_mphb_rooms edit_private_mphb_rooms edit_others_mphb_rooms edit_published_mphb_rooms delete_mphb_rooms delete_private_mphb_rooms delete_others_mphb_rooms delete_published_mphb_rooms read_mphb_rooms read_private_mphb_rooms publish_mphb_rooms edit_mphb_payments edit_private_mphb_payments edit_others_mphb_payments edit_published_mphb_payments delete_mphb_payments delete_private_mphb_payments delete_others_mphb_payments delete_published_mphb_payments read_mphb_payments read_private_mphb_payments publish_mphb_payments edit_mphb_reserved_rooms edit_private_mphb_reserved_rooms edit_others_mphb_reserved_rooms edit_published_mphb_reserved_rooms delete_mphb_reserved_rooms delete_private_mphb_reserved_rooms delete_others_mphb_reserved_rooms delete_published_mphb_reserved_rooms read_mphb_reserved_rooms read_private_mphb_reserved_rooms publish_mphb_reserved_rooms edit_mphb_coupons edit_private_mphb_coupons edit_others_mphb_coupons edit_published_mphb_coupons delete_mphb_coupons delete_private_mphb_coupons delete_others_mphb_coupons delete_published_mphb_coupons read_mphb_coupons read_private_mphb_coupons publish_mphb_coupons manage_mphb_room_type_categories manage_mphb_room_type_tags manage_mphb_room_type_facilities PHP Error Log 1 lines [21-May-2023 02:31:30 UTC] PHP Notice: Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5865