93% simple-auto-linker-seo-tool

Code Review | Simple Autolinker SEO Tool

WordPress plugin Simple Autolinker SEO Tool scored 93% from 54 tests.

About plugin

  • Plugin page: simple-auto-linke...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.2.2
  • WordPress version: 5.8.1
  • First release: May 11, 2015
  • Latest release: May 18, 2015
  • Number of updates: 13
  • Update frequency: every 2.1 days
  • Top authors: dustinstaples (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

90+ active / 3,340 total downloads

Benchmarks

Plugin footprint Passed 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.01MB] [CPU: ▼138.42ms] Passed 4 tests

Server-side resources used by Simple Autolinker SEO Tool
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1235.67 ▲15.35
Dashboard /wp-admin3.07 ▲0.0142.98 ▼3.17
Posts /wp-admin/edit.php3.12 ▲0.0143.36 ▲0.51
Add New Post /wp-admin/post-new.php5.44 ▲0.0091.44 ▼544.68
Media Library /wp-admin/upload.php3.02 ▲0.0032.64 ▼6.34

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Simple Autolinker SEO Tool
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,683 ▲8715.97 ▲0.458.85 ▼1.6658.20 ▲8.18
Dashboard /wp-admin2,971 ▲375.95 ▼0.06137.66 ▼3.4386.19 ▼31.61
Posts /wp-admin/edit.php2,743 ▲42.73 ▲0.0366.46 ▲6.6570.26 ▼16.69
Add New Post /wp-admin/post-new.php1,808 ▲13621.46 ▲2.54266.33 ▼99.25113.83 ▲3.42
Media Library /wp-admin/upload.php1,811 ▲45.07 ▲0.03154.64 ▲7.08126.70 ▲5.52

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/simple-auto-linker-seo-tool/autolinkerseotool.php:32

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

Optimizations

Plugin configuration 90% 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
9 plugin tags: html, tool, auto, simple, automatic...

simple-auto-linker-seo-tool/autolinkerseotool.php 77% from 13 tests

The main file in "Simple Autolinker SEO Tool" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 398 characters long)
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-auto-linker-seo-tool.php" instead of "autolinkerseotool.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected160 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1274485
JavaScript18774
CSS1041

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
PNG images were not found in this plugin