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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.89MB] [CPU: ▲0.79ms] Passed 4 tests
An overview of server-side resources used by Easy Booked - Appointment Booking Calendar And Scheduling Management System
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.75 | 48.94 ▲8.75 |
Dashboard /wp-admin | 4.24 ▲0.93 | 47.77 ▼1.18 |
Posts /wp-admin/edit.php | 4.27 ▲0.92 | 51.11 ▲8.19 |
Add New Post /wp-admin/post-new.php | 6.89 ▲1.00 | 82.66 ▼10.30 |
Media Library /wp-admin/upload.php | 4.18 ▲0.95 | 36.80 ▲6.45 |
Calendar Manage /wp-admin/admin.php?page=calendar-manage | 4.08 | 37.43 |
Appointments /wp-admin/admin.php?page=appointments | 4.16 | 35.21 |
Setting /wp-admin/admin.php?page=setting | 4.06 | 34.93 |
Server storage [IO: ▲4.33MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 107 new files
Database: 3 new tables, 13 new options
New tables |
---|
wp_abs_custom_time_slots |
wp_abs_calendar |
wp_abs_time_slots |
New WordPress options |
---|
widget_recent-posts |
abs_installed |
db_upgraded |
abs_version |
abs_user_register_page |
widget_recent-comments |
abs_setting |
abs_email_reminder_time |
abs_user_profile |
abs_user_login |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Booked - Appointment Booking Calendar And Scheduling Management System
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲191 | 14.20 ▼0.15 | 16.02 ▲14.15 | 44.57 ▲0.65 |
Dashboard /wp-admin | 2,245 ▲74 | 5.85 ▲0.19 | 103.39 ▲2.88 | 45.43 ▼0.60 |
Posts /wp-admin/edit.php | 2,158 ▲61 | 2.33 ▲0.36 | 49.27 ▲13.84 | 35.13 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 23.67 ▲0.52 | 608.77 ▼3.08 | 31.63 ▼27.55 |
Media Library /wp-admin/upload.php | 1,456 ▲56 | 4.42 ▲0.23 | 107.96 ▲9.30 | 41.54 ▼1.86 |
Calendar Manage /wp-admin/admin.php?page=calendar-manage | 1,094 | 2.01 | 39.02 | 28.39 |
Appointments /wp-admin/admin.php?page=appointments | 996 | 2.01 | 41.56 | 27.06 |
Setting /wp-admin/admin.php?page=setting | 1,056 | 1.99 | 37.97 | 27.45 |
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
- Zombie tables detected upon uninstall: 3 tables
- wp_abs_time_slots
- wp_abs_custom_time_slots
- wp_abs_calendar
- Zombie WordPress options detected upon uninstall: 13 options
- db_upgraded
- abs_version
- can_compress_scripts
- abs_installed
- abs_user_login
- abs_user_profile
- abs_email_reminder_time
- theysaidso_admin_options
- widget_theysaidso_widget
- abs_setting
- ...
Smoke tests 25% 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)
These errors were triggered by the plugin
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=setting
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/easy-booked/includes/Admin/Custom_Time_Slots.php+60
Undefined index: abs_calendar_id
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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/easy-booked/vendor/firebase/php-jwt/tests/bootstrap.php
- 22× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
require_once(wp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/easy-booked/includes/Admin/Calendar_List.php on line 7
- > PHP Warning
require_once(wp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/easy-booked/includes/Admin/Appointment_List.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/easy-booked/includes/Admin/views/appointments-list.php:2
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/easy-booked/vendor/firebase/php-jwt/tests/JWTTest.php:7
- > PHP Fatal error
require_once(): Failed opening required 'wp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-booked/includes/Admin/Appointment_List.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/easy-booked/includes/Frontend/views/profile-edit.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/easy-booked/includes/Frontend/views/history.php:6
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/easy-booked/includes/Elementor_Widget/Booking_Calendar_Widget.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/easy-booked/includes/Admin/views/calendar-list.php:2
- > PHP Fatal error
require_once(): Failed opening required 'wp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-booked/includes/Admin/Calendar_List.php on line 7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: appointment booking, booking calendar, booking system, booking, scheduling
easy-booked/appointment-booking-and-scheduling.php 69% from 13 tests
This is the main PHP file of "Easy Booked - Appointment Booking Calendar And Scheduling Management System" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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
- Git Repository: An alternative Git repository was detected
- Main file name: Name the main plugin file the same as the plugin slug ("easy-booked.php" instead of "appointment-booking-and-scheduling.php")
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 75 characters long)
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
Everything looks great! No dangerous files found in this plugin36,537 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 151 | 773 | 13,885 |
SVG | 3 | 0 | 0 | 9,552 |
CSS | 7 | 1,758 | 45 | 7,127 |
PHP | 57 | 959 | 1,203 | 5,566 |
Markdown | 2 | 51 | 0 | 233 |
JSON | 4 | 1 | 0 | 125 |
YAML | 1 | 5 | 0 | 31 |
XML | 1 | 1 | 0 | 18 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 11.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 38 | 100.00% |
▷ Final classes | 1 | 2.63% |
Methods | 218 | |
▷ Static methods | 22 | 10.09% |
▷ Public methods | 199 | 91.28% |
▷ Protected methods | 7 | 3.21% |
▷ Private methods | 12 | 5.50% |
Functions | 18 | |
▷ Named functions | 16 | 88.89% |
▷ Anonymous functions | 2 | 11.11% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.23MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/flags@2x.png | 170.28KB | 68.04KB | ▼ 60.04% |
assets/images/flags.png | 69.20KB | 23.42KB | ▼ 66.16% |