10% seo-auto-links

Code Review | SEO Auto Links

WordPress plugin SEO Auto Links scored 10% from 54 tests.

About plugin

  • Plugin page: seo-auto-links
  • Plugin version: 0.5
  • PHP version: 7.4.16
  • WordPress compatibility: 2.3-3.9
  • WordPress version: 6.3.1
  • First release: Sep 14, 2013
  • Latest release: Apr 17, 2014
  • Number of updates: 14
  • Update frequency: every 15.4 days
  • Top authors: maartenbrakkee (100%)

Code review

54 tests

User reviews

12 reviews

Install metrics

1,000+ active / 46,793 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/seo-auto-links/seo-auto-links-functions.php+18
    Array and string offset access syntax with curly braces is deprecated

Server metrics [RAM: ▼0.94MB] [CPU: ▼32.27ms] Passed 4 tests

This is a short check of server-side resources used by SEO Auto Links
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0237.27 ▼6.76
Dashboard /wp-admin3.01 ▼0.3024.51 ▼22.74
Posts /wp-admin/edit.php3.01 ▼0.3524.94 ▼22.26
Add New Post /wp-admin/post-new.php3.01 ▼2.8823.90 ▼73.11
Media Library /wp-admin/upload.php3.01 ▼0.2221.08 ▼10.98

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options
SEOAutoLinks
widget_theysaidso_widget
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

SEO Auto Links: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲8314.48 ▲0.071.87 ▲0.1541.73 ▼0.31
Dashboard /wp-admin2,207 ▲225.83 ▼0.0294.53 ▼3.6438.56 ▼4.33
Posts /wp-admin/edit.php2,093 ▲42.04 ▲0.0439.09 ▼1.8833.72 ▼1.62
Add New Post /wp-admin/post-new.php1,517 ▼2517.64 ▼0.56643.58 ▲35.9755.49 ▲3.51
Media Library /wp-admin/upload.php1,386 ▼54.21 ▲0.1096.77 ▼10.2042.96 ▼5.36
SEO Auto Links /wp-admin/seo-auto-links.php260.440.1114.25

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin cannot be uninstalled
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • SEOAutoLinks

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

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
The following issues need your attention
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/seo-auto-links/seo-auto-links.php:304
    • > PHP Fatal error
      Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/seo-auto-links/seo-auto-links-admin.php:2

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
    • > GET request to /wp-admin/seo-auto-links.php
    • > Network (severe)
    wp-admin/seo-auto-links.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (Plugin settings page) image missing
  • Tags: There are too many tags (11 tag instead of maximum 10)
You can take inspiration from this readme.txt

seo-auto-links/seo-auto-links.php Passed 13 tests

"SEO Auto Links" version 0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
115 characters long description:
With SEO Auto Links you can easily add links (automatically) for keywords and phrases in posts, pages and comments.

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 plugin947 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP37618526
PO File2118203339
JavaScript13048
CSS10034

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity124.00
▷ Minimum class complexity124.00
▷ Maximum class complexity124.00
Average method complexity12.18
▷ Minimum method complexity1.00
▷ Maximum method complexity95.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 compressed PNG file occupies 0.08MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png82.46KB84.13KB0.00%