Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▲32.42ms] Passed 4 tests
This is a short check of server-side resources used by Free plugin with prices of Bitcoin, Ethereum, Cryptocurrencies in Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 68.24 ▲28.39 |
Dashboard /wp-admin | 3.37 ▲0.07 | 83.20 ▲35.17 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 106.06 ▲55.03 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 129.21 ▲31.52 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 69.35 ▲34.59 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 72 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-comments |
widget_coinmotion_widget_currency_conversor |
can_compress_scripts |
coinmotion_anchor |
widget_coinmotion_widget_currency_details |
widget_coinmotion_widget_0 |
db_upgraded |
widget_coinmotion_widget_rate_period |
widget_theysaidso_widget |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Free plugin with prices of Bitcoin, Ethereum, Cryptocurrencies in Wordpress: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲86 | 14.78 ▲0.49 | 1.79 ▼0.04 | 36.55 ▼5.41 |
Dashboard /wp-admin | 2,220 ▲31 | 5.90 ▲0.96 | 113.45 ▼5.32 | 42.58 ▲0.84 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.04 ▲0.05 | 40.20 ▲0.54 | 34.93 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,540 ▼1 | 23.22 ▲5.08 | 653.32 ▲25.38 | 47.24 ▲3.35 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.23 ▲0.03 | 93.06 ▼5.73 | 40.48 ▼1.59 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/precios-bitcoin-criptomonedas/coinmotion.php
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/precios-bitcoin-criptomonedas/includes/class.coinmotion_widget_currency_details.php:51
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/precios-bitcoin-criptomonedas/includes/class.coinmotion_widget_currency_conversor.php:39
- > PHP Warning
include_once(): Failed opening 'COINMOTION__PLUGIN_DIR/includes/class.coinmotion_values.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/precios-bitcoin-criptomonedas/admin/coinmotion.php on line 3
- > PHP Warning
Use of undefined constant COINMOTION__PLUGIN_DIR - assumed 'COINMOTION__PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/precios-bitcoin-criptomonedas/admin/coinmotion.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/precios-bitcoin-criptomonedas/includes/class.coinmotion_widget_0.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function coinmotion_get_widget_data() in wp-content/plugins/precios-bitcoin-criptomonedas/admin/coinmotion.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/precios-bitcoin-criptomonedas/includes/settings.php:6
- > PHP Warning
include_once(COINMOTION__PLUGIN_DIR/includes/class.coinmotion_values.php): failed to open stream: No such file or directory in wp-content/plugins/precios-bitcoin-criptomonedas/admin/coinmotion.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/precios-bitcoin-criptomonedas/includes/class.coinmotion_widget_rate_period.php:88
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/precios-bitcoin-criptomonedas/admin/sidebar.inc.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #3, #4, #5, #6, #7 in precios-bitcoin-criptomonedas/assets to your readme.txt
- Contributors: The plugin contributors field is not present
precios-bitcoin-criptomonedas/coinmotion.php 62% from 13 tests
"Free plugin with prices of Bitcoin, Ethereum, Cryptocurrencies in Wordpress" version 2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("precios-bitcoin-criptomonedas.php" instead of "coinmotion.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin6,207 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 1,191 | 1,673 | 3,004 |
PHP | 15 | 376 | 171 | 2,862 |
SVG | 16 | 2 | 7 | 244 |
CSS | 1 | 15 | 0 | 97 |
JavaScript | 1 | 0 | 6 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 5.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 3 | 9.38% |
▷ Public methods | 29 | 90.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 9.38% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 50 | |
▷ Global constants | 36 | 72.00% |
▷ Class constants | 14 | 28.00% |
▷ Public constants | 14 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) admin/img/coinmotion-logo-small.png | 3.17KB | 0.00KB | ▼ 100.00% |