89% cds-simple-seo

Code Review | Simple SEO

WordPress plugin Simple SEO scored89%from 54 tests.

About plugin

  • Plugin page: cds-simple-seo
  • Plugin version: 2.0.26
  • PHP compatiblity: 5.5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6.2-6.4
  • WordPress version: 6.3.1
  • First release: Feb 15, 2017
  • Latest release: Nov 2, 2023
  • Number of updates: 105
  • Update frequency: every 23.4 days
  • Top authors: coleds (100%)

Code review

54 tests

User reviews

26 reviews

Install metrics

8,000+ active /122,557 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.07MB] [CPU: ▼3.70ms] Passed 4 tests

A check of server-side resources used by Simple SEO
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.1439.58 ▲0.07
Dashboard /wp-admin3.37 ▲0.0744.86 ▼5.38
Posts /wp-admin/edit.php3.43 ▲0.0848.43 ▼0.48
Add New Post /wp-admin/post-new.php5.96 ▲0.0792.31 ▼9.02
Media Library /wp-admin/upload.php3.29 ▲0.0735.98 ▲2.52
Simple SEO /wp-admin/options-general.php?page=simpleSEOAdminOptions3.4732.94

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Simple SEO
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5414.24 ▼0.481.60 ▼0.0336.97 ▼7.08
Dashboard /wp-admin2,205 ▲285.65 ▼0.0189.78 ▼4.7541.41 ▲1.43
Posts /wp-admin/edit.php2,248 ▲1452.02 ▲0.0839.59 ▼0.1138.94 ▲6.24
Add New Post /wp-admin/post-new.php6,400 ▲4,86919.00 ▼4.11864.51 ▲252.9667.26 ▲15.49
Media Library /wp-admin/upload.php1,410 ▲104.24 ▼0.0194.77 ▼16.5840.77 ▼3.56
Simple SEO /wp-admin/options-general.php?page=simpleSEOAdminOptions9762.1927.7235.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
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 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 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found


Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Plugin Name: You should set the name of your plugin on the first line ( === cds-simple-seo === )
  • Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6 in cds-simple-seo/assets to your readme.txt
  • Tags: Please reduce the number of tags, currently 29 tag instead of maximum 10
The official readme.txt might help

cds-simple-seo/cds-simple-seo.php 92% from 13 tests

The main file in "Simple SEO" v. 2.0.26 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 305 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,805 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity17.06
▷ Minimum class complexity1.00
▷ Maximum class complexity64.00
Average method complexity7.35
▷ Minimum method complexity1.00
▷ Maximum method complexity64.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes17100.00%
▷ Final classes00.00%
▷ Static methods613.95%
▷ Public methods4195.35%
▷ Protected methods12.33%
▷ Private methods12.33%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ Global constants5100.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
1 PNG file occupies 0.06MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/icon-256x256.png57.03KB10.95KB▼ 80.81%