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: ▲0.00MB] [CPU: ▼5.83ms] Passed 4 tests
Server-side resources used by Muambator Webhooks para WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 50.99 ▲3.93 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.37 ▼22.10 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 54.93 ▲0.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 99.52 ▲6.30 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.55 ▼5.64 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Muambator Webhooks para WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.25 ▼0.54 | 1.83 ▼0.36 | 40.89 ▼5.10 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼1.02 | 110.74 ▼6.10 | 39.46 ▼4.55 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▲0.02 | 41.80 ▲3.72 | 35.37 ▲1.90 |
Add New Post /wp-admin/post-new.php | 1,520 ▲1 | 23.44 ▲2.09 | 631.63 ▼77.59 | 52.71 ▼10.59 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.17 ▼0.03 | 106.83 ▲7.41 | 47.85 ▼0.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
7 plugin tags: correios, webhooks, muambator, entregas, delivery...
muambator-webhooks-para-woocommerce/mb-webhook-woocommerce.php 85% from 13 tests
The principal PHP file in "Muambator Webhooks para WooCommerce" v. 1.1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("4.0" instead of "3.4.3")
- Main file name: Name the main plugin file the same as the plugin slug ("muambator-webhooks-para-woocommerce.php" instead of "mb-webhook-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected552 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 93 | 108 | 552 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 11 | |
▷ Static methods | 3 | 27.27% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
7 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/blue.png | 2.38KB | 2.10KB | ▼ 11.96% |
assets/img/red.png | 2.04KB | 2.03KB | 0.43% |
assets/img/orange.png | 2.10KB | 1.86KB | ▼ 11.27% |
assets/img/global.png | 2.75KB | 2.35KB | ▼ 14.44% |
assets/img/yellow.png | 2.39KB | 2.15KB | ▼ 10.14% |