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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼13.00ms] Passed 4 tests
A check of server-side resources used by Bitcoin Payment Extension for WP WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.16 ▼11.25 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.62 ▼21.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.25 ▼6.20 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.97 ▼12.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.85 ▼0.03 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bitcoin Payment Extension for WP WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.09 | 1.70 ▼0.09 | 45.65 ▲4.05 |
Dashboard /wp-admin | 2,198 ▲24 | 5.63 ▲0.01 | 92.06 ▼3.59 | 39.85 ▼8.41 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.02 | 43.70 ▲6.24 | 38.31 ▲4.61 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 18.62 ▼4.36 | 643.88 ▼26.16 | 80.75 ▲32.35 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▲0.01 | 100.67 ▼11.24 | 43.28 ▼4.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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/spectrocoin-accepting-bitcoin/spectrocoin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: spectrocoin payment gateway, woocommerce bitcoin plugin, crypto payments, altcoin support, secure payments...
spectrocoin-accepting-bitcoin/spectrocoin.php 92% from 13 tests
This is the main PHP file of "Bitcoin Payment Extension for WP WooCommerce" version 1.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("spectrocoin-accepting-bitcoin.php" instead of "spectrocoin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,102 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 116 | 271 | 875 |
CSS | 1 | 21 | 1 | 125 |
Markdown | 2 | 52 | 0 | 76 |
JSON | 1 | 0 | 0 | 24 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 2 | 3.23% |
▷ Public methods | 55 | 88.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 11.29% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/spectrocoin.png | 2.02KB | 2.14KB | 0.00% |