Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php+64
Undefined index: bfs_APIKey
Server metrics [RAM: ▼1.83MB] [CPU: ▼54.92ms] Passed 4 tests
Server-side resources used by BOXTONS WooCommerce Fulfillment Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.17 ▼1.29 | 5.30 ▼34.75 |
Dashboard /wp-admin | 2.19 ▼1.15 | 6.14 ▼53.00 |
Posts /wp-admin/edit.php | 2.19 ▼1.16 | 6.19 ▼43.29 |
Add New Post /wp-admin/post-new.php | 2.19 ▼3.69 | 6.70 ▼88.64 |
Media Library /wp-admin/upload.php | 2.19 ▼1.04 | 7.60 ▼29.05 |
BOXTONS Integration /wp-admin/admin.php?page=boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php | 2.19 | 5.61 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
woocommerce_bfs_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for BOXTONS WooCommerce Fulfillment Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲44 | 13.20 ▼1.09 | 1.73 ▲0.10 | 44.21 ▲2.32 |
Dashboard /wp-admin | 2,206 ▲18 | 5.81 ▲0.93 | 94.06 ▼8.53 | 35.48 ▼7.15 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.00 | 35.33 ▼3.03 | 30.17 ▼5.81 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.92 ▲0.61 | 590.03 ▼54.91 | 62.97 ▼1.37 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▼0.08 | 94.19 ▼17.78 | 41.67 ▼7.13 |
BOXTONS Integration /wp-admin/admin.php?page=boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php | 861 | 2.18 | 25.85 | 29.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php+64
Undefined index: bfs_APIKey
- This plugin did not uninstall successfully, leaving 7 options in the database
- woocommerce_bfs_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php
- > Notice in wp-content/plugins/boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php+362
Undefined index: bfs_APIKey
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php
- > Notice in wp-content/plugins/boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php+368
Undefined index: bfs_APISecret
SRP 50% 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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:
- Screenshots: Screenshot #1 (Coming Soon) image required
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
boxtons-woocommerce-order-fullfilment/boxtons-woocommerce-fulfillment.php 92% from 13 tests
This is the main PHP file of "BOXTONS WooCommerce Fulfillment Integration" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("boxtons-woocommerce-order-fullfilment.php" instead of "boxtons-woocommerce-fulfillment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin303 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 87 | 303 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/boxtons-logo-on-white-570x90.png | 11.04KB | 6.95KB | ▼ 37.08% |