90% anon-links

Code Review | Anon Links

WordPress plugin Anon Links scored90%from 54 tests.

About plugin

  • Plugin page: anon-links
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4
  • WordPress version: 6.3.1
  • First release: Dec 30, 2015
  • Latest release: Dec 31, 2015
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: Ali.Dbg (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20+ active /1,223 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

Server-side resources used by Anon Links
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0538.47 ▼8.69
Dashboard /wp-admin3.32 ▲0.0149.49 ▲0.36
Posts /wp-admin/edit.php3.37 ▲0.0148.42 ▼4.73
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.66 ▼8.15
Media Library /wp-admin/upload.php3.24 ▲0.0135.03 ▲0.08

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

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

Browser metrics Passed 4 tests

Anon Links: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.36 ▼0.601.70 ▼0.1637.60 ▼7.29
Dashboard /wp-admin2,206 ▲155.85 ▲0.96108.03 ▲1.8542.38 ▼0.89
Posts /wp-admin/edit.php2,086 ▼32.00 ▼0.0640.30 ▲2.2436.39 ▲1.29
Add New Post /wp-admin/post-new.php1,542 ▲2818.36 ▲0.70643.77 ▼41.0651.69 ▼0.33
Media Library /wp-admin/upload.php1,388 ▼34.23 ▼0.0699.24 ▼7.0546.20 ▲2.16

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: referer, anonymiz, anonymizer, nofollow, external...

anon-links/anon-links.php Passed 13 tests

The main PHP file in "Anon Links" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
119 characters long description:
Anonymous, hide referer, nofollow, target=_blank all external links with Automattic's href.li service with SSL support.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin48 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.33
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 functions4100.00%
▷ Anonymous functions00.00%
▷ 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
No PNG files were detected