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.04MB] [CPU: ▼4.52ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Fulfillment Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.84 ▼5.51 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.65 ▼2.51 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.95 ▼5.54 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 96.86 ▼4.52 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.53 ▼0.40 |
Fulfillment Integration /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php | 3.21 | 30.44 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
woocommerce_efs_options |
Browser metrics Passed 4 tests
WooCommerce Fulfillment Integration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.15 ▼1.26 | 1.53 ▼0.48 | 41.85 ▼2.03 |
Dashboard /wp-admin | 2,206 ▲21 | 5.79 ▼0.11 | 100.55 ▼0.05 | 37.92 ▼3.14 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.02 | 36.00 ▼4.89 | 32.98 ▼3.33 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.21 ▲4.74 | 618.60 ▲21.39 | 47.22 ▼7.04 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.34 ▲0.13 | 94.89 ▼7.44 | 41.08 ▼2.86 |
Fulfillment Integration /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php | 1,023 | 2.05 | 21.63 | 48.97 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- woocommerce_efs_options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php
- > Notice in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php+122
Undefined index: woocommerce_efs_save
- > GET request to /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php
- > Notice in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php+152
Undefined index: efs_merchant_id
- > GET request to /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php
- > Notice in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php+158
Undefined index: efs_merchant_token
- 30 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php
- > Notice in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php+216
Trying to get property 'name' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php
- > Notice in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php+172
Undefined index: efs_order_status
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php
- > Notice in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php+194
Undefined index: efs_received_status
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php
- > Notice in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php+215
Undefined index: efs_shipped_status
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woocommerce-fulfillment-integration/woocommerce-fulfillment.php
- > Notice in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php+229
Undefined index: efs_tracking_note
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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/woocommerce-fulfillment-integration/ExportItems.php
- > /wp-content/plugins/woocommerce-fulfillment-integration/ExportOrders.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woocommerce-fulfillment-integration/woocommerce-fulfillment.php:16
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: fulfillment, order fulfillment, efulfillment service, shipping, warehousing...
woocommerce-fulfillment-integration/woocommerce-fulfillment.php 92% from 13 tests
The primary PHP file in "WooCommerce Fulfillment Integration" version 1.5.6 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woocommerce-fulfillment-integration.php" instead of "woocommerce-fulfillment.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 plugin627 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 70 | 147 | 627 |
PHP code Passed 2 tests
This is a very shot review 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.33 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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 | 4 | |
▷ Global constants | 4 | 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
No PNG images were found in this plugin