Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼304.51ms] Passed 4 tests
Server-side resources used by Accept CryptoCurrency Payments on WooCommerce – CryptoCurrency Gateway Plugin from TheBigCoin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 55.67 ▲3.13 |
Dashboard /wp-admin | 3.41 ▲0.01 | 32.66 ▲1.10 |
Posts /wp-admin/edit.php | 3.64 ▼0.00 | 38.21 ▼4.73 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.09 | 92.10 ▼1,214.05 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 23.67 ▼0.37 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Accept CryptoCurrency Payments on WooCommerce – CryptoCurrency Gateway Plugin from TheBigCoin: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 16.02 ▲0.32 | 6.22 ▼0.34 | 2.86 ▲0.47 |
Dashboard /wp-admin | 2,888 ▲34 | 6.12 ▼0.07 | 113.88 ▼15.45 | 154.17 ▼5.13 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.23 ▲0.00 | 64.88 ▲2.20 | 147.41 ▲7.19 |
Add New Post /wp-admin/post-new.php | 1,661 ▼91 | 16.38 ▼4.53 | 410.64 ▼28.49 | 156.38 ▼4.25 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.48 ▼0.04 | 139.05 ▲4.22 | 189.05 ▲7.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/accept-bitcoin-payments-on-woocommerce-thebigcoin/thebigcoin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #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 file in "Accept CryptoCurrency Payments on WooCommerce – CryptoCurrency Gateway Plugin from TheBigCoin" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin581 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
This plugin's cyclomatic complexity and code structure detailed below
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
PNG files should be compressed to save space and minimize bandwidth usage
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% |