Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-content/plugins/wetech-contact-forms-webhook/wetech-contact-forms-webhook.php+40
Use of undefined constant WPCF7_VERSION - assumed 'WPCF7_VERSION' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.97MB] [CPU: ▼60.98ms] Passed 4 tests
This is a short check of server-side resources used by WeTech Contact Forms Webhook
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.39 ▼32.35 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.83 ▼66.47 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 4.85 ▼45.98 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.76 ▼99.13 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.97 ▼27.70 |
WeTech Webhooks /wp-admin/options-general.php?page=wetech_webhooks | 2.05 | 5.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WeTech Contact Forms Webhook
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.22 ▼0.05 | 1.72 ▲0.07 | 44.31 ▲2.53 |
Dashboard /wp-admin | 2,211 ▲34 | 5.62 ▲0.08 | 96.16 ▼7.46 | 43.83 ▼1.24 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.02 ▲0.06 | 35.33 ▼4.98 | 32.63 ▼6.57 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.28 ▼0.02 | 671.80 ▼22.29 | 52.34 ▼9.56 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.25 ▼0.02 | 97.84 ▼0.83 | 42.20 ▼6.07 |
WeTech Webhooks /wp-admin/options-general.php?page=wetech_webhooks | 800 | 2.03 | 24.92 | 25.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/wetech-contact-forms-webhook/wetech-contact-forms-webhook.php+40
Use of undefined constant WPCF7_VERSION - assumed 'WPCF7_VERSION' (this will throw an Error in a future version of PHP)
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wetech_webhooks
- > Warning in wp-content/plugins/wetech-contact-forms-webhook/wetech-contact-forms-webhook.php+40
Use of undefined constant WPCF7_VERSION - assumed 'WPCF7_VERSION' (this will throw an Error in a future version of PHP)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wetech_webhooks
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wetech-contact-forms-webhook/wetech-contact-forms-webhook.php
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: contact form webhook, webhook, wetech crm webhook, form webhook, wetech crm...
wetech-contact-forms-webhook/wetech-contact-forms-webhook.php Passed 13 tests
The main PHP script in "WeTech Contact Forms Webhook" version 1.2 is automatically included on every request by WordPress
65 characters long description:
Compatible with Contact Form 7, Elementor forms and Gravity Forms
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 plugin1,102 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 178 | 58 | 1,102 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.72 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 12 | 80.00% |
▷ Anonymous functions | 3 | 20.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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 images were found in this plugin