Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.22MB] [CPU: ▼8.14ms] Passed 4 tests
A check of server-side resources used by Integration for Shops United with WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 40.36 ▼3.81 |
Dashboard /wp-admin | 3.53 ▲0.18 | 50.68 ▼12.41 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 49.55 ▼6.28 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 93.66 ▼10.06 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 35.88 ▼1.56 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Integration for Shops United with WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲140 | 13.94 ▼0.39 | 9.14 ▲7.33 | 41.81 ▼1.87 |
Dashboard /wp-admin | 2,206 ▲26 | 5.74 ▲0.08 | 87.99 ▼6.27 | 38.88 ▼1.77 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.48 ▲0.48 | 41.33 ▲1.07 | 34.19 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 23.39 ▲5.14 | 637.59 ▲3.52 | 34.46 ▼26.64 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.40 ▲0.16 | 101.41 ▼4.26 | 45.83 ▼2.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/integration-shops-united-woocommerce/integration-shops-united-woocommerce.php
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/integration-shops-united-woocommerce/admin/partials/parcelpro-admin-actions-package.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/integration-shops-united-woocommerce/admin/partials/parcelpro-requirements-error.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/integration-shops-united-woocommerce/admin/partials/parcelpro-admin-actions-after.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/integration-shops-united-woocommerce/admin/data/parcelpro-shipping-settings-fields.php:16
- > PHP Warning
Use of undefined constant ISUW_PLUGIN_NAME - assumed 'ISUW_PLUGIN_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/integration-shops-united-woocommerce/admin/partials/parcelpro-requirements-error.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/integration-shops-united-woocommerce/admin/partials/parcelpro-admin-actions-package.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/integration-shops-united-woocommerce/admin/class-parcelpro-shipping.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/integration-shops-united-woocommerce/admin/partials/parcelpro-admin-order-actions-before.php:14
- > PHP Warning
require_once(ABSPATHwp-admin/admin.php): failed to open stream: No such file or directory in wp-content/plugins/integration-shops-united-woocommerce/admin/partials/parcelpro-admin-actions-package.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/integration-shops-united-woocommerce/admin/partials/parcelpro-admin-actions-bulk.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Contributors: Plugin contributors field is missing
integration-shops-united-woocommerce/integration-shops-united-woocommerce.php 92% from 13 tests
The main PHP script in "Integration for Shops United with WooCommerce" version 1.5.41 is automatically included on every request by WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 175 characters long)
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
No dangerous file extensions were detected2,564 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 274 | 800 | 1,511 |
PO File | 1 | 138 | 171 | 375 |
JavaScript | 2 | 51 | 5 | 251 |
CSS | 2 | 31 | 0 | 195 |
Markdown | 1 | 110 | 0 | 192 |
SVG | 4 | 0 | 4 | 40 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 34.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 56 | 90.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 9.68% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin