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
Install script ran successfully
Server metrics [RAM: ▼4.37MB] [CPU: ▼881,139.32ms] Passed 4 tests
Server-side resources used by Booqable Rental Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 48.60 ▲5.54 |
Dashboard /wp-admin | 3.38 ▼17.58 | 48.63 ▼3,524,555.78 |
Posts /wp-admin/edit.php | 3.50 ▲0.10 | 53.69 ▲4.30 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.03 | 96.73 ▼8.24 |
Media Library /wp-admin/upload.php | 3.31 ▲0.03 | 38.74 ▲2.43 |
Booqable /wp-admin/options-general.php?page=Booqable | 3.28 | 35.06 |
Server storage [IO: ▲1.65MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Booqable Rental Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲64 | 14.09 ▼0.26 | 1.86 ▼0.04 | 41.50 ▼2.74 |
Dashboard /wp-admin | 2,193 ▲25 | 5.60 ▲0.02 | 91.88 ▼12.43 | 45.79 ▲1.44 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.04 | 39.26 ▲0.85 | 38.88 ▲5.12 |
Add New Post /wp-admin/post-new.php | 1,529 ▲2 | 23.17 ▼0.15 | 657.45 ▲13.02 | 55.56 ▲1.93 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.18 ▼0.02 | 102.76 ▲0.87 | 46.72 ▲3.64 |
Booqable /wp-admin/options-general.php?page=Booqable | 912 | 2.17 | 23.58 | 30.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=Booqable
- > Notice in wp-content/plugins/booqable-rental-reservations/admin/booqable_admin.php+2
Undefined index: booqable_hidden
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Booqable
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Booqable
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 0% 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/booqable-rental-reservations/admin/booqable_notice.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/booqable-rental-reservations/admin/booqable_admin.php:11
- > PHP Notice
Undefined index: booqable_hidden in wp-content/plugins/booqable-rental-reservations/admin/booqable_admin.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== booqable-rental-reservations ===
)
booqable-rental-reservations/booqable.php 92% from 13 tests
The main PHP script in "Booqable Rental Plugin" version 2.4.16 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("booqable-rental-reservations.php" instead of "booqable.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin354 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 53 | 60 | 231 |
Bourne Shell | 1 | 39 | 45 | 110 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.71MB with 0.42MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo.png | 17.85KB | 6.97KB | ▼ 60.92% |
assets/banner-772x250-rtl.png | 90.43KB | 35.18KB | ▼ 61.09% |
assets/banner-772x250.png | 90.43KB | 35.18KB | ▼ 61.09% |
assets/banner-1544x500-rtl.png | 255.91KB | 94.56KB | ▼ 63.05% |
assets/icon-128x128.png | 3.84KB | 1.97KB | ▼ 48.57% |