84% accessible-external-text-links

Code Review | Accessible External Text Links

WordPress plugin Accessible External Text Links scored 84% from 54 tests.

About plugin

  • Plugin page: accessible-extern...
  • Plugin version: 1.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3.1-3.9
  • WordPress version: 5.9.2
  • First release: Jan 23, 2012
  • Latest release: Apr 18, 2014
  • Number of updates: 44
  • Update frequency: every 18.5 days
  • Top authors: Myshock (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 2,067 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
Installer ran successfully

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

A check of server-side resources used by Accessible External Text Links
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0254.47 ▲4.78
Dashboard /wp-admin3.42 ▲0.0232.70 ▲0.03
Posts /wp-admin/edit.php3.65 ▲0.0237.23 ▼2.14
Add New Post /wp-admin/post-new.php6.90 ▼0.0795.91 ▼1,195.11
Media Library /wp-admin/upload.php3.31 ▲0.0123.48 ▼7.71
Accessible Links /wp-admin/options-general.php?page=my-unique-identifier3.2625.05

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options
jmd_external_links_alternative

Browser metrics Passed 4 tests

An overview of browser requirements for Accessible External Text Links
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,772 ▲3015.94 ▼0.087.34 ▲1.511.97 ▼0.17
Dashboard /wp-admin2,897 ▲366.14 ▲0.04118.58 ▼15.03157.60 ▼1.54
Posts /wp-admin/edit.php2,696 ▲113.23 ▼0.0163.48 ▲0.09139.97 ▼2.12
Add New Post /wp-admin/post-new.php1,664 ▲316.17 ▼0.09418.46 ▼4.69156.08 ▲6.59
Media Library /wp-admin/upload.php1,706 ▲85.46 ▲0.04139.45 ▲4.25183.94 ▼7.94
Accessible Links /wp-admin/options-general.php?page=my-unique-identifier1,0092.4353.4698.29

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 1 option in the database
    • jmd_external_links_alternative

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
Good news, no errors were detected

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
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accessible-external-text-links/accessible-external-text-links.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: links, accessibility

accessible-external-text-links/accessible-external-text-links.php 92% from 13 tests

The primary PHP file in "Accessible External Text Links" version 1.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 233 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected83 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1132157
JavaScript15426

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.15
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin