Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.95ms] Passed 4 tests
An overview of server-side resources used by BOXFUL電商出貨小幫手:One-stop e-commerce Fulfillment for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.71 ▲2.98 |
Dashboard /wp-admin | 3.54 ▲0.20 | 56.67 ▼2.56 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 52.95 ▲4.04 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 96.37 ▼14.27 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 37.77 ▲2.04 |
Server storage [IO: ▲4.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for BOXFUL電商出貨小幫手:One-stop e-commerce Fulfillment for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.21 ▼1.53 | 1.91 ▼0.03 | 42.35 ▲3.97 |
Dashboard /wp-admin | 2,208 ▲17 | 5.85 ▲0.78 | 97.44 ▼10.81 | 38.29 ▼9.02 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.05 ▼0.00 | 40.07 ▼0.98 | 35.77 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,530 ▲6 | 23.20 ▲0.10 | 654.76 ▼13.13 | 58.27 ▼0.08 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.29 ▲0.05 | 98.45 ▼15.65 | 44.38 ▼2.72 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/boxful-fulfillment/templates/cart/chooseSevenCVS.php
- > /wp-content/plugins/boxful-fulfillment/templates/cart/chooseFamilyMartCVS.php
- > /wp-content/plugins/boxful-fulfillment/view/admin/index.php
- > /wp-content/plugins/boxful-fulfillment/templates/cart/chooseHiLifeCVS.php
- 38× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/boxful-fulfillment/templates/cart/chooseFamilyMartCVS.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxful-fulfillment/controller/shipping-method/class/BoxfulChungHwaPost.php:3
- > PHP Fatal error
require_once(): Failed opening required 'BOXFUL_FULFILLMENT_PLUGIN_DIRcontroller/shipping-method/AdminShippingMethodController.php' (include_path='.:/usr/share/php') in wp-content/plugins/boxful-fulfillment/controller/shipping-method/ShippingMethodController.php on line 49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxful-fulfillment/controller/order-list/OrderListController.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/boxful-fulfillment/templates/cart/chooseFamilyMartCVS.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxful-fulfillment/controller/shipping-method/class/BoxfulCrossBorder.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxful-fulfillment/api/BoxfulApiRouter.php:3
- > PHP Notice
Undefined variable: args in wp-content/plugins/boxful-fulfillment/templates/cart/chooseSevenCVS.php on line 6
- > PHP Notice
Undefined variable: args in wp-content/plugins/boxful-fulfillment/templates/cart/chooseHiLifeCVS.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxful-fulfillment/controller/shipping-method/class/BoxfulSevenEleven.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Requires php: Invalid plugin version format
- Screenshots: Please a description for screenshot #1 in boxful-fulfillment/assets to your readme.txt
boxful-fulfillment/boxful-fulfillment.php Passed 13 tests
The main file in "BOXFUL電商出貨小幫手:One-stop e-commerce Fulfillment for WooCommerce" v. 1.3.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
18 characters long description:
Boxful Fulfillment
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
Success! There were no dangerous files found in this plugin1,286 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 126 | 19 | 1,235 |
CSS | 1 | 8 | 0 | 51 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 1.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 60 | 98.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.64% |
Functions | 28 | |
▷ Named functions | 16 | 57.14% |
▷ Anonymous functions | 12 | 42.86% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.12MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ready-to-ship.png | 52.01KB | 23.06KB | ▼ 55.66% |
img/boxful_3pl_logo.png | 19.94KB | 20.16KB | 0.00% |
img/shipment.png | 44.73KB | 18.71KB | ▼ 58.18% |
img/bff_logo.png | 5.65KB | 2.75KB | ▼ 51.23% |