Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.27ms] Passed 4 tests
Server-side resources used by EzyOnlineBookings Online Booking System Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.36 ▼1.08 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.03 ▼5.99 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.30 ▼2.70 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.07 ▼3.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.77 ▲3.47 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by EzyOnlineBookings Online Booking System Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.58 ▼1.01 | 4.31 ▲2.29 | 46.79 ▲3.65 |
Dashboard /wp-admin | 2,206 ▲21 | 5.88 ▲0.08 | 106.21 ▼2.19 | 41.74 ▼4.80 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.07 | 39.19 ▲2.87 | 36.74 ▼1.08 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 18.81 ▲0.70 | 616.55 ▼27.52 | 57.42 ▲6.11 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.15 ▼0.05 | 95.52 ▼2.15 | 40.84 ▼2.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ezyonlinebookings-online-booking-system/ezyonlinebookingsplugin.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 29 tag instead of maximum 10
ezyonlinebookings-online-booking-system/ezyonlinebookingsplugin.php 92% from 13 tests
The entry point to "EzyOnlineBookings Online Booking System Widget" version 1.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ezyonlinebookings-online-booking-system.php" instead of "ezyonlinebookingsplugin.php")
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
There were no executable files found in this plugin58 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 23 | 58 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 compressed PNG files occupy 0.30MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 19.03KB | 18.22KB | ▼ 4.23% |
screenshot-6.png | 16.47KB | 15.21KB | ▼ 7.65% |
screenshot-3.png | 55.26KB | 53.42KB | ▼ 3.34% |
screenshot-1.png | 92.38KB | 88.60KB | ▼ 4.09% |
screenshot-5.png | 23.14KB | 21.80KB | ▼ 5.76% |