Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.02ms] Passed 4 tests
A check of server-side resources used by Easy!Appointments
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 41.43 ▲4.70 |
Dashboard /wp-admin | 3.40 ▲0.06 | 46.21 ▼13.39 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 49.56 ▲5.14 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 81.87 ▼19.75 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 33.95 ▲0.37 |
Easy!Appointments /wp-admin/options-general.php?page=easyappointments-settings | 3.33 | 32.46 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy!Appointments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.85 ▼0.80 | 6.01 ▲4.25 | 43.75 ▲3.69 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.93 | 109.98 ▲9.43 | 39.24 ▼1.29 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 1.97 ▼0.04 | 41.38 ▲4.59 | 35.71 ▲2.43 |
Add New Post /wp-admin/post-new.php | 1,536 ▲15 | 22.99 ▼0.23 | 659.49 ▲2.46 | 58.79 ▲9.81 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▼0.08 | 96.10 ▼4.81 | 43.49 ▲1.03 |
Easy!Appointments /wp-admin/options-general.php?page=easyappointments-settings | 1,001 | 2.11 | 26.80 | 27.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easyappointments/public/partials/easyappointments-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_thickbox() in wp-content/plugins/easyappointments/admin/partials/easyappointments-admin-display.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== easyappointments ===
) - Tags: Please delete some tags, you are using 16 tag instead of maximum 10
easyappointments/easyappointments.php Passed 13 tests
"Easy!Appointments" version 1.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
67 characters long description:
Easy!Appointments appointment scheduling integration for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,266 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 203 | 560 | 584 |
PO File | 2 | 85 | 110 | 427 |
JavaScript | 5 | 52 | 123 | 205 |
CSS | 2 | 12 | 12 | 50 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 3 | 9.38% |
▷ Public methods | 24 | 75.00% |
▷ Protected methods | 3 | 9.38% |
▷ Private methods | 5 | 15.62% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/about.png | 33.54KB | 22.03KB | ▼ 34.32% |
admin/img/logo.png | 5.41KB | 3.37KB | ▼ 37.62% |