Benchmarks
Plugin footprint 65% from 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: ▼1.96MB] [CPU: ▼53.63ms] Passed 4 tests
A check of server-side resources used by Web3 Donations by DePay - Accept P2P Crypto Donations
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.13 ▼37.47 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.75 ▼43.85 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.04 ▼42.12 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.55 ▼91.07 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.11 ▼23.06 |
Server storage [IO: ▲7.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Web3 Donations by DePay - Accept P2P Crypto Donations
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,737 ▼50 | 53.47 ▲39.13 | 46.56 ▲44.70 | 35.98 ▼10.94 |
Dashboard /wp-admin | 2,302 ▲128 | 33.27 ▲27.64 | 730.01 ▲627.14 | 42.85 ▼0.95 |
Posts /wp-admin/edit.php | 2,209 ▲106 | 32.96 ▲31.00 | 237.20 ▲193.77 | 37.52 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,611 ▲85 | 43.60 ▲20.03 | 674.16 ▼40.22 | 35.88 ▼14.73 |
Media Library /wp-admin/upload.php | 1,519 ▲116 | 35.52 ▲31.32 | 257.90 ▲154.48 | 40.76 ▼2.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > 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-donations-frontend-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
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
The SRP test was a success
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 93% 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
5 plugin tags: depay, web3, donations, cryptocurrency, p2p
depay-donations/depay-donations.php 85% from 13 tests
The main PHP file in "Web3 Donations by DePay - Accept P2P Crypto Donations" ver. 2.1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 168 characters long)
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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 plugin32,405 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 7,562 | 5,520 | 31,116 |
CSS | 2 | 24 | 0 | 748 |
PHP | 10 | 95 | 195 | 434 |
JSON | 2 | 0 | 0 | 92 |
Markdown | 1 | 11 | 0 | 15 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin