69% support-x

Code Review | CRM Perks - Wordpress HelpDesk Integration - Zendesk, Freshdesk, HelpScout

WordPress plugin CRM Perks - Wordpress HelpDesk Integration - Zendesk, Freshdesk, HelpScout scored69%from 54 tests.

About plugin

  • Plugin page: support-x
  • Plugin version: 1.1.4
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.3
  • WordPress version: 6.3.1
  • First release: Aug 18, 2018
  • Latest release: Aug 10, 2023
  • Number of updates: 24
  • Update frequency: every 81.4 days
  • Top authors: CRMPerks (87.5%)asif876 (16.67%)

Code review

54 tests

User reviews

4 reviews

Install metrics

100+ active /3,549 total downloads

Benchmarks

Plugin footprint 48% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.17MB] [CPU: ▼3.13ms] Passed 4 tests

This is a short check of server-side resources used by CRM Perks - Wordpress HelpDesk Integration - Zendesk, Freshdesk, HelpScout
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1239.70 ▲3.09
Dashboard /wp-admin3.50 ▲0.2045.15 ▼1.52
Posts /wp-admin/edit.php3.61 ▲0.2648.51 ▼1.57
Add New Post /wp-admin/post-new.php6.08 ▲0.1981.80 ▼11.98
Media Library /wp-admin/upload.php3.42 ▲0.1936.15 ▲2.56

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for CRM Perks - Wordpress HelpDesk Integration - Zendesk, Freshdesk, HelpScout
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲5914.35 ▲1.121.68 ▲0.0343.82 ▲3.89
Dashboard /wp-admin2,208 ▲285.63 ▲0.0989.52 ▼1.0338.98 ▼5.74
Posts /wp-admin/edit.php2,116 ▲162.03 ▲0.0538.35 ▲0.8136.90 ▲0.81
Add New Post /wp-admin/post-new.php1,541 ▲423.11 ▲4.86670.13 ▲40.5258.75 ▼29.60
Media Library /wp-admin/upload.php1,416 ▲164.23 ▲0.0796.77 ▲2.9544.45 ▲1.99

Uninstaller [IO: ▲0.13MB] [DB: ▲0.07MB] 25% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-content/plugins/support-x/uninstall.php+10
    Undefined variable: vx_support_x
  • Incomplete uninstall procedure, leaving 17 files (0.13MB) in the plugin directory
    • (new file) includes/freshdesk-api.php
    • (new file) support-x.php
    • (new file) includes/helpscout-api.php
    • (new file) languages/support-x.pot
    • (new file) readme.txt
    • (new file) images/guest.png
    • (new file) includes/admin-pages.php
    • (new file) includes/zendesk-api.php
    • (new file) includes/teamwork-api.php
    • (new file) images/ajx.gif
    • ...
  • Zombie WordPress options were found after uninstall: 7 options
    • recovery_mode_email_last_sent
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
No output text or server-side errors detected on direct access of PHP files

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

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: helpscout, helpdesk, support, zendesk, freshdesk

support-x/support-x.php 92% from 13 tests

The main PHP script in "CRM Perks - Wordpress HelpDesk Integration - Zendesk, Freshdesk, HelpScout" version 1.1.4 is automatically included on every request by WordPress
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 149 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin3,187 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP135252513,187

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity71.86
▷ Minimum class complexity2.00
▷ Maximum class complexity137.00
Average method complexity5.77
▷ Minimum method complexity1.00
▷ Maximum method complexity47.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods104
▷ Static methods87.69%
▷ Public methods10197.12%
▷ Protected methods00.00%
▷ Private methods32.88%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
(invalid) images/guest.png1.49KB0.00KB▼ 100.00%