10% remove-link-url

Code Review | Remove Link URL

WordPress plugin Remove Link URL scored10%from 54 tests.

About plugin

  • Plugin page: remove-link-url
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-3.4
  • WordPress version: 6.3.1
  • First release: Jan 23, 2012
  • Latest release: Jan 24, 2012
  • Number of updates: 14
  • Update frequency: every 0.1 days
  • Top authors: willshouse (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /7,937 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/remove-link-url/remove-link-url.php+13
    Methods with the same name as their class will not be constructors in a future version of PHP; RemoveLinkUrl has a deprecated constructor

Server metrics [RAM: ▼1.94MB] [CPU: ▼57.97ms] Passed 4 tests

Analyzing server-side resources used by Remove Link URL
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.06 ▼1.414.27 ▼36.54
Dashboard /wp-admin2.08 ▼1.275.20 ▼53.89
Posts /wp-admin/edit.php2.08 ▼1.285.20 ▼41.48
Add New Post /wp-admin/post-new.php2.08 ▼3.815.46 ▼99.96
Media Library /wp-admin/upload.php2.08 ▼1.155.68 ▼28.94

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Remove Link URL
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.18 ▼1.201.63 ▲0.0742.67 ▲4.84
Dashboard /wp-admin2,206 ▲185.90 ▲1.05106.62 ▲0.3740.76 ▼0.44
Posts /wp-admin/edit.php2,092 ▼02.03 ▲0.0539.35 ▼6.1834.80 ▼2.00
Add New Post /wp-admin/post-new.php1,514 ▼1917.68 ▼5.30661.59 ▲68.6560.93 ▲8.81
Media Library /wp-admin/upload.php1,388 ▲34.21 ▲0.0596.35 ▼4.8941.75 ▲0.12

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Uninstall procedure had uncaught errors
    • > Deprecated in wp-content/plugins/remove-link-url/remove-link-url.php+13
    Methods with the same name as their class will not be constructors in a future version of PHP; RemoveLinkUrl has a deprecated constructor
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • 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
Even though everything seems fine, this is not 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 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/remove-link-url/remove-link-url.php:18

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

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (Media Upload Screen) image not found
The official readme.txt is a good inspiration

remove-link-url/remove-link-url.php 92% from 13 tests

This is the main PHP file of "Remove Link URL" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Description: The description should be shorter than 140 characters (currently 154 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin25 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP110825

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.67
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png76.69KB21.92KB▼ 71.43%