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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.74MB] [CPU: ▲25.74ms] Passed 4 tests
A check of server-side resources used by WordPress Online Booking and Scheduling Plugin – Bookly
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.95 ▲3.48 | 90.47 ▲50.01 |
Dashboard /wp-admin | 7.31 ▲3.96 | 70.05 ▲3.69 |
Posts /wp-admin/edit.php | 7.14 ▲3.78 | 77.96 ▲29.88 |
Add New Post /wp-admin/post-new.php | 9.99 ▲4.10 | 119.92 ▲30.52 |
Media Library /wp-admin/upload.php | 6.95 ▲3.72 | 78.60 ▲38.86 |
Initial setup /wp-admin/admin.php?page=bookly-setup | 7.12 | 55.38 |
Server storage [IO: ▲17.23MB] [DB: ▲0.15MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 850 new files
Database: 26 new tables, 212 new options
New tables |
---|
wp_bookly_mailing_campaigns |
wp_bookly_schedule_item_breaks |
wp_bookly_orders |
wp_bookly_categories |
wp_bookly_holidays |
wp_bookly_payments |
wp_bookly_sub_services |
wp_bookly_staff_schedule_items |
wp_bookly_mailing_lists |
wp_bookly_mailing_list_recipients |
... |
New WordPress options |
---|
bookly_bh_wednesday_end |
bookly_l10n_step_done_button_start_over |
bookly_l10n_label_category |
bookly_l10n_info_complete_step |
bookly_cloud_stripe_custom_metadata |
bookly_cloud_stripe_increase |
can_compress_scripts |
bookly_l10n_label_employee |
bookly_gen_delete_data_on_uninstall |
bookly_bh_tuesday_end |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress Online Booking and Scheduling Plugin – Bookly
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,071 ▲324 | 17.54 ▲3.11 | 52.14 ▲50.41 | 43.07 ▼1.32 |
Dashboard /wp-admin | 2,351 ▲173 | 6.24 ▲0.52 | 163.07 ▲46.57 | 78.55 ▲33.60 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.95 ▼0.07 | 37.59 ▲1.49 | 35.57 ▲1.71 |
Add New Post /wp-admin/post-new.php | 6,549 ▲5,023 | 24.12 ▲0.97 | 1,006.53 ▲282.73 | 37.97 ▼19.98 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.14 ▼0.05 | 113.81 ▲17.56 | 54.24 ▲7.96 |
Initial setup /wp-admin/admin.php?page=bookly-setup | 1,405 | 3.52 | 70.39 | 53.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.15MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure failed, leaving 26 tables in the database
- wp_bookly_payments
- wp_bookly_mailing_campaigns
- wp_bookly_appointments
- wp_bookly_customer_appointments
- wp_bookly_sessions
- wp_bookly_news
- wp_bookly_sub_services
- wp_bookly_series
- wp_bookly_mailing_queue
- wp_bookly_shop
- ...
- This plugin did not uninstall successfully, leaving 212 options in the database
- bookly_l10n_option_employee
- bookly_co_name
- bookly_l10n_step_done
- bookly_l10n_label_last_name
- bookly_pmt_order
- bookly_l10n_step_payment_button_next
- widget_recent-comments
- bookly_cloud_auto_recharge_end_at
- bookly_cst_required_address
- bookly_l10n_step_time_slot_not_available
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 395× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Proxy' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/modules/appearance/proxy/ChainAppointments.php:10
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Backend\\Components\otices\\Base\otice' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/components/notices/renew_auto_recharge/Notice.php:6
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Ajax' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/modules/cloud_zapier/Ajax.php:6
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Proxy' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/modules/booking/proxy/Files.php:9
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Proxy' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/modules/appearance/proxy/RecurringAppointments.php:12
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Component' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/modules/shop/Page.php:6
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Proxy' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/modules/appearance/proxy/Shared.php:14
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Proxy' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/lib/proxy/Invoices.php:10
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Proxy' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/components/dialogs/service/edit/proxy/CustomerGroups.php:10
- > PHP Fatal error
Uncaught Error: Class 'Bookly\\Lib\\Base\\Component' not found in wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/components/dialogs/customer/delete/Dialog.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% 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
5 plugin tags: booking calendar, appointments, booking system, booking, appointment booking
bookly-responsive-appointment-booking-tool/main.php 77% from 13 tests
The main file in "WordPress Online Booking and Scheduling Plugin – Bookly" v. 22.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 317 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("bookly-responsive-appointment-booking-tool.php" instead of "main.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin207,199 lines of code in 793 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 16 | 37,877 | 1,785 | 117,919 |
PHP | 632 | 6,910 | 14,952 | 47,417 |
JavaScript | 113 | 3,135 | 2,132 | 29,941 |
SVG | 11 | 0 | 12 | 9,168 |
CSS | 17 | 393 | 55 | 2,101 |
Svelte | 3 | 43 | 0 | 633 |
JSON | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 10.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 157 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 506 | |
▷ Abstract classes | 244 | 48.22% |
▷ Concrete classes | 262 | 51.78% |
▷ Final classes | 0 | 0.00% |
Methods | 2,523 | |
▷ Static methods | 777 | 30.80% |
▷ Public methods | 2,262 | 89.66% |
▷ Protected methods | 159 | 6.30% |
▷ Private methods | 102 | 4.04% |
Functions | 114 | |
▷ Named functions | 2 | 1.75% |
▷ Anonymous functions | 112 | 98.25% |
Constants | 277 | |
▷ Global constants | 3 | 1.08% |
▷ Class constants | 274 | 98.92% |
▷ Public constants | 274 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
23 PNG files occupy 0.40MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
frontend/resources/images/flags.png | 68.68KB | 24.74KB | ▼ 63.98% |
frontend/resources/images/info-16.png | 0.17KB | 0.10KB | ▼ 37.65% |
backend/resources/images/menu.png | 1.06KB | 0.20KB | ▼ 81.10% |
backend/resources/images/calendar.png | 0.97KB | 0.14KB | ▼ 85.47% |
frontend/resources/images/plus-16.png | 0.17KB | 0.16KB | ▼ 5.92% |