Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲4.65MB] [CPU: ▲43.90ms] Passed 4 tests
Analyzing server-side resources used by ELEX WordPress HelpDesk & Customer Ticketing System
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.97 ▲4.50 | 150.47 ▲108.85 |
Dashboard /wp-admin | 8.01 ▲4.67 | 88.91 ▲30.84 |
Posts /wp-admin/edit.php | 8.14 ▲4.78 | 136.18 ▲85.51 |
Add New Post /wp-admin/post-new.php | 10.58 ▲4.69 | 118.32 ▲14.09 |
Media Library /wp-admin/upload.php | 7.95 ▲4.72 | 79.63 ▲45.17 |
Agents /wp-admin/admin.php?page=wsdesk_agents | 8.03 | 137.31 |
Reports /wp-admin/admin.php?page=wsdesk_reports | 7.93 | 70.01 |
E-Mail /wp-admin/admin.php?page=wsdesk_email | 7.99 | 81.11 |
Go Premium! /wp-admin/admin.php?page=wsdesk_premium | 7.94 | 123.21 |
Tickets /wp-admin/admin.php?page=wsdesk_tickets | 8.20 | 84.13 |
Settings /wp-admin/admin.php?page=wsdesk_settings | 8.10 | 112.09 |
Server storage [IO: ▲12.44MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2,227 new files
Database: 6 new tables, 9 new options
New tables |
---|
wp_wsdesk_settings |
wp_wsdesk_archived_ticketsmeta |
wp_wsdesk_settingsmeta |
wp_wsdesk_ticketsmeta |
wp_wsdesk_archived_tickets |
wp_wsdesk_tickets |
New WordPress options |
---|
widget_recent-comments |
wsdesk_setup_wizard |
widget_recent-posts |
theysaidso_admin_options |
wsdesk_version_ |
widget_theysaidso_widget |
elex-helpdesk-customer-support-ticket-system/elex-helpdesk-customer-support-ticket-system.php_activation_date |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by ELEX WordPress HelpDesk & Customer Ticketing System
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,078 ▲292 | 14.34 ▲0.00 | 1.90 ▲0.14 | 42.62 ▲0.30 |
Dashboard /wp-admin | 2,453 ▲273 | 5.54 ▼0.13 | 90.59 ▼1.52 | 43.12 ▲4.05 |
Posts /wp-admin/edit.php | 2,362 ▲280 | 2.14 ▲0.16 | 36.71 ▲1.18 | 38.49 ▲3.47 |
Add New Post /wp-admin/post-new.php | 1,787 ▲261 | 23.31 ▼0.22 | 696.76 ▲15.84 | 63.71 ▲16.08 |
Media Library /wp-admin/upload.php | 1,661 ▲264 | 4.16 ▼0.04 | 107.66 ▲6.35 | 52.27 ▲5.13 |
Agents /wp-admin/admin.php?page=wsdesk_agents | 1,521 | 2.64 | 68.34 | 36.18 |
Reports /wp-admin/admin.php?page=wsdesk_reports | 1,319 | 5.39 | 272.28 | 41.02 |
E-Mail /wp-admin/admin.php?page=wsdesk_email | 1,996 | 2.92 | 44.76 | 49.34 |
Go Premium! /wp-admin/admin.php?page=wsdesk_premium | 1,382 | 2.00 | 25.00 | 42.87 |
Tickets /wp-admin/admin.php?page=wsdesk_tickets | 3,571 | 5.18 | 125.72 | 41.72 |
Settings /wp-admin/admin.php?page=wsdesk_settings | 4,474 | 3.49 | 65.03 | 43.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 6 tables in the database
- wp_wsdesk_ticketsmeta
- wp_wsdesk_settings
- wp_wsdesk_settingsmeta
- wp_wsdesk_archived_ticketsmeta
- wp_wsdesk_tickets
- wp_wsdesk_archived_tickets
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- wsdesk_setup_wizard
- wsdesk_version_
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- elex-helpdesk-customer-support-ticket-system/elex-helpdesk-customer-support-ticket-system.php_activation_date
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/elex-helpdesk-customer-support-ticket-system/review_and_troubleshoot_notify/resources/logo.php
- > /wp-content/plugins/elex-helpdesk-customer-support-ticket-system/views/tickets/eh_crm_table_loader.php
- > /wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/zendesk/zendesk_api_client_php/tests/bootstrap.php
- > /wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/zendesk/zendesk_api_client_php/index.php
- 585× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerInterface' not found in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/illuminate/contracts/Container/Container.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Doctrine\\Inflector\\WordInflector' not found in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Carbon\\Exceptions\\InvalidArgumentException' not found in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php:16
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/nesbot/carbon/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/nesbot/carbon/sponsors.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php:18
- > PHP Fatal error
Uncaught Error: Interface 'Illuminate\\Contracts\\Support\\CanBeEscapedWhenCastToString' not found in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/illuminate/collections/LazyCollection.php:14
- > PHP Fatal error
Uncaught ReflectionException: Class Symfony\\Component\\Translation\\Translator does not exist in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/nesbot/carbon/src/Carbon/Translator.php:22
- > PHP Fatal error
Uncaught Error: Class 'Zendesk\\API\\Resources\\ResourceAbstract' not found in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/zendesk/zendesk_api_client_php/src/Zendesk/API/Resources/Core/UserFields.php:12
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Support\\Facades\\Facade' not found in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/illuminate/support/Facades/Storage.php:48
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Support\\Facades\\Facade' not found in wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/illuminate/support/Facades/Date.php:88
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wsdesk_tickets
- > Deprecation (warning) in unknown
/wp-content/plugins/elex-helpdesk-customer-support-ticket-system/assets/js/quill.min.js?ver=3.1.2 6 Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: ticket system, support ticket, tickets, woocommerce, helpdesk
elex-helpdesk-customer-support-ticket-system/elex-helpdesk-customer-support-ticket-system.php 92% from 13 tests
The main PHP script in "ELEX WordPress HelpDesk & Customer Ticketing System" version 3.2.1 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Almost there! Just fix the following issues
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/bin/carbon.bat
- ☣ wp-content/plugins/elex-helpdesk-customer-support-ticket-system/vendor/nesbot/carbon/bin/carbon.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,757 | 17,009 | 48,982 | 101,151 |
JSON | 31 | 1 | 0 | 17,459 |
JavaScript | 26 | 1,026 | 394 | 15,960 |
PO File | 13 | 6,190 | 10,563 | 15,838 |
Markdown | 35 | 2,020 | 1 | 5,526 |
XSD | 4 | 99 | 76 | 4,991 |
CSS | 24 | 157 | 71 | 3,434 |
XML | 18 | 15 | 4 | 394 |
reStructuredText | 1 | 74 | 78 | 74 |
YAML | 7 | 7 | 2 | 50 |
Qt Linguist | 1 | 0 | 0 | 10 |
DOS Batch | 2 | 0 | 0 | 9 |
make | 1 | 2 | 1 | 4 |
INI | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 201)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 511.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 201.00 |
Code structure | ||
---|---|---|
Namespaces | 133 | |
Interfaces | 167 | |
Traits | 55 | |
Classes | 613 | |
▷ Abstract classes | 27 | 4.40% |
▷ Concrete classes | 586 | 95.60% |
▷ Final classes | 67 | 11.43% |
Methods | 5,229 | |
▷ Static methods | 947 | 18.11% |
▷ Public methods | 4,618 | 88.32% |
▷ Protected methods | 352 | 6.73% |
▷ Private methods | 259 | 4.95% |
Functions | 971 | |
▷ Named functions | 204 | 21.01% |
▷ Anonymous functions | 767 | 78.99% |
Constants | 286 | |
▷ Global constants | 28 | 9.79% |
▷ Class constants | 258 | 90.21% |
▷ Public constants | 245 | 94.96% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
39 PNG files occupy 1.31MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/dynamic_pricing.png | 90.78KB | 22.92KB | ▼ 74.75% |
assets/img/message_icon.png | 2.14KB | 1.31KB | ▼ 38.68% |
assets/img/wschat.png | 99.98KB | 24.89KB | ▼ 75.10% |
assets/img/gpf.png | 80.41KB | 19.81KB | ▼ 75.37% |
assets/css/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |