Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▲2.04ms] Passed 4 tests
A check of server-side resources used by Estimated Delivery Date Per Product For Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.82 ▲0.64 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.02 ▲2.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.45 ▲0.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.33 ▲5.46 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.44 ▲4.25 |
Product Est Date /wp-admin/admin.php?page=product-estdate | 3.00 | 23.86 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Estimated Delivery Date Per Product For Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.77 ▼0.62 | 1.75 ▼0.04 | 37.02 ▼7.94 |
Dashboard /wp-admin | 2,209 ▲18 | 5.86 ▼0.04 | 104.45 ▲3.60 | 40.72 ▲0.34 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.06 | 39.40 ▲4.29 | 35.02 ▼0.58 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.02 ▼0.16 | 656.34 ▼36.05 | 59.22 ▼1.25 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.05 | 93.36 ▼9.79 | 41.42 ▼4.19 |
Product Est Date /wp-admin/admin.php?page=product-estdate | 28 | 0.44 | 0.07 | 3.65 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/estimated-delivery-date-per-product-for-woocommerce/estimated-shipping-date-per-product-for-woocommerce.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/estimated-delivery-date-per-product-for-woocommerce/frontend/frontend.php:314
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/estimated-delivery-date-per-product-for-woocommerce/admin/esdppfw-backend.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=product-estdate
- > Network (severe)
wp-admin/admin.php?page=product-estdate - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 83% 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
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in estimated-delivery-date-per-product-for-woocommerce/assets to your readme.txt
- Contributors: The plugin contributors field is not present
estimated-delivery-date-per-product-for-woocommerce/estimated-shipping-date-per-product-for-woocommerce.php 77% from 13 tests
The main PHP file in "Estimated Delivery Date Per Product For Woocommerce" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("estimated-delivery-date-per-product-for-woocommerce.php" instead of "estimated-shipping-date-per-product-for-woocommerce.php")
- 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
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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,068 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 96 | 62 | 712 |
JavaScript | 3 | 59 | 161 | 312 |
CSS | 2 | 0 | 0 | 44 |
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.23 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/custom-icon-truck.png | 0.43KB | 0.40KB | ▼ 7.48% |