Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/online-reservation/online-reservation.php+45
Trying to access array offset on value of type bool
Server metrics [RAM: ▼2.47MB] [CPU: ▼344.86ms] Passed 4 tests
Analyzing server-side resources used by Online Reservation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.90 ▼1.62 | 5.14 ▼44.87 |
Dashboard /wp-admin | 1.92 ▼1.49 | 4.36 ▼28.24 |
Posts /wp-admin/edit.php | 1.92 ▼1.72 | 5.08 ▼32.11 |
Add New Post /wp-admin/post-new.php | 1.92 ▼5.05 | 4.32 ▼1,274.20 |
Media Library /wp-admin/upload.php | 1.92 ▼1.38 | 3.95 ▼21.39 |
All Bookings /wp-admin/edit.php?post_type=olr_restaurant | 1.92 | 4.17 |
Settings /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting | 1.92 | 5.93 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 62 new files
Database: 4 new tables, 4 new options
New tables |
---|
wp_olr_find_table_attempt |
wp_olr_lockout_reservation |
wp_olr_temporary_reservation_data |
wp_olr_send_enquiry_attempt |
New WordPress options |
---|
resto_thank_you_page_id |
widget_olr_restaurant_widget |
resto_thank_you_url |
resto_reservation_page_id |
Browser metrics Passed 4 tests
An overview of browser requirements for Online Reservation
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,808 ▲64 | 15.75 ▲0.18 | 6.21 ▼0.38 | 2.27 ▼0.24 |
Dashboard /wp-admin | 2,929 ▲68 | 6.23 ▲0.07 | 120.47 ▼18.44 | 156.58 ▼7.33 |
Posts /wp-admin/edit.php | 2,725 ▲31 | 3.24 ▲0.00 | 64.04 ▲1.19 | 142.72 ▼2.84 |
Add New Post /wp-admin/post-new.php | 1,686 ▼25 | 20.57 ▼0.19 | 371.55 ▼99.28 | 161.40 ▲1.09 |
Media Library /wp-admin/upload.php | 1,732 ▲34 | 5.54 ▲0.04 | 137.96 ▼2.36 | 186.55 ▲3.31 |
All Bookings /wp-admin/edit.php?post_type=olr_restaurant | 1,522 | 3.25 | 77.94 | 133.57 |
Settings /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting | 4,345 | 8.77 | 171.82 | 239.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/online-reservation/online-reservation.php+45
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_olr_lockout_reservation
- wp_olr_temporary_reservation_data
- wp_olr_send_enquiry_attempt
- wp_olr_find_table_attempt
- The uninstall procedure has failed, leaving 4 options in the database
- widget_olr_restaurant_widget
- resto_reservation_page_id
- resto_thank_you_page_id
- resto_thank_you_url
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 20 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+39
Trying to access array offset on value of type bool
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/online-reservation.php+45
date_default_timezone_set(): Timezone ID '' is invalid
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/online-reservation/check-admin-page.php+31
Undefined index: page
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/check-admin-page.php+32
Undefined index: tab
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Warning in wp-content/plugins/online-reservation/config.php+42
A non-numeric value encountered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > User notice in wp-includes/functions.php+5768
wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the all-admin-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/admin.php+180
Trying to access array offset on value of type null
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/online-reservation/check-admin-page.php+30
Undefined index: post_type
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/admin.php+576
Undefined variable: active_tab
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+54
Undefined index: thank_you_page
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+68
Undefined index: success_message
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+72
Undefined index: failed_message
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+77
Undefined index: help_promote_plugin
- 44 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+85
Undefined index: reservation_length
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+95
Undefined index: provide_other_time
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+107
Undefined index: other_times
- 33 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/general.php+147
Undefined index: timezone
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+35
Undefined index: open_time_monday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+39
Undefined index: close_time_monday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+67
Undefined index: day_off_monday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+35
Undefined index: open_time_tuesday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+39
Undefined index: close_time_tuesday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+67
Undefined index: day_off_tuesday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+35
Undefined index: open_time_wednesday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+39
Undefined index: close_time_wednesday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+67
Undefined index: day_off_wednesday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+35
Undefined index: open_time_thursday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+39
Undefined index: close_time_thursday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+67
Undefined index: day_off_thursday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+35
Undefined index: open_time_friday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+39
Undefined index: close_time_friday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+67
Undefined index: day_off_friday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+35
Undefined index: open_time_saturday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+39
Undefined index: close_time_saturday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+67
Undefined index: day_off_saturday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+35
Undefined index: open_time_sunday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+39
Undefined index: close_time_sunday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+67
Undefined index: day_off_sunday
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+85
Undefined index: time_interval
- 8 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+105
Undefined index: early_bookings
- 11 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/schedule.php+124
Undefined index: late_bookings
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/table.php+24
Undefined index: table_size
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/table.php+38
Undefined index: one_total_table
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/table.php+43
Undefined index: one_max_person_per_table
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/table.php+71
Undefined index: many_type_of_table
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+93
Undefined index: restaurant_name
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+96
Undefined index: restaurant_address
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+99
Undefined index: restaurant_city
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+102
Undefined index: restaurant_state
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+105
Undefined index: restaurant_zipcode
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+108
Undefined index: restaurant_phone
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+111
Undefined index: restaurant_fax
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+114
Undefined index: restaurant_email
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+117
Undefined index: restaurant_website
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+123
Undefined index: restaurant_logo
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+132
Undefined index: restaurant_image
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+140
Undefined index: restaurant_offer_link
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+143
Undefined index: restaurant_reservation_link
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+146
Undefined index: restaurant_message
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+150
Undefined index: restaurant_information
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+154
Undefined index: restaurant_policies
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+158
Undefined index: restaurant_facebook
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+162
Undefined index: restaurant_twitter
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+165
Undefined index: restaurant_google
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+168
Undefined index: restaurant_linkedin
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+172
Undefined index: restaurant_pinterest
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+176
Undefined index: restaurant_youtube
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+180
Undefined index: restaurant_footer
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+196
Undefined index: confirmation_email
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+201
Undefined index: confirmation_key
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+206
Undefined index: confirmation_success_message
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+209
Undefined index: confirmation_failed_message
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+225
Undefined index: email_to_owner
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+229
Undefined index: owner_email
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+233
Undefined index: owner_email_subject
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+251
Undefined index: email_to_customer
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/email.php+255
Undefined index: customer_email_subject
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/captcha.php+35
Undefined index: enable_captcha
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/captcha.php+40
Undefined index: public_key
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/captcha.php+43
Undefined index: private_key
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/captcha.php+51
Undefined index: captcha_theme
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/captcha.php+56
Undefined index: captcha_error_message
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/security.php+21
Undefined index: reservation_time_needed
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/security.php+51
Undefined index: max_find_table
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/security.php+63
Undefined index: max_send_enquiry
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/security.php+76
Undefined index: email_confirmation_length
- > GET request to /wp-admin/edit.php?post_type=olr_restaurant&page=olr_restaurant_setting
- > Notice in wp-content/plugins/online-reservation/restaurant reservation/admin/security.php+107
Undefined index: lock_our_reservation
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/online-reservation/config.php on line 42
- > PHP Notice
Undefined index: post_type in wp-content/plugins/online-reservation/check-admin-page.php on line 30
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/online-reservation/check-admin-page.php:34
- > PHP Notice
Undefined index: page in wp-content/plugins/online-reservation/check-admin-page.php on line 31
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/online-reservation/config.php on line 34
- > PHP Notice
Undefined index: tab in wp-content/plugins/online-reservation/check-admin-page.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/online-reservation/config.php:149
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/online-reservation/config.php on line 38
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/online-reservation/config.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/online-reservation/online-reservation.php:44
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: reservation, bookings, restaurant reservation, online bookings, online reservations...
online-reservation/online-reservation.php Passed 13 tests
The entry point to "Online Reservation" version 1.7.2 is a PHP file that has certain tags in its header comment area
64 characters long description:
Allow you to manage and receive your business reservation online
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected6,446 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 1,027 | 1,269 | 4,601 |
CSS | 7 | 112 | 179 | 796 |
SVG | 2 | 0 | 0 | 583 |
JavaScript | 2 | 206 | 173 | 466 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |