99% speed-up-clean-wp

Code Review | Speed Up - Clean WP

WordPress plugin Speed Up - Clean WP scored 99% from 54 tests.

About plugin

  • Plugin page: speed-up-clean-wp
  • Plugin version: 1.0.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-5.9
  • WordPress version: 5.9.2
  • First release: Dec 21, 2016
  • Latest release: Jan 23, 2022
  • Number of updates: 17
  • Update frequency: every 109.2 days
  • Top authors: nigro.simone (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

3,000+ active / 9,710 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.02MB] [CPU: ▼304.03ms] Passed 4 tests

Analyzing server-side resources used by Speed Up - Clean WP
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.4091.45 ▲67.28
Dashboard /wp-admin3.41 ▲0.0034.10 ▲0.49
Posts /wp-admin/edit.php3.64 ▲0.0038.76 ▲1.23
Add New Post /wp-admin/post-new.php6.88 ▼0.09129.74 ▼1,212.65
Media Library /wp-admin/upload.php3.29 ▲0.0027.65 ▼5.18

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Speed Up - Clean WP: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,639 ▼11515.37 ▼0.402.07 ▼4.712.32 ▼0.43
Dashboard /wp-admin2,878 ▲206.15 ▼0.04123.80 ▼13.18154.44 ▼17.55
Posts /wp-admin/edit.php2,657 ▼343.24 ▼0.0066.16 ▼4.95143.24 ▼5.35
Add New Post /wp-admin/post-new.php1,660 ▼022.86 ▲6.33417.01 ▼16.51199.45 ▲30.59
Media Library /wp-admin/upload.php1,698 ▲35.56 ▲0.04140.34 ▼9.50195.01 ▼10.40

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 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
These attributes need to be fixed:
  • Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
The official readme.txt is a good inspiration

speed-up-clean-wp/speed-up-clean-wp.php 92% from 13 tests

The principal PHP file in "Speed Up - Clean WP" v. 1.0.7 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 142 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected45 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1194745

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods125.00%
▷ Public methods375.00%
▷ Protected methods00.00%
▷ Private methods125.00%
Functions0
▷ Named functions00.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
PNG images were not found in this plugin