Benchmarks
Plugin footprint 83% 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: ▲0.49MB] [CPU: ▼153.88ms] Passed 4 tests
A check of server-side resources used by Sola Support Tickets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.77 | 37.94 ▲17.32 |
Dashboard /wp-admin | 3.60 ▲0.54 | 30.37 ▼13.11 |
Posts /wp-admin/edit.php | 3.66 ▲0.56 | 29.48 ▼15.69 |
Add New Post /wp-admin/post-new.php | 5.68 ▲0.25 | 76.24 ▼592.80 |
Media Library /wp-admin/upload.php | 3.60 ▲0.60 | 34.73 ▲6.08 |
Help Desk /wp-admin/admin.php?page=support-tickets | 3.54 | 27.20 |
System Log /wp-admin/admin.php?page=sola-st-menu-error-log | 3.58 | 29.57 |
Settings /wp-admin/admin.php?page=sola-st-settings | 3.58 | 29.20 |
Feedback /wp-admin/admin.php?page=sola-st-menu-feedback-page | 3.58 | 30.33 |
Responses /wp-admin/edit.php?post_type=sola_st_responses | 3.65 | 29.55 |
Server storage [IO: ▲1.96MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 67 new files
Database: no new tables, 10 new options
New WordPress options |
---|
sola_st_password |
sola_st_email_to_ticket |
sola_st_host |
sola_st_username |
sola_st_port |
sola_st_settings |
sola_st_default_assigned_to |
sola_st_current_version |
sola_st_encryption |
sola_st_submit_ticket_page |
Browser metrics Passed 4 tests
An overview of browser requirements for Sola Support Tickets
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,876 ▲280 | 16.59 ▲1.01 | 13.79 ▲5.91 | 48.01 ▼1.15 |
Dashboard /wp-admin | 3,026 ▲95 | 5.86 ▼0.25 | 134.56 ▼4.12 | 109.23 ▲2.15 |
Posts /wp-admin/edit.php | 2,792 ▲53 | 2.70 ▲0.01 | 63.85 ▼1.91 | 92.30 ▲4.90 |
Add New Post /wp-admin/post-new.php | 1,709 ▲209 | 18.88 ▲0.26 | 350.34 ▼12.33 | 115.42 ▲5.55 |
Media Library /wp-admin/upload.php | 1,869 ▲59 | 5.05 ▲0.00 | 147.28 ▼4.16 | 114.74 ▼7.93 |
Help Desk /wp-admin/admin.php?page=support-tickets | 1,313 | 2.36 | 61.65 | 56.09 |
System Log /wp-admin/admin.php?page=sola-st-menu-error-log | 1,115 | 2.05 | 58.05 | 72.70 |
Settings /wp-admin/admin.php?page=sola-st-settings | 1,975 | 2.60 | 62.49 | 139.98 |
Feedback /wp-admin/admin.php?page=sola-st-menu-feedback-page | 1,247 | 2.21 | 59.88 | 66.68 |
Responses /wp-admin/edit.php?post_type=sola_st_responses | 1,464 | 2.63 | 68.61 | 80.24 |
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 detected upon uninstall: 10 options
- sola_st_default_assigned_to
- sola_st_username
- sola_st_email_to_ticket
- sola_st_settings
- sola_st_password
- sola_st_encryption
- sola_st_port
- sola_st_submit_ticket_page
- sola_st_current_version
- sola_st_host
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=support-tickets
- > User notice in wp-includes/functions.php+5663
WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sola_st_responses
- > Notice in wp-content/plugins/sola-support-tickets/sola-support-tickets.php+608
session_start(): A session had already been started - ignoring
- > GET request to /wp-admin/admin.php?page=sola-st-menu-error-log
- > Warning in wp-content/plugins/sola-support-tickets/sola-support-tickets.php+797
fopen(wp-content/uploads/sola/sola_st_log.txt): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=sola-st-menu-feedback-page
- > User deprecated in wp-includes/functions.php+5211
get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
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
Please fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_currentuserinfo() in wp-content/plugins/sola-support-tickets/includes/feedback-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sola-support-tickets/includes/error-log-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/sola-support-tickets/modules/dashboard.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sola-support-tickets/modules/metaboxes.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sola-support-tickets/includes/footer.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sola-support-tickets/includes/settings-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sola-support-tickets/includes/welcome-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sola-support-tickets/modules/dashboard-ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sola-support-tickets/modules/metaboxes.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Submit a support ticket), #2 (View your open, solved and pending support tickets), #3 (View of a single ticket), #4 (Respond to your support ticket), #5 (Add an internal note to your support ticket)
sola-support-tickets/sola-support-tickets.php Passed 13 tests
The main PHP script in "Sola Support Tickets" version 3.18 is automatically included on every request by WordPress
85 characters long description:
Create a support centre within your WordPress admin. No need for third party systems!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin12,713 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 11 | 3,105 | 4,944 | 7,193 |
PHP | 9 | 1,221 | 467 | 3,734 |
CSS | 5 | 91 | 53 | 1,394 |
JavaScript | 6 | 220 | 19 | 392 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 80 | |
▷ Named functions | 80 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
22 PNG files occupy 0.82MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 105.32KB | 30.41KB | ▼ 71.12% |
css/jquery-ui-theme/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.33KB | 0.12KB | ▼ 62.09% |
css/jquery-ui-theme/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/jquery-ui-theme/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
css/jquery-ui-theme/images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |