Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.86ms] Passed 4 tests
A check of server-side resources used by Woo Delivery Rider Management
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.22 ▼1.15 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.95 ▲1.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.93 ▲2.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.91 ▼11.62 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.18 ▼0.30 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
wcdrm_woocommerce_prompt |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Delivery Rider Management
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼0.94 | 1.78 ▼0.09 | 45.74 ▼0.13 |
Dashboard /wp-admin | 2,210 ▲25 | 5.86 ▼0.04 | 100.03 ▼1.40 | 38.32 ▼4.64 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 1.99 ▼0.02 | 34.96 ▼0.28 | 31.09 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.22 ▲0.41 | 655.47 ▼32.61 | 63.63 ▲7.06 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.26 ▲0.04 | 104.57 ▲5.19 | 45.78 ▼0.74 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- wcdrm_woocommerce_prompt
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/woo-delivery-rider-management/includes/class-main.php
- > /wp-content/plugins/woo-delivery-rider-management/wc-delivery-rider-management.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: delivery rider, delivery, woocommerce, rider, user...
woo-delivery-rider-management/wc-delivery-rider-management.php 92% from 13 tests
Analyzing the main PHP file in "Woo Delivery Rider Management" version 1.0.0
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("woo-delivery-rider-management.php" instead of "wc-delivery-rider-management.php")
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 plugin74 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 32 | 74 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin