Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼18.60ms] Passed 4 tests
A check of server-side resources used by WP-eCommerce - Accept Bitcoin and Payin Local Gateway by Align Commerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.63 ▲6.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 55.15 ▼5.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 57.77 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.49 ▼56.31 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.85 ▼12.13 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP-eCommerce - Accept Bitcoin and Payin Local Gateway by Align Commerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.33 ▼1.12 | 2.21 ▲0.57 | 52.29 ▲6.24 |
Dashboard /wp-admin | 2,203 ▲15 | 4.87 ▼0.94 | 118.63 ▼0.37 | 47.16 ▼0.20 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▲0.00 | 43.77 ▼20.15 | 43.26 ▼9.84 |
Add New Post /wp-admin/post-new.php | 1,530 ▲122 | 23.37 ▲5.83 | 674.29 ▼40.56 | 66.01 ▲1.95 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▲0.10 | 112.29 ▼73.14 | 47.59 ▼42.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/accept-bitcoin-payin-local-by-align-commerce-for-wp-ecommerce/alligncommerce_payment.php:20
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/accept-bitcoin-payin-local-by-align-commerce-for-wp-ecommerce/alligncommerce_payment.php on line 18
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/accept-bitcoin-payin-local-by-align-commerce-for-wp-ecommerce/alligncommerce_payment.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/accept-bitcoin-payin-local-by-align-commerce-for-wp-ecommerce/alligncommerce_bank_transfer_pay.php:7
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/accept-bitcoin-payin-local-by-align-commerce-for-wp-ecommerce/alligncommerce_payment.php on line 18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
6 plugin tags: gateway, euro, woocommerce, payments, bitcoin...
accept-bitcoin-payin-local-by-align-commerce-for-wp-ecommerce/alligncommerce_payment.php 92% from 13 tests
The main file in "WP-eCommerce - Accept Bitcoin and Payin Local Gateway by Align Commerce" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("accept-bitcoin-payin-local-by-align-commerce-for-wp-ecommerce.php" instead of "alligncommerce_payment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected882 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 137 | 188 | 882 |
PHP code Passed 2 tests
Analyzing 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.20 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.24MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 84.76KB | 35.14KB | ▼ 58.54% |
screenshot-1.png | 41.44KB | 23.29KB | ▼ 43.80% |
screenshot-2.png | 122.81KB | 42.28KB | ▼ 65.57% |