83% external-outbonding-links

Code Review | External outbonding links

WordPress plugin External outbonding links scored83%from 54 tests.

About plugin

  • Plugin page: external-outbondi...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.2-4.9.3
  • WordPress version: 6.3.1
  • First release: Mar 3, 2016
  • Latest release: Feb 6, 2018
  • Number of updates: 11
  • Update frequency: every 64.1 days
  • Top authors: ganeshpaygude (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,114 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.59ms] Passed 4 tests

Analyzing server-side resources used by External outbonding links
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0141.76 ▲0.97
Dashboard /wp-admin3.32 ▲0.0247.76 ▼6.52
Posts /wp-admin/edit.php3.38 ▲0.0249.47 ▼0.45
Add New Post /wp-admin/post-new.php5.92 ▲0.0485.35 ▼16.36
Media Library /wp-admin/upload.php3.25 ▲0.0241.42 ▲6.74

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

External outbonding links: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4514.77 ▲0.381.83 ▲0.0944.66 ▲2.97
Dashboard /wp-admin2,212 ▲325.70 ▲0.0188.72 ▼3.2968.72 ▲29.96
Posts /wp-admin/edit.php2,114 ▲172.01 ▲0.0534.97 ▼1.4234.24 ▼1.23
Add New Post /wp-admin/post-new.php1,695 ▲16922.14 ▼1.02684.90 ▲36.4759.67 ▲8.25
Media Library /wp-admin/upload.php1,417 ▲174.22 ▲0.0697.80 ▼6.7374.39 ▲24.26

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

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
Even though everything seems fine, this is not an exhaustive test

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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/external-outbonding-links/index.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Tags: There are too many tags (16 tag instead of maximum 10)
  • Screenshots: Add an image for screenshot #1 (admin-setting)
The official readme.txt is a good inspiration

external-outbonding-links/index.php 92% from 13 tests

The main PHP file in "External outbonding links" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("external-outbonding-links.php" instead of "index.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
There were no executable files found in this plugin63 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.09
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions888.89%
▷ Anonymous functions111.11%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/icon-128x128.png31.03KB8.08KB▼ 73.96%
icon-128x128.png31.03KB8.08KB▼ 73.96%