84% auto-link-tags

Code Review | Auto Link Tags

WordPress plugin Auto Link Tags scored84%from 54 tests.

About plugin

  • Plugin page: auto-link-tags
  • Plugin version: 0.1.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Aug 22, 2014
  • Latest release: Sep 4, 2014
  • Number of updates: 4
  • Update frequency: every 3.5 days
  • Top authors: pmtarantino (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

100+ active /2,765 total downloads


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.00MB] [CPU: ▼2.94ms] Passed 4 tests

Analyzing server-side resources used by Auto Link Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0049.29 ▲7.00
Dashboard /wp-admin3.31 ▲0.0045.49 ▼7.15
Posts /wp-admin/edit.php3.36 ▲0.0052.63 ▼0.99
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.81 ▼4.32
Media Library /wp-admin/upload.php3.23 ▲0.0036.88 ▲0.69

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Auto Link Tags: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.38 ▼0.001.81 ▼0.0045.94 ▲3.95
Dashboard /wp-admin2,198 ▲185.64 ▲0.0491.55 ▼3.1838.47 ▼4.08
Posts /wp-admin/edit.php2,103 ▲31.99 ▼0.0339.71 ▲1.7338.65 ▲1.54
Add New Post /wp-admin/post-new.php1,526 ▼017.59 ▲0.10664.62 ▼33.7954.41 ▲2.31
Media Library /wp-admin/upload.php1,400 ▲34.18 ▲0.0997.53 ▼19.6445.98 ▼3.64

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auto-link-tags/autolinktags.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: link, seo, tags, terms, autolinks

auto-link-tags/autolinktags.php 92% from 13 tests

"Auto Link Tags" version 0.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("auto-link-tags.php" instead of "autolinktags.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected16 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.22
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ 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
No PNG files were detected