Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.58ms] Passed 4 tests
An overview of server-side resources used by Help Scout integration for Easy Digital Downloads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.55 ▼9.98 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.99 ▼6.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.30 ▲0.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.29 ▼14.70 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.80 ▲2.61 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Help Scout integration for Easy Digital Downloads
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.52 ▼1.23 | 5.03 ▲2.94 | 42.30 ▼2.58 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.04 | 107.99 ▼1.29 | 42.26 ▼0.25 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.09 ▲0.08 | 35.96 ▼4.40 | 34.23 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.18 ▼0.03 | 664.56 ▲24.52 | 60.38 ▲8.87 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.22 ▲0.04 | 97.80 ▼2.82 | 45.20 ▲2.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/edd-helpscout/views/customers.php
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: toggle in wp-content/plugins/edd-helpscout/views/licenses.php on line 1
- > PHP Notice
Undefined variable: customers in wp-content/plugins/edd-helpscout/views/customers.php on line 4
- > PHP Notice
Undefined variable: toggle in wp-content/plugins/edd-helpscout/views/orders.php on line 1
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/edd-helpscout/views/customers.php on line 4
- > PHP Notice
Undefined variable: persist in wp-content/plugins/edd-helpscout/views/subscriptions.php on line 1
- > PHP Notice
Undefined variable: toggle in wp-content/plugins/edd-helpscout/views/subscriptions.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/edd-helpscout/views/subscriptions.php:3
- > PHP Notice
Undefined variable: persist in wp-content/plugins/edd-helpscout/views/orders.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/edd-helpscout/views/licenses.php:3
- > PHP Notice
Undefined variable: persist in wp-content/plugins/edd-helpscout/views/licenses.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: support, helpscout, edd, easy-digital-downloads, help scout
edd-helpscout/edd-helpscout.php 92% from 13 tests
The main PHP file in "Help Scout integration for Easy Digital Downloads" ver. 2.3.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Good job! No executable or dangerous file extensions detected819 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 167 | 266 | 819 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 5.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 36.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 63.64% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG files were detected