80% speed-made-easy

Code Review | Speed Made Easy

WordPress plugin Speed Made Easy scored80%from 54 tests.

About plugin

  • Plugin page: speed-made-easy
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1
  • WordPress version: 6.3.1
  • First release: Apr 29, 2021
  • Latest release: Dec 28, 2022
  • Number of updates: 4
  • Update frequency: every 151.8 days
  • Top authors: veryeasy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /437 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼6.03ms] Passed 4 tests

An overview of server-side resources used by Speed Made Easy
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0341.70 ▼5.41
Dashboard /wp-admin3.33 ▲0.0352.48 ▲3.06
Posts /wp-admin/edit.php3.38 ▲0.0348.86 ▼7.35
Add New Post /wp-admin/post-new.php5.92 ▲0.0389.31 ▼14.03
Media Library /wp-admin/upload.php3.26 ▲0.0338.95 ▲2.67

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests

Input-output and database impact of this plugin
These are issues you should consider
  • The plugin illegally modified 1 file (4.50KB) outside of "wp-content/plugins/speed-made-easy/" and "wp-content/uploads/"
    • (modified) wp-config.php
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Speed Made Easy: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲6913.33 ▼1.051.66 ▼0.5342.30 ▲0.30
Dashboard /wp-admin2,215 ▲274.84 ▼0.97108.33 ▲5.7841.98 ▲1.60
Posts /wp-admin/edit.php2,098 ▲92.05 ▼0.1134.65 ▼5.9335.30 ▼2.59
Add New Post /wp-admin/post-new.php1,522 ▼1823.28 ▲4.93696.50 ▲86.1563.58 ▲14.41
Media Library /wp-admin/upload.php1,394 ▲64.22 ▲0.05101.67 ▼8.0746.10 ▼2.69

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin cannot be uninstalled
    • > Notice in wp-config.php+8
    Constant WP_CACHE already defined
  • 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 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: slow, improve load time, speed optimization, fast, speed

speed-made-easy/speed-made-easy.php Passed 13 tests

The entry point to "Speed Made Easy" version 0.2 is a PHP file that has certain tags in its header comment area
46 characters long description:
A set and forget solution for WordPress speed.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin147 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1618147

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected