Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.88ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Heliumpay Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.70 ▼3.83 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.18 ▼4.47 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.99 ▼5.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.18 ▼9.36 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.74 ▼2.65 |
Server storage [IO: ▲4.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Heliumpay Payment Gateway
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.19 ▼0.16 | 1.91 ▲0.18 | 45.44 ▲2.28 |
Dashboard /wp-admin | 2,205 ▲34 | 5.68 ▲0.12 | 88.64 ▼1.21 | 41.39 ▼1.35 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.95 ▼0.05 | 42.16 ▲6.94 | 38.17 ▼4.61 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.11 ▲0.01 | 662.20 ▼12.25 | 57.58 ▼3.56 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.19 ▼0.02 | 95.30 ▼13.68 | 44.70 ▼2.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/heliumpay-payment-gateway/heliumpay-payment-gateway.php
- > /wp-content/plugins/heliumpay-payment-gateway/WC_Gateway_Heliumpay_Ajax_Backend.php
- > /wp-content/plugins/heliumpay-payment-gateway/WC_Gateway_Heliumpay_Admin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #3 (**Frontend** The shortcode will be replaced by a form. The checks deliver different messages.) image missing
heliumpay-payment-gateway/heliumpay-payment-gateway.php Passed 13 tests
"WooCommerce Heliumpay Payment Gateway" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
91 characters long description:
NOT LONGER ACTIVE: Take Helium (HNT) cryptocurrency payments on your store using Heliumpay.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected21,884 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 1,468 | 41 | 13,008 |
JavaScript | 6 | 2,048 | 1,690 | 7,805 |
PHP | 4 | 87 | 110 | 676 |
HTML | 1 | 8 | 0 | 395 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 28.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 17 | 70.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 29.17% |
Functions | 17 | |
▷ Named functions | 5 | 29.41% |
▷ Anonymous functions | 12 | 70.59% |
Constants | 10 | |
▷ Global constants | 10 | 100.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
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 |
pay/favicon.png | 1.95KB | 1.62KB | ▼ 17.16% |