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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.11ms] Passed 4 tests
A check of server-side resources used by ABC Crypto Checkout
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.08 ▼5.77 |
Dashboard /wp-admin | 3.36 ▲0.01 | 46.36 ▼14.05 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.12 ▲2.06 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.15 ▲0.82 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 30.86 ▼1.42 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ABC Crypto Checkout
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲31 | 14.67 ▲0.32 | 1.87 ▼0.32 | 38.45 ▼3.61 |
Dashboard /wp-admin | 2,195 ▲18 | 5.51 ▼0.09 | 91.39 ▲2.45 | 39.54 ▲0.82 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.96 ▼0.01 | 38.76 ▼2.19 | 37.47 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.18 ▼0.04 | 619.41 ▼28.46 | 55.39 ▼2.53 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.03 | 104.46 ▲7.34 | 41.25 ▼1.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/payerurl-crypto-currency-payment-gateway-for-woocommerce/payerurl.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/payerurl-crypto-currency-payment-gateway-for-woocommerce/class-payerurl-gateway.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/payerurl-crypto-currency-payment-gateway-for-woocommerce/admin-form-fields.php:5
- > 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 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid url: ""
payerurl-crypto-currency-payment-gateway-for-woocommerce/payerurl.php 69% from 13 tests
The main file in "ABC Crypto Checkout" v. 1.4.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("payerurl-crypto-currency-payment-gateway-for-woocommerce.php" instead of "payerurl.php")
- Domain Path: Use only dashes and lowercase characters for the domain path ("https://payerurl.com")
- Description: Keep the plugin description shorter than 140 characters (currently 184 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
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
Everything looks great! No dangerous files found in this plugin820 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 103 | 15 | 716 |
JavaScript | 2 | 8 | 0 | 104 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 36.50 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 40 | |
▷ Static methods | 9 | 22.50% |
▷ Public methods | 23 | 57.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 42.50% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/coin_high.png | 19.90KB | 4.82KB | ▼ 75.79% |