Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.95MB] [CPU: ▼34.21ms] Passed 4 tests
Server-side resources used by WP Auto Hotel Finder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.85 ▼5.30 |
Dashboard /wp-admin | 2.99 ▼0.31 | 23.98 ▼29.01 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 28.36 ▼25.42 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 26.19 ▼67.04 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 22.11 ▼15.35 |
WP Auto Hotel Finder /wp-admin/options-general.php?page=wp-auto-hotel-finder/wp-auto-hotel-finder.php | 3.00 | 22.25 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Auto Hotel Finder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▼0.15 | 1.91 ▲0.05 | 39.11 ▼5.23 |
Dashboard /wp-admin | 2,193 ▲16 | 5.64 ▲0.10 | 94.00 ▲0.56 | 43.98 ▲4.33 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.98 ▲0.02 | 40.00 ▼3.35 | 34.21 ▼4.49 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.30 ▲0.03 | 638.65 ▼50.91 | 64.70 ▲10.05 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.21 ▲0.03 | 101.71 ▼1.46 | 43.69 ▼2.82 |
WP Auto Hotel Finder /wp-admin/options-general.php?page=wp-auto-hotel-finder/wp-auto-hotel-finder.php | 897 | 2.03 | 26.09 | 26.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% 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=wp-auto-hotel-finder/wp-auto-hotel-finder.php
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP 50% 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 fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-auto-hotel-finder/wp-auto-hotel-finder.php:110
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 require attention:
- Tags: There are too many tags (48 tag instead of maximum 10)
wp-auto-hotel-finder/wp-auto-hotel-finder.php Passed 13 tests
The main PHP script in "WP Auto Hotel Finder" version 2.0 is automatically included on every request by WordPress
61 characters long description:
A plugin to get/find hotels on google maps in a very easy way
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
No dangerous file extensions were detected703 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 109 | 43 | 302 |
PHP | 1 | 56 | 32 | 205 |
CSS | 1 | 20 | 0 | 116 |
HTML | 1 | 16 | 0 | 80 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/Accomodation.png | 0.35KB | 0.27KB | ▼ 22.28% |