84% seo-external-links

Code Review | SEO External Links

WordPress plugin SEO External Links scored84%from 54 tests.

About plugin

  • Plugin page: seo-external-links
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.3.1
  • WordPress version: 6.3.1
  • First release: Oct 21, 2015
  • Latest release: Nov 3, 2015
  • Number of updates: 13
  • Update frequency: every 1.0 days
  • Top authors: amg26 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,230 total downloads

Benchmarks

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
Install script ran successfully

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

A check of server-side resources used by SEO External Links
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.24 ▼8.90
Dashboard /wp-admin3.31 ▼0.0443.41 ▼18.88
Posts /wp-admin/edit.php3.36 ▲0.0044.56 ▼4.29
Add New Post /wp-admin/post-new.php5.89 ▲0.0078.15 ▼27.73
Media Library /wp-admin/upload.php3.23 ▲0.0032.72 ▼0.95

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for SEO External Links
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,907 ▲13613.71 ▼0.876.56 ▲4.6141.13 ▼1.53
Dashboard /wp-admin2,206 ▲155.90 ▲1.05106.71 ▼2.1939.17 ▼6.91
Posts /wp-admin/edit.php2,089 ▼02.06 ▼0.0039.22 ▲3.8635.20 ▼2.03
Add New Post /wp-admin/post-new.php1,546 ▲1818.30 ▼4.73599.73 ▼19.2847.22 ▼0.09
Media Library /wp-admin/upload.php1,388 ▼34.24 ▲0.0694.43 ▼6.1943.08 ▼0.86

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • 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
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 take a closer look at the following
  • 2× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/seo-external-links/script-styles.php
    • > /wp-content/plugins/seo-external-links/seo-external-links.php

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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Donate link: Please fix this invalid URI: "andrewgunn.xyz/donate"
You can look at the official readme.txt

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

The principal PHP file in "SEO External Links" v. 1.2 is loaded by WordPress automatically on each request
108 characters long description:
Super lightweight solution to changing all external links and internal PDF attachments to open in a new tab.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin56 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3303356

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Constants2
▷ Global constants2100.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
PNG images were not found in this plugin