62% auto-tag-links

Code Review | Auto Tag Links

WordPress plugin Auto Tag Links scored62%from 54 tests.

About plugin

  • Plugin page: auto-tag-links
  • Plugin version: 1.0.12
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9-6.4
  • WordPress version: 6.3.1
  • First release: Nov 15, 2012
  • Latest release: Nov 5, 2023
  • Number of updates: 25
  • Update frequency: every 160.4 days
  • Top authors: whiletrue (64%)seoroma (40%)

Code review

54 tests

User reviews

8 reviews

Install metrics

600+ active /25,241 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▼0.96MB] [CPU: ▼36.90ms] Passed 4 tests

Server-side resources used by Auto Tag Links
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.20 ▼2.18
Dashboard /wp-admin2.99 ▼0.3524.48 ▼36.41
Posts /wp-admin/edit.php3.00 ▼0.3622.26 ▼27.95
Add New Post /wp-admin/post-new.php3.00 ▼2.8924.67 ▼71.88
Media Library /wp-admin/upload.php3.00 ▼0.2323.27 ▼11.35
Auto Tag Links /wp-admin/options-general.php?page=auto-tag-links/auto-tag-links.php3.0021.69

Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Auto Tag Links
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,824 ▲7314.34 ▲0.002.10 ▲0.3543.74 ▼2.33
Dashboard /wp-admin2,199 ▲225.59 ▼0.0493.78 ▼11.7041.97 ▼1.26
Posts /wp-admin/edit.php2,104 ▲41.97 ▼0.1535.68 ▲1.3934.01 ▼2.61
Add New Post /wp-admin/post-new.php1,529 ▲323.37 ▼0.12668.44 ▲1.1749.45 ▼6.52
Media Library /wp-admin/upload.php1,407 ▲44.17 ▼0.06100.73 ▼7.4242.43 ▼3.63
Auto Tag Links /wp-admin/options-general.php?page=auto-tag-links/auto-tag-links.php1,0612.3625.3828.15

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > 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.
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=auto-tag-links/auto-tag-links.php
    • > 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.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=auto-tag-links/auto-tag-links.php
    • > Notice in wp-content/plugins/auto-tag-links/auto-tag-links.php+479
    Undefined variable: option
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=auto-tag-links/auto-tag-links.php
    • > Notice in wp-content/plugins/auto-tag-links/auto-tag-links.php+479
    Trying to access array offset on value of type null
    • > GET request to /wp-admin/options-general.php?page=auto-tag-links/auto-tag-links.php
    • > Notice in wp-content/plugins/auto-tag-links/auto-tag-links.php+617
    Undefined variable: out

SRP 0% from 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
Please fix the following items
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/auto-tag-links/uninstall.php
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/auto-tag-links/auto-tag-links.php:661

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: link, links, tag, posts, plugin...

auto-tag-links/auto-tag-links.php 92% from 13 tests

This is the main PHP file of "Auto Tag Links" version 1.0.12, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 227 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin577 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP312589474
PO File3277291
CSS12112

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.43
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions14
▷ Named functions14100.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/tag_off.png0.85KB0.75KB▼ 11.49%
images/tag_on.png0.86KB0.72KB▼ 15.93%
images/pmiservizi_logo.png3.30KB1.92KB▼ 41.73%