Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.19ms] Passed 4 tests
An overview of server-side resources used by Multiple Shipping And Billing Address For Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.63 ▼6.98 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.77 ▼5.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.99 ▼0.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.68 ▲7.67 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.41 ▼0.01 |
Different Address Option /wp-admin/admin.php?page=different-address | 3.00 | 22.67 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_dsabafw_billingadress |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Multiple Shipping And Billing Address For Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 13.46 ▼0.75 | 2.10 ▲0.32 | 41.53 ▼9.64 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.01 | 108.44 ▲0.59 | 43.34 ▼0.66 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 39.72 ▲4.42 | 35.60 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.49 ▲0.90 | 607.22 ▼54.42 | 72.33 ▲5.64 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.19 ▼0.06 | 99.89 ▼7.48 | 41.11 ▼3.38 |
Different Address Option /wp-admin/admin.php?page=different-address | 28 | 0.44 | 0.13 | 3.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_dsabafw_billingadress
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/different-shipping-and-billing-address-for-woocommerce/dsabafw-multiple-address.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/different-shipping-and-billing-address-for-woocommerce/main/resources/dsabafw-language.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/different-shipping-and-billing-address-for-woocommerce/main/resources/dsabafw-load-js-css.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/different-shipping-and-billing-address-for-woocommerce/main/resources/dsabafw-installation-require.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=different-address
- > Network (severe)
wp-admin/admin.php?page=different-address - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Contributors: The plugin contributors field is missing
different-shipping-and-billing-address-for-woocommerce/dsabafw-multiple-address.php 92% from 13 tests
The main PHP file in "Multiple Shipping And Billing Address For Woocommerce" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("different-shipping-and-billing-address-for-woocommerce.php" instead of "dsabafw-multiple-address.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected2,546 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 145 | 64 | 1,534 |
JavaScript | 3 | 70 | 16 | 558 |
CSS | 2 | 8 | 16 | 454 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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