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.12MB] [CPU: ▼4.75ms] Passed 4 tests
This is a short check of server-side resources used by Estimated Delivery for Woocomerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.73 ▼6.13 |
Dashboard /wp-admin | 3.44 ▲0.13 | 51.88 ▲3.99 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.69 ▼8.79 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 88.57 ▼7.29 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 37.99 ▲3.20 |
Estimated Delivery /wp-admin/admin.php?page=edw-options | 3.44 | 39.71 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Estimated Delivery for Woocomerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,454 ▼307 | 14.34 ▲0.03 | 0.55 ▼1.30 | 18.61 ▼26.74 |
Dashboard /wp-admin | 2,192 ▲12 | 5.64 ▼0.05 | 95.16 ▼0.39 | 44.73 ▼3.51 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▼0.02 | 33.72 ▼3.58 | 32.80 ▼4.58 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.14 ▲5.54 | 626.48 ▼37.48 | 56.41 ▲4.31 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.24 ▲0.09 | 103.73 ▼3.23 | 45.52 ▲1.78 |
Estimated Delivery /wp-admin/admin.php?page=edw-options | 1,263 | 2.02 | 23.79 | 28.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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
2 plugin tags: estimated delivery, delivery woocommerce
estimated-delivery-for-woocommerce/estimated-delivery-woocommerce.php 85% from 13 tests
This is the main PHP file of "Estimated Delivery for Woocomerce" version 1.3.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("estimated-delivery-for-woocommerce.php" instead of "estimated-delivery-woocommerce.php")
- Requires at least: Required version does not match the one declared in readme.txt ("4.3" instead of "3.0")
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 plugin2,067 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 105 | 46 | 1,244 |
PO File | 4 | 261 | 390 | 672 |
Markdown | 2 | 36 | 0 | 104 |
JavaScript | 1 | 8 | 0 | 47 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.67MB with 0.41MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wordpress-org/icon-128x128.png | 6.03KB | 3.84KB | ▼ 36.23% |
wordpress-org/icon-256x256.png | 29.49KB | 11.52KB | ▼ 60.94% |
wordpress-org/banner-1880x609.png | 319.76KB | 97.10KB | ▼ 69.63% |
wordpress-org/banner-1544x500.png | 250.85KB | 75.36KB | ▼ 69.96% |
wordpress-org/banner-772x250.png | 81.12KB | 25.83KB | ▼ 68.16% |