78% seo-auto-linker

Code Review | SEO Auto Linker

WordPress plugin SEO Auto Linker scored78%from 54 tests.

About plugin

  • Plugin page: seo-auto-linker
  • Plugin version: 0.9.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-3.5.1
  • WordPress version: 6.3.1
  • First release: Aug 23, 2011
  • Latest release: Jan 31, 2013
  • Number of updates: 35
  • Update frequency: every 15.2 days
  • Top authors: chrisguitarguy (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

2,000+ active /83,301 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.22MB] [CPU: ▼18.26ms] Passed 4 tests

An overview of server-side resources used by SEO Auto Linker
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.22 ▼1.246.67 ▼29.81
Dashboard /wp-admin3.44 ▲0.0942.96 ▼19.51
Posts /wp-admin/edit.php3.55 ▲0.2047.71 ▲6.69
Add New Post /wp-admin/post-new.php6.02 ▲0.1380.91 ▼19.86
Media Library /wp-admin/upload.php3.36 ▲0.1332.01 ▼3.87
Add New Link /wp-admin/post-new.php?post_type=seoal_container3.3939.82
Options /wp-admin/edit.php?post_type=seoal_container&page=seo-auto-linker3.3028.22
All Links /wp-admin/edit.php?post_type=seoal_container3.4136.29

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

SEO Auto Linker: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲9213.28 ▼1.362.01 ▲0.2144.06 ▲2.03
Dashboard /wp-admin2,232 ▲445.79 ▼0.03102.39 ▼3.5340.03 ▼1.61
Posts /wp-admin/edit.php2,121 ▲321.97 ▼0.0636.55 ▲2.0232.75 ▼3.18
Add New Post /wp-admin/post-new.php1,566 ▲4723.31 ▲0.14668.86 ▼8.0651.95 ▲1.38
Media Library /wp-admin/upload.php1,426 ▲414.17 ▲0.0097.02 ▼1.2741.89 ▼5.35
Add New Link /wp-admin/post-new.php?post_type=seoal_container1,3902.5449.7044.85
Options /wp-admin/edit.php?post_type=seoal_container&page=seo-auto-linker8422.0522.7828.64
All Links /wp-admin/edit.php?post_type=seoal_container1,0681.9735.4127.42

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
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
    • > GET request to /wp-admin/edit.php?post_type=seoal_container&page=seo-auto-linker
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/edit.php?post_type=seoal_container&page=seo-auto-linker
    • > 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 4× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/seo-auto-linker/seo-auto-linker.php:28
    • > PHP Fatal error
      Uncaught Error: Class 'SEO_Auto_Linker_Base' not found in wp-content/plugins/seo-auto-linker/inc/front.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'SEO_Auto_Linker_Base' not found in wp-content/plugins/seo-auto-linker/inc/admin.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'SEO_Auto_Linker_Base' not found in wp-content/plugins/seo-auto-linker/inc/post-type.php:2

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: automatic linking, internal links, seo, links

seo-auto-linker/seo-auto-linker.php 92% from 13 tests

Analyzing the main PHP file in "SEO Auto Linker" version 0.9.1
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin942 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP5138366942

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity21.00
▷ Minimum class complexity2.00
▷ Maximum class complexity38.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes125.00%
▷ Concrete classes375.00%
▷ Final classes00.00%
Methods50
▷ Static methods4998.00%
▷ Public methods3060.00%
▷ Protected methods2040.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants228.57%
▷ Class constants571.43%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected