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: ▲0.70MB] [CPU: ▼10.41ms] Passed 4 tests
An overview of server-side resources used by Live Support Tickets, Contact Forms, CRM
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.46 ▲1.00 | 42.98 ▲5.44 |
Dashboard /wp-admin | 4.38 ▲1.04 | 50.76 ▼10.84 |
Posts /wp-admin/edit.php | 4.44 ▲1.08 | 58.03 ▲13.69 |
Add New Post /wp-admin/post-new.php | 5.62 ▼0.26 | 45.50 ▼48.20 |
Media Library /wp-admin/upload.php | 4.24 ▲1.02 | 45.59 ▲11.96 |
Cans /wp-admin/admin.php?page=vw-support-cans | 4.21 | 39.60 |
Conversations /wp-admin/admin.php?page=vw-support-conversations | 4.22 | 40.39 |
Contacts /wp-admin/admin.php?page=vw-support-contacts | 4.21 | 37.70 |
Properties /wp-admin/admin.php?page=vw-support-properties | 4.21 | 35.90 |
Accounts /wp-admin/admin.php?page=vw-support-accounts | 4.22 | 37.43 |
New Conversation /wp-admin/admin.php?page=vw-support-conversation-new | 4.21 | 35.75 |
Form Invite /wp-admin/admin.php?page=vw-support-form-invite | 4.21 | 36.80 |
Settings /wp-admin/admin.php?page=vw-support | 4.22 | 37.11 |
Documentation /wp-admin/admin.php?page=vw-support-documentation | 4.21 | 34.55 |
Plans /wp-admin/admin.php?page=vw-support-plans | 4.23 | 35.68 |
Server storage [IO: ▲9.15MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 95 new files
Database: 8 new tables, 8 new options
New tables |
---|
wp_vws_contacts |
wp_vws_ticket_contacts |
wp_vws_messages |
wp_vws_cans |
wp_vws_properties |
wp_vws_sites |
wp_vws_tickets |
wp_vws_departments |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
VWsupportOptions |
can_compress_scripts |
db_upgraded |
vwSupport_db_version |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Live Support Tickets, Contact Forms, CRM
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,091 ▲345 | 14.00 ▼0.18 | 7.59 ▲5.87 | 91.96 ▲47.33 |
Dashboard /wp-admin | 2,312 ▲126 | 4.85 ▼0.19 | 108.20 ▲1.18 | 41.97 ▼3.62 |
Posts /wp-admin/edit.php | 2,195 ▲106 | 2.06 ▲0.02 | 40.48 ▲1.77 | 37.82 ▲5.53 |
Add New Post /wp-admin/post-new.php | 1,601 ▲56 | 17.46 ▼0.74 | 590.11 ▼26.15 | 57.46 ▼9.18 |
Media Library /wp-admin/upload.php | 1,494 ▲103 | 4.22 ▲0.02 | 94.36 ▼7.32 | 45.74 ▲1.85 |
Cans /wp-admin/admin.php?page=vw-support-cans | 879 | 2.03 | 24.13 | 40.12 |
Conversations /wp-admin/admin.php?page=vw-support-conversations | 1,342 | 6.08 | 138.36 | 71.69 |
Contacts /wp-admin/admin.php?page=vw-support-contacts | 918 | 2.07 | 25.28 | 32.35 |
Properties /wp-admin/admin.php?page=vw-support-properties | 887 | 2.07 | 23.50 | 27.91 |
Accounts /wp-admin/admin.php?page=vw-support-accounts | 862 | 2.03 | 23.66 | 32.60 |
New Conversation /wp-admin/admin.php?page=vw-support-conversation-new | 916 | 2.03 | 24.47 | 31.53 |
Form Invite /wp-admin/admin.php?page=vw-support-form-invite | 909 | 2.04 | 23.42 | 27.77 |
Settings /wp-admin/admin.php?page=vw-support | 984 | 2.00 | 23.62 | 30.11 |
Documentation /wp-admin/admin.php?page=vw-support-documentation | 869 | 2.06 | 24.19 | 28.60 |
Plans /wp-admin/admin.php?page=vw-support-plans | 862 | 2.03 | 24.76 | 28.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 8 tables in the database
- wp_vws_contacts
- wp_vws_properties
- wp_vws_departments
- wp_vws_sites
- wp_vws_ticket_contacts
- wp_vws_cans
- wp_vws_tickets
- wp_vws_messages
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- vwSupport_db_version
- db_upgraded
- widget_theysaidso_widget
- VWsupportOptions
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=vw-support-conversations
- > POST request to //wp-admin/admin-ajax.php?action=vws_app&task=contact_login
- > Notice in wp-content/plugins/live-support-tickets/inc/server.php+646
Undefined variable: userID
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vw-support-plans
- > Warning in wp-content/plugins/live-support-tickets/inc/options.php+1003
mysqli::__construct(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vw-support-plans
- > Notice in wp-content/plugins/live-support-tickets/inc/options.php+1007
Undefined variable: accountsDB
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vw-support-plans
- > Notice in wp-content/plugins/live-support-tickets/inc/options.php+1007
Trying to get property 'connect_error' of non-object
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/live-support-tickets/server/translate.php
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/tests/TranslateDocumentTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/tests/DeepLTestBase.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/tests/GeneralTest.php:9
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/src/TooManyRequestsException.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/src/AuthorizationException.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/src/QuotaExceededException.php:13
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/src/ConnectionException.php:12
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLException' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/src/DocumentTranslationException.php:13
- > PHP Fatal error
Uncaught Error: Class 'DeepL\\DeepLTestBase' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/tests/GlossaryTest.php:9
- > PHP Fatal error
Uncaught Error: Interface 'DeepL\\LoggerInterface' not found in wp-content/plugins/live-support-tickets/server/vendor/deeplcom/deepl-php/tests/TestLogger.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=vw-support-conversations
- > Network (severe)
/wp-json/video-live-support/v1/list - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Conversation (Ticket) View with Insert Files, Webcam/MicroPhone/Screen recordings), #2 (Custom Form with custom fields: text, dropdown, toggle), #3 (Buttons on content page), #4 (Report content support form), #5 (Floating support button on all pages)
live-support-tickets/live-support-tickets.php 85% from 13 tests
This is the main PHP file of "Live Support Tickets, Contact Forms, CRM" version 1.7.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 581 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
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
Success! There were no dangerous files found in this plugin15,103 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,299 |
PHP | 47 | 1,756 | 3,585 | 4,966 |
Markdown | 6 | 190 | 0 | 612 |
JSON | 3 | 0 | 0 | 109 |
YAML | 1 | 11 | 6 | 76 |
XML | 2 | 6 | 0 | 29 |
Dockerfile | 1 | 1 | 0 | 7 |
JavaScript | 3 | 0 | 12 | 3 |
CSS | 2 | 0 | 11 | 2 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 140)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 28.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 420.00 |
Average method complexity | 5.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 140.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 3 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 1 | 2.78% |
Methods | 250 | |
▷ Static methods | 85 | 34.00% |
▷ Public methods | 228 | 91.20% |
▷ Protected methods | 3 | 1.20% |
▷ Private methods | 19 | 7.60% |
Functions | 28 | |
▷ Named functions | 1 | 3.57% |
▷ Anonymous functions | 27 | 96.43% |
Constants | 66 | |
▷ Global constants | 2 | 3.03% |
▷ Class constants | 64 | 96.97% |
▷ Public constants | 57 | 89.06% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.29MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 134.62KB | 39.56KB | ▼ 70.61% |
screenshot-4.png | 18.99KB | 6.59KB | ▼ 65.32% |
semantic/themes/default/assets/images/flags.png | 27.46KB | 29.21KB | 0.00% |
screenshot-5.png | 4.82KB | 2.26KB | ▼ 53.16% |
screenshot-3.png | 43.61KB | 15.31KB | ▼ 64.88% |