Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼148.20ms] Passed 4 tests
An overview of server-side resources used by WordPress Helpers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.00 | 33.59 ▼4.26 |
Dashboard /wp-admin | 3.06 ▲0.00 | 46.05 ▲0.20 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 43.81 ▲0.08 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 83.79 ▼588.70 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 32.83 ▲0.08 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 53 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress Helpers
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.34 ▲0.79 | 15.55 ▲6.24 | 46.96 ▼2.48 |
Dashboard /wp-admin | 2,970 ▲36 | 5.82 ▼0.11 | 150.89 ▼3.80 | 109.52 ▲3.24 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 68.85 ▼2.30 | 94.87 ▲8.78 |
Add New Post /wp-admin/post-new.php | 1,683 ▲183 | 18.55 ▼0.03 | 413.44 ▼49.55 | 110.05 ▲3.33 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.04 ▲0.01 | 163.13 ▲2.18 | 120.53 ▲5.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-helpers/parts/shared/front-notice.php
- 42× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url_raw() in wp-content/plugins/wp-helpers/parts/shared/login-css.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_intermediate_image_sizes() in wp-content/plugins/wp-helpers/parts/media/image-sizes.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/wp-helpers/parts/settings/develop.php:11
- > PHP Notice
Trying to get property 'ID' of non-object in wp-content/plugins/wp-helpers/parts/media/image-sizes.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/wp-helpers/parts/settings/general-admin-bar.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/wp-helpers/parts/settings/appearance-theme.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/wp-helpers/parts/settings/reading-search.php:10
- > PHP Notice
Undefined variable: type in wp-content/plugins/wp-helpers/parts/shared/front-notice.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/wp-helpers/parts/settings/general-list-tables.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function piklist() in wp-content/plugins/wp-helpers/parts/settings/reading-feeds.php:10
- > 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
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 31 tag instead of maximum 10
wp-helpers/wp-helpers.php Passed 13 tests
The main PHP script in "WordPress Helpers" version 1.17.0 is automatically included on every request by WordPress
62 characters long description:
Enhanced settings for WordPress. Located under Tools > Helpers
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,837 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 668 | 400 | 2,816 |
CSS | 1 | 4 | 3 | 21 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 142.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 256.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 100 | |
▷ Static methods | 100 | 100.00% |
▷ Public methods | 100 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin