Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.58ms] Passed 4 tests
Server-side resources used by Harmonizely Booking Product
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.00 | 39.82 ▼4.37 |
Dashboard /wp-admin | 3.35 ▼0.04 | 48.53 ▼17.26 |
Posts /wp-admin/edit.php | 3.40 ▲0.00 | 49.44 ▼3.37 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.00 | 83.05 ▼21.30 |
Media Library /wp-admin/upload.php | 3.27 ▲0.00 | 39.61 ▼0.71 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Harmonizely Booking Product
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.27 ▼0.08 | 2.21 ▲0.30 | 42.67 ▼0.97 |
Dashboard /wp-admin | 2,195 ▲24 | 5.69 ▲0.03 | 110.01 ▲9.92 | 49.60 ▲3.76 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.03 | 37.79 ▲0.97 | 37.44 ▼3.71 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.21 ▲0.17 | 631.27 ▼28.38 | 50.31 ▼7.48 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.07 | 102.65 ▼8.46 | 42.33 ▼7.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
SRP 50% 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/harmonizely-booking-product/public/partials/harmonizely-booking-product-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: adopt-me, woocommerce, appointment, harmonizely, booking
harmonizely-booking-product/harmonizely-booking-product.php Passed 13 tests
The main file in "Harmonizely Booking Product" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
70 characters long description:
Creates a Harmonizely appointment booking product type for WooCommerce
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
Good job! No executable or dangerous file extensions detected582 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 246 | 662 | 576 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a short overview 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.23 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 2 | 4.26% |
▷ Public methods | 40 | 85.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 14.89% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
There are no PNG files in this plugin