Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.78MB] [CPU: ▼1.29ms] Passed 4 tests
This is a short check of server-side resources used by Hotel Booking
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.95 ▲1.49 | 52.35 ▲11.24 |
Dashboard /wp-admin | 4.81 ▲1.50 | 56.74 ▲12.13 |
Posts /wp-admin/edit.php | 4.86 ▲1.50 | 61.58 ▲16.87 |
Add New Post /wp-admin/post-new.php | 4.59 ▼1.30 | 47.74 ▼45.40 |
Media Library /wp-admin/upload.php | 4.67 ▲1.44 | 51.49 ▲18.39 |
Exceptions /wp-admin/edit.php?post_type=nd_booking_cpt_3 | 4.77 | 51.04 |
Services /wp-admin/edit.php?post_type=nd_booking_cpt_2 | 4.77 | 46.76 |
Import Export /wp-admin/admin.php?page=nd-booking-settings-import-export | 4.63 | 43.66 |
Calendar View /wp-admin/admin.php?page=nd-booking-settings-calendar-view | 4.61 | 40.71 |
Add New /wp-admin/post-new.php?post_type=nd_booking_cpt_4 | 4.59 | 43.85 |
Themes /wp-admin/admin.php?page=nd-booking-settings-demos | 4.63 | 45.45 |
Add New /wp-admin/post-new.php?post_type=nd_booking_cpt_3 | 4.59 | 50.03 |
Branches /wp-admin/edit.php?post_type=nd_booking_cpt_4 | 4.77 | 57.97 |
Add New /wp-admin/post-new.php?post_type=nd_booking_cpt_2 | 4.59 | 45.44 |
Premium Addons /wp-admin/admin.php?page=nd-booking-settings-premium-addons | 4.63 | 45.94 |
Server storage [IO: ▲2.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 239 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_nd_booking_booking |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Hotel Booking
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,060 ▲325 | 14.10 ▼0.28 | 5.12 ▲2.85 | 39.66 ▼3.61 |
Dashboard /wp-admin | 2,370 ▲185 | 5.86 ▲0.05 | 103.85 ▲3.52 | 39.25 ▼5.27 |
Posts /wp-admin/edit.php | 2,253 ▲161 | 2.16 ▲0.15 | 40.59 ▼0.86 | 36.07 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,665 ▲131 | 23.31 ▲0.20 | 582.85 ▼26.64 | 55.13 ▲10.04 |
Media Library /wp-admin/upload.php | 1,549 ▲164 | 4.09 ▼0.18 | 95.41 ▼10.34 | 44.61 ▲0.11 |
Exceptions /wp-admin/edit.php?post_type=nd_booking_cpt_3 | 1,217 | 2.01 | 33.05 | 28.51 |
Services /wp-admin/edit.php?post_type=nd_booking_cpt_2 | 1,226 | 1.95 | 32.06 | 31.04 |
Import Export /wp-admin/admin.php?page=nd-booking-settings-import-export | 1,063 | 2.03 | 23.91 | 27.64 |
Calendar View /wp-admin/admin.php?page=nd-booking-settings-calendar-view | 1,375 | 1.76 | 23.20 | 31.42 |
Add New /wp-admin/post-new.php?post_type=nd_booking_cpt_4 | 2,651 | 7.76 | 182.83 | 70.68 |
Themes /wp-admin/admin.php?page=nd-booking-settings-demos | 1,148 | 2.02 | 30.68 | 31.67 |
Add New /wp-admin/post-new.php?post_type=nd_booking_cpt_3 | 2,450 | 7.89 | 176.75 | 56.83 |
Branches /wp-admin/edit.php?post_type=nd_booking_cpt_4 | 1,226 | 1.99 | 30.83 | 29.81 |
Add New /wp-admin/post-new.php?post_type=nd_booking_cpt_2 | 2,627 | 7.84 | 173.19 | 57.85 |
Premium Addons /wp-admin/admin.php?page=nd-booking-settings-premium-addons | 1,355 | 2.03 | 23.10 | 32.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_nd_booking_booking
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=nd-booking-settings-calendar-view
- > Notice in wp-content/plugins/nd-booking/addons/calendar-view/index.php+27
Undefined index: nd_booking_month
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/addons/alert/index.php+262
Undefined index: nd_booking_meta_box_alert_text
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/addons/alert/index.php+271
Undefined index: nd_booking_meta_box_alert_color
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/addons/alert/index.php+280
Undefined index: nd_booking_meta_box_alert_icon
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/addons/alert/index.php+289
Undefined index: nd_booking_meta_box_alert_time
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/addons/alert/index.php+299
Undefined index: nd_booking_meta_box_alert_pages
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/addons/coupon/index.php+96
Undefined index: nd_booking_meta_box_cpt_5_percentage
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/addons/coupon/index.php+105
Undefined index: nd_booking_meta_box_cpt_5_code
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+795
Undefined index: nd_booking_meta_box_max_people
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+804
Undefined index: nd_booking_meta_box_room_size
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+813
Undefined index: nd_booking_meta_box_color
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+822
Undefined index: nd_booking_meta_box_text_preview
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+831
Undefined index: nd_booking_meta_box_branches
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+840
Undefined index: nd_booking_meta_box_qnt
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+849
Undefined index: nd_booking_meta_box_min_booking_day
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+860
Undefined index: nd_booking_meta_box_price
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+869
Undefined index: nd_booking_meta_box_week_price_mon
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+878
Undefined index: nd_booking_meta_box_week_price_tue
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+887
Undefined index: nd_booking_meta_box_week_price_wed
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+896
Undefined index: nd_booking_meta_box_week_price_thu
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+905
Undefined index: nd_booking_meta_box_week_price_fri
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+914
Undefined index: nd_booking_meta_box_week_price_sat
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+923
Undefined index: nd_booking_meta_box_week_price_sun
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+932
Undefined index: nd_booking_meta_box_min_price
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+942
Undefined index: nd_booking_meta_box_normal_services
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+951
Undefined index: nd_booking_meta_box_additional_services
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+961
Undefined index: nd_booking_meta_box_exceptions
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+970
Undefined index: nd_booking_meta_box_exceptions_block
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+980
Undefined index: nd_booking_meta_box_image
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+989
Undefined index: nd_booking_meta_box_image_position
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+998
Undefined index: nd_booking_meta_box_page_layout
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+1007
Undefined index: nd_booking_meta_box_featured_image_size
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+1029
Undefined index: nd_booking_meta_box_featured_image_replace
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+1040
Undefined index: nd_booking_meta_box_title_packages
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+1049
Undefined index: nd_booking_meta_box_packages
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+1058
Undefined index: nd_booking_meta_box_packages_image_size
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+1067
Undefined index: nd_booking_meta_box_similar_rooms
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+1077
Undefined index: nd_booking_post_id_room
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php+1086
Undefined index: nd_booking_id_room
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-2.php+238
Undefined index: nd_booking_meta_box_cpt_2_service_type
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-2.php+247
Undefined index: nd_booking_meta_box_cpt_2_icon
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-2.php+256
Undefined index: nd_booking_meta_box_cpt_2_color
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-2.php+265
Undefined index: nd_booking_meta_box_cpt_2_text_preview
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-2.php+275
Undefined index: nd_booking_meta_box_cpt_2_price
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-2.php+284
Undefined index: nd_booking_meta_box_cpt_2_price_type_1
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-2.php+293
Undefined index: nd_booking_meta_box_cpt_2_price_type_2
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-2.php+303
Undefined index: nd_booking_meta_box_cpt_2_mandatory
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-3.php+160
Undefined index: nd_booking_meta_box_cpt_3_exceptions_type
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-3.php+169
Undefined index: nd_booking_meta_box_cpt_3_price
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-3.php+178
Undefined index: nd_booking_meta_box_cpt_3_date_range_from
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-3.php+187
Undefined index: nd_booking_meta_box_cpt_3_date_range_to
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+255
Undefined index: nd_booking_meta_box_cpt_4_phone
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+264
Undefined index: nd_booking_meta_box_cpt_4_address
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+273
Undefined index: nd_booking_meta_box_cpt_4_city
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+282
Undefined index: nd_booking_meta_box_cpt_4_state
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+291
Undefined index: nd_booking_meta_box_cpt_4_email
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+300
Undefined index: nd_booking_meta_box_cpt_4_color
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+309
Undefined index: nd_booking_meta_box_cpt_4_stars
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+319
Undefined index: nd_booking_meta_box_image_cpt_4
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+328
Undefined index: nd_booking_meta_box_image_cpt_4_position
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nd_booking_cpt_2
- > Notice in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-4.php+337
Undefined index: nd_booking_meta_box_page_layout_cpt_4
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/nd-booking/addons/customizer/styles/default-style.php
- 113× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/nd-booking/inc/admin/orders/include/orders.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/nd-booking/addons/elementor/search/layout/layout-3.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/nd-booking/inc/shortcodes/include/booking/nd_booking_booking_additional_services.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/nd-booking/inc/shortcodes/include/account/nd_booking_register.php:279
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nd-booking/inc/metabox/mtb-cpt-1.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/nd-booking/inc/shortcodes/include/account/nd_booking_login.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/nd-booking/addons/visual/rooms/index.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nd-booking/inc/cpt/cpt-4.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/nd-booking/inc/shortcodes/nd_booking_order.php:154
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/nd-booking/addons/visual/order/layout/layout-1.php:4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: hotel, book, travel, booking
nd-booking/nd-booking.php 92% from 13 tests
The primary PHP file in "Hotel Booking" version 3.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 203 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin16,952 lines of code in 146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 6,362 | 1,105 | 14,374 |
SVG | 37 | 2 | 34 | 1,410 |
CSS | 3 | 134 | 51 | 789 |
JavaScript | 12 | 211 | 100 | 379 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 32 | |
▷ Static methods | 1 | 3.12% |
▷ Public methods | 24 | 75.00% |
▷ Protected methods | 8 | 25.00% |
▷ Private methods | 0 | 0.00% |
Functions | 146 | |
▷ Named functions | 146 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
addons/visual/rooms/layout/icon-plan-white.png | 18.15KB | 0.67KB | ▼ 96.31% |
addons/visual/rooms/layout/icon-user-white.png | 19.42KB | 2.12KB | ▼ 89.10% |
inc/shortcodes/include/search-results/icon-info.png | 1.57KB | 0.92KB | ▼ 41.59% |
assets/img/icons/icon-plan-white.png | 18.15KB | 0.67KB | ▼ 96.31% |
addons/calendar-view/img/cancel.png | 0.45KB | 0.21KB | ▼ 52.63% |