Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.96MB] [CPU: ▼54.93ms] Passed 4 tests
A check of server-side resources used by Web3 Payments by DePay - Accept P2P Crypto Payments
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.15 ▼36.26 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.62 ▼43.98 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.61 ▼41.47 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.79 ▼98.00 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.42 ▼24.44 |
Server storage [IO: ▲6.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Web3 Payments by DePay - Accept P2P Crypto Payments
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,519 ▼268 | 43.62 ▲28.91 | 48.89 ▲46.88 | 38.26 ▼6.43 |
Dashboard /wp-admin | 2,302 ▲122 | 33.23 ▲27.52 | 730.77 ▲631.60 | 44.11 ▲0.14 |
Posts /wp-admin/edit.php | 2,225 ▲125 | 33.13 ▲31.16 | 232.47 ▲190.63 | 36.87 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,613 ▲87 | 42.76 ▲19.59 | 651.29 ▲27.17 | 35.79 ▼31.95 |
Media Library /wp-admin/upload.php | 1,520 ▲120 | 35.35 ▲31.20 | 271.68 ▲169.37 | 43.58 ▲0.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the depay-payments-frontend-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: p2p, payments, web3, depay, cryptocurrency
depay-payments/depay-payments.php 85% from 13 tests
The main PHP file in "Web3 Payments by DePay - Accept P2P Crypto Payments" ver. 2.1.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Description: Please don't use more than 140 characters for the plugin description (currently 166 characters long)
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 plugin33,107 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 7,588 | 5,520 | 31,730 |
CSS | 2 | 24 | 0 | 748 |
PHP | 10 | 107 | 195 | 522 |
JSON | 2 | 0 | 0 | 92 |
Markdown | 1 | 11 | 0 | 15 |
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.18 |
Average class complexity | 4.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 1.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 18 | |
▷ Static methods | 9 | 50.00% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 16.67% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin