Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.31ms] Passed 4 tests
This is a short check of server-side resources used by Ethereum fundraiser
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.92 ▲0.95 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.13 ▼2.80 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.91 ▼1.58 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.53 ▼13.79 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.33 ▲2.10 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
eth_fundraiser_version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Ethereum fundraiser
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲238 | 14.37 ▼0.01 | 26.88 ▲25.10 | 35.19 ▼9.43 |
Dashboard /wp-admin | 2,233 ▲45 | 4.92 ▲0.05 | 97.82 ▼15.07 | 76.19 ▲32.50 |
Posts /wp-admin/edit.php | 2,110 ▲18 | 2.01 ▲0.01 | 36.92 ▼4.19 | 35.28 ▲1.25 |
Add New Post /wp-admin/post-new.php | 1,541 ▲24 | 17.84 ▲0.17 | 739.52 ▲146.87 | 63.63 ▲12.06 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.19 ▼0.03 | 97.10 ▲0.87 | 70.74 ▲27.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- eth_fundraiser_version
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eth-fundraiser/inc/shortcodes.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/eth-fundraiser/eth-fundraiser-wp-plugin.php:15
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (Ethereum Fundraiser's WP admin screen.)
eth-fundraiser/eth-fundraiser-wp-plugin.php 77% from 13 tests
Analyzing the main PHP file in "Ethereum fundraiser" version 0.1.0
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("eth-fundraiser.php" instead of "eth-fundraiser-wp-plugin.php")
- Description: The description should be shorter than 140 characters (currently 146 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected408 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 73 | 64 | 392 |
Markdown | 1 | 6 | 0 | 13 |
JavaScript | 1 | 0 | 6 | 2 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 9.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin