83% easy-seo-toolkit

Code Review | Easy SEO Toolkit

WordPress plugin Easy SEO Toolkit scored83%from 54 tests.

About plugin

  • Plugin page: easy-seo-toolkit
  • Plugin version: 0.7.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2.0
  • WordPress version: 6.3.1
  • First release: Aug 16, 2019
  • Latest release: Apr 12, 2023
  • Number of updates: 29
  • Update frequency: every 46.0 days
  • Top authors: stanleyvanheusden (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,306 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.30ms] Passed 4 tests

A check of server-side resources used by Easy SEO Toolkit
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.03 ▼6.17
Dashboard /wp-admin3.32 ▲0.0150.94 ▼5.34
Posts /wp-admin/edit.php3.37 ▲0.0158.44 ▲6.31
Add New Post /wp-admin/post-new.php5.90 ▲0.0287.91 ▼18.99
Media Library /wp-admin/upload.php3.24 ▲0.0137.06 ▼2.69

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Easy SEO Toolkit
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▲0.001.65 ▼0.2441.68 ▼7.74
Dashboard /wp-admin2,198 ▲215.59 ▼0.0485.43 ▼15.8442.41 ▼0.53
Posts /wp-admin/edit.php2,100 ▲31.97 ▼0.0634.80 ▼4.0836.81 ▲1.61
Add New Post /wp-admin/post-new.php6,256 ▲4,72320.80 ▼2.17884.73 ▲212.5693.45 ▲36.48
Media Library /wp-admin/upload.php1,400 ▼04.12 ▼0.0694.21 ▼9.3545.72 ▼0.90

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/easy-seo-toolkit/index.php on line 2
    • > PHP Warning
      include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/easy-seo-toolkit/index.php on line 2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-seo-toolkit/inc/est-sitemap.php:27
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-seo-toolkit/inc/est-seo-head.php:69
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-seo-toolkit/inc/est-elementor-seo-head.php:35
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-seo-toolkit/inc/est-elementor-seo-settings.php:48
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-seo-toolkit/inc/est-seo-settings.php:18
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-seo-toolkit/index.php on line 2

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: seo, elementor, twitter cards, marketing

easy-seo-toolkit/index.php 77% from 13 tests

This is the main PHP file of "Easy SEO Toolkit" version 0.7.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Requires at least: Required version must be the same as the one declared in readme.txt ("4.7.5" instead of "5.0")
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Main file name: The principal plugin file should be the same as the plugin slug ("easy-seo-toolkit.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin545 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP67069269
XSLT100147
CSS29072
JavaScript323356
SVG1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.19
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%
Functions14
▷ Named functions1178.57%
▷ Anonymous functions321.43%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin