Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼289.27ms] Passed 4 tests
An overview of server-side resources used by WP Support Plus Responsive Ticket System
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.04 | 62.12 ▲4.93 |
Dashboard /wp-admin | 3.43 ▲0.03 | 39.10 ▲3.18 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 42.34 ▲2.81 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 98.25 ▼1,167.22 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 27.00 ▲4.14 |
Server storage [IO: ▲10.81MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 559 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Support Plus Responsive Ticket System
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,792 ▲38 | 15.66 ▲0.01 | 6.59 ▲0.33 | 2.28 ▲0.07 |
Dashboard /wp-admin | 2,918 ▲57 | 6.11 ▼0.09 | 117.68 ▼20.92 | 185.66 ▲25.24 |
Posts /wp-admin/edit.php | 2,720 ▲29 | 3.37 ▲0.13 | 63.99 ▲0.52 | 175.88 ▲32.69 |
Add New Post /wp-admin/post-new.php | 1,679 ▲18 | 16.07 ▲0.54 | 395.74 ▼21.80 | 154.86 ▼1.71 |
Media Library /wp-admin/upload.php | 1,724 ▲29 | 5.48 ▼0.02 | 147.91 ▲8.69 | 211.25 ▲29.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 40× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/category.php on line 3
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/user_type.php on line 38
- > PHP Notice
Undefined variable: s in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/status.php on line 12
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/assigned_agent.php on line 7
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/created_agent.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/id.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/status.php:38
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/created_agent.php:50
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/user_type.php on line 3
- > PHP Notice
Trying to get property 'base_prefix' of non-object in wp-content/plugins/wp-support-plus-responsive-ticket-system/includes/ajax/autocomplete/filters/created_agent.php on line 7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
wp-support-plus-responsive-ticket-system/wp-support-plus.php 85% from 13 tests
The main file in "WP Support Plus Responsive Ticket System" v. 9.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "4.4")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-support-plus-responsive-ticket-system.php" instead of "wp-support-plus.php")
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
Everything looks great! No dangerous files found in this plugin116,605 lines of code in 459 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 138 | 13,349 | 26,798 | 65,981 |
PO File | 23 | 8,888 | 18,113 | 18,086 |
PHP | 222 | 4,745 | 1,640 | 15,298 |
CSS | 39 | 285 | 201 | 10,411 |
SVG | 4 | 0 | 0 | 3,153 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
JSON | 2 | 0 | 0 | 114 |
XML | 1 | 0 | 0 | 20 |
Markdown | 2 | 4 | 0 | 16 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 32.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 174.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 1 | 5.56% |
Methods | 334 | |
▷ Static methods | 1 | 0.30% |
▷ Public methods | 326 | 97.60% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 2.40% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
29 PNG files occupy 0.12MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/css/images/ui-icons_ffffff_256x240.png | 6.17KB | 4.18KB | ▼ 32.17% |
asset/css/images/ui-icons_777620_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
asset/library/DataTables/DataTables-1.10.16/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
asset/css/images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |
asset/images/icons/minimize.png | 0.15KB | 0.10KB | ▼ 32.91% |