Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼38.76ms] Passed 4 tests
Server-side resources used by Crypto Donations
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.29 ▼5.97 |
Dashboard /wp-admin | 3.06 ▼0.25 | 25.50 ▼25.71 |
Posts /wp-admin/edit.php | 3.06 ▼0.30 | 22.59 ▼28.96 |
Add New Post /wp-admin/post-new.php | 3.06 ▼2.83 | 19.81 ▼86.41 |
Media Library /wp-admin/upload.php | 3.06 ▼0.17 | 23.13 ▼13.97 |
Settings /wp-admin/admin.php?page=crypto_donations_settings | 3.06 | 23.29 |
Crypto Donations /wp-admin/admin.php?page=crypto-donations/crypto-donations.php | 3.06 | 25.71 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
crypto_donations_settings_widget_color |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
crypto_donations_settings_text_color |
crypto_donations_settings_brightness |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Crypto Donations
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲228 | 14.05 ▼0.25 | 10.90 ▲9.05 | 40.63 ▼4.56 |
Dashboard /wp-admin | 2,254 ▲65 | 5.23 ▲0.24 | 101.52 ▼19.33 | 37.82 ▼10.64 |
Posts /wp-admin/edit.php | 2,139 ▲50 | 2.32 ▲0.32 | 36.25 ▼5.67 | 31.23 ▼5.91 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 23.25 ▲2.03 | 622.00 ▼82.05 | 34.29 ▼48.78 |
Media Library /wp-admin/upload.php | 1,436 ▲45 | 4.51 ▲0.33 | 101.68 ▼3.58 | 47.14 ▼0.06 |
Settings /wp-admin/admin.php?page=crypto_donations_settings | 1,162 | 2.23 | 48.19 | 27.80 |
Crypto Donations /wp-admin/admin.php?page=crypto-donations/crypto-donations.php | 913 | 1.87 | 29.90 | 29.25 |
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
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 9 options
- crypto_donations_settings_widget_color
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- crypto_donations_settings_text_color
- theysaidso_admin_options
- widget_theysaidso_widget
- crypto_donations_settings_brightness
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=crypto-donations/crypto-donations.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=crypto-donations/crypto-donations.php
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'wptuts_add_color_picker' not found or invalid function name
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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/crypto-donations/crypto-donations.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- License uri: Invalid url: ""
crypto-donations/crypto-donations.php Passed 13 tests
The main PHP script in "Crypto Donations" version 1.0.3 is automatically included on every request by WordPress
45 characters long description:
This plugin allows to create Crypto Donations
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin366 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 15 | 233 |
CSS | 3 | 7 | 6 | 75 |
JavaScript | 4 | 3 | 7 | 38 |
Markdown | 1 | 10 | 0 | 20 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/icon_bitcoin.png | 1.19KB | 0.99KB | ▼ 17.20% |
icons/icon_litecoin.png | 1.27KB | 0.88KB | ▼ 31.01% |
icons/icon_ethereum.png | 0.79KB | 0.55KB | ▼ 30.12% |