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.33MB] [CPU: ▼3.44ms] Passed 4 tests
This is a short check of server-side resources used by Appointment booking for Next 7 Days.
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 45.24 ▲9.56 |
Dashboard /wp-admin | 3.64 ▲0.30 | 49.41 ▼11.18 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 52.54 ▲1.67 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 87.31 ▼13.81 |
Media Library /wp-admin/upload.php | 3.56 ▲0.34 | 44.04 ▲12.05 |
Delete Appointment /wp-admin/admin.php?page=appointment-delete | 3.51 | 36.35 |
Appointments /wp-admin/admin.php?page=appointment | 3.53 | 39.43 |
Settings /wp-admin/admin.php?page=appointment-basics | 3.51 | 38.05 |
Server storage [IO: ▲0.42MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: 5 new tables, 6 new options
New tables |
---|
wp_boffin_coders_appointment_user_information |
wp_boffin_coders_appointment_booked |
wp_boffin_coders_appointment_availability |
wp_boffin_coders_appointment_data |
wp_boffin_coders_appointment_styles |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Appointment booking for Next 7 Days.: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲93 | 14.15 ▼0.31 | 1.96 ▲0.50 | 40.85 ▼1.66 |
Dashboard /wp-admin | 2,218 ▲44 | 5.64 ▲0.11 | 86.42 ▼0.97 | 35.96 ▼0.02 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 1.98 ▲0.04 | 35.57 ▼1.48 | 31.82 ▼8.28 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.05 ▲0.01 | 616.84 ▼56.90 | 58.18 ▼1.52 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.22 ▼0.02 | 97.91 ▼6.14 | 44.18 ▼0.04 |
Delete Appointment /wp-admin/admin.php?page=appointment-delete | 779 | 2.00 | 22.97 | 20.75 |
Appointments /wp-admin/admin.php?page=appointment | 812 | 2.03 | 27.72 | 31.46 |
Settings /wp-admin/admin.php?page=appointment-basics | 955 | 2.03 | 28.63 | 33.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables were found after uninstall: 5 tables
- wp_boffin_coders_appointment_booked
- wp_boffin_coders_appointment_data
- wp_boffin_coders_appointment_styles
- wp_boffin_coders_appointment_user_information
- wp_boffin_coders_appointment_availability
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=appointment-delete
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'appointment_delete_single' not found or invalid function name
- > GET request to /wp-admin/admin.php?page=appointment-basics
- > Notice in wp-content/plugins/appointment/appointment.php+700
Undefined variable: appoint_id
SRP Passed 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
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 a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Contributors: Contributors not specified
appointment/appointment.php 92% from 13 tests
"Appointment booking for Next 7 Days." version 4.1.0'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:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin5,417 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 1,019 | 59 | 3,880 |
CSS | 1 | 224 | 56 | 1,537 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
5 PNG files occupy 0.21MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/calendar.png | 9.99KB | 5.52KB | ▼ 44.75% |
img/basic_info.png | 52.94KB | 26.20KB | ▼ 50.50% |
img/time_Setting.png | 75.17KB | 29.25KB | ▼ 61.09% |
img/booking popup.png | 26.75KB | 12.50KB | ▼ 53.26% |
img/styles.png | 52.51KB | 26.13KB | ▼ 50.24% |