Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.83ms] Passed 4 tests
An overview of server-side resources used by Webhook For WCFM Vendors
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.13 ▼13.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.26 ▼2.32 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.52 ▲2.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.10 ▼17.85 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.10 ▲3.57 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Webhook For WCFM Vendors
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.72 ▲0.35 | 1.98 ▲0.11 | 42.24 ▼3.00 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▲0.08 | 93.48 ▼11.62 | 36.85 ▼6.66 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.03 | 39.28 ▼0.71 | 36.30 ▼0.86 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.02 ▲4.53 | 685.35 ▲51.17 | 58.31 ▼9.92 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.18 ▼0.05 | 94.75 ▼12.20 | 43.17 ▲1.36 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: connect, multi vendor, wcfm, third party, webhook
webhook-for-wcfm-vendors/ets-webhook-vendor-config.php 85% from 13 tests
The primary PHP file in "Webhook For WCFM Vendors" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("webhook-for-wcfm-vendors.php" instead of "ets-webhook-vendor-config.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
Good job! No executable or dangerous file extensions detected814 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 124 | 108 | 481 |
CSS | 1 | 0 | 0 | 145 |
JSON | 1 | 0 | 0 | 122 |
JavaScript | 1 | 4 | 0 | 66 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 6 | 30.00% |
▷ Public methods | 17 | 85.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 15.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected