90% unlink-comment-author

Code Review | Unlink Comment Author - Disable Author Link from Comments

WordPress plugin Unlink Comment Author - Disable Author Link from Comments scored90%from 54 tests.

About plugin

  • Plugin page: unlink-comment-au...
  • Plugin version: 1.3
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.4
  • WordPress version: 6.3.1
  • First release: Nov 25, 2022
  • Latest release: Nov 7, 2023
  • Number of updates: 30
  • Update frequency: every 11.6 days
  • Top authors: mehrazmorshed (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /425 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▲1.37ms] Passed 4 tests

An overview of server-side resources used by Unlink Comment Author - Disable Author Link from Comments
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0239.90 ▼1.89
Dashboard /wp-admin3.33 ▲0.0345.91 ▼0.51
Posts /wp-admin/edit.php3.38 ▲0.0350.36 ▲4.26
Add New Post /wp-admin/post-new.php5.91 ▲0.0391.70 ▲3.60
Media Library /wp-admin/upload.php3.26 ▲0.0341.44 ▲6.86

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Unlink Comment Author - Disable Author Link from Comments
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲2114.71 ▲0.311.75 ▼0.2644.11 ▼1.26
Dashboard /wp-admin2,216 ▲365.61 ▲0.0192.40 ▼8.3841.71 ▼1.07
Posts /wp-admin/edit.php2,118 ▲151.98 ▲0.0139.45 ▲3.6735.75 ▲0.99
Add New Post /wp-admin/post-new.php1,541 ▲1523.25 ▼0.00670.80 ▼146.6749.20 ▼0.39
Media Library /wp-admin/upload.php1,421 ▲214.19 ▼0.03103.47 ▼2.0242.51 ▲0.40

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: hide comment author link, hide comment author links, comment author unlink, disable comment author link, disable comment author links

unlink-comment-author/unlink-comment-author.php Passed 13 tests

The main file in "Unlink Comment Author - Disable Author Link from Comments" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
37 characters long description:
Unlink the author link from comments.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected205 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP23034122
CSS11083

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.27
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%
Functions8
▷ Named functions8100.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.11MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/author.png110.64KB37.40KB▼ 66.20%