Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲1.42MB] [CPU: ▲6.90ms] Passed 4 tests
A check of server-side resources used by WazirX - Free Cryptocurrency Widgets | Price Ticker & Coin List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.93 ▲1.46 | 48.79 ▲8.14 |
Dashboard /wp-admin | 4.73 ▲1.42 | 64.87 ▲15.18 |
Posts /wp-admin/edit.php | 4.78 ▲1.42 | 68.19 ▲18.79 |
Add New Post /wp-admin/post-new.php | 7.33 ▲1.44 | 95.14 ▼7.59 |
Media Library /wp-admin/upload.php | 4.63 ▲1.40 | 47.26 ▲11.86 |
WRX Crypto Widgets /wp-admin/admin.php?page=wx-crypto-shortocodes-options | 4.67 | 46.54 |
Server storage [IO: ▲10.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 597 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WazirX - Free Cryptocurrency Widgets | Price Ticker & Coin List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,218 ▲483 | 20.23 ▲5.85 | 19.53 ▲17.47 | 36.71 ▼7.41 |
Dashboard /wp-admin | 2,497 ▲309 | 9.33 ▲4.29 | 184.41 ▲81.07 | 41.82 ▲0.26 |
Posts /wp-admin/edit.php | 2,437 ▲348 | 6.18 ▲4.18 | 72.88 ▲30.03 | 30.05 ▼6.18 |
Add New Post /wp-admin/post-new.php | 1,600 ▲72 | 20.08 ▲1.76 | 768.79 ▲133.54 | 38.51 ▼14.47 |
Media Library /wp-admin/upload.php | 1,542 ▲154 | 6.71 ▲2.43 | 108.89 ▲4.11 | 44.44 ▲0.44 |
WRX Crypto Widgets /wp-admin/admin.php?page=wx-crypto-shortocodes-options | 1,280 | 6.61 | 87.22 | 27.85 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/crypto-price-widgets/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/crypto-price-widgets/admin/partials/wx-crypto-shortcodes-admin-display.php
- > /wp-content/plugins/crypto-price-widgets/public/partials/wx-crypto-shortcodes-public-display.php
- 213× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/crypto-price-widgets/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/crypto-price-widgets/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Datastore' not found in wp-content/plugins/crypto-price-widgets/vendor/htmlburger/carbon-fields/core/Datastore/Key_Value_Datastore.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/crypto-price-widgets/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php:4
- > PHP Notice
Undefined variable: hideErrorsCookieName in wp-content/plugins/crypto-price-widgets/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 21
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/crypto-price-widgets/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/crypto-price-widgets/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container' not found in wp-content/plugins/crypto-price-widgets/vendor/htmlburger/carbon-fields/core/Block.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/crypto-price-widgets/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Datastore\\Datastore_Interface' not found in wp-content/plugins/crypto-price-widgets/vendor/htmlburger/carbon-fields/core/Datastore/Datastore.php:12
- > 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)
Everything seems fine on the user side
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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #6 (Crypto Return Calculator), #7 (Crypto Past Performance Calculator)
crypto-price-widgets/crypto-price-widgets.php 92% from 13 tests
"WazirX - Free Cryptocurrency Widgets | Price Ticker & Coin List" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin64,012 lines of code in 534 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 175 | 11,639 | 17,592 | 45,888 |
PHP | 264 | 2,998 | 7,595 | 11,441 |
PO File | 26 | 819 | 1,020 | 2,202 |
CSS | 10 | 330 | 1,159 | 1,863 |
Sass | 48 | 339 | 0 | 1,769 |
JSON | 5 | 0 | 0 | 658 |
YAML | 3 | 31 | 3 | 123 |
Markdown | 3 | 24 | 0 | 68 |
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.26 |
Average class complexity | 5.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 230 | |
▷ Abstract classes | 12 | 5.22% |
▷ Concrete classes | 218 | 94.78% |
▷ Final classes | 1 | 0.46% |
Methods | 1,033 | |
▷ Static methods | 92 | 8.91% |
▷ Public methods | 817 | 79.09% |
▷ Protected methods | 199 | 19.26% |
▷ Private methods | 17 | 1.65% |
Functions | 112 | |
▷ Named functions | 26 | 23.21% |
▷ Anonymous functions | 86 | 76.79% |
Constants | 37 | |
▷ Global constants | 10 | 27.03% |
▷ Class constants | 27 | 72.97% |
▷ Public constants | 27 | 100.00% |
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
6 PNG files occupy 0.29MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/cryptopastperformance.png | 46.10KB | 15.08KB | ▼ 67.28% |
admin/images/pricechart.png | 51.87KB | 19.37KB | ▼ 62.66% |
admin/images/cryptoreturnscalculator.png | 42.05KB | 14.04KB | ▼ 66.61% |
admin/images/bitcoincryptoconverter.png | 31.12KB | 11.64KB | ▼ 62.61% |
admin/images/pricetable.png | 101.41KB | 36.72KB | ▼ 63.79% |