72% comment-link-remove

Code Review | Comment Link Remove and Other Comment Tools

WordPress plugin Comment Link Remove and Other Comment Tools scored72%from 54 tests.

About plugin

  • Plugin page: comment-link-remove
  • Plugin version: 2.3.4
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4
  • WordPress version: 6.3.1
  • First release: Oct 27, 2016
  • Latest release: Nov 24, 2023
  • Number of updates: 69
  • Update frequency: every 37.5 days
  • Top authors: quantumcloud (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

10,000+ active /176,345 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.58MB] [CPU: ▼1.35ms] Passed 4 tests

Analyzing server-side resources used by Comment Link Remove and Other Comment Tools
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.93 ▲0.4742.47 ▼4.46
Dashboard /wp-admin3.95 ▲0.6550.03 ▼4.95
Posts /wp-admin/edit.php4.00 ▲0.6554.11 ▲2.96
Add New Post /wp-admin/post-new.php6.49 ▲0.6099.92 ▲6.98
Media Library /wp-admin/upload.php3.81 ▲0.5838.40 ▲1.04
Comment Mention /wp-admin/admin.php?page=qcclr_comment_mention3.7735.66
Email Subscription /wp-admin/admin.php?page=email-subscriptions3.8235.42
AI Auto Reply Comments /wp-admin/admin.php?page=qcclr_comment_autoreply3.7835.20
Commenter Emails /wp-admin/admin.php?page=commenter-emails3.7832.33
Comment Spam Protection /wp-admin/admin.php?page=qcld_clr_config3.7739.69
Comment Attachment Settings /wp-admin/admin.php?page=clr-comment-attachment3.7837.32
Support /wp-admin/admin.php?page=qcclr_comment_supports3.7833.97
QC CLR Settings /wp-admin/admin.php?page=comment-link-remove3.7944.90

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Comment Link Remove and Other Comment Tools
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,875 ▲12814.70 ▲0.501.82 ▲0.1132.55 ▼13.36
Dashboard /wp-admin2,252 ▲725.64 ▼0.02100.59 ▲11.9646.08 ▲5.99
Posts /wp-admin/edit.php2,163 ▲632.04 ▲0.0341.02 ▲2.0237.78 ▲4.97
Add New Post /wp-admin/post-new.php1,575 ▲4922.77 ▼0.85604.33 ▼51.7059.05 ▲9.77
Media Library /wp-admin/upload.php1,463 ▲604.25 ▲0.10102.75 ▲4.6343.27 ▼2.26
Comment Mention /wp-admin/admin.php?page=qcclr_comment_mention7501.719.9921.36
Email Subscription /wp-admin/admin.php?page=email-subscriptions9362.0928.3747.08
AI Auto Reply Comments /wp-admin/admin.php?page=qcclr_comment_autoreply1,0742.2431.8235.92
Commenter Emails /wp-admin/admin.php?page=commenter-emails9962.3829.8232.03
Comment Spam Protection /wp-admin/admin.php?page=qcld_clr_config9702.2430.9035.13
Comment Attachment Settings /wp-admin/admin.php?page=clr-comment-attachment1,6801.8728.9037.45
Support /wp-admin/admin.php?page=qcclr_comment_supports1,5901.8437.1771.89
QC CLR Settings /wp-admin/admin.php?page=comment-link-remove1,7522.2930.0155.72

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • recovery_mode_email_last_sent
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
    • > GET request to /wp-admin/admin.php?page=qcclr_comment_mention
    • > Error in wp-content/plugins/comment-link-remove/qc-clr-mention-comments.php+18
    Uncaught Error: Call to undefined function qcclr_mail_subject() in wp-content/plugins/comment-link-remove/qc-clr-mention-comments.php:18
    Stack trace:
    #0 wp-includes/class-wp-hook.php(310): qcclr_comment_mention_admin_settings()
    #1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 wp-admin/admin.php(259): do_action()
    #4 {main}
    thrown

SRP 0% 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 fix the following items
  • 8× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/comment-link-remove/qc-clr-email-subscription.php
    • > /wp-content/plugins/comment-link-remove/qc-clr-assets.php
    • > /wp-content/plugins/comment-link-remove/qc-clr-mention-comments.php
    • > /wp-content/plugins/comment-link-remove/class-qcld-free-plugin-upgrade-notice.php
    • > /wp-content/plugins/comment-link-remove/qc-clr-settings.php
    • > /wp-content/plugins/comment-link-remove/qc-clr-main.php
    • > /wp-content/plugins/comment-link-remove/qc-clr-comments-auto-reply.php
    • > /wp-content/plugins/comment-link-remove/qc-clr-cookies-for-comments.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/comment-link-remove/qc-support-promo-page/class-qc-support-promo-page.php:8

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: disable comment link, disable comments, comments, spam protection, anti spam...

comment-link-remove/qc-clr-main.php 85% from 13 tests

"Comment Link Remove and Other Comment Tools" version 2.3.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("comment-link-remove.php" instead of "qc-clr-main.php")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

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
No dangerous file extensions were detected48,204 lines of code in 32 files:
LanguageFilesBlank linesComment linesLines of code
JSON10016,640
CSS621810015,008
SVG811513,876
PHP116562862,475
JavaScript67542205

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity57.00
▷ Minimum class complexity14.00
▷ Maximum class complexity117.00
Average method complexity2.79
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods94
▷ Static methods00.00%
▷ Public methods94100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions25
▷ Named functions25100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants583.33%
▷ Class constants116.67%
▷ Public constants1100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
42 PNG files occupy 0.99MB with 0.62MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
qc-support-promo-page/images/icon.png31.48KB11.39KB▼ 63.81%
qc-support-promo-page/images/image-tools-pro.png41.19KB13.56KB▼ 67.07%
qc-support-promo-page/images/sld-icon-256x256.png24.41KB11.18KB▼ 54.18%
qc-support-promo-page/images/chatbot-addons.png44.04KB15.24KB▼ 65.40%
qc-support-promo-page/images/express-shop.png41.74KB15.12KB▼ 63.78%