Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲3.30MB] [CPU: ▲20.16ms] Passed 4 tests
Server-side resources used by WP Webhooks - Create powerful automation workflows directly within WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.80 ▲3.34 | 61.19 ▲19.25 |
Dashboard /wp-admin | 6.64 ▲3.33 | 67.07 ▲11.49 |
Posts /wp-admin/edit.php | 6.67 ▲3.31 | 75.99 ▲28.40 |
Add New Post /wp-admin/post-new.php | 9.16 ▲3.27 | 116.49 ▲22.69 |
Media Library /wp-admin/upload.php | 6.50 ▲3.27 | 65.12 ▲27.19 |
WP Webhooks /wp-admin/options-general.php?page=wp-webhooks-pro | 6.63 | 64.20 |
Server storage [IO: ▲5.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 475 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
ironikus_webhook_webhooks |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Webhooks - Create powerful automation workflows directly within WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.36 ▼0.01 | 1.95 ▲0.09 | 36.98 ▼10.62 |
Dashboard /wp-admin | 2,202 ▲22 | 5.61 ▲0.04 | 90.79 ▲0.52 | 41.82 ▼0.56 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.02 ▼0.01 | 42.95 ▲4.65 | 34.09 ▼5.81 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 21.98 ▼1.11 | 648.80 ▼29.83 | 56.46 ▲2.30 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.15 ▲0.05 | 97.18 ▼10.63 | 42.79 ▼5.25 |
WP Webhooks /wp-admin/options-general.php?page=wp-webhooks-pro | 1,727 | 5.19 | 79.89 | 94.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- ironikus_webhook_webhooks
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-webhooks/core/includes/partials/tabs/pro.php
- > /wp-content/plugins/wp-webhooks/core/includes/partials/tabs/home.php
- > /wp-content/plugins/wp-webhooks/core/includes/integrations/woocommerce/misc/rest-api/vendor/automattic/woocommerce/tests/bootstrap.php
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/wp-webhooks/core/includes/integrations/woocommerce/misc/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/ResponseTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/wp-webhooks/core/includes/integrations/woocommerce/misc/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/ClientTest.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugins() in wp-content/plugins/wp-webhooks/core/includes/partials/tabs/extensions.php:3
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/wp-webhooks/core/includes/integrations/woocommerce/misc/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/OptionsTest.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks/core/includes/partials/descriptions/action.php:38
- > PHP Fatal error
Uncaught Error: Class 'WP_Upgrader_Skin' not found in wp-content/plugins/wp-webhooks/core/includes/classes/class-wp-webhooks-pro-upgrader-skin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks/core/includes/partials/tabs/settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks/core/includes/partials/tabs/authentication.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function WPWHPRO() in wp-content/plugins/wp-webhooks/core/includes/partials/tabs/send-data.php:2
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/wp-webhooks/core/includes/integrations/woocommerce/misc/rest-api/vendor/automattic/woocommerce/tests/WooCommerce/Tests/HttpClient/RequestTest.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: zapier, automation, create user, api, ironikus...
wp-webhooks/wp-webhooks.php Passed 13 tests
The main PHP script in "WP Webhooks - Create powerful automation workflows directly within WordPress" version 3.3.1 is automatically included on every request by WordPress
130 characters long description:
Put your website on autopilot by using webhooks to get rid of manual tasks and focus on what's really important for your business.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin71,120 lines of code in 329 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 293 | 8,066 | 5,520 | 49,212 |
JavaScript | 4 | 3,554 | 4,335 | 13,255 |
CSS | 4 | 2,492 | 27 | 8,150 |
SVG | 20 | 0 | 1 | 248 |
Markdown | 1 | 40 | 0 | 118 |
JSON | 3 | 0 | 0 | 90 |
XML | 2 | 1 | 0 | 26 |
YAML | 2 | 6 | 0 | 21 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 13.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 172.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 96.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 276 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 276 | 100.00% |
▷ Final classes | 1 | 0.36% |
Methods | 1,008 | |
▷ Static methods | 4 | 0.40% |
▷ Public methods | 972 | 96.43% |
▷ Protected methods | 20 | 1.98% |
▷ Private methods | 16 | 1.59% |
Functions | 9 | |
▷ Named functions | 4 | 44.44% |
▷ Anonymous functions | 5 | 55.56% |
Constants | 14 | |
▷ Global constants | 8 | 57.14% |
▷ Class constants | 6 | 42.86% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
21 PNG files occupy 0.42MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/includes/integrations/formidable-forms/assets/img/icon-formidable-forms.png | 2.57KB | 2.54KB | ▼ 1.22% |
core/includes/integrations/contactform7/assets/img/icon-contactform7.png | 16.17KB | 5.08KB | ▼ 68.57% |
core/includes/integrations/broken-link-checker/assets/img/icon-broken-link-checker.png | 4.07KB | 4.05KB | 0.34% |
core/includes/integrations/forminator/assets/img/icon-forminator.png | 9.14KB | 7.94KB | ▼ 13.16% |
core/includes/integrations/ninjaforms/assets/img/icon-ninjaforms.png | 27.50KB | 26.95KB | ▼ 1.98% |