Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.17MB] [CPU: ▼4.41ms] Passed 4 tests
Analyzing server-side resources used by Zovonto Bookings and Appointments
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.49 ▲1.03 | 44.63 ▲3.05 |
Dashboard /wp-admin | 4.53 ▲1.18 | 53.51 ▼12.16 |
Posts /wp-admin/edit.php | 4.64 ▲1.28 | 56.57 ▲6.48 |
Add New Post /wp-admin/post-new.php | 7.13 ▲1.24 | 91.07 ▼15.01 |
Media Library /wp-admin/upload.php | 4.45 ▲1.22 | 46.26 ▲9.84 |
Server storage [IO: ▲2.22MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 142 new files
Database: 8 new tables, 67 new options
New tables |
---|
wp_bsf_payments |
wp_bsf_services |
wp_bsf_staff_services |
wp_bsf_appointments |
wp_bsf_staff |
wp_bsf_staff_working_hours |
wp_bsf_holidays |
wp_bsf_customers |
New WordPress options |
---|
bsf_settings_email_from_address |
bsf_customer_appointment_approved_message |
bsf_settings_end_time_label |
bsf_settings_service_selection_step_desc |
bsf_settings_time_slot_length |
bsf_working_hours_saturday_end |
theysaidso_admin_options |
bsf_settings_service_selector_label |
bsf_version |
bsf_settings_first_name_label |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Zovonto Bookings and Appointments
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.18 ▼1.10 | 1.70 ▼0.00 | 42.72 ▼0.61 |
Dashboard /wp-admin | 2,218 ▲30 | 4.86 ▲0.01 | 106.08 ▼3.42 | 83.24 ▲36.03 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 1.99 ▼0.05 | 41.30 ▲6.61 | 55.91 ▲23.42 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 22.17 ▼1.25 | 765.78 ▲134.90 | 67.83 ▲13.36 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.13 ▼0.05 | 94.98 ▼12.16 | 103.08 ▲57.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 8 tables in the database
- wp_bsf_holidays
- wp_bsf_services
- wp_bsf_staff
- wp_bsf_staff_services
- wp_bsf_payments
- wp_bsf_customers
- wp_bsf_staff_working_hours
- wp_bsf_appointments
- Zombie WordPress options were found after uninstall: 67 options
- bsf_settings_payment_step_label
- bsf_settings_time_selection_step_label
- bsf_settings_time_slot_length
- bsf_working_hours_sunday_start
- bsf_currency_position
- widget_recent-comments
- bsf_settings_company_address
- bsf_currency_thousand_separator
- theysaidso_admin_options
- bsf_working_hours_thursday_end
- ...
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: appointments, wp appointments, appointment booking, booking calendar, wordpress appointments
zovonto/bsf.php 92% from 13 tests
"Zovonto Bookings and Appointments" version 1.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zovonto.php" instead of "bsf.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected28,409 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 2,685 | 791 | 10,790 |
PHP | 82 | 2,677 | 3,070 | 8,958 |
CSS | 14 | 207 | 139 | 5,952 |
SVG | 1 | 0 | 0 | 2,671 |
XML | 1 | 12 | 18 | 38 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 4 | 7.02% |
▷ Concrete classes | 53 | 92.98% |
▷ Final classes | 1 | 1.89% |
Methods | 612 | |
▷ Static methods | 113 | 18.46% |
▷ Public methods | 566 | 92.48% |
▷ Protected methods | 20 | 3.27% |
▷ Private methods | 26 | 4.25% |
Functions | 57 | |
▷ Named functions | 57 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
25 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/others/arrow-217-10.png | 0.17KB | 0.20KB | 0.00% |
assets/images/calendar/arrow-89-20.png | 0.45KB | 0.43KB | ▼ 5.18% |
assets/images/calendar/x-mark-12.png | 0.22KB | 0.25KB | 0.00% |
assets/images/arrow-101-16.png | 0.17KB | 0.18KB | 0.00% |
assets/images/user-placeholder.png | 1.12KB | 1.01KB | ▼ 10.03% |