Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲4.09MB] [CPU: ▲17.63ms] Passed 4 tests
A check of server-side resources used by SupportCandy - Helpdesk & Support Ticket System
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.58 ▲4.12 | 59.78 ▲20.59 |
Dashboard /wp-admin | 7.37 ▲4.07 | 60.75 ▲16.35 |
Posts /wp-admin/edit.php | 7.48 ▲4.13 | 70.56 ▲23.04 |
Add New Post /wp-admin/post-new.php | 10.02 ▲4.13 | 107.47 ▲11.35 |
Media Library /wp-admin/upload.php | 7.29 ▲4.06 | 58.16 ▲22.21 |
Server storage [IO: ▲10.67MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 551 new files
Database: 18 new tables, 44 new options
New tables |
---|
wp_psmsc_ticket_tags |
wp_psmsc_scheduled_tasks |
wp_psmsc_priorities |
wp_psmsc_categories |
wp_psmsc_attachments |
wp_psmsc_email_notifications |
wp_psmsc_custom_fields |
wp_psmsc_options |
wp_psmsc_threads |
wp_psmsc_email_otp |
... |
New WordPress options |
---|
wpsc-en-general |
wpsc-ticket-widget |
wpsc-ap-general |
can_compress_scripts |
wpsc-tl-ms-advanced |
wpsc-gs-page-settings |
wpsc-ctl-list-items |
wpsc-ap-modal |
wpsc-te-guest-user |
wpsc-gs-file-attachments |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for SupportCandy - Helpdesk & Support Ticket System
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,290 ▲555 | 17.05 ▲2.48 | 40.41 ▲38.41 | 41.09 ▼2.54 |
Dashboard /wp-admin | 2,309 ▲118 | 5.03 ▲0.18 | 98.85 ▼4.85 | 76.25 ▲25.35 |
Posts /wp-admin/edit.php | 2,189 ▲100 | 2.04 ▲0.03 | 37.78 ▲3.22 | 38.86 ▲5.05 |
Add New Post /wp-admin/post-new.php | 1,755 ▲241 | 21.96 ▲4.42 | 739.35 ▲71.85 | 60.83 ▲7.08 |
Media Library /wp-admin/upload.php | 1,491 ▲106 | 4.19 ▼0.02 | 90.91 ▼19.93 | 71.46 ▲25.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 18 tables in the database
- wp_psmsc_holidays
- wp_psmsc_scheduled_tasks
- wp_psmsc_working_hrs
- wp_psmsc_email_notifications
- wp_psmsc_categories
- wp_psmsc_email_otp
- wp_psmsc_custom_fields
- wp_psmsc_statuses
- wp_psmsc_threads
- wp_psmsc_customers
- ...
- Zombie WordPress options were found after uninstall: 44 options
- wpsc-string-translation
- wpsc-ap-ticket-list
- wpsc_db_version
- wpsc-te-agent
- wpsc-term-and-conditions
- wpsc-email-templates
- can_compress_scripts
- wpsc-ap-modal
- wpsc-te-advanced
- wpsc-gs-thankyou-page-settings
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: There are too many tags (14 tag instead of maximum 10)
supportcandy/supportcandy.php Passed 13 tests
This is the main PHP file of "SupportCandy - Helpdesk & Support Ticket System" version 3.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
51 characters long description:
Easy & Powerful support ticket system for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin130,219 lines of code in 492 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 183 | 14,574 | 22,052 | 70,108 |
JavaScript | 194 | 4,636 | 9,131 | 24,549 |
PO File | 17 | 11,121 | 51,260 | 23,518 |
CSS | 46 | 332 | 298 | 11,111 |
SVG | 46 | 0 | 1 | 373 |
Markdown | 4 | 104 | 0 | 287 |
Sass | 2 | 57 | 8 | 273 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 57.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 613.00 |
Average method complexity | 5.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 177 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 177 | 100.00% |
▷ Final classes | 175 | 98.87% |
Methods | 2,280 | |
▷ Static methods | 2,117 | 92.85% |
▷ Public methods | 2,210 | 96.93% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 70 | 3.07% |
Functions | 116 | |
▷ Named functions | 30 | 25.86% |
▷ Anonymous functions | 86 | 74.14% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
27 PNG files occupy 0.56MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/images/satisfaction-survey.png | 25.26KB | 7.80KB | ▼ 69.14% |
asset/images/gravity-forms.png | 25.32KB | 7.70KB | ▼ 69.58% |
asset/images/automatic-close-tickets.png | 22.84KB | 6.92KB | ▼ 69.71% |
asset/images/schedule-tickets.png | 26.71KB | 8.17KB | ▼ 69.42% |
asset/libs/DataTables/DataTables-1.11.5/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |