Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼7.32ms] Passed 4 tests
This is a short check of server-side resources used by Table Rate Shipping Method for WooCommerce by Shipped - WooCommerce Table Rate Shipping
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.93 ▼2.98 |
Dashboard /wp-admin | 3.59 ▲0.25 | 46.65 ▼15.37 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 49.04 ▼0.34 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 91.09 ▼10.58 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 39.46 ▲2.75 |
Server storage [IO: ▲4.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 426 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Table Rate Shipping Method for WooCommerce by Shipped - WooCommerce Table Rate Shipping
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲101 | 13.66 ▼0.44 | 1.71 ▲0.02 | 43.90 ▲1.14 |
Dashboard /wp-admin | 2,268 ▲94 | 5.40 ▼0.19 | 106.96 ▲3.71 | 41.91 ▼2.88 |
Posts /wp-admin/edit.php | 2,183 ▲83 | 2.51 ▲0.56 | 47.90 ▲9.39 | 36.06 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,599 ▲73 | 23.91 ▲0.68 | 689.28 ▲68.54 | 34.13 ▼15.60 |
Media Library /wp-admin/upload.php | 1,476 ▲73 | 4.95 ▲0.76 | 106.08 ▲10.97 | 41.96 ▲1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/controls/controls-simple-repeater/view-head.php
- > /wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/optionpage/option-page-content-header.php
- > /wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/optionpage/option-page-content-footer.php
- 83× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/optionpage/option-page.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/controls/controls-repeater/view-section-body.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/optionpage/option-page-content-footer.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/controls/controls-textblock/view.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/controls/controls-rangeslider/view.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/optionpage/option-page-content-header.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/fields/fields-option-page.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/controls/controls-simple-repeater/view-section.php on line 31
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/optionpage/option-page-aside-menu.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/table-rate-shipping-rates/framework/reon/inc/controls/controls-repeater/view-section-head.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Donate link: Invalid URI found ("")
table-rate-shipping-rates/table-rate-shipping-rates.php Passed 13 tests
The primary PHP file in "Table Rate Shipping Method for WooCommerce by Shipped - WooCommerce Table Rate Shipping" version 1.2.5 is used by WordPress to initiate all plugin functionality
89 characters long description:
Create multiple shipping rates & handling fees based on product rules and cart conditions
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin65,332 lines of code in 407 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 121 | 4,162 | 1,902 | 18,140 |
PHP | 197 | 4,879 | 197 | 15,291 |
CSS | 32 | 5,921 | 154 | 14,294 |
Sass | 36 | 811 | 71 | 9,492 |
LESS | 18 | 548 | 71 | 6,888 |
PO File | 1 | 451 | 654 | 950 |
Markdown | 2 | 50 | 0 | 277 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 12.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 184.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 151 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 151 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 792 | |
▷ Static methods | 302 | 38.13% |
▷ Public methods | 588 | 74.24% |
▷ Protected methods | 7 | 0.88% |
▷ Private methods | 197 | 24.87% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
extensions/shipped/assets/images/aside_logo.png | 2.26KB | 0.66KB | ▼ 70.93% |
extensions/shipped/assets/images/aside_bg.png | 14.75KB | 7.11KB | ▼ 51.81% |