Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.79MB] [CPU: ▼50.97ms] Passed 4 tests
A check of server-side resources used by Crypto Coin Market Prices
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.21 ▼0.25 | 10.71 ▼29.10 |
Dashboard /wp-admin | 3.23 ▼0.12 | 13.58 ▼48.61 |
Posts /wp-admin/edit.php | 3.23 ▼0.13 | 13.92 ▼37.38 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.66 | 14.20 ▼88.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 15.81 ▼18.55 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
cryptocurrency_prices_State |
widget_recent-comments |
widget_cryptocurrency_prices_main_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Crypto Coin Market Prices
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.25 ▲0.04 | 1.70 ▼0.04 | 44.01 ▼0.52 |
Dashboard /wp-admin | 2,200 ▲23 | 5.55 ▲0.01 | 90.62 ▲3.73 | 41.68 ▼2.68 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.01 ▲0.05 | 41.18 ▲2.43 | 35.47 ▼4.48 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.26 ▼0.34 | 667.19 ▼40.27 | 60.45 ▲4.83 |
Media Library /wp-admin/upload.php | 1,399 ▲2 | 4.20 ▲0.01 | 113.98 ▲1.72 | 54.83 ▲8.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/cryptocurrency-coin-prices/Cmn/Gen.php+2258
Undefined index: forceLoadOwn
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- db_upgraded
- cryptocurrency_prices_State
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_cryptocurrency_prices_main_widget
- can_compress_scripts
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Table view.), #2 (Settings.)
cryptocurrency-coin-prices/plugin_root.php 92% from 13 tests
The entry point to "Crypto Coin Market Prices" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cryptocurrency-coin-prices.php" instead of "plugin_root.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected4,537 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 1,215 | 18 | 4,118 |
JavaScript | 7 | 0 | 6 | 418 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 48.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 250 | |
▷ Static methods | 244 | 97.60% |
▷ Public methods | 225 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 25 | 10.00% |
Functions | 20 | |
▷ Named functions | 8 | 40.00% |
▷ Anonymous functions | 12 | 60.00% |
Constants | 57 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 57 | 100.00% |
▷ Public constants | 57 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin