Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/coinremitter-crypto-payment-gateway/coinremitter.php+1172
copy(wp-content/plugins/coinremitter-crypto-payment-gateway/images/dir/files/.htaccess): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.12ms] Passed 4 tests
Analyzing server-side resources used by Coinremitter Crypto Payment Processor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.81 ▼4.89 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.67 ▼19.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.12 ▲5.22 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.38 ▼5.54 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.72 ▲1.22 |
Server storage [IO: ▲6.77MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 86 new files
Database: 3 new tables, 8 new options
New tables |
---|
coinremitter_webhook |
coinremitter_order_address |
coinremitter_payments |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
coinremitterversion |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
woocommerce_coinremitterpayments_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Coinremitter Crypto Payment Processor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲32 | 14.35 ▼0.00 | 1.79 ▼0.19 | 44.59 ▲0.86 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▼0.04 | 95.94 ▼1.09 | 43.54 ▼2.49 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▼0.14 | 39.78 ▲5.65 | 35.17 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.34 ▼0.04 | 596.49 ▼81.15 | 44.80 ▼13.62 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.19 ▼0.03 | 94.05 ▼6.18 | 41.22 ▼0.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 3 tables in the database
- coinremitter_order_address
- coinremitter_webhook
- coinremitter_payments
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- woocommerce_coinremitterpayments_settings
- coinremitterversion
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/coinremitter-crypto-payment-gateway/includes/coinremitter.class.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
coinremitter-crypto-payment-gateway/coinremitter-wordpress.php 92% from 13 tests
The primary PHP file in "Coinremitter Crypto Payment Processor" version 1.0.8 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("coinremitter-crypto-payment-gateway.php" instead of "coinremitter-wordpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected8,191 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 643 | 286 | 4,527 |
CSS | 7 | 180 | 37 | 3,186 |
JavaScript | 8 | 47 | 26 | 454 |
HTML | 3 | 6 | 0 | 24 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 109.00 |
▷ Minimum class complexity | 59.00 |
▷ Maximum class complexity | 169.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 54 | |
▷ Static methods | 2 | 3.70% |
▷ Public methods | 43 | 79.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 20.37% |
Functions | 64 | |
▷ Named functions | 64 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
22 PNG files occupy 0.25MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/succsess.png | 12.42KB | 3.83KB | ▼ 69.18% |
images/bitcoin_donate.png | 11.69KB | 6.07KB | ▼ 48.05% |
images/usdterc20.png | 10.53KB | 4.79KB | ▼ 54.57% |
images/bnb.png | 12.25KB | 5.61KB | ▼ 54.17% |
images/checkmark.png | 0.51KB | 0.49KB | ▼ 4.78% |