83% slim-seo

Code Review | Slim SEO - Fast & Automated WordPress SEO Plugin

WordPress plugin Slim SEO - Fast & Automated WordPress SEO Plugin scored83%from 54 tests.

About plugin

  • Plugin page: slim-seo
  • Plugin version: 3.22.3
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.4.1
  • WordPress version: 6.3.1
  • First release: Dec 31, 2018
  • Latest release: Nov 14, 2023
  • Number of updates: 136
  • Update frequency: every 13.1 days
  • Top authors: rilwis (100%)

Code review

54 tests

User reviews

64 reviews

Install metrics

30,000+ active /622,378 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.87MB] [CPU: ▲1.66ms] Passed 4 tests

Analyzing server-side resources used by Slim SEO - Fast & Automated WordPress SEO Plugin
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.49 ▲1.0247.25 ▲1.31
Dashboard /wp-admin4.19 ▲0.8955.33 ▲4.24
Posts /wp-admin/edit.php4.26 ▲0.9056.91 ▲5.06
Add New Post /wp-admin/post-new.php6.78 ▲0.8989.00 ▼2.41
Media Library /wp-admin/upload.php4.05 ▲0.8240.94 ▲3.50
Slim SEO /wp-admin/options-general.php?page=slim-seo4.1244.98

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 131 new files
Database: no new tables, 8 new options
New WordPress options
slim_seo_db_version
slim_seo
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Slim SEO - Fast & Automated WordPress SEO Plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,867 ▲10514.69 ▲0.521.66 ▼0.2637.69 ▼5.22
Dashboard /wp-admin2,246 ▲655.64 ▼0.0696.69 ▼10.3346.14 ▲4.89
Posts /wp-admin/edit.php2,286 ▲1862.36 ▲0.3544.53 ▲2.8352.22 ▲14.44
Add New Post /wp-admin/post-new.php6,411 ▲4,88525.78 ▲2.80882.75 ▲167.4644.99 ▼7.67
Media Library /wp-admin/upload.php1,429 ▲294.15 ▼0.05101.50 ▼11.9543.15 ▼3.56
Slim SEO /wp-admin/options-general.php?page=slim-seo1,9638.64222.9939.71

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • The uninstall procedure has failed, leaving 8 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • slim_seo
    • theysaidso_admin_options
    • widget_recent-comments
    • slim_seo_db_version
    • can_compress_scripts

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)
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 fix the following items
  • 35× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'SlimSEO\\Schema\\Types\\Base' not found in wp-content/plugins/slim-seo/src/Schema/Types/Person.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'SlimSEO\\Schema\\Types\\Base' not found in wp-content/plugins/slim-seo/src/Schema/Types/ImageObject.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'SlimSEO\\Schema\\Types\\Base' not found in wp-content/plugins/slim-seo/src/Schema/Types/WebPage.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'SlimSEO\\Migration\\Sources\\Source' not found in wp-content/plugins/slim-seo/src/Migration/Sources/AIOSEO.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'SlimSEO\\Migration\\Sources\\Source' not found in wp-content/plugins/slim-seo/src/Migration/Sources/SEOFramework.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/slim-seo/src/Settings/sections/code.php:1
    • > PHP Fatal error
      Uncaught Error: Class 'SlimSEO\\Redirection\\Api\\Base' not found in wp-content/plugins/slim-seo/src/Redirection/Api/Redirects.php:8
    • > PHP Fatal error
      Trait 'SlimSEO\\MetaTags\\Context' not found in wp-content/plugins/slim-seo/src/MetaTags/RelLinks.php on line 4
    • > PHP Fatal error
      Trait 'SlimSEO\\MetaTags\\Context' not found in wp-content/plugins/slim-seo/src/MetaTags/Description.php on line 4
    • > PHP Fatal error
      Uncaught Error: Class 'SlimSEO\\MetaTags\\Settings\\Base' not found in wp-content/plugins/slim-seo/src/MetaTags/Settings/Term.php:4

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 90% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
  • Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in slim-seo/assets to your readme.txt
You can look at the official readme.txt

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

The main PHP file in "Slim SEO - Fast & Automated WordPress SEO Plugin" ver. 3.22.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin6,846 lines of code in 129 files:
LanguageFilesBlank linesComment linesLines of code
PHP1101,3166335,872
JavaScript1018678778
XSLT120138
JSON20048
CSS5005
XML1105

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity7.69
▷ Minimum class complexity1.00
▷ Maximum class complexity48.00
Average method complexity2.16
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces18
Interfaces0
Traits1
Classes93
▷ Abstract classes55.38%
▷ Concrete classes8894.62%
▷ Final classes00.00%
Methods547
▷ Static methods437.86%
▷ Public methods34563.07%
▷ Protected methods7112.98%
▷ Private methods13123.95%
Functions15
▷ Named functions00.00%
▷ Anonymous functions15100.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin