Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/stabilityshares-payments-for-woocommerce/bwwc-xsi-utils.php+868
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.41MB] [CPU: ▼51.38ms] Passed 4 tests
This is a short check of server-side resources used by StabilityShares Payments for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.58 ▼0.89 | 8.15 ▼32.44 |
Dashboard /wp-admin | 2.60 ▼0.71 | 9.35 ▼40.18 |
Posts /wp-admin/edit.php | 2.60 ▼0.76 | 8.03 ▼40.83 |
Add New Post /wp-admin/post-new.php | 2.60 ▼3.29 | 9.17 ▼92.08 |
Media Library /wp-admin/upload.php | 2.60 ▼0.63 | 8.05 ▼27.09 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 33 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_bwwc_xsi_addresses |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
BWWC-XSI-Settings |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by StabilityShares Payments for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.35 ▼0.00 | 2.32 ▲0.60 | 45.62 ▼1.92 |
Dashboard /wp-admin | 2,195 ▲18 | 5.54 ▼0.08 | 85.19 ▼6.10 | 79.83 ▲33.75 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.01 ▲0.05 | 34.81 ▼5.65 | 36.05 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.79 ▲0.24 | 752.34 ▲47.81 | 55.29 ▲1.92 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.11 ▼0.06 | 96.59 ▼10.02 | 68.22 ▲19.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/stabilityshares-payments-for-woocommerce/bwwc-xsi-utils.php+868
Array and string offset access syntax with curly braces is deprecated
- The uninstall procedure failed, leaving 1 table in the database
- wp_bwwc_xsi_addresses
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- BWWC-XSI-Settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stabilityshares-payments-for-woocommerce/bwwc-xsi-stabilityshares-gateway.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stabilityshares-payments-for-woocommerce/bwwc-xsi-stabilityshares-gateway.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stabilityshares-payments-for-woocommerce/bwwc-xsi-stabilityshares-gateway.php:9
- > PHP Fatal error
Uncaught Error: Interface 'PublicKeyInterface' not found in wp-content/plugins/stabilityshares-payments-for-woocommerce/phpecc/classes/PublicKey.php:27
- > PHP Fatal error
Uncaught Error: Interface 'SignatureInterface' not found in wp-content/plugins/stabilityshares-payments-for-woocommerce/phpecc/classes/Signature.php:30
- > PHP Fatal error
Uncaught Error: Interface 'PrivateKeyInterface' not found in wp-content/plugins/stabilityshares-payments-for-woocommerce/phpecc/classes/PrivateKey.php:27
- > PHP Fatal error
Uncaught Error: Interface 'EcDHInterface' not found in wp-content/plugins/stabilityshares-payments-for-woocommerce/phpecc/classes/EcDH.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stabilityshares-payments-for-woocommerce/bwwc-xsi-stabilityshares-gateway.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stabilityshares-payments-for-woocommerce/bwwc-xsi-stabilityshares-gateway.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stabilityshares-payments-for-woocommerce/bwwc-xsi-stabilityshares-gateway.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: accept stabilityshares, stabilityshares, stabilityshares wordpress plugin, stabilityshares payments, bitcoins...
stabilityshares-payments-for-woocommerce/bitcoinway-xsi-woocommerce.php 85% from 13 tests
The entry point to "StabilityShares Payments for WooCommerce" version 3.10 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 172 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("stabilityshares-payments-for-woocommerce.php" instead of "bitcoinway-xsi-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected4,436 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 1,306 | 1,304 | 4,436 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 40.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 6.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 169 | |
▷ Static methods | 100 | 59.17% |
▷ Public methods | 169 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
6 PNG files occupy 0.22MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 16.07KB | 6.85KB | ▼ 57.37% |
assets/screenshot-3.png | 191.12KB | 66.56KB | ▼ 65.17% |
images/icon.png | 0.68KB | 0.83KB | 0.00% |
assets/screenshot-2.png | 14.59KB | 7.79KB | ▼ 46.59% |
images/stabilityshares_16x.png | 1.74KB | 0.90KB | ▼ 48.15% |