Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼2.26ms] Passed 4 tests
A check of server-side resources used by Appointment Buddy Widget By Accrete
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 48.01 ▲10.89 |
Dashboard /wp-admin | 3.52 ▲0.22 | 45.43 ▼2.35 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 49.03 ▲0.26 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 85.58 ▼4.68 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 34.80 ▼2.27 |
Appointment Buddy /wp-admin/admin.php?page=appointment-calendar | 3.41 | 31.32 |
Appointment List /wp-admin/admin.php?page=view-booked-appointment-list | 3.44 | 33.06 |
Settings /wp-admin/admin.php?page=appointment-buddy-settings | 3.44 | 32.32 |
Server storage [IO: ▲0.50MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 35 new files
Database: 6 new tables, 7 new options
New tables |
---|
wp_abTimeSlotMst |
wp_abServiceMst |
wp_abSlotMappingDetails |
wp_abAdminProfileDetails |
wp_abHolidayMst |
wp_abAppointmentMst |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_appointment_buddy_widget |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Appointment Buddy Widget By Accrete
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲122 | 14.64 ▲0.06 | 1.89 ▲0.29 | 42.61 ▲2.24 |
Dashboard /wp-admin | 2,266 ▲78 | 6.07 ▲1.04 | 109.11 ▲4.27 | 40.67 ▼2.90 |
Posts /wp-admin/edit.php | 2,146 ▲57 | 2.75 ▲0.73 | 40.02 ▲5.75 | 34.70 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,564 ▲45 | 23.68 ▲0.49 | 616.84 ▼61.51 | 33.85 ▼24.38 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 5.33 ▲1.12 | 101.62 ▼7.70 | 46.76 ▲1.21 |
Appointment Buddy /wp-admin/admin.php?page=appointment-calendar | 1,343 | 3.04 | 66.81 | 39.30 |
Appointment List /wp-admin/admin.php?page=view-booked-appointment-list | 1,008 | 2.36 | 34.97 | 29.69 |
Settings /wp-admin/admin.php?page=appointment-buddy-settings | 3,695 | 2.46 | 56.00 | 47.05 |
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
The following items require your attention
- The uninstall procedure failed, leaving 6 tables in the database
- wp_abServiceMst
- wp_abSlotMappingDetails
- wp_abHolidayMst
- wp_abAdminProfileDetails
- wp_abTimeSlotMst
- wp_abAppointmentMst
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- widget_appointment_buddy_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=appointment-buddy-settings
- > Notice in wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/admin-general-profile.php+102
Undefined offset: 0
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=appointment-buddy-settings
- > Notice in wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/admin-general-profile.php+102
Trying to access array offset on value of type null
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/appointment-buddy.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/includes/widget.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/includes/form.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function submit_button() in wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/admin-team.php:3
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/includes/form.php on line 5
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/includes/form.php on line 6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=appointment-buddy-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'toString')" "TypeError: Cannot read properties of undefined (reading 'toString')\n at k (/wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/js/tabbed.min.js?ver=6.3.1:8:1025)\n at Object.w (/wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/js/tabbed.min.js?ver=6.3.1:8:1398)\n at Object.onInit (/wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/js/custom.js?ver=6.3.1:53:15)\n at v (/wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/js/tabbed.min.js?ver=6.3.1:8:2176)\n at new i (/wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/js/tabbed.min.js?ver=6.3.1:8:2630)\n at HTMLDivElement.\u003Canonymous> (/wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/js/tabbed.min.js?ver=6.3.1:8:2704)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at n.fn.tabbedContent (/wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/js/tabbed.min.js?ver=6.3.1:8:2682)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/appointment-buddy-online-appointment-booking-by-accrete/admctrlfd/js/custom.js?ver=6.3.1:45:37)" undefined
- > GET request to /wp-admin/admin.php?page=appointment-buddy-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'toString')
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:
- Donate link: Invalid URI found ("")
appointment-buddy-online-appointment-booking-by-accrete/appointment-buddy.php 92% from 13 tests
The primary PHP file in "Appointment Buddy Widget By Accrete" version 1.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("appointment-buddy-online-appointment-booking-by-accrete.php" instead of "appointment-buddy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin4,310 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 337 | 119 | 2,805 |
CSS | 6 | 74 | 22 | 1,056 |
JavaScript | 9 | 58 | 360 | 449 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 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
There are no PNG files in this plugin