Hotel Booking Lite 4.8.2

Does Hotel Booking Lite work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 2.35 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 version6.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/motopress-hotel-booking-lite/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 35

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=motopress-hotel-booking-lite%2Fmotopress-hotel-booking.php&plugin_status=all&paged=1&s&_wpnonce=e96993bf3c
Aspect after-activation
HTTP status 200
Load time 1.671 s
Memory usage 5.33 MiB
JS errors None
Resource errors None

Accommodation

Page screenshot: Accommodation
URL /wp-admin/edit.php?post_type=mphb_room_type
Aspect menu-item
HTTP status 200
Load time 0.241 s
Memory usage 5.08 MiB
JS errors None
Resource errors None

Accommodation → Add Accommodation Type

Page screenshot: Accommodation → Add Accommodation Type
URL /wp-admin/post-new.php?post_type=mphb_room_type
Aspect menu-item
HTTP status 200
Load time 1.195 s
Memory usage 5.18 MiB
JS errors None
Resource errors None

Accommodation → Categories

Page screenshot: 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.278 s
Memory usage 4.98 MiB
JS errors None
Resource errors None

Accommodation → Tags

Page screenshot: 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.229 s
Memory usage 4.98 MiB
JS errors None
Resource errors None

Accommodation → Amenities

Page screenshot: 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.240 s
Memory usage 4.98 MiB
JS errors None
Resource errors None

Accommodation → Attributes

Page screenshot: 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.203 s
Memory usage 4.9 MiB
JS errors None
Resource errors None

Accommodation → Seasons

Page screenshot: Accommodation → Seasons
URL /wp-admin/edit.php?post_type=mphb_season
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 5.05 MiB
JS errors None
Resource errors None

Accommodation → Rates

Page screenshot: Accommodation → Rates
URL /wp-admin/edit.php?post_type=mphb_rate
Aspect menu-item
HTTP status 200
Load time 0.216 s
Memory usage 5.05 MiB
JS errors None
Resource errors None

Accommodation → Services

Page screenshot: Accommodation → Services
URL /wp-admin/edit.php?post_type=mphb_room_service
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage 5.05 MiB
JS errors None
Resource errors None

Accommodation → Accommodations

Page screenshot: Accommodation → Accommodations
URL /wp-admin/edit.php?post_type=mphb_room
Aspect menu-item
HTTP status 200
Load time 0.213 s
Memory usage 5.05 MiB
JS errors None
Resource errors None

Accommodation → Generate Accommodations

Page screenshot: 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.179 s
Memory usage 4.9 MiB
JS errors None
Resource errors None

Accommodation → Settings

Page screenshot: Accommodation → Settings
URL /wp-admin/edit.php?post_type=mphb_room_type&page=mphb_settings
Aspect menu-item
HTTP status 200
Load time 0.927 s
Memory usage 5.09 MiB
JS errors None
Resource errors None

Accommodation → Settings → Admin Emails

Page screenshot: 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.838 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Accommodation → Settings → Customer Emails

Page screenshot: 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.988 s
Memory usage 5.07 MiB
JS errors None
Resource errors None

Accommodation → Settings → Email Settings

Page screenshot: 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.823 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Accommodation → Settings → Payment Gateways

Page screenshot: Accommodation → Settings → Payment Gateways
URL /wp-admin/admin.php?page=mphb_settings&tab=payments
Aspect menu-item-tab
HTTP status 200
Load time 0.257 s
Memory usage 5 MiB
JS errors None
Resource errors None

Accommodation → Settings → Extensions

Page screenshot: Accommodation → Settings → Extensions
URL /wp-admin/admin.php?page=mphb_settings&tab=extensions
Aspect menu-item-tab
HTTP status 200
Load time 0.212 s
Memory usage 4.97 MiB
JS errors None
Resource errors None

Accommodation → Settings → Advanced

Page screenshot: Accommodation → Settings → Advanced
URL /wp-admin/admin.php?page=mphb_settings&tab=advanced
Aspect menu-item-tab
HTTP status 200
Load time 0.275 s
Memory usage 5.03 MiB
JS errors None
Resource errors None

Accommodation → Language

Page screenshot: Accommodation → Language
URL /wp-admin/edit.php?post_type=mphb_room_type&page=mphb_language
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 4.9 MiB
JS errors None
Resource errors None

Accommodation → Shortcodes

Page screenshot: Accommodation → Shortcodes
URL /wp-admin/edit.php?post_type=mphb_room_type&page=mphb_shortcodes
Aspect menu-item
HTTP status 200
Load time 0.216 s
Memory usage 4.93 MiB
JS errors None
Resource errors None

Bookings

Page screenshot: Bookings
URL /wp-admin/edit.php?post_type=mphb_booking
Aspect menu-item
HTTP status 200
Load time 0.238 s
Memory usage 5.06 MiB
JS errors None
Resource errors None

Bookings → Payment History

Page screenshot: Bookings → Payment History
URL /wp-admin/edit.php?post_type=mphb_payment
Aspect menu-item
HTTP status 200
Load time 0.218 s
Memory usage 5.05 MiB
JS errors None
Resource errors None

Bookings → Calendar

Page screenshot: 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.279 s
Memory usage 5 MiB
JS errors None
Resource errors None

Bookings → Customers

Page screenshot: Bookings → Customers
URL /wp-admin/admin.php?page=mphb_customers
Aspect menu-item
HTTP status 200
Load time 0.235 s
Memory usage 5.21 MiB
JS errors None
Resource errors None

Bookings → Coupons

Page screenshot: Bookings → Coupons
URL /wp-admin/edit.php?post_type=mphb_coupon
Aspect menu-item
HTTP status 200
Load time 0.220 s
Memory usage 5.05 MiB
JS errors None
Resource errors None

Bookings → Booking Rules

Page screenshot: Bookings → Booking Rules
URL /wp-admin/admin.php?page=mphb_booking_rules
Aspect menu-item
HTTP status 200
Load time 0.248 s
Memory usage 5.03 MiB
JS errors None
Resource errors None

Bookings → Taxes & Fees

Page screenshot: Bookings → Taxes & Fees
URL /wp-admin/admin.php?page=mphb_taxes_and_fees
Aspect menu-item
HTTP status 200
Load time 0.238 s
Memory usage 5.02 MiB
JS errors None
Resource errors None

Bookings → Sync Calendars

Page screenshot: Bookings → Sync Calendars
URL /wp-admin/admin.php?page=mphb_ical
Aspect menu-item
HTTP status 200
Load time 0.177 s
Memory usage 4.89 MiB
JS errors None
Resource errors None

Bookings → Reports

Page screenshot: Bookings → Reports
URL /wp-admin/admin.php?page=mphb_reports
Aspect menu-item
HTTP status 200
Load time 0.248 s
Memory usage 5.28 MiB
JS errors None
Resource errors None

Bookings → Reports → Export

Page screenshot: Bookings → Reports → Export
URL /wp-admin/admin.php?page=mphb_reports&tab=export
Aspect menu-item-tab
HTTP status 200
Load time 0.212 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Bookings → Extensions

Page screenshot: Bookings →  Extensions
URL /wp-admin/admin.php?page=mphb_extensions
Aspect menu-item
HTTP status 200
Load time 2.367 s
Memory usage 5.17 MiB
JS errors None
Resource errors None

Bookings → Go Premium

Page screenshot: Bookings →  Go Premium
URL /wp-admin/admin.php?page=mphb_premium
Aspect menu-item
HTTP status 200
Load time 0.213 s
Memory usage 4.89 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.265 s
Memory usage 4.74 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.776 s
Memory usage 8.25 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.392 s0.496 s+0.104 s2.82 MiB5.07 MiB+ 2.24 MiB
/wp-admin/edit.php0.223 s0.310 s+0.087 s2.85 MiB5.14 MiB+ 2.29 MiB
/wp-admin/post-new.php0.761 s0.928 s+0.167 s5.21 MiB8.57 MiB+ 3.36 MiB
/wp-admin/upload.php0.604 s0.400 s-0.204 s2.77 MiB4.99 MiB+ 2.22 MiB
/wp-admin/options-writing.php0.229 s0.216 s-0.013 s2.76 MiB4.98 MiB+ 2.21 MiB
/wp-admin/media-new.php0.387 s0.228 s-0.159 s2.74 MiB4.91 MiB+ 2.17 MiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.652 s+0.452 s2.76 MiB5 MiB+ 2.24 MiB
/wp-admin/post-new.php?post_type=page0.713 s0.657 s-0.056 s5.21 MiB8.37 MiB+ 3.16 MiB
/wp-admin/options-discussion.php0.211 s0.288 s+0.077 s2.75 MiB4.9 MiB+ 2.16 MiB
/wp-admin/edit-comments.php0.461 s0.249 s-0.212 s2.78 MiB5.02 MiB+ 2.24 MiB
/0.291 s0.234 s-0.057 s3.13 MiB4.74 MiB+ 1.61 MiB
Average 0.407 s0.423 s+0.017 s3.25 MiB5.61 MiB+ 2.35 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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File60.6%106,5001,43026
PHP30.5%53,56015,953471
JavaScript5.0%8,7079797
CSS3.9%6,78966020
XML0.1%11791
Markdown0.1%10401
JSON0.0%1801
Total 175,795 19,031 527

PHP Code Analysis | More results »

Lines of code 50,882
Total complexity 9,267
Median class complexity 16.0
Median method complexity 1.0
Most complex class MPHB\BookingsCalendar
Most complex function MPHB\Views\BookingView::generatePriceBreakdownArray()
Classes 361
Methods 3,466
Functions 172

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

Options wp_options 8

Custom Post Types 10

ID Name
mphb_bookingBookings
mphb_room_typeAccommodation Types
mphb_room_attributeAttributes
mphb_seasonSeasons
mphb_rateRates
mphb_room_serviceServices
mphb_roomAccommodations
mphb_paymentPayment History
mphb_reserved_roomReserved Accommodations
mphb_couponCoupons

Sidebar Widgets 2

ID Name
mphb_rooms_widgetAccommodation Types
mphb_search_availability_widgetSearch 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_managerHotel Manager
mphb_workerHotel Worker
mphb_customerHotel Customer

Capabilities 124

PHP Error Log 1 lines

[04-Oct-2023 19:56:35 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 5905
See also: All tests for this plugin, How to Hide Hotel Booking Lite Admin Menus and Meta Boxes