78% handl-utm-grabber

Code Review | HandL UTM Grabber / Tracker

WordPress plugin HandL UTM Grabber / Tracker scored78%from 54 tests.

About plugin

  • Plugin page: handl-utm-grabber
  • Plugin version: 2.7.26
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.0-6.3
  • WordPress version: 6.3.1
  • First release: Nov 19, 2015
  • Latest release: Aug 17, 2023
  • Number of updates: 93
  • Update frequency: every 30.4 days
  • Top authors: haktansuren (100%)

Code review

54 tests

User reviews

127 reviews

Install metrics

10,000+ active /144,389 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.05MB] [CPU: ▼6.54ms] Passed 4 tests

A check of server-side resources used by HandL UTM Grabber / Tracker
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.1041.39 ▲1.35
Dashboard /wp-admin3.36 ▲0.0250.54 ▼8.05
Posts /wp-admin/edit.php3.41 ▲0.0546.32 ▼6.54
Add New Post /wp-admin/post-new.php5.95 ▲0.0687.43 ▼12.93
Media Library /wp-admin/upload.php3.28 ▲0.0537.98 ▲4.33

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

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

Browser metrics Passed 4 tests

HandL UTM Grabber / Tracker: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,038 ▲29213.47 ▼0.8813.34 ▲11.7329.85 ▼16.82
Dashboard /wp-admin2,321 ▲1475.55 ▼0.0487.00 ▼2.0247.96 ▲4.01
Posts /wp-admin/edit.php2,179 ▲792.05 ▲0.0838.44 ▲1.2335.92 ▲1.81
Add New Post /wp-admin/post-new.php1,575 ▲4723.08 ▼0.22698.22 ▲84.3658.44 ▲9.90
Media Library /wp-admin/upload.php1,482 ▲854.13 ▼0.01112.52 ▲6.8052.15 ▲10.89
Apps /wp-admin/handl-utm-grabber.php?page=handl_apps260.420.0915.12
Knowledge Base /wp-admin/handl-utm-grabber.php?page=handl_kb260.420.085.45
Premium /wp-admin/handl-utm-grabber.php?page=handl_go_premium260.420.086.10
UTM /wp-admin/handl-utm-grabber.php260.420.096.09

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'NF_Abstracts_MergeTags' not found in wp-content/plugins/handl-utm-grabber/external/ninja.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/handl-utm-grabber/external/zapier.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/handl-utm-grabber/external/zapier.php:10

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
    • > GET request to /wp-admin/handl-utm-grabber.php?page=handl_apps
    • > Network (severe)
    wp-admin/handl-utm-grabber.php?page=handl_apps - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/handl-utm-grabber.php?page=handl_kb
    • > Network (severe)
    wp-admin/handl-utm-grabber.php?page=handl_kb - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/handl-utm-grabber.php?page=handl_go_premium
    • > Network (severe)
    wp-admin/handl-utm-grabber.php?page=handl_go_premium - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/handl-utm-grabber.php
    • > Network (severe)
    wp-admin/handl-utm-grabber.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
  • Screenshots: Please add an image for screenshot #1 (Zapier Integration)
The official readme.txt might help

handl-utm-grabber/handl-utm-grabber.php Passed 13 tests

This is the main PHP file of "HandL UTM Grabber / Tracker" version 2.7.26, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
54 characters long description:
The easiest way to capture UTMs on your (optin) forms.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected3,069 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP55263552,698
CSS1400202
JavaScript33513169

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.53
Average class complexity43.67
▷ Minimum class complexity1.00
▷ Maximum class complexity246.00
Average method complexity4.90
▷ Minimum method complexity1.00
▷ Maximum method complexity63.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods99
▷ Static methods11.01%
▷ Public methods8484.85%
▷ Protected methods1515.15%
▷ Private methods00.00%
Functions57
▷ Named functions5087.72%
▷ Anonymous functions712.28%
Constants24
▷ Global constants24100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 0.94MB with 0.65MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/gclid_reporter.png65.82KB20.40KB▼ 69.01%
screenshot-11.png171.39KB47.03KB▼ 72.56%
screenshot-8.png197.04KB55.57KB▼ 71.80%
screenshot-5.png142.24KB47.10KB▼ 66.89%
screenshot-9.png147.89KB49.79KB▼ 66.34%