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: ▲1.16MB] [CPU: ▲4.12ms] Passed 4 tests
This is a short check of server-side resources used by Wordpress Advanced Ticket System, Elite Support Helpdesk
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.66 ▲1.20 | 46.99 ▲6.24 |
Dashboard /wp-admin | 4.50 ▲1.19 | 52.27 ▲2.78 |
Posts /wp-admin/edit.php | 4.55 ▲1.19 | 51.04 ▲3.34 |
Add New Post /wp-admin/post-new.php | 7.01 ▲1.13 | 94.46 ▲7.19 |
Media Library /wp-admin/upload.php | 4.35 ▲1.13 | 38.52 ▲4.11 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=ticket | 4.35 | 46.39 |
Tickets /wp-admin/edit.php?post_type=ticket | 4.47 | 40.96 |
Add New /wp-admin/post-new.php?post_type=ticket | 4.55 | 51.82 |
Server storage [IO: ▲2.45MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 62 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
wats |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
category_children |
Browser metrics Passed 4 tests
A check of browser resources used by Wordpress Advanced Ticket System, Elite Support Helpdesk
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,090 ▲329 | 14.37 ▲0.00 | 1.66 ▲0.09 | 44.74 ▲4.19 |
Dashboard /wp-admin | 2,479 ▲302 | 5.69 ▲0.02 | 85.58 ▼3.92 | 65.27 ▲24.55 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 1.97 ▼0.04 | 36.44 ▼1.99 | 32.95 ▼4.05 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 23.21 ▲0.45 | 580.58 ▼78.65 | 95.17 ▲21.63 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 4.16 ▼0.07 | 99.88 ▲6.53 | 72.97 ▲31.84 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=ticket | 1,498 | 2.12 | 26.88 | 32.40 |
Wats Options /wp-admin/wats-head.php | 26 | 0.42 | 0.07 | 13.25 |
Tickets /wp-admin/edit.php?post_type=ticket | 1,189 | 1.93 | 31.40 | 28.30 |
Add New /wp-admin/post-new.php?post_type=ticket | 2,352 | 6.09 | 153.96 | 101.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- category_children
- wats
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wats/wats-js-commons.php
- > /wp-content/plugins/wats/wats-options-ajax.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wats/wats-dashboard.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wats/theme/ticket-access-denied.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function have_comments() in wp-content/plugins/wats/theme/comments-ticket.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wats/theme/single-ticket.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wats/wats-dashboard.php:61
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/wats-head.php
- > Network (severe)
wp-admin/wats-head.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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 need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
wats/wats.php 92% from 13 tests
The main PHP file in "Wordpress Advanced Ticket System, Elite Support Helpdesk" ver. 1.0.65 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected27,918 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 9,005 | 11,865 | 21,371 |
PHP | 15 | 1,186 | 1,202 | 5,992 |
JavaScript | 2 | 117 | 204 | 323 |
CSS | 2 | 39 | 20 | 232 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 152 | |
▷ Named functions | 152 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 100.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
5 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/modify.png | 3.90KB | 0.40KB | ▼ 89.80% |
img/help.png | 1.51KB | 1.18KB | ▼ 21.83% |
img/accept.png | 3.95KB | 0.61KB | ▼ 84.69% |
img/support.png | 3.18KB | 0.56KB | ▼ 82.43% |
img/blue-grad.png | 0.40KB | 0.31KB | ▼ 22.14% |