Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲5.44MB] [CPU: ▲24.89ms] 75% from 4 tests
This is a short check of server-side resources used by Split Pay for Stripe Connect on Woocommerce - Create a Marketplace in Minutes
Please take the time to fix the following items
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.44MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.20 ▲5.74 | 72.46 ▲32.95 |
Dashboard /wp-admin | 9.22 ▲5.88 | 78.42 ▲14.01 |
Posts /wp-admin/edit.php | 9.22 ▲5.87 | 83.09 ▲27.17 |
Add New Post /wp-admin/post-new.php | 10.18 ▲4.30 | 128.67 ▲25.41 |
Media Library /wp-admin/upload.php | 9.22 ▲5.99 | 82.79 ▲47.35 |
Split Pay for Stripe Connect on WooCommerce (PRO) /wp-admin/admin.php?page=bsd-split-pay-stripe-connect-woo | 9.22 | 73.52 |
Split Pay Plugin /wp-admin/admin.php?page=bsd-split-pay-stripe-connect-woo-settings | 9.22 | 79.18 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 9.22 | 65.13 |
Server storage [IO: ▲4.88MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 503 new files
Database: 3 new tables, 11 new options
New tables |
---|
wp_bsd_scsp_transfer_log |
wp_bsd_strp_connected_id |
wp_bsd_strp_accnt |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
fs_debug_mode |
bsd_connected_id_table_created |
widget_recent-posts |
can_compress_scripts |
fs_accounts |
bsd_split_pay_stripe_connect_woo_back_end |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Split Pay for Stripe Connect on Woocommerce - Create a Marketplace in Minutes
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 13.60 ▼0.94 | 1.46 ▼0.50 | 33.82 ▼8.87 |
Dashboard /wp-admin | 2,239 ▲59 | 5.20 ▼0.48 | 99.95 ▲6.36 | 43.43 ▲2.94 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.62 ▲0.63 | 46.43 ▲7.20 | 34.71 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 23.09 ▲0.48 | 635.16 ▼12.88 | 34.37 ▼21.72 |
Media Library /wp-admin/upload.php | 1,447 ▲44 | 4.62 ▲0.45 | 106.59 ▲5.72 | 47.55 ▲4.39 |
Split Pay for Stripe Connect on WooCommerce (PRO) /wp-admin/admin.php?page=bsd-split-pay-stripe-connect-woo | 1,000 | 2.32 | 32.54 | 63.43 |
Split Pay Plugin /wp-admin/admin.php?page=bsd-split-pay-stripe-connect-woo-settings | 867 | 2.13 | 34.28 | 28.71 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,087 | 2.47 | 27.75 | 28.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/bsd-woo-stripe-connect-split-pay/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- The uninstall procedure failed, leaving 3 tables in the database
- wp_bsd_strp_connected_id
- wp_bsd_strp_accnt
- wp_bsd_scsp_transfer_log
- Zombie WordPress options detected upon uninstall: 11 options
- fs_active_plugins
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- fs_debug_mode
- bsd_split_pay_stripe_connect_woo_back_end
- bsd_connected_id_table_created
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 fix the following items
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/build.php
- > /wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/class-bsd-split-pay-stripe-connect-woo.php
- > /wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/admin/partials/bsd-variable-product-table.php
- > /wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/update_certs.php
- > /wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/admin/partials/bsd-simple-product-table.php
- > /wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/admin/class-bsd-sca.php
- 226× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/ApplicationFee.php:23
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/Service/Radar/ValueListService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/Recipient.php:35
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/Service/PromotionCodeService.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Stripe\\Exception\\ExceptionInterface' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/Exception/ApiErrorException.php:8
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/Service/FinancialConnections/SessionService.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/admin/partials/tab-transfers.php:19
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractServiceFactory' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/Service/Sigma/SigmaServiceFactory.php:12
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/Subscription.php:52
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Exception\\ApiErrorException' not found in wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/lib/Exception/PermissionException.php:9
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in bsd-woo-stripe-connect-split-pay/assets to your readme.txt
bsd-woo-stripe-connect-split-pay/bsd-split-pay-stripe-connect-woo.php 77% from 13 tests
"Split Pay for Stripe Connect on Woocommerce - Create a Marketplace in Minutes" version 3.3.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.2.3" instead of "3.7.1")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bsd-woo-stripe-connect-split-pay.php" instead of "bsd-split-pay-stripe-connect-woo.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Almost there! Just fix the following issues
- For security reasons, never distribute binary or executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/bsd-woo-stripe-connect-split-pay/includes/vendor/stripe/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 398 | 10,985 | 29,121 | 45,419 |
Markdown | 3 | 730 | 0 | 1,265 |
JavaScript | 7 | 77 | 79 | 536 |
CSS | 16 | 51 | 22 | 294 |
JSON | 3 | 0 | 0 | 121 |
XML | 3 | 4 | 0 | 79 |
make | 1 | 10 | 0 | 29 |
SVG | 1 | 0 | 1 | 19 |
YAML | 1 | 0 | 0 | 3 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 18.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 33 | |
Interfaces | 9 | |
Traits | 8 | |
Classes | 287 | |
▷ Abstract classes | 12 | 4.18% |
▷ Concrete classes | 275 | 95.82% |
▷ Final classes | 0 | 0.00% |
Methods | 2,205 | |
▷ Static methods | 392 | 17.78% |
▷ Public methods | 1,697 | 76.96% |
▷ Protected methods | 76 | 3.45% |
▷ Private methods | 432 | 19.59% |
Functions | 132 | |
▷ Named functions | 119 | 90.15% |
▷ Anonymous functions | 13 | 9.85% |
Constants | 985 | |
▷ Global constants | 114 | 11.57% |
▷ Class constants | 871 | 88.43% |
▷ Public constants | 871 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 compressed PNG files occupy 0.18MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 5.12KB | 4.92KB | ▼ 3.97% |
assets/stripe-connect-transfers-table.png | 25.73KB | 25.54KB | ▼ 0.74% |
assets/remove-account-id.png | 7.83KB | 8.39KB | 0.00% |
assets/multi-account-upgrade-img.png | 9.14KB | 5.15KB | ▼ 43.68% |
assets/screenshot-1.png | 16.43KB | 16.31KB | ▼ 0.70% |