Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.52ms] Passed 4 tests
A check of server-side resources used by Estimate delivery per Product for Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.09 ▼10.25 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.50 ▼5.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.08 ▼2.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.84 ▼12.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.46 ▲3.12 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Estimate delivery per Product for Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.18 ▼1.19 | 4.31 ▲2.24 | 41.05 ▼2.04 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▲0.90 | 104.31 ▼3.18 | 37.90 ▼4.11 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.11 | 37.08 ▲0.97 | 34.82 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,528 ▲9 | 23.25 ▼0.06 | 649.14 ▼17.00 | 60.14 ▼3.68 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.22 ▼0.03 | 99.38 ▼11.79 | 43.43 ▼3.43 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (General Settings), #2 (Next Day Delivery and Closing Time), #3 (Holiday Period), #4 (Display as a range in product page), #5 (Display Delivery date in mini cart), #6 (Display Delivery date in cart), #7 (Display Delivery date in checkout), #8 (Display Delivery date as a date format)
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
estimate-delivery-per-product-for-woocommerce/woo-estimate-delivery.php 77% from 13 tests
"Estimate delivery per Product for Woocommerce" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 158 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("estimate-delivery-per-product-for-woocommerce.php" instead of "woo-estimate-delivery.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin672 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 2 | 28 | 619 |
CSS | 1 | 1 | 4 | 48 |
JavaScript | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of 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.39 |
Average class complexity | 15.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.55MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Screenshot_4.png | 119.84KB | 40.96KB | ▼ 65.82% |
images/Screenshot_2.png | 45.39KB | 23.44KB | ▼ 48.36% |
images/Screenshot_5.png | 135.78KB | 43.51KB | ▼ 67.95% |
images/Screenshot_6.png | 32.68KB | 13.89KB | ▼ 57.49% |
images/Screenshot_3.png | 21.46KB | 10.67KB | ▼ 50.28% |