Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.26ms] Passed 4 tests
Server-side resources used by Ethereum Donation Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.45 ▼1.63 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.56 ▼1.74 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.76 ▲2.51 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.45 ▼8.17 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 40.76 ▲5.00 |
Ethereum Donation /wp-admin/options-general.php?page=ethereum-donation/ethereum-donation.php | 3.22 | 34.24 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
ethereum_donation_options |
Browser metrics Passed 4 tests
Checking browser requirements for Ethereum Donation Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.37 ▲0.10 | 1.93 ▲0.16 | 41.45 ▼3.37 |
Dashboard /wp-admin | 2,199 ▲18 | 5.58 ▼0.13 | 93.87 ▼7.64 | 46.99 ▲5.13 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▼0.04 | 37.39 ▲2.87 | 37.84 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.15 ▲5.15 | 669.19 ▲34.64 | 49.28 ▼18.85 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.21 ▲0.04 | 110.66 ▲4.72 | 50.01 ▲4.53 |
Ethereum Donation /wp-admin/options-general.php?page=ethereum-donation/ethereum-donation.php | 821 | 2.00 | 25.05 | 25.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ethereum-donation/ethereum-donation.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: wordpress donations, ethereum, donation, eth, wordpress donation plugin...
ethereum-donation/ethereum-donation.php Passed 13 tests
The main PHP file in "Ethereum Donation Plugin" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
61 characters long description:
Collect more Ethereum donations online with WordPress plugin.
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
No dangerous file extensions were detected93 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 21 | 8 | 93 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected