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: ▼0.10MB] [CPU: ▼6.65ms] Passed 4 tests
This is a short check of server-side resources used by Admin Zendesk Help Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.33 ▲0.03 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.11 ▼8.16 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.89 ▲1.16 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.42 | 81.25 ▼16.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.84 ▼1.84 |
Zendesk Help /wp-admin/options-general.php?page=zendesk-admin | 3.20 | 29.43 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Zendesk Help Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,392 ▼343 | 13.22 ▼1.42 | 1.77 ▼0.10 | 40.83 ▼4.40 |
Dashboard /wp-admin | 1,801 ▼381 | 1.38 ▼3.53 | 12.95 ▼97.08 | 40.61 ▼4.52 |
Posts /wp-admin/edit.php | 1,949 ▼140 | 1.14 ▼0.86 | 7.37 ▼29.16 | 34.51 ▼0.29 |
Add New Post /wp-admin/post-new.php | 681 ▼848 | 1.73 ▼16.58 | 24.09 ▼589.22 | 5.84 ▼50.19 |
Media Library /wp-admin/upload.php | 769 ▼622 | 1.73 ▼2.48 | 22.28 ▼79.33 | 23.55 ▼22.74 |
Zendesk Help /wp-admin/options-general.php?page=zendesk-admin | 748 | 1.38 | 9.16 | 32.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=zendesk-admin
- > Notice in wp-content/plugins/admin-zendesk-help-widget/wordpress-zendesk-admin.php+100
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: helpdesk, zendesk
admin-zendesk-help-widget/wordpress-zendesk-admin.php 69% from 13 tests
The primary PHP file in "Admin Zendesk Help Widget" version 1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("admin-zendesk-help-widget.php" instead of "wordpress-zendesk-admin.php")
- Domain Path: The domain path points to an invalid folder, "/lang/" does not exist
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.9" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin127 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 30 | 125 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview 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.24 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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
No PNG files were detected