10% seo-ultimate

Code Review | SEO Ultimate

WordPress plugin SEO Ultimate scored10%from 54 tests.

About plugin

  • Plugin page: seo-ultimate
  • Plugin version: 7.6.5.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.6.1
  • WordPress version: 6.3.1
  • First release: May 22, 2009
  • Latest release: Nov 3, 2016
  • Number of updates: 445
  • Update frequency: every 6.1 days
  • Top authors: SEO Design Solutions (57.53%)JohnLamansky (42.7%)

Code review

54 tests

User reviews

96 reviews

Install metrics

40,000+ active /2,327,541 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
  • The plugin did not install without errors
    • > Warning in wp-content/plugins/seo-ultimate/modules/class.su-module.php+1195
    "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Server metrics [RAM: ▼0.86MB] [CPU: ▼48.67ms] Passed 4 tests

An overview of server-side resources used by SEO Ultimate
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.12 ▼0.348.81 ▼34.48
Dashboard /wp-admin3.14 ▼0.1610.74 ▼39.11
Posts /wp-admin/edit.php3.14 ▼0.2111.24 ▼38.90
Add New Post /wp-admin/post-new.php3.14 ▼2.7410.55 ▼82.18
Media Library /wp-admin/upload.php3.14 ▼0.0812.20 ▼23.94
Settings Monitor /wp-admin/admin.php?page=su-wp-settings3.1413.04
File Editor /wp-admin/admin.php?page=su-files3.1412.84
404 Monitor /wp-admin/admin.php?page=su-fofs3.1412.55
Meta Robot Tags /wp-admin/admin.php?page=su-meta-robots3.1410.64
SEO Ultimate /wp-admin/options-general.php?page=seo-ultimate3.1511.83
Deeplink Juggernaut /wp-admin/admin.php?page=su-autolinks3.1412.80
AIOSP Import /wp-admin/admin.php?page=su-import-aiosp3.1410.97
Miscellaneous /wp-admin/admin.php?page=su-misc3.1412.33
Open Graph /wp-admin/admin.php?page=su-opengraph3.1417.13
Link Mask Generator /wp-admin/admin.php?page=su-internal-link-aliases3.1412.20

Server storage [IO: ▲2.49MB] [DB: ▲0.14MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 278 new files
Database: no new tables, 23 new options
New WordPress options
widget_recent-comments
seo_ultimate_module_sds-blog
can_compress_scripts
seo_ultimate_module_linkbox
widget_recent-posts
seo_ultimate_module_autolinks
seo_ultimate_module_sharing-buttons
seo_ultimate_module_titles
widget_su_siloed_terms
db_upgraded
...

Browser metrics Passed 4 tests

An overview of browser requirements for SEO Ultimate
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,201 ▲46613.33 ▼0.881.55 ▼0.1025.74 ▼19.81
Dashboard /wp-admin2,442 ▲2544.98 ▲0.06131.45 ▲30.5860.27 ▲16.80
Posts /wp-admin/edit.php2,448 ▲3593.70 ▲1.7178.69 ▲42.7334.95 ▲1.87
Add New Post /wp-admin/post-new.php2,440 ▲92021.38 ▼1.65676.09 ▼15.9557.02 ▲1.56
Media Library /wp-admin/upload.php1,574 ▲1834.34 ▲0.1284.25 ▼13.5844.11 ▼0.47
Settings Monitor /wp-admin/admin.php?page=su-wp-settings1,2933.4258.0139.72
File Editor /wp-admin/admin.php?page=su-files1,4263.5660.4132.96
404 Monitor /wp-admin/admin.php?page=su-fofs1,6093.5951.1734.30
Meta Robot Tags /wp-admin/admin.php?page=su-meta-robots1,8963.5652.3834.24
SEO Ultimate /wp-admin/options-general.php?page=seo-ultimate1,6743.3743.3927.94
Deeplink Juggernaut /wp-admin/admin.php?page=su-autolinks2,1863.6854.6952.11
AIOSP Import /wp-admin/admin.php?page=su-import-aiosp1,0861.7729.6027.70
Miscellaneous /wp-admin/admin.php?page=su-misc2,0393.6151.5050.81
Open Graph /wp-admin/admin.php?page=su-opengraph3,1633.7358.9841.59
Link Mask Generator /wp-admin/admin.php?page=su-internal-link-aliases1,5413.8154.1240.95

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > Warning in wp-content/plugins/seo-ultimate/modules/class.su-module.php+1195
    "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
  • This plugin does not fully uninstall, leaving 23 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • seo_ultimate_module_user-code
    • seo_ultimate_module_settings
    • seo_ultimate_module_internal-link-aliases
    • seo_ultimate_module_linkbox
    • widget_su_footer_autolinks
    • seo_ultimate_module_meta
    • seo_ultimate_module_autolinks
    • widget_recent-comments
    • ...

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=su-internal-link-aliases
    • > Warning in wp-content/plugins/seo-ultimate/modules/class.su-module.php+1195
    "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
  • 32 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=su-internal-link-aliases
    • > Warning in wp-content/plugins/seo-ultimate/modules/404s/fofs-log.php+31
    count(): Parameter must be an array or an object that implements Countable
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=su-internal-link-aliases
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=su-internal-link-aliases
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-ultimate/plugin/su-functions.php:597
    • > PHP Warning
      "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/seo-ultimate/modules/class.su-module.php on line 1195
    • > PHP Fatal error
      Uncaught Error: Class 'SU_Module' not found in wp-content/plugins/seo-ultimate/modules/internal-link-aliases/internal-link-aliases.php:3

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=su-internal-link-aliases
    • > Console-api (warning) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'msie')" "TypeError: Cannot read properties of undefined (reading 'msie')\n at new $.jlsuggest (/wp-content/plugins/seo-ultimate/includes/jlsuggest/jlsuggest.js?ver=7.6.5.9:43:18)\n at HTMLInputElement.\u003Canonymous> (/wp-content/plugins/seo-ultimate/includes/jlsuggest/jlsuggest.js?ver=7.6.5.9:354:4)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:1594)\n at $.fn.jlsuggest (/wp-content/plugins/seo-ultimate/includes/jlsuggest/jlsuggest.js?ver=7.6.5.9:353:8)\n at HTMLInputElement.\u003Canonymous> (/wp-content/plugins/seo-ultimate/includes/jlsuggest/jlsuggest.js?ver=7.6.5.9:4:11)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:1594)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/seo-ultimate/includes/jlsuggest/jlsuggest.js?ver=7.6.5.9:2:54)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)" undefined
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=su-internal-link-aliases
    • > Javascript (severe) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Tags: There are too many tags (58 tag instead of maximum 10)
You can look at the official readme.txt

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

The main PHP file in "SEO Ultimate" ver. 7.6.5.9 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 150 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin25,782 lines of code in 92 files:
LanguageFilesBlank linesComment linesLines of code
PHP562,5572,7119,371
CSS23272648,251
PO File21,4951,7956,235
JavaScript105842391,696
SVG100229

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity32.68
▷ Minimum class complexity1.00
▷ Maximum class complexity388.00
Average method complexity3.38
▷ Minimum method complexity1.00
▷ Maximum method complexity58.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes53
▷ Abstract classes00.00%
▷ Concrete classes53100.00%
▷ Final classes00.00%
Methods704
▷ Static methods17424.72%
▷ Public methods704100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants25
▷ Global constants25100.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
90 PNG files occupy 0.45MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
plugin/img/admin/global/sdf_global_icon.png6.63KB2.44KB▼ 63.17%
plugin/sdf/bootstrap/img/hue.png2.90KB0.50KB▼ 82.71%
plugin/img/seo.png0.90KB1.05KB0.00%
plugin/img/admin/page_navigation.png0.62KB0.48KB▼ 22.36%
plugin/img/logos/18x18_sdf_hover_wp_icon.png1.30KB0.39KB▼ 70.20%