Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼8.05ms] Passed 4 tests
This is a short check of server-side resources used by Support Ticket
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 36.03 ▼5.15 |
Dashboard /wp-admin | 3.60 ▲0.26 | 45.69 ▼13.79 |
Posts /wp-admin/edit.php | 3.71 ▲0.36 | 45.50 ▼0.96 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 92.38 ▼12.31 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 34.79 ▲3.81 |
Tickets /wp-admin/admin.php?page=sts | 3.55 | 34.53 |
New Ticket /wp-admin/admin.php?page=sts-new | 3.49 | 33.76 |
Settings /wp-admin/admin.php?page=sts-settings | 3.52 | 35.75 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Support Ticket
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.23 ▼1.15 | 1.66 ▲0.13 | 41.25 ▲1.89 |
Dashboard /wp-admin | 2,234 ▲43 | 5.80 ▲0.93 | 98.88 ▼3.02 | 40.19 ▼1.25 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.01 ▲0.02 | 37.11 ▲2.16 | 33.03 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,558 ▲16 | 23.09 ▲4.81 | 627.46 ▲32.46 | 49.90 ▲0.35 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.24 ▲0.08 | 100.02 ▲3.75 | 43.15 ▼0.58 |
Tickets /wp-admin/admin.php?page=sts | 1,065 | 1.93 | 34.21 | 25.10 |
New Ticket /wp-admin/admin.php?page=sts-new | 895 | 1.89 | 33.59 | 28.48 |
Settings /wp-admin/admin.php?page=sts-settings | 1,780 | 2.53 | 49.05 | 43.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 25× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/support-ticket/admin/inc/ticket-table.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/support-ticket/inc/mail.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/support-ticket/inc/mail.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/support-ticket/admin/admin.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/support-ticket/templates/shortcodes/ticket-create-done.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/support-ticket/inc/metaboxes/settings/user-roles.php:92
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/support-ticket/inc/metaboxes/ticket/metafields.php:81
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/support-ticket/admin/ticket-single.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/support-ticket/inc/metaboxes/settings/user-agent.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/support-ticket/inc/metaboxes/settings/email.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: support, ticket, helpdesk, crm, help...
support-ticket/support-ticket.php Passed 13 tests
The main PHP file in "Support Ticket" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
48 characters long description:
Easy to use support ticket system for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin3,587 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 434 | 1,045 | 2,245 |
PO File | 3 | 306 | 402 | 726 |
CSS | 1 | 56 | 0 | 269 |
SVG | 2 | 16 | 2 | 177 |
JavaScript | 1 | 24 | 23 | 126 |
HTML | 1 | 4 | 0 | 44 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 96.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.23% |
Functions | 66 | |
▷ Named functions | 63 | 95.45% |
▷ Anonymous functions | 3 | 4.55% |
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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 61.67KB | 22.19KB | ▼ 64.02% |
assets/img/logo-small.png | 7.35KB | 3.41KB | ▼ 53.57% |