Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼140.78ms] Passed 4 tests
Server-side resources used by WP Webhooks - Easy Digital Downloads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.06 ▲11.17 |
Dashboard /wp-admin | 3.07 ▲0.01 | 52.91 ▲3.30 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 44.71 ▼0.58 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 85.38 ▼570.96 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 34.44 ▲5.12 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 44 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for WP Webhooks - Easy Digital Downloads
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,704 ▲108 | 15.89 ▲0.30 | 9.50 ▲1.35 | 44.55 ▲0.42 |
Dashboard /wp-admin | 3,017 ▲83 | 5.99 ▼0.03 | 157.29 ▼8.90 | 107.19 ▼9.86 |
Posts /wp-admin/edit.php | 2,766 ▲27 | 2.71 ▼0.01 | 70.61 ▲1.45 | 86.39 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,698 ▲15 | 18.45 ▼0.36 | 437.78 ▲47.81 | 108.14 ▼3.16 |
Media Library /wp-admin/upload.php | 1,832 ▲25 | 5.03 ▼0.00 | 152.93 ▲4.59 | 120.42 ▲5.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 29× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/trigger_edd_license_deactivate.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/action_edd_create_download.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/action_edd_update_license.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/action_edd_update_discount.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/action_edd_update_subscription.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/action_edd_update_customer.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/trigger_edd_payments.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/action_edd_create_customer.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/action_edd_renew_license.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-webhooks-easy-digital-downloads/includes/partials/descriptions/action_edd_update_payment.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2 in wp-webhooks-easy-digital-downloads/assets to your readme.txt
wp-webhooks-easy-digital-downloads/wp-webhooks-edd.php 92% from 13 tests
Analyzing the main PHP file in "WP Webhooks - Easy Digital Downloads" version 1.0.1
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-webhooks-easy-digital-downloads.php" instead of "wp-webhooks-edd.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin7,901 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 1,604 | 905 | 7,899 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 120.67 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 376.00 |
Average method complexity | 6.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 96.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 122 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected