89% easy-seo-toolbox

Code Review | Easy SEO Toolbox

WordPress plugin Easy SEO Toolbox scored89%from 54 tests.

About plugin

  • Plugin page: easy-seo-toolbox
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9.6
  • WordPress version: 6.3.1
  • First release: Jul 2, 2018
  • Latest release: Jan 11, 2019
  • Number of updates: 18
  • Update frequency: every 11.0 days
  • Top authors: kswebads (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /863 total downloads

Benchmarks

Plugin footprint 83% from 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: ▼5.83ms] Passed 4 tests

This is a short check of server-side resources used by Easy SEO Toolbox
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0130.77 ▼5.39
Dashboard /wp-admin3.33 ▼0.0143.35 ▼13.15
Posts /wp-admin/edit.php3.45 ▲0.0946.17 ▲1.32
Add New Post /wp-admin/post-new.php5.93 ▲0.0593.62 ▼3.95
Media Library /wp-admin/upload.php3.26 ▲0.0335.20 ▼0.83
Missing alt tags /wp-admin/admin.php?page=easeotool_alt3.2228.08
Sitemap and robots /wp-admin/admin.php?page=easeotool_robots3.2231.37
Missing tags /wp-admin/admin.php?page=easeotool_tags3.2228.83
Easy SEO Toolbox /wp-admin/admin.php?page=easeotool_main3.2229.82
Pages with thin content /wp-admin/admin.php?page=easeotool_thin3.2229.48
Valid https protocol /wp-admin/admin.php?page=easeotool_https3.2228.28
Noindex and blocked pages /wp-admin/admin.php?page=easeotool_blocked3.2227.75
Keyword density /wp-admin/admin.php?page=easeotool_keywords3.2228.75
Broken links/error codes /wp-admin/admin.php?page=easeotool_data3.2229.37
Scan for duplicate content /wp-admin/admin.php?page=easeotool_duplicate3.2228.93

Server storage [IO: ▲0.22MB] [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: 9 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Easy SEO Toolbox
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,869 ▲12313.29 ▼0.981.59 ▲0.0542.15 ▲3.29
Dashboard /wp-admin2,272 ▲845.12 ▲0.04101.52 ▲0.3639.83 ▼1.82
Posts /wp-admin/edit.php2,162 ▲732.24 ▲0.2239.16 ▲4.2339.44 ▲4.03
Add New Post /wp-admin/post-new.php1,576 ▲3423.26 ▲5.02664.12 ▲58.9161.64 ▲9.05
Media Library /wp-admin/upload.php1,454 ▲664.27 ▲0.0593.51 ▼3.0140.61 ▼2.01
Missing alt tags /wp-admin/admin.php?page=easeotool_alt8461.8925.2025.44
Sitemap and robots /wp-admin/admin.php?page=easeotool_robots1,1331.7927.0825.95
Missing tags /wp-admin/admin.php?page=easeotool_tags8431.7625.6124.60
Easy SEO Toolbox /wp-admin/admin.php?page=easeotool_main9621.8125.6027.40
Pages with thin content /wp-admin/admin.php?page=easeotool_thin8451.8023.8725.78
Valid https protocol /wp-admin/admin.php?page=easeotool_https8451.8023.7524.20
Noindex and blocked pages /wp-admin/admin.php?page=easeotool_blocked8251.8023.9525.34
Keyword density /wp-admin/admin.php?page=easeotool_keywords8471.8024.2025.75
Broken links/error codes /wp-admin/admin.php?page=easeotool_data8261.9225.3025.10
Scan for duplicate content /wp-admin/admin.php?page=easeotool_duplicate8301.9224.9726.84

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Tags: Please delete some tags, you are using 13 tag instead of maximum 10
You can take inspiration from this readme.txt

easy-seo-toolbox/index.php 92% from 13 tests

The principal PHP file in "Easy SEO Toolbox" v. 1.0 is loaded by WordPress automatically on each request
The following require your attention:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-seo-toolbox.php" instead of "index.php")

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 plugin3,717 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP28776393,646
JavaScript2811840
CSS13031

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity108.29
▷ Minimum class complexity11.00
▷ Maximum class complexity197.00
Average method complexity4.61
▷ Minimum method complexity1.00
▷ Maximum method complexity57.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods208
▷ Static methods20.96%
▷ Public methods15775.48%
▷ Protected methods4622.12%
▷ Private methods52.40%
Functions22
▷ Named functions22100.00%
▷ Anonymous functions00.00%
Constants42
▷ Global constants42100.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