84% seo-toolkit

Code Review | SEO Toolkit

WordPress plugin SEO Toolkit scored84%from 54 tests.

About plugin

  • Plugin page: seo-toolkit
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.8
  • WordPress version: 6.3.1
  • First release: Sep 18, 2019
  • Latest release: Sep 12, 2021
  • Number of updates: 7
  • Update frequency: every 103.7 days
  • Top authors: seotoolkit (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /922 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
Installer ran successfully

Server metrics [RAM: ▲0.19MB] [CPU: ▲4.27ms] Passed 4 tests

Analyzing server-side resources used by SEO Toolkit
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1041.42 ▲4.09
Dashboard /wp-admin3.53 ▲0.2352.07 ▲4.93
Posts /wp-admin/edit.php3.62 ▲0.2754.09 ▲3.10
Add New Post /wp-admin/post-new.php6.12 ▲0.23100.79 ▲4.94
Media Library /wp-admin/upload.php3.45 ▲0.2246.55 ▲11.07
General /wp-admin/admin.php?page=seo-toolkit-settings3.5148.42
Social Media /wp-admin/admin.php?page=seo-toolkit-social-media3.4645.99
Editor /wp-admin/admin.php?page=seo-toolkit-editor3.4641.26
XML Sitemaps /wp-admin/admin.php?page=seo-toolkit-sitemaps3.4343.85

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 88 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for SEO Toolkit
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,864 ▲11814.73 ▲0.471.70 ▼0.0940.94 ▼2.04
Dashboard /wp-admin2,241 ▲534.82 ▼0.99108.72 ▲0.2043.41 ▼1.03
Posts /wp-admin/edit.php2,124 ▲352.06 ▲0.0241.79 ▲0.4237.23 ▲0.54
Add New Post /wp-admin/post-new.php6,466 ▲4,93326.33 ▲3.17941.96 ▲303.5855.57 ▲3.92
Media Library /wp-admin/upload.php1,426 ▲354.25 ▲0.0596.20 ▼3.6143.11 ▲0.46
General /wp-admin/admin.php?page=seo-toolkit-settings2,6083.3867.5036.34
Social Media /wp-admin/admin.php?page=seo-toolkit-social-media1,4203.6659.8929.01
Editor /wp-admin/admin.php?page=seo-toolkit-editor1,0482.3439.8928.22
XML Sitemaps /wp-admin/admin.php?page=seo-toolkit-sitemaps1,1602.2345.4330.05

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\Sitemaps\\AbstractSitemap' not found in wp-content/plugins/seo-toolkit/src/Sitemaps/Sitemaps.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\StructuredData\\AbstractStructuredData' not found in wp-content/plugins/seo-toolkit/src/StructuredData/Article.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\Sitemaps\\AbstractSitemap' not found in wp-content/plugins/seo-toolkit/src/Sitemaps/Author.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\StructuredData\\AbstractStructuredData' not found in wp-content/plugins/seo-toolkit/src/StructuredData/Person.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\StructuredData\\AbstractStructuredData' not found in wp-content/plugins/seo-toolkit/src/StructuredData/Organization.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\Admin\\Settings\\AbstractPage' not found in wp-content/plugins/seo-toolkit/src/Admin/Settings/Editor.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\Sitemaps\\AbstractSitemap' not found in wp-content/plugins/seo-toolkit/src/Sitemaps/Home.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\Admin\\Files\\AbstractFile' not found in wp-content/plugins/seo-toolkit/src/Admin/Files/Robots.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\StructuredData\\AbstractStructuredData' not found in wp-content/plugins/seo-toolkit/src/StructuredData/SearchBox.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Toolkit\\Admin\\Settings\\AbstractPage' not found in wp-content/plugins/seo-toolkit/src/Admin/Settings/Sitemaps.php:13

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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in seo-toolkit/assets to your readme.txt
Please take inspiration from this readme.txt

seo-toolkit/seo-toolkit.php 92% from 13 tests

The entry point to "SEO Toolkit" version 1.1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Requires at least: The required version number must match the one declared in readme.txt ("4.9" instead of "3.6")

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
There were no executable files found in this plugin5,298 lines of code in 71 files:
LanguageFilesBlank linesComment linesLines of code
PHP571,5872,1714,567
CSS48134404
JavaScript8493175
XSLT110147
JSON1005

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity11.81
▷ Minimum class complexity1.00
▷ Maximum class complexity52.00
Average method complexity2.88
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces12
Interfaces0
Traits0
Classes48
▷ Abstract classes48.33%
▷ Concrete classes4491.67%
▷ Final classes00.00%
Methods283
▷ Static methods4415.55%
▷ Public methods22178.09%
▷ Protected methods00.00%
▷ Private methods6221.91%
Functions15
▷ Named functions16.67%
▷ Anonymous functions1493.33%
Constants3
▷ Global constants133.33%
▷ Class constants266.67%
▷ Public constants2100.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