Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.50MB] [CPU: ▲6.25ms] Passed 4 tests
Server-side resources used by All in One Reservation
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.95 ▲1.49 | 45.75 ▲9.91 |
Dashboard /wp-admin | 4.81 ▲1.51 | 59.01 ▲17.56 |
Posts /wp-admin/edit.php | 4.92 ▲1.57 | 67.09 ▲22.19 |
Add New Post /wp-admin/post-new.php | 7.41 ▲1.52 | 89.85 ▼21.49 |
Media Library /wp-admin/upload.php | 4.70 ▲1.48 | 53.65 ▲19.01 |
Reservations /wp-admin/admin.php?page=aior | 4.71 | 52.65 |
Reservation Forms /wp-admin/edit.php?post_type=sol_reservation_form | 4.78 | 48.33 |
Add New Form /wp-admin/post-new.php?post_type=sol_reservation_form | 4.90 | 55.57 |
Appointment List /wp-admin/edit.php?post_type=sol_appointment_list | 4.78 | 47.86 |
Add-On /wp-admin/admin.php?page=aior_add_on | 4.71 | 46.56 |
Server storage [IO: ▲9.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2,067 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
aior_pay |
widget_aior_appointment_widget |
aior_new_appointment_notification |
widget_recent-posts |
aior_cancel |
aior_payment_success |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for All in One Reservation
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,211 ▲465 | 17.37 ▲2.76 | 14.47 ▲12.73 | 41.56 ▲2.32 |
Dashboard /wp-admin | 2,454 ▲265 | 7.21 ▲2.16 | 147.85 ▲21.30 | 38.86 ▼7.60 |
Posts /wp-admin/edit.php | 2,374 ▲282 | 4.94 ▲2.92 | 77.97 ▲42.33 | 33.49 ▲2.29 |
Add New Post /wp-admin/post-new.php | 6,417 ▲4,875 | 26.51 ▲8.19 | 958.86 ▲347.94 | 38.91 ▼30.07 |
Media Library /wp-admin/upload.php | 1,507 ▲125 | 5.99 ▲1.75 | 94.86 ▼5.27 | 41.73 ▼2.78 |
Reservations /wp-admin/admin.php?page=aior | 1,706 | 6.25 | 200.08 | 48.21 |
Reservation Forms /wp-admin/edit.php?post_type=sol_reservation_form | 1,333 | 4.55 | 65.43 | 30.21 |
Add New Form /wp-admin/post-new.php?post_type=sol_reservation_form | 5,086 | 10.56 | 298.16 | 171.34 |
Appointment List /wp-admin/edit.php?post_type=sol_appointment_list | 1,365 | 4.84 | 62.70 | 28.86 |
Add-On /wp-admin/admin.php?page=aior_add_on | 1,284 | 4.53 | 56.66 | 68.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 11 options
- aior_new_appointment_notification
- widget_theysaidso_widget
- widget_aior_appointment_widget
- aior_cancel
- theysaidso_admin_options
- widget_recent-comments
- aior_payment_success
- db_upgraded
- aior_pay
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/all-in-one-reservation/public/partials/aior-public-display.php
- > /wp-content/plugins/all-in-one-reservation/admin/partials/aior-admin-display.php
- 1917× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/Video/V1/Room/Participant/SubscribeRulesInstance.php:25
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/Supersim/V1/NetworkInstance.php:26
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\TwiML\\TwiML' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/TwiML/Voice/Sms.php:14
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/Conversations/V1/Service/Conversation/Message/DeliveryReceiptInstance.php:32
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/Proxy/V1/Service/Session/InteractionPage.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/IpMessaging/V1/Service/Channel/MemberInstance.php:32
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/Chat/V2/Service/RolePage.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/Insights/V1/CallInstance.php:27
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/Autopilot/V1/Assistant/FieldType/FieldValueOptions.php:38
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/all-in-one-reservation/admin/vendors/twilio/src/Twilio/Rest/Api/V2010/Account/IncomingPhoneNumber/AssignedAddOnContext.php:25
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
all-in-one-reservation/all-in-one-reservation.php 85% from 13 tests
The main PHP file in "All in One Reservation" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Keep the plugin description shorter than 140 characters (currently 249 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin109,399 lines of code in 2,010 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,960 | 26,872 | 110,531 | 98,360 |
JavaScript | 16 | 374 | 257 | 6,672 |
CSS | 26 | 677 | 88 | 4,143 |
JSON | 3 | 0 | 0 | 109 |
Markdown | 3 | 31 | 0 | 96 |
XML | 1 | 0 | 0 | 11 |
Dockerfile | 1 | 3 | 0 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 2.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 194 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 2,418 | |
▷ Abstract classes | 270 | 11.17% |
▷ Concrete classes | 2,148 | 88.83% |
▷ Final classes | 1 | 0.05% |
Methods | 13,188 | |
▷ Static methods | 585 | 4.44% |
▷ Public methods | 11,858 | 89.92% |
▷ Protected methods | 1,314 | 9.96% |
▷ Private methods | 16 | 0.12% |
Functions | 138 | |
▷ Named functions | 6 | 4.35% |
▷ Anonymous functions | 132 | 95.65% |
Constants | 20 | |
▷ Global constants | 5 | 25.00% |
▷ Class constants | 15 | 75.00% |
▷ Public constants | 13 | 86.67% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
40 PNG files occupy 0.73MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
appointment-booking/src/thumb/f2.png | 4.54KB | 2.24KB | ▼ 50.71% |
src/bank_transfer.png | 7.50KB | 4.50KB | ▼ 39.99% |
appointment-booking/src/thumb/Images/c8.png | 20.43KB | 6.30KB | ▼ 69.19% |
appointment-booking/src/thumb/f3.png | 7.04KB | 2.59KB | ▼ 63.18% |
appointment-booking/src/thumb/light2.png | 8.52KB | 2.07KB | ▼ 75.70% |