Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼261.95ms] Passed 4 tests
A check of server-side resources used by BTCP Pay
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 36.16 ▲14.07 |
Dashboard /wp-admin | 3.07 ▲0.02 | 41.67 ▼0.33 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 44.18 ▲5.27 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 93.43 ▼1,041.06 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 29.14 ▼11.68 |
BTCP Pay WordPress /wp-admin/options-general.php?page=btcp-pay-wordpress | 2.99 | 24.39 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
BTCP Pay: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲73 | 15.70 ▲0.16 | 7.03 ▼2.22 | 52.46 ▲6.91 |
Dashboard /wp-admin | 2,935 ▲85 | 5.87 ▼0.12 | 142.54 ▲8.90 | 99.98 ▼6.07 |
Posts /wp-admin/edit.php | 2,708 ▲2 | 2.69 ▲0.00 | 68.04 ▲0.25 | 87.16 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,484 ▼2,186 | 18.49 ▲3.40 | 361.28 ▼62.02 | 104.52 ▲2.21 |
Media Library /wp-admin/upload.php | 1,783 ▲11 | 4.99 ▼0.00 | 146.38 ▼8.71 | 113.93 ▼0.41 |
BTCP Pay WordPress /wp-admin/options-general.php?page=btcp-pay-wordpress | 1,043 | 2.21 | 56.08 | 62.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: bitcoin, widget, cryptocurrency
btcp-pay/btcp-pay.php 92% from 13 tests
Analyzing the main PHP file in "BTCP Pay" version 1.0
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 182 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin94 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 17 | 94 |
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 issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin