Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.18ms] Passed 4 tests
A check of server-side resources used by WPSSO Shipping Delivery Time for WooCommerce SEO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 33.47 ▼2.73 |
Dashboard /wp-admin | 3.43 ▲0.13 | 48.30 ▼1.70 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 50.83 ▲5.53 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 94.46 ▼9.20 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.90 ▲0.90 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WPSSO Shipping Delivery Time for WooCommerce SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲40 | 14.67 ▲0.40 | 1.61 ▲0.06 | 39.53 ▼1.83 |
Dashboard /wp-admin | 2,210 ▲33 | 5.59 ▼0.03 | 96.62 ▲8.77 | 43.53 ▲7.34 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.97 ▼0.17 | 40.59 ▲2.07 | 37.34 ▲1.88 |
Add New Post /wp-admin/post-new.php | 1,547 ▲12 | 25.12 ▼0.05 | 635.45 ▼23.86 | 65.44 ▲1.64 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.22 ▼0.04 | 101.09 ▲2.78 | 42.17 ▼0.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please fix the following
- 12× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/gettext/gettext-lib-config.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/lib/abstract/add-on.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/gettext/gettext-lib-abstract-com.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/lib/woocommerce.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/lib/config.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/lib/submenu/wcsdt-general.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/lib/woocommerce-admin.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/lib/abstract/com/add-on.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/wpsso-wc-shipping-delivery-time.php
- > /wp-content/plugins/wpsso-wc-shipping-delivery-time/lib/filters.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: schemaorg, shippingdeliverytime, shippingdetails, deliverytime, delivery...
wpsso-wc-shipping-delivery-time/wpsso-wc-shipping-delivery-time.php Passed 13 tests
The main file in "WPSSO Shipping Delivery Time for WooCommerce SEO" v. 3.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
86 characters long description:
Shipping delivery time estimates for WooCommerce shipping zones, methods, and classes.
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
There were no executable files found in this plugin1,325 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 550 | 265 | 1,105 |
PO File | 1 | 58 | 62 | 150 |
Markdown | 1 | 17 | 0 | 40 |
HTML | 2 | 32 | 0 | 30 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 2 | 20.00% |
▷ Concrete classes | 8 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 8 | 13.56% |
▷ Public methods | 41 | 69.49% |
▷ Protected methods | 4 | 6.78% |
▷ Private methods | 14 | 23.73% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-256x256.png | 45.79KB | 15.95KB | ▼ 65.17% |
images/icon-128x128.png | 18.67KB | 6.85KB | ▼ 63.32% |