Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.51ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Cryptoo.me Instant Bitcoin payment gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 40.15 ▼1.95 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.05 ▼0.99 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 51.42 ▼2.42 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 92.29 ▼6.98 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.63 ▼2.69 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Cryptoo.me Instant Bitcoin payment gateway
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.69 ▼0.71 | 1.82 ▼0.11 | 41.88 ▲2.78 |
Dashboard /wp-admin | 2,206 ▲15 | 5.83 ▼0.07 | 109.52 ▲4.34 | 43.67 ▲1.05 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.05 | 42.17 ▲0.08 | 38.65 ▲3.30 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.67 ▼0.67 | 681.65 ▲60.03 | 55.92 ▲4.91 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▲0.01 | 98.67 ▼5.51 | 43.82 ▼1.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-instant-bitcoin/woo-instant-bitcoin.php:40
- > PHP Fatal error
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 Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: satoshi, woocommerce, cryptoo, payment, gateway...
woo-instant-bitcoin/woo-instant-bitcoin.php 85% from 13 tests
The main PHP script in "WooCommerce Cryptoo.me Instant Bitcoin payment gateway" version 1.1.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Requires at least: The required version number did not match the one declared in readme.txt ("3.3" instead of "1.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin364 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 83 | 119 | 245 |
PO File | 1 | 37 | 37 | 119 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icons/cryptoome.png | 3.09KB | 1.83KB | ▼ 40.63% |
assets/images/icons/icon-256x256.png | 9.56KB | 4.19KB | ▼ 56.15% |