Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.33ms] Passed 4 tests
Analyzing server-side resources used by Accept CryptoCurrency Payments on WooCommerce – CryptoCurrency Gateway Plugin from TheBigCoin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.74 ▼4.81 |
Dashboard /wp-admin | 3.39 ▲0.08 | 46.33 ▼2.53 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 49.52 ▼2.69 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.36 ▼23.08 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.46 ▼2.73 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accept CryptoCurrency Payments on WooCommerce – CryptoCurrency Gateway Plugin from TheBigCoin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.22 ▼1.15 | 1.74 ▼0.15 | 38.93 ▼6.27 |
Dashboard /wp-admin | 2,206 ▲18 | 5.80 ▲0.87 | 94.51 ▼10.65 | 38.73 ▼3.74 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.01 | 35.34 ▼7.71 | 33.75 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.10 ▲5.67 | 675.78 ▲6.36 | 55.77 ▼1.61 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.12 ▼0.13 | 104.11 ▼10.37 | 49.09 ▲0.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% 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)
Good news, no errors were detected
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 fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/accept-bitcoin-payments-on-woocommerce-thebigcoin/thebigcoin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in accept-bitcoin-payments-on-woocommerce-thebigcoin/assets to your readme.txt
accept-bitcoin-payments-on-woocommerce-thebigcoin/thebigcoin.php 92% from 13 tests
The main PHP file in "Accept CryptoCurrency Payments on WooCommerce – CryptoCurrency Gateway Plugin from TheBigCoin" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("accept-bitcoin-payments-on-woocommerce-thebigcoin.php" instead of "thebigcoin.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
No dangerous file extensions were detected581 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 79 | 11 | 581 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 68.18% |
▷ Protected methods | 3 | 13.64% |
▷ Private methods | 4 | 18.18% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/thebigcoin-button.png | 3.48KB | 1.83KB | ▼ 47.52% |