Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.66ms] Passed 4 tests
Analyzing server-side resources used by Widget for Zendesk Chat via API
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 43.72 ▲3.01 |
Dashboard /wp-admin | 3.39 ▲0.05 | 54.73 ▼9.63 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.64 ▼4.55 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 102.28 ▼7.48 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.68 ▲3.71 |
Zendesk Chat /wp-admin/options-general.php?page=widget-for-zendesk-chat-via-api | 3.33 | 308.33 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
ps_zendesk_chat_widget_api_code_status |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Widget for Zendesk Chat via API
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.26 ▼0.09 | 2.13 ▲0.33 | 43.19 ▲2.88 |
Dashboard /wp-admin | 2,202 ▲22 | 5.58 ▼0.10 | 93.65 ▲2.20 | 40.87 ▼2.02 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.01 ▲0.04 | 42.38 ▲6.11 | 36.94 ▲1.08 |
Add New Post /wp-admin/post-new.php | 6,236 ▲4,708 | 26.06 ▲2.86 | 916.41 ▲220.80 | 56.69 ▼10.60 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.25 ▲0.05 | 102.49 ▼8.20 | 46.65 ▲1.46 |
Zendesk Chat /wp-admin/options-general.php?page=widget-for-zendesk-chat-via-api | 1,100 | 2.01 | 27.12 | 37.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- ps_zendesk_chat_widget_api_code_status
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is missing in widget-for-zendesk-chat-via-api/assets to your readme.txt
widget-for-zendesk-chat-via-api/widget-for-zendesk-chat-via-api.php 92% from 13 tests
"Widget for Zendesk Chat via API" version 1.12.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 255 characters long)
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
Good job! No executable or dangerous file extensions detected1,065 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 150 | 109 | 665 |
CSS | 2 | 45 | 0 | 247 |
JavaScript | 4 | 23 | 2 | 137 |
Markdown | 1 | 20 | 0 | 16 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 compressed PNG files occupy 0.38MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/promotions/plugin-edd-advanced-shortcodes.png | 137.51KB | 137.55KB | 0.00% |
assets/admin/images/promotions/plugin-freelancer-marketplace.png | 65.26KB | 67.78KB | 0.00% |
assets/admin/images/promotions/ebook-upsell-guide.png | 11.30KB | 11.50KB | 0.00% |
assets/admin/images/promotions/ebook-marketplace-guide.png | 60.67KB | 60.67KB | 0.00% |
assets/admin/images/promotions/plugin-edd-landing-pages.png | 89.27KB | 89.18KB | 0.10% |