Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.74ms] Passed 4 tests
This is a short check of server-side resources used by PixelBeds Channel Manager and Hotel Booking Engine
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 44.44 ▲0.12 |
Dashboard /wp-admin | 3.34 ▲0.04 | 55.94 ▼6.08 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.05 ▼5.02 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.25 ▼11.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 39.41 ▼0.10 |
Server storage [IO: ▲4.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 248 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
PixelBeds Channel Manager and Hotel Booking Engine: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 13.94 ▼0.41 | 1.74 ▼0.14 | 44.66 ▲0.78 |
Dashboard /wp-admin | 2,211 ▲31 | 5.63 ▼0.01 | 87.11 ▼11.88 | 39.40 ▼4.52 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 1.99 ▲0.04 | 33.42 ▼6.47 | 35.39 ▲0.83 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.10 ▼0.01 | 640.69 ▼58.68 | 46.62 ▼9.44 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.30 ▲0.10 | 99.26 ▼9.17 | 46.91 ▲0.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php
- 116× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 170
- > PHP Notice
Undefined variable: data in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 168
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 114
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 154
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 122
- > PHP Notice
Undefined variable: data in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 85
- > PHP Notice
Undefined variable: data in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 91
- > PHP Notice
Undefined variable: data in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 124
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 164
- > PHP Notice
Undefined variable: data in wp-content/plugins/pixelbeds-channel-manager-booking-engine/templates/og_booking_widget.php on line 169
- > PHP Notice
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid url: ""
- Screenshots: These screenshots require images: #7 (Sample design 6), #8 (Sample design 7), #9 (Sample design 8)
pixelbeds-channel-manager-booking-engine/og-booking-widget.php 92% from 13 tests
The entry point to "PixelBeds Channel Manager and Hotel Booking Engine" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("pixelbeds-channel-manager-booking-engine.php" instead of "og-booking-widget.php")
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
No dangerous file extensions were detected27,824 lines of code in 224 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 18 | 20 | 101 | 12,049 |
JavaScript | 136 | 1,092 | 1,258 | 5,771 |
PHP | 40 | 185 | 347 | 3,519 |
SVG | 2 | 0 | 0 | 2,959 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 3.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 61.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 38.46% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin