Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/vr-booking-lite/vr-booking-lite.php+26
include_once(wp-content/plugins/vr-booking-lite/includes/functions.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.94MB] [CPU: ▼53.71ms] Passed 4 tests
Analyzing server-side resources used by VR Booking Lite by MyHotelZone
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 4.50 ▼33.32 |
Dashboard /wp-admin | 2.07 ▼1.24 | 5.77 ▼42.68 |
Posts /wp-admin/edit.php | 2.07 ▼1.29 | 5.30 ▼44.11 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.82 | 5.10 ▼94.72 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 5.22 ▼27.78 |
Server storage [IO: ▲1.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by VR Booking Lite by MyHotelZone
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.82 ▲0.44 | 1.94 ▲0.27 | 45.66 ▼2.87 |
Dashboard /wp-admin | 2,209 ▲24 | 5.90 ▲0.85 | 98.14 ▼3.49 | 40.53 ▼3.97 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.02 | 40.70 ▼1.89 | 36.28 ▲1.33 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 23.09 ▲5.40 | 636.08 ▲17.63 | 57.94 ▲11.70 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.22 ▲0.07 | 96.85 ▲3.98 | 43.20 ▲2.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/vr-booking-lite/vr-booking-lite.php+26
include_once(wp-content/plugins/vr-booking-lite/includes/functions.php): failed to open stream: No such file or directory
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Tags: There are too many tags (25 tag instead of maximum 10)
vr-booking-lite/vr-booking-lite.php Passed 13 tests
The principal PHP file in "VR Booking Lite by MyHotelZone" v. 1.0 is loaded by WordPress automatically on each request
125 characters long description:
VR Booking Lite is a WordPress booking plugin customized for specific needs of all types of accommodation / property rentals.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin15 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 11 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin