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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.87ms] Passed 4 tests
A check of server-side resources used by Schedule Product Delivery Date for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.89 ▼9.63 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.49 ▼6.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.16 ▲1.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.83 ▼0.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.01 ▼6.89 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Schedule Product Delivery Date for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.34 ▼0.21 | 1.66 ▼0.21 | 40.78 ▼1.04 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.02 | 84.27 ▼6.15 | 40.78 ▲4.63 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.97 ▼0.01 | 39.29 ▲2.48 | 35.80 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.18 ▲0.11 | 618.94 ▼71.99 | 47.77 ▼13.19 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.19 ▼0.02 | 95.70 ▼19.93 | 46.23 ▼3.72 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: woocommerce product delivery date, product delivery date, product delivery, woocommerce schedule delivery, woocommerce order delivery...
schedule-product-delivery-date-for-woocommerce/schedule-delivery-for-woocommerce-products.php 69% from 13 tests
The main PHP file in "Schedule Product Delivery Date for WooCommerce" ver. 1.1.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.7" instead of "5.0")
- Main file name: Name the main plugin file the same as the plugin slug ("schedule-product-delivery-date-for-woocommerce.php" instead of "schedule-delivery-for-woocommerce-products.php")
- Description: The description should be shorter than 140 characters (currently 163 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin5,215 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 466 | 1,187 | 3,931 |
CSS | 3 | 41 | 48 | 1,224 |
SVG | 10 | 0 | 0 | 58 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 60.15 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 292.00 |
Average method complexity | 5.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 1 | 7.69% |
▷ Concrete classes | 12 | 92.31% |
▷ Final classes | 0 | 0.00% |
Methods | 166 | |
▷ Static methods | 29 | 17.47% |
▷ Public methods | 141 | 84.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 25 | 15.06% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 10 | 47.62% |
▷ Class constants | 11 | 52.38% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/css/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.32KB | 0.18KB | ▼ 44.00% |
admin/assets/css/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.38KB | 0.12KB | ▼ 67.68% |
admin/assets/css/jquery-ui/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
admin/assets/css/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |
admin/assets/img/help.png | 0.30KB | 0.32KB | 0.00% |