Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.05ms] Passed 4 tests
Analyzing server-side resources used by Coin Stats Cryptocurrency Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 41.14 ▲1.28 |
Dashboard /wp-admin | 3.41 ▲0.06 | 52.91 ▼9.65 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.51 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 90.27 ▼18.17 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.15 ▼3.39 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_coinstats-coin-list-widget |
widget_coinstats-coin-chart-widget |
widget_coinstats-coin-price-marquee-widget |
widget_theysaidso_widget |
widget_recent-comments |
widget_coinststas-calculator-widget |
widget_coinstats-converter-widget |
widget_coinstats-insight-widget |
db_upgraded |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Coin Stats Cryptocurrency Widgets
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.24 ▼0.29 | 1.75 ▲0.13 | 44.85 ▲3.21 |
Dashboard /wp-admin | 2,195 ▲18 | 5.52 ▼0.01 | 90.33 ▲0.08 | 41.93 ▼6.61 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▲0.05 | 35.97 ▼1.74 | 32.99 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.17 ▲0.09 | 617.99 ▼81.20 | 47.09 ▼18.04 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.08 | 96.09 ▼8.13 | 44.46 ▲0.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 13 options in the database
- widget_recent-comments
- widget_coinstats-insight-widget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_coinstats-coin-price-marquee-widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_coinststas-calculator-widget
- widget_coinstats-converter-widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/coin-stats-cryptocurrency-widgets/coinstats-widgets.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
coin-stats-cryptocurrency-widgets/coinstats-widgets.php 85% from 13 tests
The primary PHP file in "Coin Stats Cryptocurrency Widgets" version 1.5 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("coin-stats-cryptocurrency-widgets.php" instead of "coinstats-widgets.php")
- Description: The description should be shorter than 140 characters (currently 374 characters long)
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
No dangerous file extensions were detected4,952 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 567 | 1 | 4,531 |
PHP | 1 | 29 | 37 | 421 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin