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 gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.51ms] Passed 4 tests
An overview of server-side resources used by Bdtask Booking365
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.13 ▼0.55 |
Dashboard /wp-admin | 3.47 ▲0.17 | 49.55 ▲2.38 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 45.32 ▼1.54 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 79.42 ▼5.64 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 35.28 ▲1.70 |
Service /wp-admin/admin.php?page=msbdt_service | 3.49 | 40.03 |
Appointment /wp-admin/admin.php?page=msbdt_appointment | 3.47 | 42.27 |
Category /wp-admin/admin.php?page=msbdt_category | 3.48 | 37.18 |
Email Notifications /wp-admin/admin.php?page=msbdt_email_notification | 3.73 | 37.61 |
Settings /wp-admin/admin.php?page=msbdt_setting | 3.59 | 84.23 |
Report /wp-admin/admin.php?page=msbdt_report | 3.47 | 36.57 |
Schedule /wp-admin/admin.php?page=msbdt_schedule | 3.51 | 39.07 |
Professional /wp-admin/admin.php?page=msbdt_professional | 3.52 | 38.23 |
Server storage [IO: ▲2.79MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 113 new files
Database: 11 new tables, 42 new options
New tables |
---|
wp_msbdt_time_slote |
wp_msbdt_location |
wp_msbdt_paymentcard |
wp_msbdt_professional |
wp_msbdt_service |
wp_msbdt_organization |
wp_msbdt_booking |
wp_msbdt_category |
wp_msbdt_remainder |
wp_msbdt_template |
... |
New WordPress options |
---|
service_language |
calender_active_color |
category_language |
theysaidso_admin_options |
name_language |
admin_edit_button_color |
message_language |
admin_submit_button_text_color |
calender_month_text_color |
avoilable_color |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Bdtask Booking365
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,007 ▲261 | 14.16 ▼0.40 | 14.38 ▲12.57 | 43.80 ▼2.65 |
Dashboard /wp-admin | 2,273 ▲82 | 4.94 ▼0.93 | 103.23 ▼2.85 | 40.53 ▲1.55 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.14 ▲0.11 | 46.19 ▲9.16 | 34.48 ▲0.96 |
Add New Post /wp-admin/post-new.php | 1,573 ▲40 | 23.16 ▼0.28 | 666.99 ▼22.33 | 56.57 ▲4.19 |
Media Library /wp-admin/upload.php | 1,452 ▲61 | 4.26 ▲0.05 | 99.30 ▼3.21 | 44.48 ▲0.45 |
Service /wp-admin/admin.php?page=msbdt_service | 1,538 | 6.22 | 94.94 | 42.33 |
Appointment /wp-admin/admin.php?page=msbdt_appointment | 1,466 | 6.33 | 87.97 | 33.83 |
Category /wp-admin/admin.php?page=msbdt_category | 1,498 | 6.13 | 78.22 | 34.51 |
Email Notifications /wp-admin/admin.php?page=msbdt_email_notification | 2,562 | 8.73 | 168.01 | 38.07 |
Settings /wp-admin/admin.php?page=msbdt_setting | 4,088 | 7.59 | 161.75 | 86.50 |
Report /wp-admin/admin.php?page=msbdt_report | 1,464 | 6.22 | 71.72 | 41.38 |
Schedule /wp-admin/admin.php?page=msbdt_schedule | 2,096 | 5.71 | 86.44 | 43.68 |
Professional /wp-admin/admin.php?page=msbdt_professional | 1,608 | 6.35 | 75.13 | 38.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure failed, leaving 11 tables in the database
- wp_msbdt_scheduler
- wp_msbdt_service
- wp_msbdt_organization
- wp_msbdt_booking
- wp_msbdt_template
- wp_msbdt_category
- wp_msbdt_paymentcard
- wp_msbdt_time_slote
- wp_msbdt_remainder
- wp_msbdt_professional
- ...
- Zombie WordPress options were found after uninstall: 42 options
- admin_edit_button_color
- db_upgraded
- admin_delete_button_color
- reject_color
- request_color
- contact_language
- service_language
- avoilable_color
- email_language
- calender_day_text_color
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=msbdt_professional
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/bdtask-booking365/public/class-bdtaskbooking-public.php+269
Undefined index: data
- 30 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=msbdt_email_notification
- > Notice in wp-content/plugins/bdtask-booking365/admin/templates/msbdt-email.php+726
Trying to get property 'day' of non-object
- 24 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=msbdt_email_notification
- > Notice in wp-content/plugins/bdtask-booking365/admin/templates/msbdt-email.php+747
Trying to get property 'hour' of non-object
- 30 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=msbdt_email_notification
- > Notice in wp-content/plugins/bdtask-booking365/admin/templates/msbdt-email.php+768
Trying to get property 'minute' of non-object
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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bdtask-booking365/admin/partials/bdtaskbooking-admin-display.php
- > /wp-content/plugins/bdtask-booking365/public/partials/bdtaskbooking-public-display.php
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/bdtask-booking365/admin/templates/msbdt-time-slote.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/bdtask-booking365/admin/templates/msbdt-report.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/bdtask-booking365/admin/templates/bdtask-category.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/bdtask-booking365/admin/templates/bdtask-appointment.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/bdtask-booking365/admin/templates/bdtask-service.php:10
- > PHP Fatal error
Uncaught Error: Class 'Msbdt_Professional' not found in wp-content/plugins/bdtask-booking365/admin/templates/bdtask-professional.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=msbdt_professional
- > Javascript (severe) in unknown
/wp-content/plugins/bdtask-booking365/admin/assets/js/msbdt-multidatespicker.js?ver=1.0.0 0:8151 Uncaught TypeError: Cannot read properties of undefined (reading 'multiDatesPicker')
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in bdtask-booking365/assets to your readme.txt
bdtask-booking365/bdtaskbooking.php 85% from 13 tests
The main PHP file in "Bdtask Booking365" ver. 1.0.0 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 is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("bdtask-booking365.php" instead of "bdtaskbooking.php")
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
No dangerous file extensions were detected26,815 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 1,014 | 287 | 18,642 |
PHP | 30 | 1,096 | 1,108 | 6,282 |
JavaScript | 15 | 365 | 421 | 1,603 |
SVG | 1 | 0 | 0 | 288 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 13.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 194 | |
▷ Static methods | 71 | 36.60% |
▷ Public methods | 189 | 97.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 2.58% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
27 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
admin/assets/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/assets/images/fancybox_sprite@2x.png | 6.40KB | 5.76KB | ▼ 9.96% |
admin/assets/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
public/css/images/fancybox_sprite@2x.png | 6.40KB | 5.76KB | ▼ 9.96% |