Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.34ms] Passed 4 tests
This is a short check of server-side resources used by Hilp - Wordpress support
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 35.27 ▼12.60 |
Dashboard /wp-admin | 18.54 ▲15.19 | 2,960,205.89 ▲2,960,150.20 |
Posts /wp-admin/edit.php | 3.54 ▲0.14 | 55.32 ▲5.12 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.09 | 88.89 ▼16.89 |
Media Library /wp-admin/upload.php | 3.35 ▲0.07 | 43.01 ▲3.01 |
Hilp /wp-admin/options-general.php?page=hilp_settings | 3.33 | 34.93 |
Server storage [IO: ▲1.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hilp - Wordpress support
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,384 ▲623 | 14.58 ▲0.36 | 35.26 ▲33.53 | 50.96 ▲6.71 |
Dashboard /wp-admin | 2,223 ▲49 | 5.89 ▲0.35 | 89.19 ▼11.78 | 39.75 ▼4.05 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.44 ▲0.44 | 35.08 ▼1.34 | 33.34 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.89 ▲0.86 | 692.21 ▲29.45 | 38.03 ▼11.93 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.48 ▲0.25 | 98.60 ▼10.79 | 48.02 ▼1.55 |
Hilp /wp-admin/options-general.php?page=hilp_settings | 2,322 | 2.05 | 34.29 | 31.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hilp_settings
- > Notice in wp-content/plugins/hilp/admin/back/settings/views/default.php+74
Trying to access array offset on value of type bool
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hilp_settings
- > 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=hilp_settings
- > 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 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 items
- 11× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/hilp/admin/back/settings/views/login.php
- > /wp-content/plugins/hilp/admin/back/settings/views/create_admin.php
- > /wp-content/plugins/hilp/admin/back/settings/settings.php
- > /wp-content/plugins/hilp/admin/back/settings/views/default.php
- > /wp-content/plugins/hilp/admin/front/output.php
- > /wp-content/plugins/hilp/actions.php
- > /wp-content/plugins/hilp/admin/back/settings/views/register.php
- > /wp-content/plugins/hilp/admin/back/settings/views/finished.php
- > /wp-content/plugins/hilp/hilp.php
- > /wp-content/plugins/hilp/functions.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Tags: You are using too many tags: 20 tag instead of maximum 10
- Plugin Name: Please specify the plugin name on the first line (
=== hilp ===
)
hilp/hilp.php 92% from 13 tests
The main file in "Hilp - Wordpress support" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 161 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin16,243 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,145 | 1,418 | 9,155 |
CSS | 4 | 4 | 40 | 2,919 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 6 | 80 | 1 | 759 |
PHP | 11 | 69 | 36 | 739 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/back/images/hilp-icon.png | 1.98KB | 1.13KB | ▼ 43.23% |
admin/front/images/hilp-icon.png | 1.98KB | 1.13KB | ▼ 43.23% |