Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▼7.18ms] Passed 4 tests
Server-side resources used by Helpdesk Support Ticket System for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 40.31 ▼6.71 |
Dashboard /wp-admin | 3.85 ▲0.55 | 47.13 ▼1.93 |
Posts /wp-admin/edit.php | 3.90 ▲0.55 | 48.85 ▲0.05 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 86.31 ▼20.12 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 39.32 ▲2.96 |
Support Tickets /wp-admin/admin.php?page=support-ticket-system-woocommerce | 3.71 | 37.97 |
Tickets /wp-admin/edit.php?post_type=stsw_tickets | 3.76 | 38.26 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 20 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_stsw_responses |
New WordPress options |
---|
stswpro_tickets_table_db_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Helpdesk Support Ticket System for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,019 ▲284 | 14.08 ▼0.14 | 5.81 ▲3.96 | 37.09 ▼6.46 |
Dashboard /wp-admin | 2,331 ▲143 | 4.94 ▼0.15 | 106.63 ▲8.54 | 110.49 ▲65.58 |
Posts /wp-admin/edit.php | 2,226 ▲137 | 2.25 ▲0.21 | 36.74 ▼2.84 | 56.45 ▲17.82 |
Add New Post /wp-admin/post-new.php | 1,775 ▲242 | 22.66 ▼0.62 | 799.86 ▲188.65 | 38.60 ▼28.94 |
Media Library /wp-admin/upload.php | 1,504 ▲116 | 4.35 ▲0.13 | 99.38 ▼2.25 | 90.31 ▲45.16 |
Subject /wp-admin/admin.php?page=# | 28 | 0.44 | 0.10 | 3.74 |
Support Tickets /wp-admin/admin.php?page=support-ticket-system-woocommerce | 983 | 1.83 | 27.37 | 32.65 |
Tickets /wp-admin/edit.php?post_type=stsw_tickets | 1,389 | 2.21 | 33.87 | 53.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_stsw_responses
- Zombie WordPress options detected upon uninstall: 7 options
- stswpro_tickets_table_db_version
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=#
- > Network (severe)
wp-admin/admin.php?page=# - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% 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: support ticket, helpdesk plugin, ticket system, support, helpdesk
support-ticket-system-for-woocommerce/support-ticket-system-for-woocommerce.php 92% from 13 tests
The main file in "Helpdesk Support Ticket System for WooCommerce" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "2.2")
Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected3,636 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 81 | 59 | 1,466 |
PHP | 3 | 338 | 90 | 1,395 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 2 | 27 | 2 | 90 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 51.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 70 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/extendwp.png | 5.75KB | 3.37KB | ▼ 41.46% |
images/support-ticket-system-woocommerce-pro.png | 21.83KB | 10.57KB | ▼ 51.60% |