Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/cryptocurrency-rocket-tools/cryptocurrency-rocket-tools.php+78
file_get_contents(https://api.coinmarketcap.com/v1/ticker/?limit=10000): failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable
Server metrics [RAM: ▼1.22MB] [CPU: ▼284.19ms] Passed 4 tests
Analyzing server-side resources used by Cryptocurrency Rocket Tools
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.15 ▼0.37 | 73.97 ▲23.08 |
Dashboard /wp-admin | 3.17 ▼0.24 | 105.34 ▲71.12 |
Posts /wp-admin/edit.php | 3.17 ▼0.47 | 59.69 ▲24.63 |
Add New Post /wp-admin/post-new.php | 3.17 ▼3.80 | 56.20 ▼1,210.99 |
Media Library /wp-admin/upload.php | 3.17 ▼0.13 | 52.55 ▲26.51 |
Settings /wp-admin/admin.php?page=crtools&tab=1 | 3.17 | 60.03 |
Options Object /wp-admin/admin.php?page=crtools&tab=12 | 3.17 | 57.91 |
Redux Framework /wp-admin/tools.php?page=redux-about | 3.17 | 71.55 |
Documentation /wp-admin/admin.php?page=crtools&tab=7 | 3.17 | 89.97 |
Import / Export /wp-admin/admin.php?page=crtools&tab=13 | 3.17 | 56.22 |
Server storage [IO: ▲31.75MB] [DB: ▲0.06MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- Try to limit filesystem usage to 25MB (currently using 31.75MB)
Filesystem: 2,687 new files
Database: no new tables, 3 new options
New WordPress options |
---|
crtools_redux |
redux_version_upgraded_from |
crtools_redux-transients |
Browser metrics Passed 4 tests
An overview of browser requirements for Cryptocurrency Rocket Tools
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,051 ▲329 | 16.77 ▲0.79 | 11.32 ▲5.56 | 2.80 ▲0.54 |
Dashboard /wp-admin | 3,034 ▲176 | 6.03 ▼0.15 | 136.34 ▼5.20 | 178.92 ▲19.91 |
Posts /wp-admin/edit.php | 2,759 ▲102 | 2.94 ▼0.30 | 63.82 ▼0.61 | 147.34 ▲3.77 |
Add New Post /wp-admin/post-new.php | 1,874 ▲122 | 23.95 ▲3.02 | 424.55 ▼38.55 | 169.71 ▲9.01 |
Media Library /wp-admin/upload.php | 1,769 ▲71 | 5.50 ▲0.01 | 127.87 ▼30.23 | 192.15 ▲3.69 |
Settings /wp-admin/admin.php?page=crtools&tab=1 | 2,928 | 4.81 | 90.58 | 207.13 |
Options Object /wp-admin/admin.php?page=crtools&tab=12 | 2,904 | 4.72 | 88.07 | 190.87 |
Redux Framework /wp-admin/tools.php?page=redux-about | 1,408 | 3.77 | 99.53 | 208.68 |
Documentation /wp-admin/admin.php?page=crtools&tab=7 | 2,931 | 4.61 | 90.09 | 192.30 |
Import / Export /wp-admin/admin.php?page=crtools&tab=13 | 2,901 | 4.72 | 86.85 | 186.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/cryptocurrency-rocket-tools/cryptocurrency-rocket-tools.php+78
file_get_contents(https://api.coinmarketcap.com/v1/ticker/?limit=10000): failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable
- This plugin did not uninstall successfully, leaving 3 options in the database
- redux_version_upgraded_from
- crtools_redux-transients
- crtools_redux
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=crtools&tab=13
- > Warning in wp-content/plugins/cryptocurrency-rocket-tools/cryptocurrency-rocket-tools.php+78
file_get_contents(https://api.coinmarketcap.com/v1/ticker/?limit=10000): failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=crtools&tab=13
- > Notice in wp-content/plugins/cryptocurrency-rocket-tools/cryptocurrency-rocket-tools.php+84
Undefined variable: coinList
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 20× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Redux_Customizer_Control' not found in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_fields.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/templates/panel/header_stickybar.tpl.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_section.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/inc/welcome/views/about.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/templates/panel/header.tpl.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/inc/welcome/views/extensions.php:64
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/templates/panel/content.tpl.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/templates/panel/container.tpl.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_devs.php:12
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/cryptocurrency-rocket-tools/frameworks/ReduxFramework/ReduxCore/inc/themecheck/checks/embedded.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=crtools&tab=1
- > Security (severe) in unknown
/wp-admin/admin.php?page=crtools&tab=1 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=a503f39ad1&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Da503f39ad1%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=crtools&tab=12
- > Security (severe) in unknown
/wp-admin/admin.php?page=crtools&tab=12 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=a503f39ad1&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Da503f39ad1%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=crtools&tab=7
- > Security (severe) in unknown
/wp-admin/admin.php?page=crtools&tab=7 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=a503f39ad1&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Da503f39ad1%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=crtools&tab=13
- > Security (severe) in unknown
/wp-admin/admin.php?page=crtools&tab=13 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=a503f39ad1&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Da503f39ad1%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 23 tag instead of maximum 10
cryptocurrency-rocket-tools/cryptocurrency-rocket-tools.php Passed 13 tests
The principal PHP file in "Cryptocurrency Rocket Tools" v. 2.2 is loaded by WordPress automatically on each request
74 characters long description:
Price ticker, table, graph, converter, price list of all cryptocurrencies.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected92,843 lines of code in 344 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 93 | 13,599 | 17,449 | 61,572 |
PHP | 120 | 4,167 | 6,317 | 18,617 |
Sass | 54 | 1,184 | 60 | 7,579 |
Markdown | 8 | 658 | 0 | 1,837 |
SVG | 4 | 0 | 3 | 1,022 |
JSON | 3 | 184 | 0 | 980 |
CSS | 49 | 57 | 42 | 464 |
PO File | 3 | 171 | 171 | 390 |
Bourne Shell | 4 | 31 | 50 | 122 |
XML | 3 | 1 | 0 | 111 |
HTML | 1 | 7 | 0 | 60 |
LESS | 1 | 0 | 0 | 53 |
YAML | 1 | 0 | 20 | 36 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 31.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 882.00 |
Average method complexity | 6.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 107 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 107 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 616 | |
▷ Static methods | 129 | 20.94% |
▷ Public methods | 463 | 75.16% |
▷ Protected methods | 91 | 14.77% |
▷ Private methods | 62 | 10.06% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 70 | |
▷ Global constants | 4 | 5.71% |
▷ Class constants | 66 | 94.29% |
▷ Public constants | 66 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2078 PNG files occupy 22.10MB with 9.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/coins/sense.png | 3.89KB | 2.07KB | ▼ 46.70% |
assets/images/coins/nbt.png | 9.23KB | 5.27KB | ▼ 42.85% |
assets/images/coins/bashc.png | 19.75KB | 8.07KB | ▼ 59.15% |
assets/images/coins/xvs.png | 5.40KB | 2.36KB | ▼ 56.30% |
assets/images/coins/cs.png | 2.10KB | 2.29KB | 0.00% |