84% auto-insert-title-to-link

Code Review | Auto Insert Title To Link

WordPress plugin Auto Insert Title To Link scored84%from 54 tests.

About plugin

  • Plugin page: auto-insert-title...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.6
  • WordPress version: 6.3.1
  • First release: May 24, 2013
  • Latest release: May 30, 2013
  • Number of updates: 12
  • Update frequency: every 0.6 days
  • Top authors: Ralf Albert (58.33%)OoroonBai (50%)

Code review

54 tests

User reviews

5 reviews

Install metrics

100+ active /2,936 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼2.05ms] Passed 4 tests

Analyzing server-side resources used by Auto Insert Title To Link
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.20 ▼5.22
Dashboard /wp-admin3.31 ▲0.0143.10 ▼2.74
Posts /wp-admin/edit.php3.36 ▲0.0145.13 ▼1.93
Add New Post /wp-admin/post-new.php5.89 ▲0.0196.93 ▲1.79
Media Library /wp-admin/upload.php3.23 ▲0.0033.18 ▲1.70

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Auto Insert Title To Link: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.21 ▼1.171.67 ▼0.4146.49 ▼1.51
Dashboard /wp-admin2,206 ▲184.86 ▼0.01108.74 ▼0.2238.90 ▼4.71
Posts /wp-admin/edit.php2,092 ▲62.03 ▲0.0141.83 ▲1.5134.36 ▲2.48
Add New Post /wp-admin/post-new.php1,533 ▼023.11 ▼0.35603.04 ▼52.3552.27 ▲2.46
Media Library /wp-admin/upload.php1,388 ▲34.17 ▼0.0297.31 ▼2.3441.47 ▼0.59

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

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 everything seems fine, this is not an exhaustive test

SRP 50% 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
The following issues need your attention
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/auto-insert-title-to-link/auto_title_to_link.php

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)
No browser errors were detected


Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: link, usability, editor, admin

auto-insert-title-to-link/auto_title_to_link.php 92% from 13 tests

The main PHP file in "Auto Insert Title To Link" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("auto-insert-title-to-link.php" instead of "auto_title_to_link.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin128 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.55
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 functions480.00%
▷ Anonymous functions120.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin