89% uninstall-yoast-seo-completely

Code Review | Uninstall Yoast SEO Completely

WordPress plugin Uninstall Yoast SEO Completely scored 89% from 54 tests.

About plugin

  • Plugin page: uninstall-yoast-s...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.8
  • WordPress version: 6.3.1
  • First release: Sep 26, 2016
  • Latest release: Sep 18, 2017
  • Number of updates: 7
  • Update frequency: every 51.1 days
  • Top authors: mcjambi (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

10+ active / 6,370 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Analyzing server-side resources used by Uninstall Yoast SEO Completely
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.71 ▼7.03
Dashboard /wp-admin3.32 ▲0.0143.32 ▼7.08
Posts /wp-admin/edit.php3.37 ▲0.0148.79 ▼2.77
Add New Post /wp-admin/post-new.php5.90 ▲0.0192.04 ▼16.13
Media Library /wp-admin/upload.php3.24 ▲0.0134.30 ▼2.07

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Uninstall Yoast SEO Completely: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▲7514.75 ▲0.381.83 ▲0.1740.52 ▲1.75
Dashboard /wp-admin2,213 ▲285.84 ▼0.0496.37 ▼14.9844.14 ▼6.60
Posts /wp-admin/edit.php2,098 ▲91.98 ▼0.0438.58 ▼2.9640.77 ▲5.94
Add New Post /wp-admin/post-new.php1,557 ▲4318.26 ▲0.74594.06 ▼97.6571.75 ▲13.19
Media Library /wp-admin/upload.php1,401 ▲134.28 ▲0.0096.47 ▼7.9542.20 ▼3.96

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget

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
Good news, no errors were detected

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Contributors: The plugin contributors field is missing
  • Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
The official readme.txt might help

uninstall-yoast-seo-completely/uninstall-yoast-seo-completely.php 92% from 13 tests

"Uninstall Yoast SEO Completely" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 193 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected50 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1272050

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions4
▷ Named functions4100.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
There were not PNG files found in your plugin