93% internal-link-manager

Code Review | Internal Link Manager

WordPress plugin Internal Link Manager scored 93% from 54 tests.

About plugin

  • Plugin page: internal-link-man...
  • Plugin version: 1.12
  • PHP version: 7.4.16
  • WordPress version: 5.8.1
  • First release: Nov 21, 2012
  • Latest release: Dec 10, 2012
  • Number of updates: 10
  • Update frequency: every 2.1 days
  • Top authors: kevinlearynet (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

100+ active / 7,851 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼142.66ms] Passed 4 tests

Analyzing server-side resources used by Internal Link Manager
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.0439.91 ▲1.14
Dashboard /wp-admin3.10 ▲0.0453.03 ▲3.74
Posts /wp-admin/edit.php3.15 ▲0.0451.04 ▲2.11
Add New Post /wp-admin/post-new.php5.45 ▲0.0289.31 ▼570.85
Media Library /wp-admin/upload.php3.04 ▲0.0432.87 ▼3.04
Internal Links /wp-admin/tools.php?page=Internal_Link_Manager-menu3.0131.64

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Internal Link Manager
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,708 ▲13615.77 ▲0.279.49 ▼0.5453.90 ▲0.64
Dashboard /wp-admin2,972 ▲415.85 ▼0.06138.51 ▼9.17124.06 ▲4.90
Posts /wp-admin/edit.php2,744 ▲52.82 ▲0.0170.51 ▼2.1395.15 ▼4.45
Add New Post /wp-admin/post-new.php1,679 ▲8818.76 ▼0.01383.97 ▼23.82112.91 ▲2.20
Media Library /wp-admin/upload.php1,812 ▲55.05 ▲0.04163.79 ▲14.66123.21 ▲7.93
Internal Links /wp-admin/tools.php?page=Internal_Link_Manager-menu1,2182.0863.7388.65

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/internal-link-manager/internal-link-manager.php:25

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 81% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (Admin Panel), #2 (Automatic links in post content), #3 (Author coaching box added to the post editor (optional))
  • Requires at least: Invalid version format
  • Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
You can look at the official readme.txt

internal-link-manager/internal-link-manager.php Passed 13 tests

Analyzing the main PHP file in "Internal Link Manager" version 1.12
59 characters long description:
Easily manage internal links throughout your WordPress site

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
Good job! No executable or dangerous file extensions detected221 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP24558221

PHP code Passed 2 tests

Analyzing 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.42
Average class complexity31.00
▷ Minimum class complexity31.00
▷ Maximum class complexity31.00
Average method complexity6.00
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin