89% wp-helper-master

Code Review | WordPress Helper Master

WordPress plugin WordPress Helper Master scored89%from 54 tests.

About plugin

  • Plugin page: wp-helper-master
  • Plugin version: 1.4.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.1
  • WordPress version: 6.3.1
  • First release: Dec 23, 2014
  • Latest release: Mar 3, 2015
  • Number of updates: 28
  • Update frequency: every 2.5 days
  • Top authors: cedesigns (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /888 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▲0.21ms] Passed 4 tests

A check of server-side resources used by WordPress Helper Master
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.85 ▲1.42
Dashboard /wp-admin3.38 ▲0.0356.83 ▼3.03
Posts /wp-admin/edit.php3.43 ▲0.0752.60 ▲5.45
Add New Post /wp-admin/post-new.php5.96 ▲0.0787.14 ▼3.01
Media Library /wp-admin/upload.php3.30 ▲0.0743.85 ▲7.25
WP Helper /wp-admin/options-general.php?page=plugin_settings3.3046.59

Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for WordPress Helper Master
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,905 ▲15913.25 ▼1.021.54 ▼0.0541.86 ▲1.40
Dashboard /wp-admin2,299 ▲1084.87 ▼1.03110.98 ▲12.8862.75 ▲19.68
Posts /wp-admin/edit.php2,093 ▲42.05 ▲0.0439.16 ▼1.3135.23 ▲0.52
Add New Post /wp-admin/post-new.php1,536 ▲2223.33 ▲5.73661.85 ▼34.0948.86 ▼15.09
Media Library /wp-admin/upload.php1,392 ▲14.25 ▲0.0794.68 ▼15.4544.08 ▼1.52
WP Helper /wp-admin/options-general.php?page=plugin_settings1,2883.3148.8329.94

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 does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 93% 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 your attention:
  • Screenshots: Screenshot #1 (This is the WordPress Helper Master Options Page.) image required
  • Screenshots: A description for screenshot #0 is missing in wp-helper-master/assets to your readme.txt
You can take inspiration from this readme.txt

wp-helper-master/wp-helper-master.php Passed 13 tests

"WordPress Helper Master" version 1.4.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
32 characters long description:
Removes and speeds up WordPress.

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 plugin572 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP29194506
JavaScript1241366

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity37.00
▷ Minimum class complexity37.00
▷ Maximum class complexity37.00
Average method complexity4.27
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods22
▷ Static methods00.00%
▷ Public methods2090.91%
▷ Protected methods00.00%
▷ Private methods29.09%
Functions20
▷ Named functions20100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot1.png34.51KB19.69KB▼ 42.92%