Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲5.23MB] [CPU: ▲41.90ms] 75% from 4 tests
A check of server-side resources used by Customer Service Software & Support Ticket System
Please fix the following
- Extra RAM: The extra memory usage must be under 5MB (currently 5.23MB on /wp-admin/edit.php?post_type=emd_ticket)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.98 ▲4.51 | 70.55 ▲33.42 |
Dashboard /wp-admin | 8.82 ▲5.52 | 136.26 ▲86.29 |
Posts /wp-admin/edit.php | 8.83 ▲5.48 | 93.23 ▲43.36 |
Add New Post /wp-admin/post-new.php | 11.37 ▲5.48 | 133.25 ▲42.02 |
Media Library /wp-admin/upload.php | 8.67 ▲5.44 | 85.70 ▲48.80 |
Glossary /wp-admin/admin.php?page=wp_ticket_com_glossary | 8.64 | 67.73 |
Support /wp-admin/admin.php?page=wp_ticket_com_support | 8.68 | 68.01 |
CSV Import/Export /wp-admin/admin.php?page=operations_emd_agent | 8.64 | 65.51 |
Notifications /wp-admin/admin.php?page=wp_ticket_com_notify | 8.69 | 75.27 |
Settings /wp-admin/admin.php?page=wp_ticket_com_settings | 8.69 | 73.47 |
Statuses /wp-admin/edit-tags.php?taxonomy=ticket_status&post_type=emd_ticket | 8.70 | 71.51 |
Plugins /wp-admin/admin.php?page=wp_ticket_com_store | 8.68 | 80.25 |
CSV Import/Export /wp-admin/admin.php?page=operations_emd_ticket | 8.64 | 67.00 |
Add New Agent /wp-admin/post-new.php?post_type=emd_agent | 8.77 | 84.67 |
All Tickets /wp-admin/edit.php?post_type=emd_ticket | 8.77 | 73.65 |
Server storage [IO: ▲3.15MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 361 new files
Database: 3 new tables, 39 new options
New tables |
---|
wp_p2p |
wp_emd_sessions |
wp_p2pmeta |
New WordPress options |
---|
emd_activated_plugins |
db_upgraded |
emd_form_id_submit_tickets |
wp_ticket_com_activation_date |
widget_recent-posts |
wp_ticket_com_glob_forms_list |
wp_ticket_com_add_caps |
wp_ticket_com_has_woocommerce_forms_list |
widget_recent-comments |
wp_ticket_com_has_woocommerce |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Customer Service Software & Support Ticket System
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,063 ▲328 | 13.30 ▼1.06 | 1.88 ▲0.19 | 39.15 ▼1.38 |
Dashboard /wp-admin | 2,464 ▲275 | 4.87 ▼0.07 | 116.56 ▼2.82 | 54.52 ▲12.00 |
Posts /wp-admin/edit.php | 2,308 ▲219 | 2.16 ▲0.15 | 38.51 ▼3.19 | 35.94 ▼0.58 |
Add New Post /wp-admin/post-new.php | 1,757 ▲243 | 22.51 ▲4.92 | 684.10 ▼13.58 | 58.89 ▲7.52 |
Media Library /wp-admin/upload.php | 1,608 ▲220 | 4.25 ▲0.09 | 102.21 ▼3.21 | 46.64 ▼0.53 |
Glossary /wp-admin/admin.php?page=wp_ticket_com_glossary | 1,391 | 1.85 | 26.70 | 34.27 |
Support /wp-admin/admin.php?page=wp_ticket_com_support | 1,311 | 1.86 | 27.03 | 51.37 |
CSV Import/Export /wp-admin/admin.php?page=operations_emd_agent | 1,070 | 1.71 | 27.62 | 35.67 |
Notifications /wp-admin/admin.php?page=wp_ticket_com_notify | 2,372 | 3.63 | 50.36 | 29.16 |
Settings /wp-admin/admin.php?page=wp_ticket_com_settings | 2,145 | 2.70 | 38.68 | 32.60 |
Statuses /wp-admin/edit-tags.php?taxonomy=ticket_status&post_type=emd_ticket | 1,655 | 2.34 | 33.10 | 42.53 |
Plugins /wp-admin/admin.php?page=wp_ticket_com_store | 1,330 | 1.85 | 24.93 | 37.98 |
CSV Import/Export /wp-admin/admin.php?page=operations_emd_ticket | 1,067 | 1.72 | 22.99 | 33.60 |
Add New Agent /wp-admin/post-new.php?post_type=emd_agent | 1,875 | 3.34 | 62.85 | 58.09 |
All Tickets /wp-admin/edit.php?post_type=emd_ticket | 1,401 | 2.38 | 34.93 | 36.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 3 tables
- wp_p2pmeta
- wp_emd_sessions
- wp_p2p
- Zombie WordPress options detected upon uninstall: 33 options
- wp_ticket_com_glob_forms_list
- wp_ticket_com_init_tax
- widget_recent-posts
- wp_ticket_com_notify_list
- widget_theysaidso_widget
- emd_form_id_submit_tickets
- emd_form_id_search_tickets
- db_upgraded
- can_compress_scripts
- wp_ticket_com_version
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-ticket/layouts/shc-search-tickets-footer.php
- > /wp-content/plugins/wp-ticket/layouts/shc-support-tickets-footer.php
- > /wp-content/plugins/wp-ticket/layouts/widget-recent-tickets-sidebar-footer.php
- > /wp-content/plugins/wp-ticket/layouts/widget-recent-tickets-dashboard-footer.php
- > /wp-content/plugins/wp-ticket/layouts/widget-recent-tickets-dashboard-header.php
- > /wp-content/plugins/wp-ticket/layouts/widget-recent-tickets-sidebar-header.php
- 40× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function emd_is_item_visible() in wp-content/plugins/wp-ticket/layouts/shc-search-tickets-header.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_active_sidebar() in wp-content/plugins/wp-ticket/layouts/emd-sidebar.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wp-ticket/includes/admin/plugin-support.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function emd_is_item_visible() in wp-content/plugins/wp-ticket/layouts/shc-support-tickets-header.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-ticket/includes/admin/shortcode-list-functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-ticket/assets/ext/posts-to-posts/scb/load.php:32
- > PHP Notice
Undefined variable: post in wp-content/plugins/wp-ticket/layouts/shc-support-tickets-content.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-ticket/layouts/shc-support-tickets-content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-ticket/assets/ext/posts-to-posts/debug-utils.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_permalink() in wp-content/plugins/wp-ticket/layouts/emd-register.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: customer support, helpdesk, help desk, ticket system, support ticket
wp-ticket/wp-ticket.php 85% from 13 tests
"Customer Service Software & Support Ticket System" version 5.13's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 154 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
Good job! No executable or dangerous file extensions detected35,982 lines of code in 264 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 158 | 2,405 | 5,277 | 27,308 |
JavaScript | 53 | 535 | 731 | 5,927 |
CSS | 43 | 158 | 129 | 2,671 |
HTML | 9 | 6 | 0 | 74 |
SVG | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 16.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 125 | |
▷ Abstract classes | 11 | 8.80% |
▷ Concrete classes | 114 | 91.20% |
▷ Final classes | 2 | 1.75% |
Methods | 802 | |
▷ Static methods | 301 | 37.53% |
▷ Public methods | 673 | 83.92% |
▷ Protected methods | 90 | 11.22% |
▷ Private methods | 39 | 4.86% |
Functions | 276 | |
▷ Named functions | 275 | 99.64% |
▷ Anonymous functions | 1 | 0.36% |
Constants | 31 | |
▷ Global constants | 20 | 64.52% |
▷ Class constants | 11 | 35.48% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
81 compressed PNG files occupy 0.58MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/ext/emd-meta-box/img/jqueryui/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/ext/emd-meta-box/img/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
assets/ext/emd-meta-box/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
assets/img/jui-img/ui-bg_glass_95_fef1ec_1x400.png | 0.11KB | 0.14KB | 0.00% |
assets/img/clipboard.png | 1.01KB | 1.06KB | 0.00% |