Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼8.82ms] Passed 4 tests
Server-side resources used by BOXFUL(HK)電商出貨小幫手:One-stop e-commerce Fulfillment for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.11 ▼4.72 |
Dashboard /wp-admin | 3.37 ▲0.03 | 44.55 ▼18.88 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.34 ▲4.37 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 85.36 ▼16.05 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.80 ▲7.24 |
Boxful Fulfillment HK /wp-admin/admin.php?page=sub_boxful_fulfillment | 3.26 | 30.41 |
Server storage [IO: ▲4.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by BOXFUL(HK)電商出貨小幫手:One-stop e-commerce Fulfillment for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.65 ▼1.10 | 1.80 ▲0.08 | 44.07 ▲1.54 |
Dashboard /wp-admin | 2,202 ▲14 | 5.82 ▼0.04 | 107.23 ▼12.14 | 39.10 ▼3.93 |
Posts /wp-admin/edit.php | 2,091 ▲2 | 2.17 ▲0.13 | 40.46 ▲5.59 | 35.38 ▼2.51 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.40 ▲0.25 | 670.19 ▲12.09 | 50.92 ▼0.51 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.22 ▲0.03 | 94.54 ▼3.16 | 40.94 ▼3.52 |
Boxful Fulfillment HK /wp-admin/admin.php?page=sub_boxful_fulfillment | 856 | 2.03 | 30.68 | 56.69 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/boxful-fulfillment-hk/view/admin/index.php
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant BOXFUL_FULFILLMENT_HK_PLUGIN_DIR - assumed 'BOXFUL_FULFILLMENT_HK_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/boxful-fulfillment-hk/controller/shipping-method/ShippingMethodController.php on line 37
- > PHP Warning
Use of undefined constant BOXFUL_FULFILLMENT_HK_PLUGIN_DIR - assumed 'BOXFUL_FULFILLMENT_HK_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/boxful-fulfillment-hk/controller/status/StatusController.php on line 59
- > PHP Warning
require_once(BOXFUL_FULFILLMENT_HK_PLUGIN_DIRcontroller/status/AdminStatusController.php): failed to open stream: No such file or directory in wp-content/plugins/boxful-fulfillment-hk/controller/status/StatusController.php on line 59
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxful-fulfillment-hk/controller/shipping-method/class/BoxfulSfExpress.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxful-fulfillment-hk/controller/shipping-method/class/BoxfulLogistic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/boxful-fulfillment-hk/boxful-fulfillment-hk.php:12
- > PHP Warning
require_once(BOXFUL_FULFILLMENT_HK_PLUGIN_DIRcontroller/shipping-method/AdminShippingMethodController.php): failed to open stream: No such file or directory in wp-content/plugins/boxful-fulfillment-hk/controller/shipping-method/ShippingMethodController.php on line 37
- > PHP Fatal error
require_once(): Failed opening required 'BOXFUL_FULFILLMENT_HK_PLUGIN_DIRcontroller/shipping-method/AdminShippingMethodController.php' (include_path='.:/usr/share/php') in wp-content/plugins/boxful-fulfillment-hk/controller/shipping-method/ShippingMethodController.php on line 37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boxful-fulfillment-hk/controller/order-list/OrderListController.php:12
- > PHP Fatal error
require_once(): Failed opening required 'BOXFUL_FULFILLMENT_HK_PLUGIN_DIRcontroller/status/AdminStatusController.php' (include_path='.:/usr/share/php') in wp-content/plugins/boxful-fulfillment-hk/controller/status/StatusController.php on line 59
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=sub_boxful_fulfillment
- > Network (severe)
img/bff_logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Requires php: Invalid plugin version format
- Screenshots: Add a description for screenshot #1 in boxful-fulfillment-hk/assets to your readme.txt
boxful-fulfillment-hk/boxful-fulfillment-hk.php Passed 13 tests
The main PHP script in "BOXFUL(HK)電商出貨小幫手:One-stop e-commerce Fulfillment for WooCommerce" version 1.0.0 is automatically included on every request by WordPress
21 characters long description:
Boxful Fulfillment HK
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 plugin513 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 67 | 9 | 475 |
CSS | 1 | 5 | 0 | 38 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 96.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.03% |
Functions | 7 | |
▷ Named functions | 7 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/bff_logo.png | 5.65KB | 2.75KB | ▼ 51.23% |
img/boxful_3pl_logo.png | 19.94KB | 20.16KB | 0.00% |
img/shipment.png | 25.98KB | 12.08KB | ▼ 53.51% |
img/ready-to-ship.png | 23.98KB | 12.11KB | ▼ 49.49% |