84% nofollow-external-links-seo

Code Review | Nofollow External Links (SEO)

WordPress plugin Nofollow External Links (SEO) scored 84% from 54 tests.

About plugin

  • Plugin page: nofollow-external...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.2
  • WordPress version: 6.3.1
  • First release: Jan 30, 2019
  • Latest release: Apr 5, 2023
  • Number of updates: 20
  • Update frequency: every 76.3 days
  • Top authors: mitalideva (70%)viitorcloudvc (35%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 2,061 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
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Nofollow External Links (SEO)
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.62 ▼1.88
Dashboard /wp-admin3.31 ▲0.0147.15 ▼3.02
Posts /wp-admin/edit.php3.36 ▲0.0149.11 ▲2.44
Add New Post /wp-admin/post-new.php5.89 ▲0.0192.09 ▼2.04
Media Library /wp-admin/upload.php3.23 ▲0.0143.92 ▲8.71

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Nofollow External Links (SEO): an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6813.25 ▼1.131.92 ▼0.1139.50 ▼13.97
Dashboard /wp-admin2,203 ▲115.82 ▲0.8798.04 ▼18.9741.50 ▲0.53
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0439.42 ▲1.1735.64 ▲0.81
Add New Post /wp-admin/post-new.php1,514 ▼517.59 ▼5.37657.41 ▲34.3553.26 ▼0.35
Media Library /wp-admin/upload.php1,388 ▲34.28 ▲0.0399.63 ▼0.2744.42 ▲4.60

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • 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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nofollow-external-links-seo/nofollow-external-link-seo.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: seo, customlink, external, link, nofollow...

nofollow-external-links-seo/nofollow-external-link-seo.php 92% from 13 tests

The primary PHP file in "Nofollow External Links (SEO)" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nofollow-external-links-seo.php" instead of "nofollow-external-link-seo.php")

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
Everything looks great! No dangerous files found in this plugin18 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23918

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
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%
Functions2
▷ Named functions2100.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