Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.12ms] Passed 4 tests
An overview of server-side resources used by Speed Bitcoin Payments for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.91 ▼4.05 |
Dashboard /wp-admin | 3.39 ▲0.09 | 46.88 ▼1.83 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 50.02 ▲7.32 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 100.23 ▲13.44 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.55 ▼0.96 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Speed Bitcoin Payments for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲54 | 14.67 ▼0.04 | 1.71 ▲0.08 | 41.71 ▼2.65 |
Dashboard /wp-admin | 2,192 ▲11 | 5.65 ▼0.07 | 107.38 ▼4.08 | 57.63 ▲15.36 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.00 | 39.33 ▲3.76 | 36.51 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 25.27 ▲2.06 | 641.98 ▼50.45 | 63.14 ▲4.37 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.28 ▲0.10 | 97.27 ▼1.31 | 40.63 ▼0.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/speed-accept-bitcoin-payments/includes/WooCommerce/Speed_Payment_Gateway.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/speed-accept-bitcoin-payments/includes/WooCommerce/views/speed_options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: bitcoin payments, bitcoin wordpress, bitcoin, accept bitcoin, e-commerce bitcoin...
speed-accept-bitcoin-payments/speed-accept-bitcoin-payments.php 85% from 13 tests
The main PHP script in "Speed Bitcoin Payments for WooCommerce" version 1.0.12 is automatically included on every request by WordPress
The following require your attention:
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.4.29" instead of "7.2")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.0" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,888 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 223 | 429 | 1,083 |
JavaScript | 1 | 68 | 11 | 500 |
CSS | 2 | 50 | 1 | 277 |
Markdown | 1 | 10 | 0 | 21 |
JSON | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 13.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 54 | |
▷ Static methods | 8 | 14.81% |
▷ Public methods | 51 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.56% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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 |
assets/images/speed-logo.png | 4.38KB | 1.98KB | ▼ 54.75% |