Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.85ms] Passed 4 tests
A check of server-side resources used by Delivery Date checkout for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.42 ▼5.81 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.37 ▼11.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.32 ▲1.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.48 ▼13.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.78 ▼4.77 |
Delivery Date /wp-admin/admin.php?page=oc-delivery-date | 3.00 | 26.27 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Delivery Date checkout for Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.30 ▼1.03 | 5.31 ▲3.52 | 43.34 ▲5.30 |
Dashboard /wp-admin | 2,206 ▲15 | 4.83 ▼0.97 | 109.82 ▲4.82 | 41.64 ▲2.16 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.01 | 41.85 ▲2.04 | 34.61 ▼2.90 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.64 ▼5.61 | 664.82 ▼70.57 | 61.55 ▼2.38 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.32 ▲0.13 | 95.39 ▼3.89 | 45.92 ▲3.90 |
Delivery Date /wp-admin/admin.php?page=oc-delivery-date | 28 | 0.44 | 0.06 | 4.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/delivery-date-checkout-for-woocommerce/delivery-date-for-checkout-woo.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=oc-delivery-date
- > Network (severe)
wp-admin/admin.php?page=oc-delivery-date - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: woocommerce delivery date, delivery time and date, delivery date for woocommerce, delivery date, delivery date and time checkout
delivery-date-checkout-for-woocommerce/delivery-date-for-checkout-woo.php 92% from 13 tests
"Delivery Date checkout for Woocommerce" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("delivery-date-checkout-for-woocommerce.php" instead of "delivery-date-for-checkout-woo.php")
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
No dangerous file extensions were detected2,462 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 67 | 49 | 1,617 |
PHP | 4 | 266 | 34 | 818 |
JavaScript | 1 | 7 | 3 | 27 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 5 | 14.29% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
5 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 |
assets/css/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |
assets/css/images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
assets/css/model-release-icon@3x.5cad9ea831eba8.28620202.png | 9.44KB | 3.48KB | ▼ 63.18% |
assets/images/star.png | 39.75KB | 10.35KB | ▼ 73.95% |
assets/images/remove.png | 0.78KB | 0.53KB | ▼ 32.20% |