Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.70MB] [CPU: ▼303.20ms] Passed 4 tests
Server-side resources used by Appointment Hour Booking - WordPress Booking Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.26 ▲0.74 | 56.77 ▲6.40 |
Dashboard /wp-admin | 4.11 ▲0.70 | 36.24 ▲4.40 |
Posts /wp-admin/edit.php | 4.33 ▲0.69 | 40.02 ▲2.24 |
Add New Post /wp-admin/post-new.php | 7.64 ▲0.67 | 101.74 ▼1,224.59 |
Media Library /wp-admin/upload.php | 4.05 ▲0.76 | 29.85 ▲5.17 |
General Settings /wp-admin/admin.php?page=cp_apphourbooking_settings | 4.11 | 35.06 |
Add Ons /wp-admin/admin.php?page=cp_apphourbooking_addons | 4.36 | 28.96 |
Appointment Hour Booking /wp-admin/admin.php?page=cp_apphourbooking | 4.46 | 30.64 |
Upgrade Plugin /wp-admin/admin.php?page=cp_apphourbooking_upgrade | 3.93 | 26.00 |
Online Demo /wp-admin/admin.php?page=cp_apphourbooking_odemo | 3.93 | 25.78 |
Appointment Hour Booking /wp-admin/options-general.php?page=cp_apphourbooking | 4.46 | 30.54 |
I Need Help /wp-admin/admin.php?page=cp_apphourbooking_support | 3.93 | 25.07 |
Server storage [IO: ▲5.29MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 408 new files
Database: 2 new tables, 2 new options
New tables |
---|
wp_cpappbk_forms |
wp_cpappbk_messages |
New WordPress options |
---|
installed_appointment-hour-booking |
cp_cpappb_last_verified |
Browser metrics Passed 4 tests
An overview of browser requirements for Appointment Hour Booking - WordPress Booking Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,842 ▲88 | 16.24 ▲0.56 | 6.32 ▼0.61 | 2.47 ▼0.03 |
Dashboard /wp-admin | 2,951 ▲90 | 6.14 ▼0.05 | 117.94 ▼16.30 | 149.10 ▼12.90 |
Posts /wp-admin/edit.php | 2,747 ▲56 | 3.25 ▲0.00 | 61.27 ▼2.03 | 141.04 ▲3.01 |
Add New Post /wp-admin/post-new.php | 1,722 ▼30 | 16.30 ▼5.29 | 410.36 ▼33.00 | 165.25 ▲11.68 |
Media Library /wp-admin/upload.php | 1,754 ▲53 | 5.51 ▼0.00 | 144.45 ▼1.86 | 187.87 ▲1.96 |
General Settings /wp-admin/admin.php?page=cp_apphourbooking_settings | 2,590 | 4.35 | 74.15 | 125.17 |
Add Ons /wp-admin/admin.php?page=cp_apphourbooking_addons | 2,084 | 2.44 | 55.80 | 144.64 |
Appointment Hour Booking /wp-admin/admin.php?page=cp_apphourbooking | 1,217 | 3.04 | 76.27 | 139.85 |
Upgrade Plugin /wp-admin/admin.php?page=cp_apphourbooking_upgrade | 3,539 | 3.39 | 79.46 | 220.63 |
Online Demo /wp-admin/admin.php?page=cp_apphourbooking_odemo | 2,370 | 3.17 | 85.66 | 245.70 |
Appointment Hour Booking /wp-admin/options-general.php?page=cp_apphourbooking | 1,217 | 3.03 | 69.68 | 126.94 |
I Need Help /wp-admin/admin.php?page=cp_apphourbooking_support | 4,271 | 3.96 | 82.65 | 206.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables were found after uninstall: 2 tables
- wp_cpappbk_messages
- wp_cpappbk_forms
- The uninstall procedure has failed, leaving 2 options in the database
- cp_cpappb_last_verified
- installed_appointment-hour-booking
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)
Even though everything seems fine, this is not an exhaustive test
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 items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/appointment-hour-booking/js/fbuilder-loader-public.php
- > /wp-content/plugins/appointment-hour-booking/cp-public-int.inc.php
- > /wp-content/plugins/appointment-hour-booking/js/fbuilder-loader-admin.php
- 79× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/appointment-hour-booking/controllers/elementor/cp-elementor-widget.inc.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/appointment-hour-booking/addons/smsbroadcast.addon.php:23
- > PHP Notice
Undefined index: cal in wp-content/plugins/appointment-hour-booking/cp-admin-int-message-list.inc.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/appointment-hour-booking/addons/square.addon.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/appointment-hour-booking/addons/twiliosms.addon.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/appointment-hour-booking/addons/sagepay.addon.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/appointment-hour-booking/addons/coupons.addon.php:25
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/appointment-hour-booking/cp-admin-int-message-list.inc.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/appointment-hour-booking/addons/credits-purchase.addon.php:23
- > PHP Notice
Undefined index: cal in wp-content/plugins/appointment-hour-booking/cp-admin-int-schedule.inc.php on line 4
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
appointment-hour-booking/app-booking-plugin.php 92% from 13 tests
"Appointment Hour Booking - WordPress Booking Plugin" version 1.3.47's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("appointment-hour-booking.php" instead of "app-booking-plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin95,628 lines of code in 296 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 62 | 33,975 | 29,633 | 70,487 |
JavaScript | 139 | 1,087 | 1,161 | 15,516 |
PHP | 82 | 1,690 | 695 | 7,945 |
CSS | 11 | 128 | 177 | 1,670 |
INI | 2 | 0 | 0 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 497.00 |
Average method complexity | 4.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 63 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 154 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 142 | 92.21% |
▷ Protected methods | 4 | 2.60% |
▷ Private methods | 8 | 5.19% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 49 | |
▷ Global constants | 49 | 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
31 PNG files occupy 0.17MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/cupertino/images/arrow.png | 0.28KB | 0.28KB | 0.00% |
css/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png | 0.14KB | 0.17KB | 0.00% |
css/cupertino/images/ui-bg_glass_80_eebd4d_1x400.png | 0.40KB | 0.17KB | ▼ 58.09% |
mv/css/images/icons_yellow.png | 0.60KB | 0.48KB | ▼ 19.15% |
mv/css/images/corner.png | 0.44KB | 0.32KB | ▼ 28.06% |