Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.78ms] Passed 4 tests
This is a short check of server-side resources used by Cryptoniq - Cryptocurrency Decentralized Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 38.49 ▼3.33 |
Dashboard /wp-admin | 3.44 ▲0.14 | 52.05 ▼2.11 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 52.64 ▼4.24 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 95.63 ▼5.42 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 41.62 ▲5.20 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.37 | 34.83 |
Server storage [IO: ▲11.81MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 1,430 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
cryptoniq_currency_prices |
can_compress_scripts |
cryptoniq_coin_prices |
Browser metrics Passed 4 tests
An overview of browser requirements for Cryptoniq - Cryptocurrency Decentralized Payment Gateway
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲177 | 13.70 ▼0.88 | 11.74 ▲9.71 | 37.84 ▼6.00 |
Dashboard /wp-admin | 2,234 ▲46 | 4.85 ▼1.03 | 114.17 ▲8.63 | 48.24 ▲7.36 |
Posts /wp-admin/edit.php | 2,128 ▲36 | 2.04 ▲0.01 | 42.77 ▲1.47 | 39.58 ▲3.00 |
Add New Post /wp-admin/post-new.php | 1,552 ▲17 | 23.13 ▼0.24 | 629.09 ▼64.36 | 52.77 ▲0.50 |
Media Library /wp-admin/upload.php | 1,427 ▲42 | 4.26 ▲0.11 | 113.25 ▲6.77 | 50.89 ▲3.71 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 959 | 2.09 | 26.82 | 35.57 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- cryptoniq_coin_prices
- can_compress_scripts
- cryptoniq_currency_prices
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/cryptoniq-lite/tgma/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/cryptoniq-lite/tgma/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in cryptoniq-lite/assets to your readme.txt
- Tags: There are too many tags (12 tag instead of maximum 10)
- Plugin Name: Please specify the plugin name on the first line (
=== cryptoniq-lite ===
)
cryptoniq-lite/index.php 85% from 13 tests
The entry point to "Cryptoniq - Cryptocurrency Decentralized Payment Gateway" version 1.3.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("cryptoniq-lite.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin85,276 lines of code in 1,375 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 39,953 |
YAML | 4 | 0 | 0 | 15,153 |
SVG | 1,268 | 0 | 5,027 | 12,357 |
PO File | 21 | 1,725 | 2,273 | 5,595 |
Sass | 25 | 515 | 46 | 4,647 |
LESS | 24 | 513 | 57 | 4,614 |
PHP | 14 | 716 | 1,756 | 2,870 |
Markdown | 1 | 26 | 0 | 47 |
JavaScript | 8 | 1 | 24 | 36 |
CSS | 4 | 1 | 16 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 35.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 7 | 5.88% |
▷ Public methods | 94 | 78.99% |
▷ Protected methods | 23 | 19.33% |
▷ Private methods | 2 | 1.68% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/demo/images/cryptoniq.wallets.pro.png | 26.56KB | 14.16KB | ▼ 46.69% |
admin/assets/demo/images/cryptoniq.coins.pro.png | 8.24KB | 3.67KB | ▼ 55.50% |
admin/assets/demo/images/cryptoniq.prices.pro.png | 14.22KB | 5.69KB | ▼ 60.02% |
assets/images/cryptoniq.logo.png | 24.10KB | 5.62KB | ▼ 76.68% |