Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲1.27MB] [CPU: ▲5.84ms] Passed 4 tests
Server-side resources used by JS Help Desk - Best Help Desk & Support Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.25 ▲1.79 | 54.17 ▲16.67 |
Dashboard /wp-admin | 4.57 ▲1.23 | 55.97 ▼2.60 |
Posts /wp-admin/edit.php | 4.69 ▲1.33 | 55.82 ▲8.96 |
Add New Post /wp-admin/post-new.php | 7.16 ▲1.26 | 95.04 ▲2.14 |
Media Library /wp-admin/upload.php | 4.50 ▲1.27 | 47.15 ▲14.87 |
Help Desk /wp-admin/admin.php?page=jssupportticket | 6.93 | 241.12 |
System Emails /wp-admin/admin.php?page=email | 6.50 | 55.44 |
Themes /wp-admin/admin.php?page=themes | 4.68 | 45.16 |
Premium Addon /wp-admin/admin.php?page=agent | 6.06 | 52.20 |
Premium Addon /wp-admin/admin.php?page=announcement | 6.06 | 53.28 |
Slug /wp-admin/admin.php?page=slug | 6.17 | 57.82 |
Post Installation /wp-admin/admin.php?page=postinstallation | 5.44 | 492.55 |
Roles /wp-admin/admin.php?page=role | 6.11 | 60.80 |
Configurations /wp-admin/admin.php?page=configuration | 7.05 | 82.44 |
Reports /wp-admin/admin.php?page=reports | 6.09 | 62.66 |
Server storage [IO: ▲13.18MB] [DB: ▲0.15MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 1,121 new files
Database: 14 new tables, 9 new options
New tables |
---|
wp_js_ticket_email |
wp_js_ticket_config |
wp_js_ticket_erasedatarequests |
wp_js_ticket_system_errors |
wp_js_ticket_users |
wp_js_ticket_priorities |
wp_js_ticket_attachments |
wp_js_ticket_replies |
wp_js_ticket_tickets |
wp_js_ticket_fieldsordering |
... |
New WordPress options |
---|
can_compress_scripts |
jssupportticket_show_review_box_after |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
jssupport_post_installation |
_wpjshd_session_ |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for JS Help Desk - Best Help Desk & Support Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,131 ▲385 | 13.99 ▼0.63 | 12.15 ▲10.36 | 38.89 ▼0.59 |
Dashboard /wp-admin | 2,380 ▲206 | 5.78 ▲0.21 | 84.34 ▼1.83 | 73.18 ▲32.62 |
Posts /wp-admin/edit.php | 2,304 ▲204 | 2.25 ▲0.25 | 31.87 ▼5.43 | 42.04 ▲5.26 |
Add New Post /wp-admin/post-new.php | 1,713 ▲187 | 20.98 ▼2.14 | 677.19 ▲16.45 | 39.96 ▼13.72 |
Media Library /wp-admin/upload.php | 1,591 ▲191 | 4.51 ▲0.34 | 92.63 ▼5.78 | 83.25 ▲43.20 |
Help Desk /wp-admin/admin.php?page=jssupportticket | 3,371 | 6.30 | 66.44 | 201.00 |
System Emails /wp-admin/admin.php?page=email | 2,049 | 2.29 | 47.00 | 86.12 |
Themes /wp-admin/admin.php?page=themes | 3,067 | 2.99 | 67.08 | 110.12 |
Premium Addon /wp-admin/admin.php?page=agent | 1,975 | 2.31 | 42.45 | 78.53 |
Premium Addon /wp-admin/admin.php?page=announcement | 1,978 | 2.29 | 41.88 | 84.63 |
Slug /wp-admin/admin.php?page=slug | 2,303 | 2.35 | 41.87 | 90.34 |
Post Installation /wp-admin/admin.php?page=postinstallation | 1,226 | 1.82 | 24.19 | 44.07 |
Roles /wp-admin/admin.php?page=role | 2,032 | 2.46 | 46.32 | 98.60 |
Configurations /wp-admin/admin.php?page=configuration | 5,356 | 9.53 | 197.04 | 178.73 |
Reports /wp-admin/admin.php?page=reports | 2,012 | 2.43 | 42.23 | 71.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_js_ticket_jshdsessiondata
- Zombie WordPress options detected upon uninstall: 9 options
- jssupportticket_show_review_box_after
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- jssupport_post_installation
- _wpjshd_session_
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=themes
- > Notice in wp-content/plugins/js-support-ticket/modules/themes/tpls/admin_themes.php+23
Trying to access array offset on value of type null
SRP 50% from 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
The following issues need your attention
- 149× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/js-support-ticket/modules/email/tpls/admin_addemail.php
- > /wp-content/plugins/js-support-ticket/includes/formfield.php
- > /wp-content/plugins/js-support-ticket/includes/ajax.php
- > /wp-content/plugins/js-support-ticket/modules/gdpr/tpls/adderasedatarequest.php
- > /wp-content/plugins/js-support-ticket/modules/fieldordering/tpls/admin_adduserfeild.php
- > /wp-content/plugins/js-support-ticket/includes/tables/config.php
- > /wp-content/plugins/js-support-ticket/includes/recaptchalib.php
- > /wp-content/plugins/js-support-ticket/modules/priority/tpls/admin_priorities.php
- > /wp-content/plugins/js-support-ticket/modules/systemerror/controller.php
- > /wp-content/plugins/js-support-ticket/modules/reports/tpls/admin_departmentreport.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=jssupportticket
- > Network (severe)
wp-content/plugins/js-support-ticket/includes/images/admincp/addon/tickets.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=postinstallation
- > Network (severe)
wp-content/plugins/js-support-ticket/includes/images/bg.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
js-support-ticket/js-support-ticket.php 92% from 13 tests
This is the main PHP file of "JS Help Desk - Best Help Desk & Support Plugin" version 2.8.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 339 characters long)
Code Analysis 97% from 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
No dangerous file extensions were detected115,058 lines of code in 340 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 28,072 | 195 | 56,587 |
PHP | 202 | 3,406 | 2,164 | 48,790 |
CSS | 13 | 296 | 387 | 5,550 |
JavaScript | 13 | 487 | 657 | 3,361 |
SQL | 97 | 92 | 0 | 541 |
SVG | 1 | 0 | 0 | 229 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 352)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 46.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 546.00 |
Average method complexity | 6.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 352.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 78 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 78 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 696 | |
▷ Static methods | 157 | 22.56% |
▷ Public methods | 663 | 95.26% |
▷ Protected methods | 1 | 0.14% |
▷ Private methods | 32 | 4.60% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
713 compressed PNG files occupy 3.80MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/user fields.png | 0.70KB | 0.74KB | 0.00% |
includes/images/postinstallation/close-icon.png | 0.25KB | 0.26KB | 0.00% |
includes/images/addon-images/addons/mergeticket.png | 1.10KB | 1.12KB | 0.00% |
includes/images/admincp/mail-settings.png | 1.60KB | 1.62KB | 0.00% |
includes/images/forum.png | 0.34KB | 0.34KB | 0.00% |