Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/NMM_Util.php+54
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.70ms] Passed 4 tests
Server-side resources used by Nomiddleman Bitcoin and Crypto Payments for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.89 ▲1.27 |
Dashboard /wp-admin | 3.37 ▲0.03 | 53.80 ▼6.78 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 57.82 ▲9.27 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 92.95 ▼5.54 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 37.92 ▲4.27 |
Server storage [IO: ▲4.47MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 515 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_nmmpro_carousel |
wp_nmmpro_hd_addresses |
wp_nmmpro_payments |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Nomiddleman Bitcoin and Crypto Payments for WooCommerce: 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 ▲54 | 14.25 ▼0.13 | 2.09 ▲0.22 | 49.44 ▲5.73 |
Dashboard /wp-admin | 2,206 ▲15 | 4.80 ▼0.07 | 122.20 ▲15.80 | 47.26 ▲8.67 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.06 ▲0.06 | 43.85 ▲4.27 | 38.19 ▲2.59 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.29 ▲5.62 | 737.30 ▲56.23 | 87.09 ▲34.60 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.32 ▲0.16 | 108.31 ▼6.17 | 45.88 ▼3.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 22× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/vendor/ReduxFramework/ReduxCore/templates/panel/content.tpl.php:12
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/vendor/ReduxFramework/ReduxCore/inc/themecheck/checks/full_package.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/vendor/ReduxFramework/ReduxCore/inc/fields/select/elusive-icons.php:312
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/vendor/ReduxFramework/ReduxCore/inc/class.p.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/vendor/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_control.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/nomiddleman-crypto-woocommerce.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/vendor/ReduxFramework/ReduxCore/templates/panel/header_stickybar.tpl.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/NMM_Gateway.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/vendor/ReduxFramework/ReduxCore/inc/welcome/views/about.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/nomiddleman-crypto-payments-for-woocommerce/src/vendor/ReduxFramework/ReduxCore/templates/panel/header.tpl.php:11
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (122 tag instead of maximum 10); only the first 5 tags are used in your directory listing
nomiddleman-crypto-payments-for-woocommerce/nomiddleman-crypto-woocommerce.php 85% from 13 tests
The entry point to "Nomiddleman Bitcoin and Crypto Payments for WooCommerce" version 2.4.8 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "3.0.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nomiddleman-crypto-payments-for-woocommerce.php" instead of "nomiddleman-crypto-woocommerce.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin50,798 lines of code in 342 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 136 | 6,173 | 7,180 | 24,070 |
JavaScript | 87 | 2,645 | 2,106 | 12,325 |
Sass | 54 | 1,187 | 60 | 7,580 |
JSON | 4 | 184 | 0 | 5,121 |
SVG | 2 | 0 | 0 | 935 |
CSS | 48 | 45 | 35 | 349 |
Bourne Shell | 4 | 31 | 50 | 122 |
XML | 3 | 1 | 0 | 111 |
Markdown | 2 | 49 | 0 | 101 |
LESS | 1 | 0 | 0 | 53 |
YAML | 1 | 0 | 22 | 31 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 33.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 883.00 |
Average method complexity | 5.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 142 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 142 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 993 | |
▷ Static methods | 339 | 34.14% |
▷ Public methods | 814 | 81.97% |
▷ Protected methods | 91 | 9.16% |
▷ Private methods | 88 | 8.86% |
Functions | 40 | |
▷ Named functions | 38 | 95.00% |
▷ Anonymous functions | 2 | 5.00% |
Constants | 118 | |
▷ Global constants | 49 | 41.53% |
▷ Class constants | 69 | 58.47% |
▷ Public constants | 69 | 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
80 compressed PNG files occupy 0.11MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/vendor/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_ffffff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/img/bitcoinsv_logo_small.png | 1.00KB | 0.98KB | ▼ 2.15% |
src/vendor/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
assets/img/augur_logo_small.png | 1.21KB | 1.21KB | 0.48% |
assets/img/basicattentiontoken_logo_small.png | 0.75KB | 0.72KB | ▼ 3.66% |