Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.05MB] [CPU: ▼146.59ms] Passed 4 tests
Analyzing server-side resources used by Bitcoin / AltCoin Payment Gateway for WooCommerce & Multivendor store / shop
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.01 | 35.25 ▼3.36 |
Dashboard /wp-admin | 3.15 ▲0.09 | 33.60 ▼9.23 |
Posts /wp-admin/edit.php | 3.25 ▼0.35 | 29.98 ▼22.30 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 144.80 ▼551.46 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 30.21 ▲6.95 |
Go Pro Plan /wp-admin/admin.php?page=cs-wapg-go-pro | 3.13 | 22.81 |
Automatic Order /wp-admin/admin.php?page=cs-woo-altcoin-automatic-order-confirmation-settings | 3.21 | 24.66 |
Product Page Options /wp-admin/admin.php?page=cs-woo-altcoin-product-option-settings | 3.13 | 28.39 |
Checkout Page Options /wp-admin/admin.php?page=cs-woo-altcoin-checkout-option-settings | 3.13 | 21.60 |
Add New Coin /wp-admin/admin.php?page=cs-woo-altcoin-add-new-coin | 3.23 | 22.15 |
Widget Options /wp-admin/admin.php?page=cs-woo-altcoin-widget-settings | 3.11 | 24.05 |
All Coins /wp-admin/admin.php?page=cs-woo-altcoin-all-coins | 3.14 | 23.88 |
Default Settings /wp-admin/admin.php?page=cs-woo-altcoin-gateway-settings | 3.14 | 30.17 |
Server storage [IO: ▲1.43MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 92 new files
Database: 4 new tables, 2 new options
New tables |
---|
wp_wapg_coin_transactions |
wp_wapg_coin_offers |
wp_wapg_coin_addresses |
wp_wapg_coins |
New WordPress options |
---|
wapg_db_version |
widget_altcoin_display_coin_prices |
Browser metrics Passed 4 tests
Checking browser requirements for Bitcoin / AltCoin Payment Gateway for WooCommerce & Multivendor store / shop
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,905 ▲252 | 17.58 ▲2.27 | 49.65 ▲43.98 | 70.38 ▼6.73 |
Dashboard /wp-admin | 3,030 ▲126 | 6.05 ▲0.03 | 120.99 ▼7.67 | 228.15 ▲49.87 |
Posts /wp-admin/edit.php | 2,815 ▲76 | 2.78 ▲0.02 | 64.69 ▲2.56 | 137.06 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,674 ▲59 | 22.22 ▲0.86 | 418.40 ▲63.61 | 191.93 ▲23.28 |
Media Library /wp-admin/upload.php | 1,839 ▲35 | 5.09 ▲0.05 | 131.83 ▼6.15 | 219.35 ▲43.16 |
Go Pro Plan /wp-admin/admin.php?page=cs-wapg-go-pro | 907 | 2.18 | 34.80 | 70.14 |
Automatic Order /wp-admin/admin.php?page=cs-woo-altcoin-automatic-order-confirmation-settings | 2,627 | 3.32 | 71.05 | 187.67 |
Product Page Options /wp-admin/admin.php?page=cs-woo-altcoin-product-option-settings | 2,631 | 3.71 | 78.06 | 178.03 |
Checkout Page Options /wp-admin/admin.php?page=cs-woo-altcoin-checkout-option-settings | 2,627 | 3.44 | 71.29 | 190.62 |
Add New Coin /wp-admin/admin.php?page=cs-woo-altcoin-add-new-coin | 2,472 | 4.46 | 89.29 | 181.95 |
Widget Options /wp-admin/admin.php?page=cs-woo-altcoin-widget-settings | 2,631 | 3.72 | 73.83 | 171.44 |
All Coins /wp-admin/admin.php?page=cs-woo-altcoin-all-coins | 1,324 | 2.40 | 54.54 | 139.49 |
Default Settings /wp-admin/admin.php?page=cs-woo-altcoin-gateway-settings | 2,632 | 3.77 | 75.94 | 180.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_wapg_coin_addresses
- wp_wapg_coin_transactions
- wp_wapg_coins
- wp_wapg_coin_offers
- This plugin did not uninstall successfully, leaving 2 options in the database
- widget_altcoin_display_coin_prices
- wapg_db_version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cs-wapg-go-pro
- > Warning in wp-includes/pluggable.php+1343
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2015)
- > GET request to /wp-admin/admin.php?page=cs-woo-altcoin-widget-settings
- > Notice in wp-content/plugins/woo-altcoin-payment-gateway/core/admin/options/pages/WidgetPageOptions.php+77
Trying to access array offset on value of type bool
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=cs-wapg-go-pro
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31592 "jQuery.Deferred exception: wp is not defined" "ReferenceError: wp is not defined\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=cs-wapg-go-pro:44:38)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30340)" undefined
- > GET request to /wp-admin/admin.php?page=cs-wapg-go-pro
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31702 Uncaught ReferenceError: wp is not defined
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please a description for screenshot #15 in woo-altcoin-payment-gateway/assets to your readme.txt
woo-altcoin-payment-gateway/woocommerce-altcoin-payment.php 85% from 13 tests
The main PHP script in "Bitcoin / AltCoin Payment Gateway for WooCommerce & Multivendor store / shop" version 1.6.9 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-altcoin-payment-gateway.php" instead of "woocommerce-altcoin-payment.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 172 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin6,989 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 48 | 1,094 | 1,791 | 5,072 |
PO File | 6 | 494 | 623 | 1,472 |
CSS | 6 | 17 | 9 | 360 |
JavaScript | 11 | 11 | 21 | 63 |
JSON | 2 | 0 | 0 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 14.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 43 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 269 | |
▷ Static methods | 90 | 33.46% |
▷ Public methods | 215 | 79.93% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 54 | 20.07% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-24x24.png | 1.24KB | 1.24KB | 0.00% |
assets/img/xxicon-24x24.png | 1.48KB | 1.40KB | ▼ 5.41% |