Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼1.21ms] Passed 4 tests
This is a short check of server-side resources used by Webhook Helper
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 37.59 ▼2.07 |
Dashboard /wp-admin | 3.51 ▲0.21 | 45.62 ▼3.89 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 49.90 ▲1.30 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 97.98 ▼0.17 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.54 ▲3.10 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Webhook Helper
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 13.67 ▼0.63 | 1.86 ▲0.11 | 44.07 ▲0.38 |
Dashboard /wp-admin | 2,215 ▲33 | 5.90 ▲0.89 | 107.44 ▼1.10 | 41.92 ▼5.25 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.02 ▲0.00 | 41.14 ▲3.78 | 37.54 ▲4.87 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 17.66 ▼5.46 | 687.53 ▲102.62 | 54.50 ▼0.81 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.30 ▲0.12 | 96.73 ▼0.61 | 41.03 ▼2.15 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: woocommerce integration, woocommerce plugin, woocommerce shopping cart updates, woocommerce webhooks
api2cart-webhook-helper/a2c-webhook-helper.php 92% from 13 tests
The main file in "Webhook Helper" v. 1.6.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("api2cart-webhook-helper.php" instead of "a2c-webhook-helper.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin875 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 186 | 261 | 875 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 64.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 4 | 8.70% |
▷ Public methods | 32 | 69.57% |
▷ Protected methods | 3 | 6.52% |
▷ Private methods | 11 | 23.91% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 96.70KB | 39.28KB | ▼ 59.38% |