Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.12ms] Passed 4 tests
A check of server-side resources used by YDS Support Ticket System
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.42 ▲4.70 |
Dashboard /wp-admin | 3.39 ▲0.08 | 50.21 ▲2.17 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.95 ▲3.81 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 94.62 ▼11.14 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 47.91 ▲15.43 |
Create New Ticket /wp-admin/admin.php?page=create-new-ticket | 3.33 | 40.05 |
Priority /wp-admin/admin.php?page=priority-settings | 3.30 | 37.93 |
Category /wp-admin/admin.php?page=category-settings | 3.30 | 36.26 |
Settings /wp-admin/admin.php?page=yds-support-settings | 3.30 | 38.21 |
All Tickets /wp-admin/admin.php?page=manage-support-ticket | 3.36 | 38.83 |
Server storage [IO: ▲2.25MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 61 new files
Database: 6 new tables, 9 new options
New tables |
---|
wp_ydsts_priority |
wp_ydsts_category |
wp_ydsts_ticket |
wp_ydsts_ticket_thread |
wp_ydsts_attachments |
wp_ydsts_agent_settings |
New WordPress options |
---|
widget_recent-posts |
ydsts_general_settings |
yds_support_page |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
ydsts_email_settings |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for YDS Support Ticket System
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲190 | 13.68 ▼0.93 | 5.87 ▲3.64 | 37.83 ▼12.71 |
Dashboard /wp-admin | 2,247 ▲56 | 5.86 ▲0.78 | 95.70 ▼7.30 | 71.08 ▲26.12 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.06 ▲0.06 | 38.23 ▲3.39 | 35.26 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,698 ▲178 | 22.00 ▼1.23 | 696.74 ▲81.73 | 54.06 ▲6.28 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.19 ▼0.02 | 105.48 ▲3.62 | 43.89 ▼0.24 |
Create New Ticket /wp-admin/admin.php?page=create-new-ticket | 959 | 2.24 | 32.73 | 38.83 |
Priority /wp-admin/admin.php?page=priority-settings | 1,085 | 2.24 | 35.36 | 30.80 |
Category /wp-admin/admin.php?page=category-settings | 991 | 2.25 | 36.65 | 30.43 |
Settings /wp-admin/admin.php?page=yds-support-settings | 960 | 2.34 | 34.53 | 31.27 |
All Tickets /wp-admin/admin.php?page=manage-support-ticket | 971 | 2.25 | 33.17 | 34.51 |
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
The following items require your attention
- Zombie tables detected upon uninstall: 6 tables
- wp_ydsts_attachments
- wp_ydsts_ticket_thread
- wp_ydsts_agent_settings
- wp_ydsts_priority
- wp_ydsts_category
- wp_ydsts_ticket
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-comments
- yds_support_page
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- ydsts_email_settings
- ydsts_general_settings
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=yds-support-settings
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- > GET request to /wp-admin/admin.php?page=yds-support-settings
- > Notice in wp-content/plugins/yds-support-ticket-system/includes/admin/settings/settings.php+66
Undefined index: default_admin_email
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 fix the following items
- 28× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/yds-support-ticket-system/includes/admin/sendmail/newticketadminAlert.php:3
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/yds-support-ticket-system/includes/admin/adminsearchFilter.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/yds-support-ticket-system/includes/admin/settings/settings.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/yds-support-ticket-system/includes/admin/sendmail/ticketresponceMail.php:3
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/yds-support-ticket-system/includes/admin/adminsearchFilter.php on line 10
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/yds-support-ticket-system/includes/admin/adminsearchFilter.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/yds-support-ticket-system/includes/admin/create-support-categories.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/yds-support-ticket-system/includes/admin/addpriority.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_currentuserinfo() in wp-content/plugins/yds-support-ticket-system/includes/view/getuserTicket.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/yds-support-ticket-system/includes/admin/viewticketDetail.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=manage-support-ticket
- > Javascript (severe) in unknown
/wp-content/plugins/yds-support-ticket-system/asset/js/yds_ticket_management.js?ver=1.0.0 290:26 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: support, ticket, crm, support plugin, ticket plugin...
yds-support-ticket-system/yds-support-ticket-system.php 92% from 13 tests
The main file in "YDS Support Ticket System" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 471 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected7,304 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 90 | 69 | 3,769 |
PHP | 29 | 198 | 52 | 2,265 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 2 | 112 | 17 | 585 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 4 | 100.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.76% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/images/downarrow.png | 0.29KB | 0.19KB | ▼ 35.25% |
asset/images/edit.png | 1.26KB | 0.55KB | ▼ 56.04% |
asset/images/delete.png | 1.13KB | 0.21KB | ▼ 81.75% |
asset/images/icon-maintain.png | 3.12KB | 0.56KB | ▼ 82.19% |
asset/images/active-aarrow.png | 1.05KB | 0.26KB | ▼ 75.40% |