Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.40MB] [CPU: ▼9.30ms] Passed 4 tests
A check of server-side resources used by Bitcoin, Ethereum and ERC20 crypto wallets with exchange
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.47 | 56.65 ▲17.94 |
Dashboard /wp-admin | 3.79 ▲0.40 | 55.52 ▼19.84 |
Posts /wp-admin/edit.php | 3.84 ▲0.45 | 56.18 ▼6.41 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.39 | 87.64 ▼21.59 |
Media Library /wp-admin/upload.php | 3.65 ▲0.38 | 47.63 ▲10.64 |
Help /wp-admin/admin.php?page=mcwallet-help | 3.62 | 36.93 |
MCWallet /wp-admin/admin.php?page=mcwallet | 3.82 | 63.92 |
Banners /wp-admin/edit.php?post_type=mcwallet_banner | 3.83 | 51.50 |
Server storage [IO: ▲28.30MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- Filesystem usage must be lower than 25MB (currently using 28.30MB)
Filesystem: 215 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
mcwallet_version |
db_upgraded |
can_compress_scripts |
mcwallet_tokens |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Bitcoin, Ethereum and ERC20 crypto wallets with exchange
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.73 ▲0.52 | 1.60 ▼0.04 | 39.67 ▼2.02 |
Dashboard /wp-admin | 2,228 ▲48 | 5.49 ▼0.15 | 96.54 ▲8.85 | 42.60 ▲0.24 |
Posts /wp-admin/edit.php | 2,095 ▼5 | 2.01 ▼0.00 | 35.46 ▼6.14 | 35.26 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,553 ▲18 | 23.50 ▲5.39 | 677.76 ▲51.54 | 65.06 ▲2.14 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.22 ▲0.01 | 95.51 ▼10.94 | 47.43 ▲2.73 |
Help /wp-admin/admin.php?page=mcwallet-help | 822 | 2.03 | 25.19 | 27.14 |
MCWallet /wp-admin/admin.php?page=mcwallet | 4,520 | 8.46 | 178.07 | 69.75 |
Banners /wp-admin/edit.php?post_type=mcwallet_banner | 1,847 | 3.68 | 53.84 | 30.46 |
Uninstaller [IO: ▲2.65MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- mcwallet_version
- mcwallet_tokens
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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× PHP files output text when accessed directly:
- > /wp-content/plugins/multi-currency-wallet/includes/scripts/load-app.php
- 32× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multi-currency-wallet/includes/tinymce.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/multi-currency-wallet/includes/shortcode.php:41
- > PHP Fatal error
require(): Failed opening required 'MCWALLET_PATHincludes/admin-page/admin-page-main.php' (include_path='.:/usr/share/php') in wp-content/plugins/multi-currency-wallet/includes/admin-page/admin-page.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/multi-currency-wallet/includes/admin-page/tabs/edit-menu.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/multi-currency-wallet/includes/functions.php:151
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/multi-currency-wallet/includes/admin-page/tabs/strings-editor.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multi-currency-wallet/includes/admin-page/admin-page-help.php:17
- > PHP Fatal error
require(): Failed opening required 'MCWALLET_PATHincludes/setup.php' (include_path='.:/usr/share/php') in wp-content/plugins/multi-currency-wallet/includes/init.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multi-currency-wallet/includes/admin-page/admin-page-design.php:22
- > PHP Warning
require(MCWALLET_PATHincludes/scripts/admin-scripts.php): failed to open stream: No such file or directory in wp-content/plugins/multi-currency-wallet/includes/scripts/scripts.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
multi-currency-wallet/multi-currency-wallet.php 92% from 13 tests
The main file in "Bitcoin, Ethereum and ERC20 crypto wallets with exchange" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "5.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected7,175 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 472 | 550 | 3,417 |
SVG | 62 | 4 | 10 | 2,044 |
CSS | 10 | 76 | 68 | 890 |
JavaScript | 9 | 108 | 98 | 824 |
PHP code Passed 2 tests
An overview 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.26 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 4.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 100 | |
▷ Named functions | 95 | 95.00% |
▷ Anonymous functions | 5 | 5.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 1.41MB with 0.92MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendors/swap/images/phi_fff600.png | 64.15KB | 24.80KB | ▼ 61.34% |
vendors/swap/images/extensionPromoLight_490766.png | 286.78KB | 91.97KB | ▼ 67.93% |
vendors/swap/images/extensionPromoDark_7abbf7.png | 305.13KB | 95.70KB | ▼ 68.64% |
vendors/swap/images/liquality_151856.png | 36.33KB | 15.47KB | ▼ 57.43% |
assets/images/banner-mastercard-visa.png | 49.40KB | 14.18KB | ▼ 71.29% |