89% wp-super-speed

Code Review | WP Super Speed

WordPress plugin WP Super Speed scored89%from 54 tests.

About plugin

  • Plugin page: wp-super-speed
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9
  • WordPress version: 6.3.1
  • First release: Jul 9, 2016
  • Latest release: Aug 28, 2018
  • Number of updates: 12
  • Update frequency: every 65.1 days
  • Top authors: bhavinder (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

100+ active /6,359 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼10.29ms] Passed 4 tests

This is a short check of server-side resources used by WP Super Speed
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0043.38 ▲1.40
Dashboard /wp-admin3.31 ▼0.0350.47 ▼13.21
Posts /wp-admin/edit.php3.36 ▲0.0052.50 ▼1.87
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.56 ▼27.47
Media Library /wp-admin/upload.php3.23 ▲0.0041.46 ▲5.56

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

WP Super Speed: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲4414.25 ▼0.281.58 ▼0.1238.80 ▼0.58
Dashboard /wp-admin2,214 ▲375.59 ▲0.0186.63 ▼3.7940.20 ▼0.33
Posts /wp-admin/edit.php2,116 ▲161.97 ▼0.0534.62 ▼4.7034.82 ▼2.55
Add New Post /wp-admin/post-new.php1,539 ▲1123.10 ▼0.24651.03 ▼40.1359.82 ▲9.49
Media Library /wp-admin/upload.php1,419 ▲224.17 ▼0.0499.63 ▼9.9544.07 ▼0.94

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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
No output text or server-side errors detected on direct access of PHP files

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)
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Too many tags (34 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

wp-super-speed/wp-super-speed.php 92% from 13 tests

The main PHP script in "WP Super Speed" version 1.4 is automatically included on every request by WordPress
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 257 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin60 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1131060

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.03
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
enjoy.png4.96KB4.96KB0.00%