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.21MB] [CPU: ▲3.54ms] Passed 4 tests
Server-side resources used by Local Delivery App for WordPress (WooCommerce) by Shipday
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 39.07 ▲0.25 |
Dashboard /wp-admin | 3.55 ▲0.25 | 54.82 ▲7.40 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 48.00 ▲2.23 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 92.69 ▲8.52 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.51 ▲4.29 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Local Delivery App for WordPress (WooCommerce) by Shipday
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.41 ▼0.15 | 1.88 ▲0.14 | 49.48 ▲5.23 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.04 | 93.56 ▲3.23 | 42.82 ▲6.39 |
Posts /wp-admin/edit.php | 2,100 ▲18 | 2.03 ▼0.01 | 34.20 ▲0.05 | 34.54 ▼5.12 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.36 ▼4.44 | 625.18 ▼54.22 | 64.50 ▲2.34 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▲0.00 | 94.01 ▼13.12 | 40.61 ▼5.40 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Woo_Order_Shipday' not found in wp-content/plugins/shipday-for-woocommerce/order_data/Dokan_Order_Shipday.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6 in shipday-for-woocommerce/assets to your readme.txt
shipday-for-woocommerce/shipday-integration-for-wooCommerce.php 77% from 13 tests
The principal PHP file in "Local Delivery App for WordPress (WooCommerce) by Shipday" v. 1.7 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 224 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("shipday-for-woocommerce.php" instead of "shipday-integration-for-wooCommerce.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin1,318 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 224 | 30 | 1,318 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 92 | |
▷ Static methods | 37 | 40.22% |
▷ Public methods | 87 | 94.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.43% |
Functions | 21 | |
▷ Named functions | 21 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected