Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.53ms] Passed 4 tests
Analyzing server-side resources used by Burd Delivery Shipping
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.41 ▼5.29 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.25 ▼4.51 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.39 ▼2.64 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.21 ▼25.67 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.18 ▼0.56 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Burd Delivery Shipping
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.74 ▲0.14 | 1.87 ▼0.06 | 41.02 ▼3.18 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▲0.05 | 89.06 ▼3.09 | 39.75 ▼1.74 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.01 | 37.84 ▼3.84 | 34.89 ▼4.67 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.95 ▼0.12 | 647.98 ▲1.36 | 54.53 ▼4.56 |
Media Library /wp-admin/upload.php | 1,391 ▼12 | 4.17 ▼0.05 | 102.78 ▼10.16 | 41.56 ▼7.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/burd-delivery-shipping/class-burd-order-shipping-handler.php:30
- > PHP Fatal error
Uncaught Error: Class 'Burd_Package_Calculation' not found in wp-content/plugins/burd-delivery-shipping/class-burd-condition-filter.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/burd-delivery-shipping/class-burd-admin.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/burd-delivery-shipping/class-burd-checkout.php:59
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/burd-delivery-shipping/hooks.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
- Screenshots: Add an image for screenshot #1 (The setup view.)
burd-delivery-shipping/autoloader.php 92% from 13 tests
The primary PHP file in "Burd Delivery Shipping" version 1.5 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("burd-delivery-shipping.php" instead of "autoloader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin1,526 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 382 | 520 | 1,406 |
JavaScript | 3 | 35 | 29 | 91 |
CSS | 2 | 4 | 0 | 29 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 19.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 77.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 10 | 14.49% |
▷ Public methods | 47 | 68.12% |
▷ Protected methods | 4 | 5.80% |
▷ Private methods | 18 | 26.09% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
1 PNG file occupies 0.20MB with 0.20MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/ icon-256x256.png | 209.55KB | 3.63KB | ▼ 98.27% |