Benchmarks
Plugin footprint 65% 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.01MB] [CPU: ▼5.53ms] Passed 4 tests
An overview of server-side resources used by Amazing Fulfillment Integration for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.54 ▼2.02 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.89 ▼13.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.41 ▲0.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.96 ▼6.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.38 ▲1.61 |
Server storage [IO: ▲1.79MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 304 new files
Database: 5 new tables, 6 new options
New tables |
---|
wp_amzFulfillment_inventory |
wp_amzFulfillment_listing |
wp_amzFulfillment_fulfillment |
wp_amzFulfillment_package |
wp_amzFulfillment_log |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Amazing Fulfillment Integration for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼1.44 | 1.67 ▲0.03 | 41.81 ▼0.01 |
Dashboard /wp-admin | 2,213 ▲25 | 5.88 ▼0.00 | 97.20 ▼4.84 | 40.61 ▼1.82 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.07 | 40.50 ▲3.13 | 35.57 ▼0.55 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.22 ▲5.64 | 658.96 ▼12.42 | 56.35 ▲0.89 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▼0.14 | 97.28 ▼15.14 | 41.75 ▼6.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_amzFulfillment_log
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% 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 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 take a closer look at the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/FBAInventoryServiceMWS/Model/ListInventorySupplyByNextTokenRequest.php
- > /wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/AmzFulfillment/Template/OrdersBulkActions.php
- > /wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/AmzFulfillment/WooCommerce/Email/Template/PackageTrackingEmailHtml.php
- 130× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AmzFulfillment_Task_Task' not found in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/AmzFulfillment/Task/SyncInventoryTask.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function getResource() on null in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/AmzFulfillment/Template/SettingsTab.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function getClasses() on null in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/AmzFulfillment/Template/Message.php:1
- > PHP Fatal error
Uncaught Error: Class 'MarketplaceWebService_Model' not found in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/MarketplaceWebService/Model/CancelReportRequestsResult.php:37
- > PHP Fatal error
Uncaught Error: Class 'MarketplaceWebService_Model' not found in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/MarketplaceWebService/Model/GetFeedSubmissionResultResponse.php:37
- > PHP Fatal error
Uncaught Error: Class 'MarketplaceWebService_Model' not found in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/MarketplaceWebService/Model/GetReportRequest.php:38
- > PHP Fatal error
Uncaught Error: Class 'MarketplaceWebService_Model' not found in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/MarketplaceWebService/Model/ManageReportScheduleResponse.php:37
- > PHP Fatal error
Uncaught Error: Class 'MarketplaceWebService_Model' not found in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/MarketplaceWebService/Model/GetReportCountRequest.php:41
- > PHP Fatal error
Uncaught Error: Class 'MarketplaceWebService_Model' not found in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/MarketplaceWebService/Model/IdList.php:36
- > PHP Fatal error
Uncaught Error: Class 'MarketplaceWebService_Model' not found in wp-content/plugins/amazing-fullfilment-integration-for-woocommerce/MarketplaceWebService/Model/GetFeedSubmissionListRequest.php:43
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #2, #3, #4, #5 in amazing-fullfilment-integration-for-woocommerce/assets to your readme.txt
amazing-fullfilment-integration-for-woocommerce/amzFulfillment.php 92% from 13 tests
The main PHP script in "Amazing Fulfillment Integration for WooCommerce" version 2.1 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("amazing-fullfilment-integration-for-woocommerce.php" instead of "amzFulfillment.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
No dangerous file extensions were detected22,896 lines of code in 292 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 254 | 5,256 | 23,305 | 21,632 |
XML | 35 | 0 | 29 | 785 |
CSS | 1 | 13 | 37 | 417 |
JavaScript | 2 | 5 | 21 | 62 |
PHP code Passed 2 tests
This is a short overview 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.18 |
Average class complexity | 6.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 227.00 |
Average method complexity | 1.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 231 | |
▷ Abstract classes | 7 | 3.03% |
▷ Concrete classes | 224 | 96.97% |
▷ Final classes | 5 | 2.23% |
Methods | 3,201 | |
▷ Static methods | 76 | 2.37% |
▷ Public methods | 2,995 | 93.56% |
▷ Protected methods | 45 | 1.41% |
▷ Private methods | 161 | 5.03% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 164 | |
▷ Global constants | 7 | 4.27% |
▷ Class constants | 157 | 95.73% |
▷ Public constants | 157 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.33MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/licenseBackground.png | 104.90KB | 62.71KB | ▼ 40.22% |
assets/images/iconOrder.png | 0.59KB | 0.68KB | 0.00% |
assets/images/proPreviewAutomation.png | 65.63KB | 63.60KB | ▼ 3.11% |
assets/images/sealEval.png | 24.32KB | 6.51KB | ▼ 73.21% |
assets/images/sealFull.png | 17.22KB | 6.01KB | ▼ 65.10% |