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.05MB] [CPU: ▼1.52ms] Passed 4 tests
An overview of server-side resources used by Product delivery date time for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.44 ▼1.92 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.17 ▼2.44 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 43.46 ▼4.90 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 93.75 ▲6.09 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.57 ▲3.17 |
Compare Plugins /wp-admin/admin.php?page=byconsolewooptt_compare_plugins_settings | 3.24 | 29.57 |
Holiday Settings /wp-admin/admin.php?page=byconsolewooptt_holiday_settings | 3.24 | 32.74 |
WooPDT Lite /wp-admin/admin.php?page=byconsolewooptt_general_settings | 3.24 | 32.99 |
Custom Modification Request /wp-admin/admin.php?page=byconsolewooptt_custom_modification_settings | 3.24 | 29.99 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Product delivery date time for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,940 ▲194 | 13.76 ▼0.64 | 10.29 ▲8.41 | 42.69 ▼1.82 |
Dashboard /wp-admin | 2,252 ▲75 | 4.93 ▲0.06 | 104.69 ▼1.21 | 41.93 ▼9.06 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.10 ▲0.09 | 50.60 ▲8.60 | 41.28 ▲3.49 |
Add New Post /wp-admin/post-new.php | 1,559 ▲45 | 18.59 ▲0.89 | 647.87 ▼16.11 | 57.84 ▲0.61 |
Media Library /wp-admin/upload.php | 1,434 ▲43 | 4.24 ▲0.05 | 96.03 ▼5.90 | 42.16 ▼1.19 |
Compare Plugins /wp-admin/admin.php?page=byconsolewooptt_compare_plugins_settings | 1,193 | 1.71 | 26.67 | 34.12 |
Holiday Settings /wp-admin/admin.php?page=byconsolewooptt_holiday_settings | 923 | 1.78 | 26.77 | 26.97 |
WooPDT Lite /wp-admin/admin.php?page=byconsolewooptt_general_settings | 1,218 | 1.72 | 27.81 | 22.81 |
Custom Modification Request /wp-admin/admin.php?page=byconsolewooptt_custom_modification_settings | 888 | 1.72 | 25.63 | 27.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-delivery-date-time-for-woocommerce/inc/bycwoopdtt_compare_table.php:368
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-delivery-date-time-for-woocommerce/inc/bycwoopdtt_admin_settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-delivery-date-time-for-woocommerce/inc/bycwoopdtt_get_time_slot_list_by_date_using_ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/product-delivery-date-time-for-woocommerce/woocommerce/admin-product.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-delivery-date-time-for-woocommerce/inc/bycwoopdtt_modification_request_details.php:580
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-delivery-date-time-for-woocommerce/inc/bycwoopdtt_holiday_setting.php:172
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=byconsolewooptt_custom_modification_settings
- > Javascript (severe) in unknown
/wp-content/plugins/product-delivery-date-time-for-woocommerce/js/jquery-ui.multidatespicker.js?ver=6.3.1 480:35 Uncaught TypeError: Cannot read properties of undefined (reading 'multiDatesPicker')
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=byconsolewooptt_custom_modification_settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).datepicker is not a function" "TypeError: jQuery(...).datepicker is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/product-delivery-date-time-for-woocommerce/js/admin-scripts.js?ver=6.3.1:25:52)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=byconsolewooptt_custom_modification_settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).datepicker is not a function
- > GET request to /wp-admin/admin.php?page=byconsolewooptt_holiday_settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $this.datepicker is not a function" "TypeError: $this.datepicker is not a function\n at HTMLInputElement.init (/wp-content/plugins/product-delivery-date-time-for-woocommerce/js/jquery-ui.multidatespicker.js?ver=6.3.1:154:12)\n at HTMLInputElement.\u003Canonymous> (/wp-content/plugins/product-delivery-date-time-for-woocommerce/js/jquery-ui.multidatespicker.js?ver=6.3.1:463:25)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at $.fn.multiDatesPicker (/wp-content/plugins/product-delivery-date-time-for-woocommerce/js/jquery-ui.multidatespicker.js?ver=6.3.1:418:8)\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=byconsolewooptt_holiday_settings:164:57)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=byconsolewooptt_holiday_settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $this.datepicker is not a function" "TypeError: $this.datepicker is not a function\n at HTMLInputElement.init (/wp-content/plugins/product-delivery-date-time-for-woocommerce/js/jquery-ui.multidatespicker.js?ver=6.3.1:154:12)\n at HTMLInputElement.\u003Canonymous> (/wp-content/plugins/product-delivery-date-time-for-woocommerce/js/jquery-ui.multidatespicker.js?ver=6.3.1:463:25)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at $.fn.multiDatesPicker (/wp-content/plugins/product-delivery-date-time-for-woocommerce/js/jquery-ui.multidatespicker.js?ver=6.3.1:418:8)\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=byconsolewooptt_holiday_settings:193:50)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=byconsolewooptt_holiday_settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $this.datepicker is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Delivery date-time selection screen before entering for product details.), #2 (Pickup date selection calendar.), #3 (Time drop-down for pickup time selection.), #4 (Delivery date selection calendar), #5 (Delivery service time settings on wp-admin side.), #6 (Delivery date time on admin side order edit page), #7 (Delivery date time on customer's side order details page), #8 (Delivery date time on customer's email.)
product-delivery-date-time-for-woocommerce/ByConsoleProduct_delivery_date_time.php 85% from 13 tests
The principal PHP file in "Product delivery date time for WooCommerce" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("product-delivery-date-time-for-woocommerce.php" instead of "ByConsoleProduct_delivery_date_time.php")
- Description: The description should be shorter than 140 characters (currently 272 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin3,420 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,545 | 68 | 1,468 |
PHP | 7 | 2,478 | 40 | 1,388 |
JavaScript | 2 | 76 | 44 | 422 |
PO File | 1 | 57 | 204 | 142 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
27 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_cccccc_256x240.png | 6.81KB | 4.17KB | ▼ 38.71% |
css/images/ui-bg_glass_20_555555_1x400.png | 0.25KB | 0.15KB | ▼ 40.38% |
css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |
css/images/ui-bg_flat_50_5c5c5c_40x100.png | 0.22KB | 0.08KB | ▼ 62.17% |
css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |