Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.96MB] [CPU: ▲4.77ms] 75% from 4 tests
This is a short check of server-side resources used by Cryptocurrency Widgets - Price Ticker & Coins List
It is recommended to improve the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 954.45ms on /wp-admin/admin.php?page=cool-crypto-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.94 | 43.60 ▲4.86 |
Dashboard /wp-admin | 4.32 ▲1.01 | 50.90 ▲2.07 |
Posts /wp-admin/edit.php | 4.37 ▲1.01 | 54.54 ▲2.44 |
Add New Post /wp-admin/post-new.php | 6.85 ▲0.96 | 100.84 ▲14.60 |
Media Library /wp-admin/upload.php | 4.18 ▲0.94 | 43.50 ▲9.69 |
↳ Add New Widget /wp-admin/post-new.php?post_type=ccpw | 5.64 | 63.23 |
Dashboard /wp-admin/admin.php?page=cool-crypto-plugins | 5.15 | 954.45 |
API Settings /wp-admin/admin.php?page=openexchange-api-settings | 5.40 | 47.02 |
↳ Settings /wp-admin/admin.php?page=ccpw_options | 5.37 | 45.26 |
↳ All Widgets /wp-admin/edit.php?post_type=ccpw | 5.19 | 47.48 |
Server storage [IO: ▲9.13MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2,506 new files
Database: 1 new table, 16 new options
New tables |
---|
wp_ccpw_coins |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
ccpw-fresh-installation |
cool-crypto-plugins-crypto |
ccpw-type |
ccpw_data_save |
ccpw_activation_time |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Cryptocurrency Widgets - Price Ticker & Coins List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲206 | 13.83 ▼0.36 | 7.21 ▲5.50 | 39.52 ▼5.64 |
Dashboard /wp-admin | 2,297 ▲126 | 5.68 ▲0.04 | 94.28 ▼9.06 | 49.38 ▼0.97 |
Posts /wp-admin/edit.php | 2,203 ▲103 | 2.05 ▲0.09 | 42.65 ▲0.67 | 41.88 ▲2.31 |
Add New Post /wp-admin/post-new.php | 1,603 ▲77 | 23.28 ▲0.37 | 582.24 ▲4.70 | 61.01 ▲2.84 |
Media Library /wp-admin/upload.php | 1,502 ▲108 | 4.25 ▲0.06 | 96.94 ▲2.30 | 44.93 ▲5.17 |
↳ Add New Widget /wp-admin/post-new.php?post_type=ccpw | 2,908 | 4.68 | 124.26 | 131.52 |
Dashboard /wp-admin/admin.php?page=cool-crypto-plugins | 1,230 | 2.20 | 29.90 | 42.12 |
API Settings /wp-admin/admin.php?page=openexchange-api-settings | 1,097 | 2.37 | 28.60 | 36.78 |
↳ Settings /wp-admin/admin.php?page=ccpw_options | 1,008 | 2.34 | 29.25 | 35.35 |
↳ All Widgets /wp-admin/edit.php?post_type=ccpw | 1,202 | 2.21 | 34.85 | 37.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 16 options
- cool-crypto-plugins-crypto
- ccpw-type
- ccpw_data_save
- widget_recent-comments
- widget_theysaidso_widget
- ccpw-fresh-installation
- widget_recent-posts
- ccpw_activation_time
- cool-crypto-plugins-crypto-pro
- ccpw_do_activation_redirect
- ...
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cryptocurrency-price-ticker-widget/admin/addon-dashboard-page/includes/cool_plugins_downloader.php
- 51× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/review-notices/class.review-notice.php:15
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/cmb2/includes/CMB2_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/cmb2/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/cryptocurrency-price-ticker-widget/includes/ccpw-generate-html.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptocurrency-price-ticker-widget/admin/openexchange-api/openexchange-api-settings.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% 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 need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #9 (Coins Marketcap plugin coin single page.), #10 (Cryptocurrency Exchanges List Pro WordPress plugin.), #11 (Coins Marketcap plugin - Top Gainer/Top Losers.)
cryptocurrency-price-ticker-widget/cryptocurrency-price-ticker-widget.php 69% from 13 tests
The principal PHP file in "Cryptocurrency Widgets - Price Ticker & Coins List" v. 2.6.5 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Description: The description should be shorter than 140 characters (currently 151 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected45,721 lines of code in 872 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 740 | 59 | 74 | 22,526 |
PHP | 76 | 2,787 | 6,804 | 13,354 |
CSS | 29 | 509 | 1,263 | 6,544 |
JavaScript | 27 | 582 | 1,188 | 3,297 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 20.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 82 | |
▷ Abstract classes | 9 | 10.98% |
▷ Concrete classes | 73 | 89.02% |
▷ Final classes | 1 | 1.37% |
Methods | 641 | |
▷ Static methods | 94 | 14.66% |
▷ Public methods | 547 | 85.34% |
▷ Protected methods | 90 | 14.04% |
▷ Private methods | 4 | 0.62% |
Functions | 49 | |
▷ Named functions | 48 | 97.96% |
▷ Anonymous functions | 1 | 2.04% |
Constants | 29 | |
▷ Global constants | 11 | 37.93% |
▷ Class constants | 18 | 62.07% |
▷ Public constants | 18 | 100.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1605 PNG files occupy 4.71MB with 0.94MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/coin-logos/sharkcoin.png | 1.53KB | 1.74KB | 0.00% |
assets/coin-logos/tokendesk.png | 1.74KB | 1.79KB | 0.00% |
assets/coin-logos/mywish.png | 1.66KB | 1.72KB | 0.00% |
assets/coin-logos/copico.png | 1.70KB | 1.71KB | 0.00% |
(invalid) assets/coin-logos/bifrost.png | 18.55KB | 0.00KB | ▼ 100.00% |