Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.99ms] Passed 4 tests
A check of server-side resources used by Estimated delivery date per product for WooCommerce | shipping date per product for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 34.84 ▼5.23 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.24 ▼8.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.91 ▼2.85 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.65 ▼19.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.06 ▲4.80 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Estimated delivery date per product for WooCommerce | shipping date per product for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.34 ▲0.00 | 1.63 ▼0.02 | 36.11 ▼7.56 |
Dashboard /wp-admin | 2,198 ▲24 | 5.62 ▼0.05 | 96.11 ▲1.99 | 42.46 ▼1.51 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.95 ▼0.04 | 37.06 ▲1.47 | 34.58 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.04 ▲0.19 | 721.05 ▲50.42 | 58.85 ▲3.90 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.18 ▼0.02 | 110.13 ▲14.45 | 47.70 ▲8.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/estimate-delivery-date-for-woocommerce/admin/img/limited-2-file.php
- > /wp-content/plugins/estimate-delivery-date-for-woocommerce/includes/pisol.class.form.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/estimate-delivery-date-for-woocommerce/admin/class-pi-edd-extra.php:108
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/estimate-delivery-date-for-woocommerce/public/class-edd-template.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/estimate-delivery-date-for-woocommerce/admin/class-pi-edd-holidays.php:98
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/estimate-delivery-date-for-woocommerce/admin/class-pi-edd-option.php:185
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/estimate-delivery-date-for-woocommerce/includes/includes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/estimate-delivery-date-for-woocommerce/admin/class-pi-edd-woo.php:52
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/estimate-delivery-date-for-woocommerce/admin/class-pi-edd-translate.php:183
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/estimate-delivery-date-for-woocommerce/includes/compatible-plugin-message.php:22
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/estimate-delivery-date-for-woocommerce/admin/class-pi-edd-shipping.php:238
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/estimate-delivery-date-for-woocommerce/admin/class-pi-edd-design.php:105
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: "piwebsolution.com"
- Screenshots: Please add descriptions for these screenshots #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #3, #4, #5, #6, #7, #9 in estimate-delivery-date-for-woocommerce/assets to your readme.txt
estimate-delivery-date-for-woocommerce/pi-edd.php 69% from 13 tests
The principal PHP file in "Estimated delivery date per product for WooCommerce | shipping date per product for WooCommerce" v. 4.10.29 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("estimate-delivery-date-for-woocommerce.php" instead of "pi-edd.php")
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "6.0.0")
- Description: Keep the plugin description shorter than 140 characters (currently 250 characters long)
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
Success! There were no dangerous files found in this plugin23,309 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 887 | 560 | 11,648 |
CSS | 3 | 2,061 | 22 | 9,448 |
SVG | 4 | 3 | 3 | 1,587 |
JavaScript | 5 | 92 | 80 | 626 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 13.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 30 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 238 | |
▷ Static methods | 22 | 9.24% |
▷ Public methods | 233 | 97.90% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 2.10% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
3 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/pi.png | 1.48KB | 1.11KB | ▼ 24.83% |
includes/background.png | 74.27KB | 26.29KB | ▼ 64.60% |
admin/img/pi-web-solution.png | 21.25KB | 9.42KB | ▼ 55.67% |