Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼6.07ms] Passed 4 tests
A check of server-side resources used by CryptoCurrencyChart
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 39.32 ▼12.16 |
Dashboard /wp-admin | 3.48 ▲0.18 | 49.09 ▼2.04 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 48.64 ▼3.49 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 96.45 ▼6.60 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 39.26 ▲5.90 |
CryptoCurrencyChart /wp-admin/options-general.php?page=crypto-currency-chart | 3.38 | 32.51 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 37 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ccc_request_cache |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_cryptocurrencychart_price |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CryptoCurrencyChart
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 13.69 ▼0.98 | 1.51 ▼0.42 | 38.76 ▼2.83 |
Dashboard /wp-admin | 2,230 ▲39 | 5.10 ▼0.81 | 100.54 ▼8.56 | 41.20 ▼1.50 |
Posts /wp-admin/edit.php | 2,115 ▲23 | 2.29 ▲0.32 | 36.47 ▼3.20 | 30.85 ▼4.07 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 17.93 ▼5.16 | 654.90 ▲65.66 | 54.89 ▼0.03 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.35 ▲0.05 | 97.22 ▲2.64 | 43.29 ▼0.95 |
CryptoCurrencyChart /wp-admin/options-general.php?page=crypto-currency-chart | 861 | 1.88 | 26.28 | 25.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_ccc_request_cache
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_cryptocurrencychart_price
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Exception\\Exception' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Exception/InvalidParameterException.php:7
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Struct\\Struct' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Struct/HistoryData.php:7
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Struct\\Struct' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Struct/Coins.php:9
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Struct\\Struct' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Struct/DataTypes.php:9
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Exception\\Exception' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Exception/UnauthorizedRequestException.php:7
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Exception\\Exception' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Exception/UnknownException.php:7
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Exception\\Exception' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Exception/InvalidResponseException.php:7
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Struct\\Struct' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Struct/BaseCurrencies.php:9
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Struct\\Struct' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Struct/Coin.php:7
- > PHP Fatal error
Uncaught Error: Class 'CryptoCurrencyChart\\API\\Struct\\Struct' not found in wp-content/plugins/cryptocurrencychart/library/api/src/CryptoCurrencyChart/API/Struct/CoinHistory.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
cryptocurrencychart/cryptocurrencychart.php 77% from 13 tests
"CryptoCurrencyChart" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("7.2" instead of "7.3")
- Requires at least: Required version must match the one declared in readme.txt ("5.3" instead of "5.2.2")
- Description: Keep the plugin description shorter than 140 characters (currently 169 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,091 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 234 | 113 | 990 |
CSS | 3 | 7 | 0 | 51 |
JSON | 1 | 0 | 0 | 28 |
Markdown | 1 | 5 | 0 | 15 |
JavaScript | 2 | 2 | 1 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 6.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 2 | 8.70% |
▷ Concrete classes | 21 | 91.30% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 7 | 12.96% |
▷ Public methods | 42 | 77.78% |
▷ Protected methods | 12 | 22.22% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 22 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 22 | 100.00% |
▷ Public constants | 15 | 68.18% |
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