90% indicate-external-links

Code Review | Indicate External Links

WordPress plugin Indicate External Links scored90%from 54 tests.

About plugin

  • Plugin page: indicate-external...
  • Plugin version: 1.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-6.1
  • WordPress version: 6.3.1
  • First release: Apr 29, 2014
  • Latest release: Nov 4, 2022
  • Number of updates: 29
  • Update frequency: every 107.3 days
  • Top authors: numeeja (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

800+ active /10,933 total downloads

Benchmarks

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

This is a short check of server-side resources used by Indicate External Links
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.89 ▼1.48
Dashboard /wp-admin3.31 ▲0.0153.56 ▼1.96
Posts /wp-admin/edit.php3.36 ▲0.0149.42 ▲0.41
Add New Post /wp-admin/post-new.php5.89 ▲0.0187.39 ▼17.51
Media Library /wp-admin/upload.php3.24 ▲0.0136.20 ▲0.86

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Indicate External Links: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,900 ▲12913.79 ▼0.887.65 ▲5.6843.62 ▼0.56
Dashboard /wp-admin2,206 ▲155.90 ▼0.13112.99 ▲1.4446.98 ▲8.36
Posts /wp-admin/edit.php2,092 ▼01.99 ▼0.0138.96 ▲1.8435.59 ▲0.88
Add New Post /wp-admin/post-new.php1,533 ▼023.13 ▼0.00616.64 ▲14.0847.32 ▼4.24
Media Library /wp-admin/upload.php1,385 ▼34.15 ▼0.07101.31 ▼7.3245.38 ▼3.87

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
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

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 issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: external, offsite, link, https, arrow

indicate-external-links/indicate-external-links.php Passed 13 tests

This is the main PHP file of "Indicate External Links" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
A simple plugin to indicate outbound links in Posts, Pages and CPTs

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin54 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1244554

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.19
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin