78% speedupessentials

Code Review | Speed Up Essentials

WordPress plugin Speed Up Essentials scored78%from 54 tests.

About plugin

  • Plugin page: speedupessentials
  • Plugin version: 1.13.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.2.2
  • WordPress version: 6.3.1
  • First release: Jun 1, 2015
  • Latest release: Jul 25, 2015
  • Number of updates: 29
  • Update frequency: every 2.0 days
  • Top authors: controleonline (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /751 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by Speed Up Essentials
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.67 ▼1.97
Dashboard /wp-admin3.31 ▲0.0149.39 ▼10.95
Posts /wp-admin/edit.php3.36 ▲0.0150.91 ▼5.33
Add New Post /wp-admin/post-new.php5.89 ▲0.0192.37 ▼9.80
Media Library /wp-admin/upload.php3.23 ▲0.0137.17 ▲4.13

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3,035 new files
Database: no new tables, 27 new options
New WordPress options
OptimizeAdmin
theysaidso_admin_options
can_compress_scripts
JsAllAsync
CssSpritify
charset
JavascriptOnFooter
LazyLoadImages
CSSSeparateInline
widget_theysaidso_widget
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Speed Up Essentials
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.70 ▲0.351.61 ▼0.0540.12 ▼2.37
Dashboard /wp-admin2,195 ▲185.52 ▼0.1481.50 ▼29.0936.37 ▼27.89
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0539.15 ▼5.1234.56 ▼5.52
Add New Post /wp-admin/post-new.php1,526 ▼223.07 ▲0.12673.40 ▲88.9148.48 ▲0.72
Media Library /wp-admin/upload.php1,403 ▲34.18 ▲0.0493.70 ▼3.5844.62 ▲1.98

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
These items require your attention
  • Zombie WordPress options were found after uninstall: 27 options
    • db_upgraded
    • widget_theysaidso_widget
    • LazyLoadImages
    • JsAllAsync
    • JavascriptIntegrateInline
    • CssIntegrate
    • PublicCacheDir
    • CssSpritify
    • OptimizeAdmin
    • StaticCache
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 5× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/speedupessentials/vendor/bin/pluginmap_generator.php
    • > /wp-content/plugins/speedupessentials/vendor/tubalmartin/cssmin/tests/run.php
    • > /wp-content/plugins/speedupessentials/vendor/bin/templatemap_generator.php
    • > /wp-content/plugins/speedupessentials/vendor/tubalmartin/cssmin/gui/index.php
    • > /wp-content/plugins/speedupessentials/vendor/bin/classmap_generator.php
  • 1752× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'Zend\\Memory\\Exception\\ExceptionInterface' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Memory/Exception/RuntimeException.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Zend\\Db\\Exception\\RuntimeException' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Db/RowGateway/Exception/RuntimeException.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Zend\\EventManager\\AbstractListenerAggregate' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Mvc/View/Console/ExceptionStrategy.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'Zend\\Log\\Writer\\AbstractWriter' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Log/Writer/Mail.php:29
    • > PHP Fatal error
      Uncaught Error: Class 'Zend\\Db\\Adapter\\Platform\\AbstractPlatform' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Platform/SqlServer.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'Zend\\Http\\Exception\\InvalidArgumentException' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Http/Client/Exception/InvalidArgumentException.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'Zend\\Db\\Sql\\Ddl\\Column\\Integer' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Db/Sql/Ddl/Column/BigInteger.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'Zend\\Db\\Exception\\ExceptionInterface' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Db/Sql/Exception/ExceptionInterface.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'Zend\\Config\\Writer\\AbstractWriter' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Config/Writer/PhpArray.php:14
    • > PHP Fatal error
      Uncaught Error: Interface 'Zend\\Filter\\Compress\\CompressionAlgorithmInterface' not found in wp-content/plugins/speedupessentials/vendor/zendframework/zendframework/library/Zend/Filter/Compress/Snappy.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: speed up, lazy load, cache, lazyload, speed

speedupessentials/speed-up-essentials-plugin.php 92% from 13 tests

The main PHP file in "Speed Up Essentials" ver. 1.13.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("speedupessentials.php" instead of "speed-up-essentials-plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected182,706 lines of code in 2,884 files:
LanguageFilesBlank linesComment linesLines of code
PHP2,51436,065116,491166,639
JavaScript121,7061,2516,496
Markdown5864504,600
CSS2343123312,506
JSON56402,172
XML2164892
Bourne Shell3291289
C#1113247
YAML310338
HTML12027

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity10.45
▷ Minimum class complexity1.00
▷ Maximum class complexity202.00
Average method complexity2.75
▷ Minimum method complexity1.00
▷ Maximum method complexity81.00
Code structure
Namespaces395
Interfaces341
Traits16
Classes1,843
▷ Abstract classes1427.70%
▷ Concrete classes1,70192.30%
▷ Final classes191.12%
Methods12,558
▷ Static methods6735.36%
▷ Public methods10,73585.48%
▷ Protected methods1,68613.43%
▷ Private methods1371.09%
Functions206
▷ Named functions167.77%
▷ Anonymous functions19092.23%
Constants1,284
▷ Global constants50.39%
▷ Class constants1,27999.61%
▷ Public constants1,279100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
vendor/zendframework/zendframework/resources/ZendFramework-logo.png36.66KB16.86KB▼ 54.00%
public/img/blank.png0.09KB0.09KB0.00%