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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼8.04ms] Passed 4 tests
A check of server-side resources used by Calenso Booking Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 36.09 ▼5.08 |
Dashboard /wp-admin | 3.51 ▲0.17 | 48.44 ▼11.28 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 49.85 ▲2.65 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 80.18 ▼16.02 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 37.43 ▲0.21 |
Shortcodes /wp-admin/admin.php?page=calenso_widget_shortcode | 3.39 | 33.84 |
Calenso Booking /wp-admin/admin.php?page=calenso_wordpress_widget | 3.40 | 32.66 |
Server storage [IO: ▲4.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 55 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_zpt_calenso_stores |
wp_zpt_calenso_user_data |
wp_zpt_calenso_languages |
wp_zpt_calenso_event |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Calenso Booking Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,626 ▲865 | 14.24 ▼0.11 | 1.85 ▲0.30 | 34.91 ▼5.40 |
Dashboard /wp-admin | 3,004 ▲827 | 5.67 ▲0.07 | 88.05 ▲0.09 | 90.08 ▲47.94 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.99 ▼0.03 | 38.39 ▲3.94 | 34.71 ▼6.22 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.10 ▼0.01 | 655.57 ▼8.25 | 160.26 ▲106.13 |
Media Library /wp-admin/upload.php | 1,426 ▲32 | 4.12 ▼0.07 | 94.84 ▼4.75 | 73.45 ▲29.32 |
Shortcodes /wp-admin/admin.php?page=calenso_widget_shortcode | 1,017 | 1.98 | 23.78 | 31.03 |
Calenso Booking /wp-admin/admin.php?page=calenso_wordpress_widget | 1,553 | 1.99 | 24.17 | 46.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/calenso-booking/includes/hooks.php
- > /wp-content/plugins/calenso-booking/autoload.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/calenso-booking/includes/functions.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/calenso-booking/igniter.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=calenso_wordpress_widget
- > Network (severe)
wp-content/plugins/calenso-booking/assets/fonts/OpenS/OpenSans-VariableFont_wdth,wght.ttf - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Contributors: Plugin contributors field is missing
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in calenso-booking/assets to your readme.txt
calenso-booking/igniter.php 85% from 13 tests
"Calenso Booking Integration" version 2.2.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("calenso-booking.php" instead of "igniter.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected16,187 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 2,992 | 23 | 11,711 |
SVG | 6 | 0 | 4 | 2,844 |
PHP | 5 | 160 | 84 | 1,221 |
JSON | 6 | 161 | 0 | 276 |
Markdown | 2 | 51 | 0 | 101 |
JavaScript | 3 | 5 | 12 | 28 |
INI | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
7 PNG files occupy 0.25MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/FirmenprofilDE.png | 66.79KB | 31.09KB | ▼ 53.45% |
assets/img/icon.png | 0.42KB | 0.68KB | 0.00% |
assets/img/EinstellungenDE.png | 62.48KB | 25.27KB | ▼ 59.56% |
assets/img/EinEN.png | 7.50KB | 4.31KB | ▼ 42.54% |
assets/img/EinstellungenEN.png | 57.56KB | 25.65KB | ▼ 55.43% |