90% so-clean-up-wp-seo

Code Review | Hide SEO Bloat

WordPress plugin Hide SEO Bloat scored 90% from 54 tests.

About plugin

  • Plugin page: so-clean-up-wp-seo
  • Plugin version: 4.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-6.3
  • WordPress version: 6.3.1
  • First release: Apr 30, 2015
  • Latest release: Jul 30, 2023
  • Number of updates: 138
  • Update frequency: every 21.8 days
  • Top authors: senlin (100%)

Code review

54 tests

User reviews

97 reviews

Install metrics

10,000+ active / 448,090 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Hide SEO Bloat
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.2038.39 ▼3.68
Dashboard /wp-admin3.52 ▲0.2246.64 ▼5.25
Posts /wp-admin/edit.php3.63 ▲0.2849.17 ▲5.05
Add New Post /wp-admin/post-new.php6.10 ▲0.2186.91 ▼10.09
Media Library /wp-admin/upload.php3.44 ▲0.2137.05 ▲3.72
Hide Bloat /wp-admin/admin.php?page=cuws_settings3.4133.77

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Hide SEO Bloat
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲7213.31 ▼1.062.01 ▼0.2238.16 ▼9.88
Dashboard /wp-admin2,204 ▲195.83 ▼0.05104.89 ▼5.3236.88 ▼7.79
Posts /wp-admin/edit.php2,090 ▲12.06 ▲0.0638.91 ▲3.2133.63 ▼4.44
Add New Post /wp-admin/post-new.php1,532 ▲1323.27 ▲0.14674.85 ▼7.7358.33 ▼5.88
Media Library /wp-admin/upload.php1,386 ▲14.26 ▲0.0797.27 ▲3.0642.12 ▼2.17
Hide Bloat /wp-admin/admin.php?page=cuws_settings1,1422.1926.2442.94

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 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 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
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
  • Tags: There are too many tags (11 tag instead of maximum 10)
Please take inspiration from this readme.txt

so-clean-up-wp-seo/so-clean-up-wp-seo.php Passed 13 tests

Analyzing the main PHP file in "Hide SEO Bloat" version 4.0.1
81 characters long description:
Hide most of the bloat that the Yoast SEO plugin adds to your WordPress Dashboard

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
There were no executable files found in this plugin1,152 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP7207499734
Markdown12080366
CSS12452

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity27.00
▷ Minimum class complexity17.00
▷ Maximum class complexity40.00
Average method complexity3.27
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods34
▷ Static methods25.88%
▷ Public methods3088.24%
▷ Protected methods00.00%
▷ Private methods411.76%
Functions6
▷ Named functions233.33%
▷ Anonymous functions466.67%
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
There are no PNG files in this plugin