10% seo-automatic-seo-tools

Code Review | SEO Tools

WordPress plugin SEO Tools scored10%from 54 tests.

About plugin

  • Plugin page: seo-automatic-seo...
  • Plugin version: 4.0.7
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8.1-5.8.2
  • WordPress version: 6.3.1
  • First release: Nov 13, 2009
  • Latest release: Nov 23, 2021
  • Number of updates: 124
  • Update frequency: every 35.4 days
  • Top authors: Dzynit (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

300+ active /78,702 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
The following installer errors require your attention
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/seo-automatic-seo-tools/kwmultiplier.php+125
    Array and string offset access syntax with curly braces is deprecated

Server metrics [RAM: ▼1.52MB] [CPU: ▼51.45ms] Passed 4 tests

An overview of server-side resources used by SEO Tools
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.47 ▼0.996.37 ▼35.52
Dashboard /wp-admin2.49 ▼0.826.86 ▼42.14
Posts /wp-admin/edit.php2.49 ▼0.876.96 ▼35.79
Add New Post /wp-admin/post-new.php2.49 ▼3.407.56 ▼92.33
Media Library /wp-admin/upload.php2.49 ▼0.746.56 ▼27.83
SEO Tools /wp-admin/admin.php?page=seo-automatic-seo-tools/settings.php2.497.77
URL Checker /wp-admin/admin.php?page=seo-automatic-plugin2.498.05
Admin /wp-admin/admin.php?page=seo-automatic-options2.498.83
- add tool pages /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php2.497.92

Server storage [IO: ▲1.93MB] [DB: ▲0.06MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 267 new files
Database: no new tables, 12 new options
New WordPress options
seo_tools_linkback_text
widget_recent-comments
autoseo_options
can_compress_scripts
seo_tools_linkback_url
widget_theysaidso_widget
seo_tools_linkback_on
widget_recent-posts
db_upgraded
autoseo_fullurlchecker
...

Browser metrics Passed 4 tests

A check of browser resources used by SEO Tools
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,948 ▲20213.66 ▼1.026.26 ▲4.3545.51 ▼2.87
Dashboard /wp-admin2,233 ▲475.88 ▼0.02133.49 ▲29.0987.28 ▲43.32
Posts /wp-admin/edit.php2,119 ▲302.02 ▲0.0133.98 ▼4.5732.07 ▼4.78
Add New Post /wp-admin/post-new.php1,538 ▲1621.93 ▼1.26760.69 ▲94.2954.95 ▲5.16
Media Library /wp-admin/upload.php1,418 ▲304.08 ▼0.0797.55 ▼4.9945.63 ▲0.03
SEO Tools /wp-admin/admin.php?page=seo-automatic-seo-tools/settings.php1,2661.8927.3434.85
URL Checker /wp-admin/admin.php?page=seo-automatic-plugin2,4732.2226.6949.35
Admin /wp-admin/admin.php?page=seo-automatic-options1,0871.9927.5725.08
- add tool pages /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php1,0141.8724.5825.63

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Uninstall procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/seo-automatic-seo-tools/kwmultiplier.php+125
    Array and string offset access syntax with curly braces is deprecated
  • Zombie WordPress options were found after uninstall: 12 options
    • seo_tools_linkback_text
    • autoseo_fullurlchecker
    • seo_tools_linkback_seotools
    • seo_tools_linkback_url
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • seo_tools_linkback_on
    • can_compress_scripts
    • db_upgraded
    • ...

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Deprecated in wp-content/plugins/seo-automatic-seo-tools/kwmultiplier.php+125
    Array and string offset access syntax with curly braces is deprecated
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > User deprecated in wp-includes/functions.php+5453
    Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead.
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > User deprecated in wp-includes/functions.php+5453
    Function register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead.
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/seo-tools.php+243
    Undefined variable: menu_added
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/settings.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/settings.php+54
    Undefined index: linkback_seotools
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/settings.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/settings.php+65
    Undefined variable: lon
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/settings.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/settings.php+99
    Undefined index: set_linkback
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/settings.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/settings.php+119
    Undefined variable: b
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/settings.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/settings.php+157
    Undefined index: set_spamsettings
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/settings.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/settings.php+167
    Undefined variable: s
    • > GET request to /wp-admin/admin.php?page=seo-automatic-plugin
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/url-checker.php+121
    Undefined index: fixed-table
  • 19 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-plugin
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/url-checker.php+447
    Undefined index: important
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-plugin
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/url-checker.php+254
    Undefined index: enable
    • > GET request to /wp-admin/admin.php?page=seo-automatic-options
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/home.php+36
    Undefined variable: pro
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+45
    Undefined index: url_review_pro
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+102
    Undefined index: keyword_list_multiplier
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+102
    Undefined index: bulk_url_checker
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+102
    Undefined index: link_variance
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+102
    Undefined index: rss_feed_commander
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+102
    Undefined index: url_review_lite
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+102
    Undefined index: schema_tool
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+105
    Undefined index: csv_tool
    • > GET request to /wp-admin/admin.php?page=seo-automatic-seo-tools/add-tool-pages.php
    • > Notice in wp-content/plugins/seo-automatic-seo-tools/add-tool-pages.php+114
    Undefined index: spam_tool

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 87× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
    • > /wp-content/plugins/seo-automatic-seo-tools/libs/smarty/plugins/modifier.count_characters.php
    • > /wp-content/plugins/seo-automatic-seo-tools/libs/smarty/plugins/function.html_table.php
    • > /wp-content/plugins/seo-automatic-seo-tools/libs/smarty/plugins/function.cycle.php
    • > /wp-content/plugins/seo-automatic-seo-tools/libs/smarty/internals/core.is_trusted.php
    • > /wp-content/plugins/seo-automatic-seo-tools/libs/smarty/plugins/function.html_select_date.php
    • > /wp-content/plugins/seo-automatic-seo-tools/schematool.php
    • > /wp-content/plugins/seo-automatic-seo-tools/feedcommander/asp.php
    • > /wp-content/plugins/seo-automatic-seo-tools/libs/smarty/plugins/function.html_checkboxes.php
    • > /wp-content/plugins/seo-automatic-seo-tools/libs/smarty/internals/core.process_compiled_include.php
    • > /wp-content/plugins/seo-automatic-seo-tools/spam-filter-tool/spam-tool.php
  • 183× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined index: linkback1 in wp-content/plugins/seo-automatic-seo-tools/feedcommander/asp.php on line 60
    • > PHP Notice
      Undefined index: mq_di in wp-content/plugins/seo-automatic-seo-tools/feedcommander/asp.php on line 24
    • > PHP Notice
      Undefined variable: rc_color in wp-content/plugins/seo-automatic-seo-tools/feedcommander/template.php on line 375
    • > PHP Notice
      Undefined variable: boxpadding in wp-content/plugins/seo-automatic-seo-tools/feedcommander/rssread.php on line 72
    • > PHP Notice
      Undefined index: csvresults in wp-content/plugins/seo-automatic-seo-tools/lpd/export.php on line 2
    • > PHP Notice
      Undefined index: t_color_o in wp-content/plugins/seo-automatic-seo-tools/feedcommander/asp.php on line 31
    • > PHP Notice
      Undefined index: b_color_o in wp-content/plugins/seo-automatic-seo-tools/feedcommander/asp.php on line 15
    • > PHP Notice
      Undefined index: file in wp-content/plugins/seo-automatic-seo-tools/feedcommander/asp.php on line 65
    • > PHP Warning
      Invalid argument supplied for foreach() in wp-content/plugins/seo-automatic-seo-tools/feedcommander/template.php on line 377
    • > PHP Notice
      Undefined index: c_color_o in wp-content/plugins/seo-automatic-seo-tools/feedcommander/asp.php on line 49

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Screenshots: Please add images for these screenshots: #1 (SEO Tools Menu), #2 (SEO Tools Admin), #3 (URL Checker Admin)
The official readme.txt is a good inspiration

seo-automatic-seo-tools/seo-tools.php 85% from 13 tests

The primary PHP file in "SEO Tools" version 4.0.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("seo-automatic-seo-tools.php" instead of "seo-tools.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 342 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected22,033 lines of code in 171 files:
LanguageFilesBlank linesComment linesLines of code
PHP1305,7606,07714,737
JavaScript169467503,541
Smarty68541,613
CSS11923171,486
HTML42695566
XML30188
INI1002

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity66.12
▷ Minimum class complexity1.00
▷ Maximum class complexity432.00
Average method complexity5.43
▷ Minimum method complexity1.00
▷ Maximum method complexity80.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes24
▷ Abstract classes00.00%
▷ Concrete classes24100.00%
▷ Final classes00.00%
Methods353
▷ Static methods185.10%
▷ Public methods29583.57%
▷ Protected methods287.93%
▷ Private methods308.50%
Functions142
▷ Named functions142100.00%
▷ Anonymous functions00.00%
Constants23
▷ Global constants23100.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
16 PNG files occupy 0.14MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
sc-bulk-url-checker/tablesorter/themes/green/desc.png2.60KB2.54KB▼ 2.33%
images/affiliates/SEMrush.png32.03KB9.84KB▼ 69.28%
sc-bulk-url-checker/tablesorter/themes/green/asc.png2.60KB2.54KB▼ 2.55%
sc-bulk-url-checker/tablesorter/themes/green/bg.png2.59KB2.54KB▼ 2.18%
images/affiliates/wptwinbanner-125.png19.39KB7.52KB▼ 61.21%