Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.48ms] Passed 4 tests
An overview of server-side resources used by MBE Shipping de Mail Boxes Etc.
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.18 ▲2.76 |
Dashboard /wp-admin | 3.44 ▲0.14 | 50.13 ▼1.25 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 45.99 ▼2.27 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 97.65 ▲2.13 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.61 ▼0.53 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for MBE Shipping de Mail Boxes Etc.
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.19 ▼1.42 | 1.79 ▼0.04 | 42.00 ▼3.11 |
Dashboard /wp-admin | 2,203 ▲17 | 5.86 ▼0.02 | 102.46 ▼6.32 | 41.98 ▼0.56 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.02 | 33.39 ▼2.28 | 33.98 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,546 ▲22 | 18.14 ▼5.01 | 593.53 ▼55.26 | 82.24 ▲22.27 |
Media Library /wp-admin/upload.php | 1,382 ▼3 | 4.26 ▲0.07 | 100.43 ▼2.45 | 45.20 ▲2.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mail-boxes-etc-mexico/includes/class-mbemex-wc-store-pickup.php
- > /wp-content/plugins/mail-boxes-etc-mexico/includes/class-mbemex-wc-shipping.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
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
5 plugin tags: packages, deliveries, orders, tracking, mbe
mail-boxes-etc-mexico/mail-boxes-etc-mexico.php Passed 13 tests
Analyzing the main PHP file in "MBE Shipping de Mail Boxes Etc." version 1.2.7
61 characters long description:
Integracion de MBE Shipping de Mail Boxes Etc. a Woocommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,507 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 432 | 276 | 1,348 |
JavaScript | 1 | 31 | 37 | 118 |
CSS | 1 | 7 | 4 | 41 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 39 | 95.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.88% |
Functions | 20 | |
▷ Named functions | 17 | 85.00% |
▷ Anonymous functions | 3 | 15.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/screenshot-3.png | 35.90KB | 10.50KB | ▼ 70.74% |