88% wp-helpers

Code Review | WordPress Helpers

WordPress plugin WordPress Helpers scored 88% from 54 tests.

About plugin

  • Plugin page: wp-helpers
  • Plugin version: 1.17.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.8
  • WordPress version: 5.8.1
  • First release: Sep 18, 2012
  • Latest release: Jun 28, 2017
  • Number of updates: 216
  • Update frequency: every 8.1 days
  • Top authors: sbruner (100%)

Code review

54 tests

User reviews

10 reviews

Install metrics

700+ active / 59,061 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /2.83 ▲0.0033.59 ▼4.26
Dashboard /wp-admin3.06 ▲0.0046.05 ▲0.20
Posts /wp-admin/edit.php3.11 ▲0.0043.81 ▲0.08
Add New Post /wp-admin/post-new.php5.42 ▼0.0283.79 ▼588.70
Media Library /wp-admin/upload.php3.00 ▲0.0032.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8316.34 ▲0.7915.55 ▲6.2446.96 ▼2.48
Dashboard /wp-admin2,970 ▲365.82 ▼0.11150.89 ▼3.80109.52 ▲3.24
Posts /wp-admin/edit.php2,739 ▼02.72 ▼0.0068.85 ▼2.3094.87 ▲8.78
Add New Post /wp-admin/post-new.php1,683 ▲18318.55 ▼0.03413.44 ▼49.55110.05 ▲3.33
Media Library /wp-admin/upload.php1,807 ▼05.04 ▲0.01163.13 ▲2.18120.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

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


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
You can look at the official readme.txt

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:
LanguageFilesBlank linesComment linesLines of code

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 code0.42
Average class complexity142.00
▷ Minimum class complexity28.00
▷ Maximum class complexity256.00
Average method complexity3.82
▷ Minimum method complexity1.00
▷ Maximum method complexity83.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods100100.00%
▷ Public methods100100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions2100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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