Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.04ms] Passed 4 tests
A check of server-side resources used by Ethereum Wallet
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.86 ▼1.56 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.36 ▼5.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.53 ▲0.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.23 ▼9.84 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.95 ▼3.53 |
Server storage [IO: ▲13.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 1,834 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Ethereum Wallet
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.39 ▼0.02 | 1.88 ▲0.36 | 44.66 ▲1.66 |
Dashboard /wp-admin | 2,198 ▲21 | 5.58 ▲0.03 | 87.87 ▲4.81 | 36.92 ▼4.41 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.01 | 38.59 ▲5.46 | 35.66 ▼0.56 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.99 ▲0.21 | 649.79 ▼17.61 | 54.47 ▼5.72 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.08 ▼0.23 | 99.17 ▼11.61 | 44.85 ▼4.80 |
Uninstaller [IO: ▲0.00MB] [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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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 following issues need your attention
- 603× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Ethereumico\\EthereumWallet\\Dependencies\\phpseclib3\\Crypt\\EC\\Curves\\secp256r1' not found in wp-content/plugins/ethereum-wallet/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp256.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Ethereumico\\EthereumWallet\\Dependencies\\GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/ethereum-wallet/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:19
- > PHP Fatal error
Uncaught Error: Class 'Ethereumico\\EthereumWallet\\Dependencies\\BitWasp\\Bitcoin\\Serializable' not found in wp-content/plugins/ethereum-wallet/vendor/olegabr/bitcoin/src/Block/BlockHeader.php:11
- > PHP Fatal error
Uncaught Error: Class 'Ethereumico\\EthereumWallet\\Dependencies\\phpseclib3\\Math\\BigInteger\\Engines\\Engine' not found in wp-content/plugins/ethereum-wallet/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP.php:25
- > PHP Fatal error
Uncaught Error: Class 'Ethereumico\\EthereumWallet\\Dependencies\\Web3\\Methods\\EthMethod' not found in wp-content/plugins/ethereum-wallet/vendor/olegabr/web3.php/src/Methods/Eth/GetUncleByBlockNumberAndIndex.php:19
- > PHP Fatal error
Uncaught Error: Class 'Ethereumico\\EthereumWallet\\Dependencies\\phpseclib3\\Crypt\\EC\\BaseCurves\\Prime' not found in wp-content/plugins/ethereum-wallet/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp224r1.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Ethereumico\\EthereumWallet\\Dependencies\\BitWasp\\Bitcoin\\Script\\Interpreter\\InterpreterInterface' not found in wp-content/plugins/ethereum-wallet/vendor/olegabr/bitcoin/src/Script/Interpreter/Interpreter.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Ethereumico\\EthereumWallet\\Dependencies\\Mdanter\\Ecc\\Crypto\\Signature\\SignatureInterface' not found in wp-content/plugins/ethereum-wallet/vendor/mdanter/ecc/src/Crypto/Signature/Signature.php:32
- > PHP Fatal error
Uncaught Error: Class 'Ethereumico\\EthereumWallet\\Dependencies\\Web3\\Methods\\EthMethod' not found in wp-content/plugins/ethereum-wallet/vendor/olegabr/web3.php/src/Methods/Shh/NewFilter.php:16
- > PHP Fatal error
Uncaught Error: Class 'Ethereumico\\EthereumWallet\\Dependencies\\FG\\ASN1\\ASNObject' not found in wp-content/plugins/ethereum-wallet/vendor/fgrosse/phpasn1/lib/ASN1/UnknownObject.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% 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:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ethereum-wallet/ethereum-wallet.php 92% from 13 tests
The main PHP script in "Ethereum Wallet" version 4.10.7 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("3.7" instead of "5.5.0")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected120,263 lines of code in 1,778 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,282 | 12,407 | 70,906 | 114,008 |
JSON | 1 | 0 | 0 | 3,579 |
PO File | 3 | 721 | 894 | 1,958 |
SVG | 470 | 0 | 0 | 470 |
JavaScript | 6 | 34 | 63 | 197 |
XML | 2 | 3 | 0 | 35 |
CSS | 13 | 0 | 0 | 13 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 0% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,088)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 204)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 13.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 204.00 |
Code structure | ||
---|---|---|
Namespaces | 188 | |
Interfaces | 106 | |
Traits | 7 | |
Classes | 1,044 | |
▷ Abstract classes | 247 | 23.66% |
▷ Concrete classes | 797 | 76.34% |
▷ Final classes | 50 | 6.27% |
Methods | 6,876 | |
▷ Static methods | 1,196 | 17.39% |
▷ Public methods | 5,589 | 81.28% |
▷ Protected methods | 453 | 6.59% |
▷ Private methods | 834 | 12.13% |
Functions | 586 | |
▷ Named functions | 305 | 52.05% |
▷ Anonymous functions | 281 | 47.95% |
Constants | 901 | |
▷ Global constants | 107 | 11.88% |
▷ Class constants | 794 | 88.12% |
▷ Public constants | 783 | 98.61% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/freemius/wordpress-sdk/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
vendor/freemius/wordpress-sdk/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |