94% hide-links

Code Review | Hide Links

WordPress plugin Hide Links scored 94% from 54 tests.

About plugin

  • Plugin page: hide-links
  • Plugin version: 1.4.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.9.6
  • WordPress version: 5.8.1
  • First release: Jan 14, 2015
  • Latest release: May 17, 2018
  • Number of updates: 28
  • Update frequency: every 43.5 days
  • Top authors: egolacrima (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

1,000+ active / 9,735 total downloads


Plugin footprint Passed 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.05MB] [CPU: ▼140.87ms] Passed 4 tests

This is a short check of server-side resources used by Hide Links
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.0437.14 ▲4.30
Dashboard /wp-admin3.11 ▲0.0635.94 ▲0.26
Posts /wp-admin/edit.php3.16 ▲0.0544.21 ▲1.58
Add New Post /wp-admin/post-new.php5.47 ▲0.0487.21 ▼566.10
Media Library /wp-admin/upload.php3.05 ▲0.0532.62 ▲0.78

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Hide Links
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,812 ▲21616.23 ▲0.7416.35 ▲6.8248.83 ▲0.65
Dashboard /wp-admin2,989 ▲525.93 ▼0.23140.50 ▲1.47120.47 ▲6.58
Posts /wp-admin/edit.php2,739 ▼02.72 ▼0.0066.76 ▼5.8585.63 ▼11.36
Add New Post /wp-admin/post-new.php1,875 ▲19719.19 ▲0.32384.71 ▼3.09105.96 ▲4.12
Media Library /wp-admin/upload.php1,807 ▼35.02 ▼0.01148.44 ▼2.80122.79 ▲0.96

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 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
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/hide-links/hidelinks.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected


Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: links, comment author link, link, noindex, seo...

hide-links/hidelinks.php 85% from 13 tests

The main file in "Hide Links" v. 1.4.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("hide-links.php" instead of "hidelinks.php")
  • Description: Please keep the plugin description shorter than 140 characters (currently 183 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin325 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PO File13334

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity4.00
▷ Minimum class complexity3.00
▷ Maximum class complexity5.00
Average method complexity1.55
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods981.82%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ 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
PNG images were not found in this plugin