Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.46ms] Passed 4 tests
A check of server-side resources used by WooCommerce Customize ERC20 Currency
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.56 ▲0.81 |
Dashboard /wp-admin | 3.33 ▼0.02 | 43.78 ▼20.08 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.37 ▲3.39 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.99 ▼21.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.75 ▲2.92 |
WooCommerce Customize ERC20 Currency /wp-admin/options-general.php?page=woocommerce_customize_erc20_currency | 3.20 | 29.18 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
WooCommerce Customize ERC20 Currency: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.41 ▲0.06 | 1.74 ▼0.06 | 44.24 ▼0.45 |
Dashboard /wp-admin | 2,199 ▲19 | 5.57 ▼0.08 | 84.26 ▼14.89 | 37.99 ▼5.25 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▼0.02 | 33.09 ▼0.89 | 33.22 ▲1.56 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.10 ▼0.07 | 668.63 ▲81.59 | 50.71 ▼5.76 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.15 ▼0.00 | 95.08 ▼4.12 | 44.66 ▲0.00 |
WooCommerce Customize ERC20 Currency /wp-admin/options-general.php?page=woocommerce_customize_erc20_currency | 795 | 2.02 | 22.53 | 27.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=woocommerce_customize_erc20_currency
- > Notice in wp-content/plugins/woo-custom-erc20/woocommerce-custom-erc20-currencies.php+105
Trying to access array offset on value of type bool
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: erc20, woocommerce, currency
woo-custom-erc20/woocommerce-custom-erc20-currencies.php 92% from 13 tests
The main PHP file in "WooCommerce Customize ERC20 Currency" ver. 0.0.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-custom-erc20.php" instead of "woocommerce-custom-erc20-currencies.php")
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 plugin161 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 20 | 82 |
PO File | 1 | 13 | 23 | 43 |
Markdown | 3 | 26 | 0 | 36 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 9 | |
▷ Named functions | 9 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin