Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/reloaded-rezdy/index.php+737
rename(wp-content/plugins/reloaded-rezdy//rezdy-template/single-.php,wp-content/plugins/reloaded-rezdy//rezdy-template/single-.php): No such file or directory
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.33ms] Passed 4 tests
An overview of server-side resources used by Rezdy Reloaded
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.10 | 36.81 ▼2.72 |
Dashboard /wp-admin | 3.41 ▲0.11 | 53.13 ▲5.10 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 54.96 ▲5.22 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 90.26 ▼16.90 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 45.15 ▲9.81 |
Settings /wp-admin/edit.php?post_type=&page=rzd_items_settings | 3.11 | 33.29 |
Server storage [IO: ▲1.80MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 14 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
rzd_post_category |
widget_theysaidso_widget |
widget_recent-comments |
rzd_thumbnail_height |
rzd_thumbnail_width |
rzd_post_name_slug_old |
rzd_post_name_slug |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Rezdy Reloaded
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲146 | 13.30 ▼1.07 | 5.87 ▲4.01 | 42.27 ▼10.91 |
Dashboard /wp-admin | 2,238 ▲47 | 4.95 ▼0.95 | 103.32 ▲5.84 | 78.92 ▲36.96 |
Posts /wp-admin/edit.php | 2,136 ▲50 | 2.04 ▼0.00 | 34.56 ▼2.53 | 34.64 ▲1.42 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 23.38 ▲0.17 | 709.10 ▲116.80 | 56.25 ▲8.31 |
Media Library /wp-admin/upload.php | 1,429 ▲38 | 4.25 ▲0.00 | 102.52 ▲4.83 | 77.82 ▲34.14 |
Settings /wp-admin/edit.php?post_type=&page=rzd_items_settings | 28 | 0.44 | 0.07 | 3.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 14 options in the database
- rzd_api_link
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- rzd_post_name_slug
- db_upgraded
- can_compress_scripts
- rzd_post_category
- rzd_thumbnail_width
- ...
Smoke tests 50% 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 everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/reloaded-rezdy/index.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/reloaded-rezdy/rezdy-template/single-rezdy-items.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/reloaded-rezdy/rezdy-template/rezdy-items.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/reloaded-rezdy/rezdy-template/taxonomy-rezdy-category.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/reloaded-rezdy/rezdy_settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/reloaded-rezdy/rezdy-template/taxonomy-rezdy-tags.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reloaded-rezdy/includes/rezdy_items_posttype.php:5
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=&page=rzd_items_settings
- > Network (severe)
wp-admin/edit.php?post_type=&page=rzd_items_settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: rezdy, reservations, rezdy reloaded, bookings
reloaded-rezdy/index.php 85% from 13 tests
The main PHP file in "Rezdy Reloaded" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("reloaded-rezdy.php" instead of "index.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,492 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 165 | 44 | 1,300 |
CSS | 1 | 2 | 11 | 1,192 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 24 | |
▷ Named functions | 23 | 95.83% |
▷ Anonymous functions | 1 | 4.17% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 1.70MB with 1.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 332.39KB | 99.38KB | ▼ 70.10% |
screenshot-3.png | 190.24KB | 57.09KB | ▼ 69.99% |
screenshot-2.png | 671.01KB | 166.83KB | ▼ 75.14% |
screenshot-1.png | 537.81KB | 147.52KB | ▼ 72.57% |
includes/images/rezdy-icon.png | 3.56KB | 0.83KB | ▼ 76.60% |