73% helpgent

Code Review | HelpGent - Your Ultimate Help Agent for Conversational Form. Craft Multi Step Form with Video, Voice, Screen Recording, & Text Messaging Features

WordPress plugin HelpGent - Your Ultimate Help Agent for Conversational Form. Craft Multi Step Form with Video, Voice, Screen Recording, & Text Messaging Features scored73%from 54 tests.

About plugin

  • Plugin page: helpgent
  • Plugin version: 2.0.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.4
  • WordPress version: 6.3.1
  • First release: Nov 23, 2022
  • Latest release: Nov 23, 2023
  • Number of updates: 30
  • Update frequency: every 12.4 days
  • Top authors: rafiq91 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /1,990 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.26MB] [CPU: ▼1.62ms] Passed 4 tests

An overview of server-side resources used by HelpGent - Your Ultimate Help Agent for Conversational Form. Craft Multi Step Form with Video, Voice, Screen Recording, & Text Messaging Features
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.87 ▲0.4048.26 ▲6.23
Dashboard /wp-admin3.50 ▲0.2048.33 ▼11.09
Posts /wp-admin/edit.php3.62 ▲0.2649.59 ▲1.57
Add New Post /wp-admin/post-new.php6.30 ▲0.4292.75 ▼3.18
Media Library /wp-admin/upload.php3.42 ▲0.2040.65 ▲8.87
All Forms /wp-admin/admin.php?page=helpgent3.4741.91

Server storage [IO: ▲4.01MB] [DB: ▲0.02MB] 67% from 3 tests

A short overview of filesystem and database impact
Just a few items left to fix
  • There were 9 files (261.38KB) illegally modified outside of "wp-content/plugins/helpgent/" and "wp-content/uploads/"
    • (new file) wp-content/helpgent-font-family/inter-bold.woff2
    • (new file) wp-content/helpgent-font-family/inter-bold.woff
    • (new file) wp-content/helpgent-font-family/inter-semibold.woff2
    • (new file) wp-content/helpgent-font-family/inter-regular.woff
    • (modified) .htaccess
    • (new file) wp-content/helpgent-font-family/inter-regular.woff2
    • (new file) wp-content/helpgent-font-family/inter-semibold.woff
    • (new file) wp-content/helpgent-font-family/inter-medium.woff2
    • (new file) wp-content/helpgent-font-family/inter-medium.woff
Filesystem: 421 new files
Database: 19 new tables, 12 new options
New tables
wp_helpgent_attachments
wp_helpgent_messages
wp_helpgent_guest_users
wp_helpgent_tags
wp_helpgent_form_meta
wp_helpgent_response_tag
wp_helpgent_open_ended_text_inners
wp_helpgent_guest_user_meta
wp_helpgent_contact_info
wp_helpgent_forms
...
New WordPress options
helpgent-settings
helpgent_is_running_background_media_transfer_process
widget_recent-posts
helpgent_is_complete_font_family_download
helpgent_migrations
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
helpgent_is_running_background_process
db_upgraded
...

Browser metrics Passed 4 tests

An overview of browser requirements for HelpGent - Your Ultimate Help Agent for Conversational Form. Craft Multi Step Form with Video, Voice, Screen Recording, & Text Messaging Features
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,004 ▲24222.49 ▲8.15201.73 ▲199.7228.15 ▼15.25
Dashboard /wp-admin2,278 ▲1015.52 ▼0.1487.69 ▼4.9543.89 ▼1.57
Posts /wp-admin/edit.php2,183 ▲832.03 ▲0.0335.32 ▼4.5032.51 ▼1.37
Add New Post /wp-admin/post-new.php1,566 ▲4023.13 ▼0.20675.65 ▲53.6254.06 ▲0.38
Media Library /wp-admin/upload.php1,474 ▲744.15 ▼0.02101.36 ▲4.2846.01 ▲4.84
All Forms /wp-admin/admin.php?page=helpgent1,45213.74206.1851.22

Uninstaller [IO: ▲0.25MB] [DB: ▲0.02MB] 50% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The plugin did not uninstall successfully, leaving 19 tables in the database
    • wp_helpgent_attachment_upload_sessions
    • wp_helpgent_messages
    • wp_helpgent_response_attachment
    • wp_helpgent_response_meta
    • wp_helpgent_response_tag
    • wp_helpgent_open_ended_text_inners
    • wp_helpgent_form_meta
    • wp_helpgent_attachments
    • wp_helpgent_attachment_transfer_queues
    • wp_helpgent_message_forwards
    • ...
  • Zombie WordPress options were found after uninstall: 12 options
    • can_compress_scripts
    • helpgent_is_running_background_process
    • helpgent_migrations
    • helpgent_is_complete_font_family_download
    • widget_recent-posts
    • helpgent_media_migration_status
    • widget_theysaidso_widget
    • helpgent-settings
    • helpgent_is_running_background_media_transfer_process
    • widget_recent-comments
    • ...

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

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
The following issues need your attention
  • 196× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'HelpGent\\App\\Http\\Controllers\\Controller' not found in wp-content/plugins/helpgent/app/Http/Controllers/Admin/PageController.php:11
    • > PHP Fatal error
      Uncaught Error: Interface 'HelpGent\\WaxFramework\\Contracts\\Provider' not found in wp-content/plugins/helpgent/app/Providers/LocalizationServiceProvider.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function helpgent_render() in wp-content/plugins/helpgent/resources/views/form-preview-notice.php:38
    • > PHP Fatal error
      Uncaught Error: Interface 'HelpGent\\DI\\Definition\\Source\\DefinitionSource' not found in wp-content/plugins/helpgent/vendor/vendor-src/php-di/php-di/src/Definition/Source/ReflectionBasedAutowiring.php:15
    • > PHP Fatal error
      Uncaught Error: Interface 'HelpGent\\Laravel\\SerializableClosure\\Contracts\\Signer' not found in wp-content/plugins/helpgent/vendor/vendor-src/laravel/serializable-closure/src/Signers/Hmac.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'HelpGent\\Invoker\\Exception\\InvocationException' not found in wp-content/plugins/helpgent/vendor/vendor-src/php-di/invoker/src/Exception/NotEnoughParametersException.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'HelpGent\\App\\Http\\Controllers\\Controller' not found in wp-content/plugins/helpgent/app/Http/Controllers/Admin/UserController.php:11
    • > PHP Fatal error
      Uncaught Error: Class 'HelpGent\\App\\BackgroundProcessors\\CoreBackgroundProcess' not found in wp-content/plugins/helpgent/app/BackgroundProcessors/BackgroundMediaTransferProcess.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'HelpGent\\WaxFramework\\Routing\\Providers\\RouteServiceProvider' not found in wp-content/plugins/helpgent/vendor/vendor-src/waxframework/framework/src/Providers/RouteServiceProvider.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'HelpGent\\Database\\Migrations\\V1\\MigratorBase' not found in wp-content/plugins/helpgent/database/Migrations/V1/SettingsMigrator.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
  • Screenshots: These screenshots lack descriptions #1, #10, #11, #12, #13, #14, #2, #3, #4, #5, #6, #7, #8, #9 in helpgent/assets to your readme.txt
Please take inspiration from this readme.txt

helpgent/helpgent.php 92% from 13 tests

The entry point to "HelpGent - Your Ultimate Help Agent for Conversational Form. Craft Multi Step Form with Video, Voice, Screen Recording, & Text Messaging Features" version 2.0.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 167 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin51,516 lines of code in 409 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript455053,78529,519
PHP3584,0094,79521,058
JSON200898
SVG20139
CSS2102

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity8.68
▷ Minimum class complexity1.00
▷ Maximum class complexity318.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity63.00
Code structure
Namespaces67
Interfaces22
Traits1
Classes281
▷ Abstract classes124.27%
▷ Concrete classes26995.73%
▷ Final classes31.12%
Methods1,667
▷ Static methods19611.76%
▷ Public methods1,45086.98%
▷ Protected methods1539.18%
▷ Private methods643.84%
Functions136
▷ Named functions6144.85%
▷ Anonymous functions7555.15%
Constants36
▷ Global constants513.89%
▷ Class constants3186.11%
▷ Public constants2993.55%

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
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
(invalid) assets/build/images/user-placeholder.7c28a1aa.png2.08KB0.00KB▼ 100.00%
assets/build/images/placeholder.2549b5c4.png1.26KB0.40KB▼ 68.19%
(invalid) assets/img/user-placeholder.png2.08KB0.00KB▼ 100.00%
assets/img/permission.png5.68KB1.96KB▼ 65.44%
assets/img/placeholder.png1.26KB0.40KB▼ 68.19%