Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼146.07ms] Passed 4 tests
Analyzing server-side resources used by Multiple Shipping Address Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.00 | 33.62 ▼17.98 |
Dashboard /wp-admin | 3.06 ▲0.00 | 49.85 ▲0.13 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 44.96 ▼0.32 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 91.56 ▼565.25 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 32.49 ▼0.71 |
Multiple Address Option /wp-admin/admin.php?page=multiple-address | 2.74 | 22.28 |
Essential Kit /wp-admin/admin.php?page=ocwma_kit | 2.74 | 18.86 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: 1 new table, no new options
New tables |
---|
wp_ocwma_billingadress |
Browser metrics Passed 4 tests
An overview of browser requirements for Multiple Shipping Address Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲192 | 16.16 ▲0.21 | 10.99 ▲0.63 | 46.86 ▼2.09 |
Dashboard /wp-admin | 2,967 ▲30 | 5.93 ▼0.04 | 149.34 ▼5.16 | 102.96 ▼4.11 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▲0.01 | 66.29 ▲0.77 | 87.31 ▼1.34 |
Add New Post /wp-admin/post-new.php | 1,500 ▼183 | 18.51 ▼0.24 | 433.10 ▲44.41 | 111.07 ▲6.33 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▲0.01 | 151.87 ▲5.57 | 118.59 ▲0.68 |
Multiple Address Option /wp-admin/admin.php?page=multiple-address | 28 | 0.90 | 0.10 | 10.65 |
Essential Kit /wp-admin/admin.php?page=ocwma_kit | 28 | 0.90 | 0.05 | 11.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_ocwma_billingadress
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/multiple-shipping-address-woocommerce/oc-woo-multiple-address.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=multiple-address
- > Network (severe)
wp-admin/admin.php?page=multiple-address - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=ocwma_kit
- > Network (severe)
wp-admin/admin.php?page=ocwma_kit - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Contributors: Plugin contributors not specified
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in multiple-shipping-address-woocommerce/assets to your readme.txt
multiple-shipping-address-woocommerce/oc-woo-multiple-address.php 92% from 13 tests
The primary PHP file in "Multiple Shipping Address Woocommerce" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("multiple-shipping-address-woocommerce.php" instead of "oc-woo-multiple-address.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 detected2,994 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 291 | 37 | 1,742 |
CSS | 2 | 27 | 14 | 686 |
JavaScript | 3 | 90 | 14 | 566 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 30.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 5 | 9.09% |
▷ Public methods | 55 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/star.png | 39.75KB | 10.35KB | ▼ 73.95% |