Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/cryptocurrency-interest-rates/cryptointerest.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; CryptoInterestWidget has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼175.41ms] Passed 4 tests
A check of server-side resources used by Cryptocurrency Interest Rates
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.80 ▼1.04 | 4.33 ▼17.73 |
Dashboard /wp-admin | 1.82 ▼1.25 | 3.74 ▼34.67 |
Posts /wp-admin/edit.php | 1.82 ▼1.29 | 4.06 ▼24.53 |
Add New Post /wp-admin/post-new.php | 1.82 ▼3.62 | 3.80 ▼622.44 |
Media Library /wp-admin/upload.php | 1.82 ▼1.19 | 3.75 ▼19.99 |
Server storage [IO: ▲0.01MB] [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: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_cryptointerestwidget |
Browser metrics Passed 4 tests
A check of browser resources used by Cryptocurrency Interest Rates
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,666 ▲40 | 15.61 ▼0.03 | 5.05 ▼0.20 | 75.72 ▲2.85 |
Dashboard /wp-admin | 2,929 ▲34 | 6.08 ▼0.07 | 115.94 ▼19.50 | 165.49 ▼9.57 |
Posts /wp-admin/edit.php | 2,740 ▼3 | 3.36 ▲0.13 | 63.89 ▼0.95 | 137.77 ▼0.43 |
Add New Post /wp-admin/post-new.php | 3,743 ▼64 | 19.12 ▲0.90 | 450.23 ▲24.40 | 156.69 ▼12.23 |
Media Library /wp-admin/upload.php | 1,749 ▼3 | 5.52 ▼0.03 | 136.15 ▼2.87 | 186.79 ▲1.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/cryptocurrency-interest-rates/cryptointerest.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; CryptoInterestWidget has a deprecated constructor
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_cryptointerestwidget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cryptocurrency-interest-rates/cryptointerest.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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: passive income, interest rate, bitcoin, crypto, cryptocurrency...
cryptocurrency-interest-rates/cryptointerest.php 92% from 13 tests
"Cryptocurrency Interest Rates" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cryptocurrency-interest-rates.php" instead of "cryptointerest.php")
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
Good job! No executable or dangerous file extensions detected112 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 9 | 112 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 4.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin