Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▼5.01ms] 75% from 4 tests
Analyzing server-side resources used by Cryptocurrency Widgets For Elementor
Please take the time to fix the following items
- CPU: Total CPU usage should be kept under 500.00ms (currently 961.59ms on /wp-admin/admin.php?page=cool-crypto-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.33 | 37.05 ▼6.86 |
Dashboard /wp-admin | 3.83 ▲0.52 | 48.46 ▼4.57 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 48.92 ▲4.91 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.46 | 82.37 ▼10.98 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 34.34 ▲2.38 |
Dashboard /wp-admin/admin.php?page=cool-crypto-plugins | 3.73 | 961.59 |
Open Exchange API /wp-admin/admin.php?page=openexchange-api-settings | 3.66 | 41.50 |
↳ Settings /wp-admin/admin.php?page=ccew-settings | 3.66 | 34.50 |
Server storage [IO: ▲6.16MB] [DB: ▲0.68MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 672 new files
Database: 1 new table, 14 new options
New tables |
---|
wp_ccew_coins |
New WordPress options |
---|
db_upgraded |
ccew-v |
widget_recent-comments |
wp_ccew_coins_db_version |
CCEW_FREE_VERSION |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
ccew-alreadyRated |
ccew_data_save |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Cryptocurrency Widgets For Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲116 | 14.29 ▼0.06 | 1.54 ▼0.18 | 43.79 ▲2.82 |
Dashboard /wp-admin | 2,286 ▲109 | 5.68 ▲0.07 | 93.97 ▲6.05 | 43.97 ▲5.05 |
Posts /wp-admin/edit.php | 2,192 ▲92 | 2.06 ▲0.10 | 41.04 ▲4.58 | 42.48 ▲9.84 |
Add New Post /wp-admin/post-new.php | 1,596 ▲70 | 23.65 ▲0.43 | 705.69 ▲8.10 | 51.76 ▼5.81 |
Media Library /wp-admin/upload.php | 1,485 ▲88 | 4.26 ▲0.00 | 100.96 ▼1.78 | 45.10 ▲2.59 |
Dashboard /wp-admin/admin.php?page=cool-crypto-plugins | 1,217 | 2.12 | 27.54 | 44.75 |
Open Exchange API /wp-admin/admin.php?page=openexchange-api-settings | 873 | 2.10 | 28.61 | 32.21 |
↳ Settings /wp-admin/admin.php?page=ccew-settings | 920 | 1.84 | 26.52 | 38.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 13 options in the database
- CCEW_FREE_VERSION
- widget_recent-posts
- db_upgraded
- ccew-v
- widget_recent-comments
- cool-crypto-plugins-crypto-pro
- theysaidso_admin_options
- can_compress_scripts
- cool-crypto-plugins-crypto
- ccew_activation_time
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cryptocurrency-widgets-for-elementor/admin/addon-dashboard-page/includes/cool_plugins_downloader.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function ccew\\feedback\\add_action() in wp-content/plugins/cryptocurrency-widgets-for-elementor/admin/feedback/admin-feedback-form.php:18
- > PHP Warning
Use of undefined constant CCEW_VERSION - assumed 'CCEW_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/cryptocurrency-widgets-for-elementor/admin/feedback/admin-feedback-form.php on line 170
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptocurrency-widgets-for-elementor/admin/settings.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptocurrency-widgets-for-elementor/includes/ccew-elementor-register.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cryptocurrency-widgets-for-elementor/admin/addon-dashboard-page/includes/dashboard-header.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cryptocurrency-widgets-for-elementor/admin/addon-dashboard-page/includes/dashboard-sidebar.php:8
- > PHP Warning
Use of undefined constant CCEW_URL - assumed 'CCEW_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cryptocurrency-widgets-for-elementor/admin/feedback/admin-feedback-form.php on line 170
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cryptocurrency-widgets-for-elementor/admin/openexchange-api-settings.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ccew-settings
- > Network (severe)
wp-content/plugins/cryptocurrency-widgets-for-elementor/assets/CSS/ccew-admin.css?ver=1.5.7 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Please a description for screenshot #9 in cryptocurrency-widgets-for-elementor/assets to your readme.txt
cryptocurrency-widgets-for-elementor/cryptocurrency-widgets-for-elementor.php 77% from 13 tests
The principal PHP file in "Cryptocurrency Widgets For Elementor" v. 1.5.7 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
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
There were no executable files found in this plugin34,128 lines of code in 414 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 357 | 59 | 68 | 24,177 |
PHP | 21 | 566 | 371 | 4,340 |
JavaScript | 18 | 87 | 69 | 3,034 |
CSS | 18 | 427 | 96 | 2,577 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 90 | |
▷ Static methods | 4 | 4.44% |
▷ Public methods | 83 | 92.22% |
▷ Protected methods | 5 | 5.56% |
▷ Private methods | 2 | 2.22% |
Functions | 27 | |
▷ Named functions | 26 | 96.30% |
▷ Anonymous functions | 1 | 3.70% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
212 PNG files occupy 1.45MB with 0.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/images/logos/klay-token.png | 3.47KB | 0.00KB | ▼ 100.00% |
admin/addon-dashboard-page/assets/images/cryptocurrency-widgets-for-elementor.png | 16.65KB | 5.16KB | ▼ 69.04% |
assets/images/logos/bitcoinbrand.png | 2.47KB | 2.49KB | 0.00% |
assets/images/logos/braintrust.png | 1.27KB | 1.30KB | 0.00% |
(invalid) assets/images/logos/vulcan-forged.png | 4.40KB | 0.00KB | ▼ 100.00% |