74% support-genix-lite

Code Review | Support Genix – Support Tickets Managing System & Helpdesk Plugin for WordPress and WooCommerce

WordPress plugin Support Genix – Support Tickets Managing System & Helpdesk Plugin for WordPress and WooCommerce scored74%from 54 tests.

About plugin

  • Plugin page: support-genix-lite
  • Plugin version: 1.1.9
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Jun 29, 2022
  • Latest release: Oct 25, 2023
  • Number of updates: 31
  • Update frequency: every 15.6 days
  • Top authors: palscode (93.55%)sarwarcse (9.68%)

Code review

54 tests

User reviews

3 reviews

Install metrics

300+ active /9,274 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.70MB] [CPU: ▲57.76ms] Passed 4 tests

An overview of server-side resources used by Support Genix – Support Tickets Managing System & Helpdesk Plugin for WordPress and WooCommerce
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /4.14 ▲0.6857.82 ▲19.62
Dashboard /wp-admin4.01 ▲0.71127.07 ▲80.77
Posts /wp-admin/edit.php4.04 ▲0.69115.13 ▲66.05
Add New Post /wp-admin/post-new.php6.94 ▲1.05169.18 ▲83.16
Media Library /wp-admin/upload.php3.94 ▲0.7199.37 ▲64.60

Server storage [IO: ▲14.85MB] [DB: ▲0.03MB] Passed 3 tests

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 437 new files
Database: 14 new tables, 12 new options
New tables
wp_apbd_wps_ticket
wp_apbd_wps_notification
wp_apbd_wps_ticket_category
wp_apbd_wps_custom_field
wp_apbd_wps_debug_log
wp_apbd_wps_canned_msg
wp_apbd_wps_ticket_assign_rule
wp_apbd_wps_notes
wp_apbd_wps_ticket_reply
wp_apbd_wps_email_templates
...
New WordPress options
apbd_support_genix_new_activation
db_upgraded
APBD_pv_support-genix-lite
can_compress_scripts
apbd_support_genix_lite_new_activation
widget_recent-posts
widget_recent-comments
apbd_wps_ticket_page_id
apbd_wps_default_assign_role_added
apbd-wp-support_o_Apbd_wps_settings
...

Browser metrics Passed 4 tests

A check of browser resources used by Support Genix – Support Tickets Managing System & Helpdesk Plugin for WordPress and WooCommerce
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,915 ▲15413.47 ▼1.058.25 ▲6.8441.54 ▲1.63
Dashboard /wp-admin2,235 ▲555.65 ▲0.0886.72 ▼1.9344.29 ▲5.14
Posts /wp-admin/edit.php2,138 ▲382.00 ▲0.0137.19 ▼2.7836.30 ▼2.79
Add New Post /wp-admin/post-new.php1,563 ▲3718.09 ▼5.45612.00 ▲31.6779.98 ▲28.56
Media Library /wp-admin/upload.php1,435 ▲414.27 ▲0.10100.43 ▲5.4342.47 ▲1.48

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • The uninstall procedure failed, leaving 14 tables in the database
    • wp_apbd_wps_ticket
    • wp_apbd_wps_email_templates
    • wp_apbd_wps_debug_log
    • wp_apbd_wps_custom_field
    • wp_apbd_wps_notification
    • wp_apbd_wps_ticket_reply
    • wp_apbd_wps_canned_msg
    • wp_apbd_wps_support_meta
    • wp_apbd_wps_ticket_log
    • wp_apbd_wps_role
    • ...
  • Zombie WordPress options detected upon uninstall: 12 options
    • theysaidso_admin_options
    • apbd_wps_default_assign_role_added
    • APBD_pv_support-genix-lite
    • db_upgraded
    • apbd_support_genix_new_activation
    • can_compress_scripts
    • apbd-wp-support_o_Apbd_wps_settings
    • widget_recent-posts
    • widget_theysaidso_widget
    • apbd_support_genix_lite_new_activation
    • ...

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
  • 71× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'AppsBDLiteModule' not found in wp-content/plugins/support-genix-lite/modules/Apbd_wps_mailbox.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'jQGrid' not found in wp-content/plugins/support-genix-lite/views/apbd_wps_ticket_category/main.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'Mapbd_wps_canned_msg' not found in wp-content/plugins/support-genix-lite/views/apbd_wps_canned_msg/add.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'AppsBDModel' not found in wp-content/plugins/support-genix-lite/models/database/Mapbd_wps_role_access.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Mapbd_wps_custom_field' not found in wp-content/plugins/support-genix-lite/views/apbd_wps_custom_field/add.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'AppsBDLiteModule' not found in wp-content/plugins/support-genix-lite/modules/Apbd_wps_canned_msg.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Mapbd_wps_ticket_category' not found in wp-content/plugins/support-genix-lite/views/apbd_wps_ticket_category/add.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/support-genix-lite/views/apbd_wps_settings/fileupload.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'AppsBDLiteModule' not found in wp-content/plugins/support-genix-lite/modules/APBD_wps_email_template.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Mapbd_wps_debug_log' not found in wp-content/plugins/support-genix-lite/views/apbd_wps_debug_log/add.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: tickets, ticket system, support, helpdesk, support ticket

support-genix-lite/support-genix-lite.php Passed 13 tests

The primary PHP file in "Support Genix – Support Tickets Managing System & Helpdesk Plugin for WordPress and WooCommerce" version 1.1.9 is used by WordPress to initiate all plugin functionality
34 characters long description:
Client ticketing app for Wordpress

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
Good job! No executable or dangerous file extensions detected144,349 lines of code in 332 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1348,25014,05150,443
CSS565,52249941,550
PHP892,0391,48116,835
SVG130012,649
PO File115,6658,59112,042
Sass261,2163510,371
LESS32817459

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity37.46
▷ Minimum class complexity1.00
▷ Maximum class complexity365.00
Average method complexity3.16
▷ Minimum method complexity1.00
▷ Maximum method complexity74.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes57
▷ Abstract classes35.26%
▷ Concrete classes5494.74%
▷ Final classes00.00%
Methods965
▷ Static methods19219.90%
▷ Public methods91995.23%
▷ Protected methods363.73%
▷ Private methods101.04%
Functions88
▷ Named functions8090.91%
▷ Anonymous functions89.09%
Constants17
▷ Global constants15.88%
▷ Class constants1694.12%
▷ Public constants16100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
38 PNG files occupy 0.60MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
uilib/grid/css/images/ui-icons_444444_256x240.png6.83KB4.17KB▼ 38.86%
uilib/grid/css/images/ui-icons_777777_256x240.png6.83KB4.17KB▼ 38.92%
images/custom_field/reg_form.png2.35KB1.51KB▼ 35.58%
template/main/regImage.png188.35KB53.86KB▼ 71.41%
images/positions/lb.png2.44KB1.32KB▼ 46.10%