Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/live-ticker-cryptocoin/cryptocoin-live-ticker.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; CryptocoinLiveTickerWidget has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼52.38ms] Passed 4 tests
A check of server-side resources used by Cryptocoin Live Ticker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.47 ▼36.86 |
Dashboard /wp-admin | 2.11 ▼1.19 | 5.79 ▼44.17 |
Posts /wp-admin/edit.php | 2.11 ▼1.24 | 5.77 ▼45.30 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.77 | 6.69 ▼83.17 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.12 ▼28.72 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_cryptocoinlivetickerwidget |
Browser metrics Passed 4 tests
A check of browser resources used by Cryptocoin Live Ticker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲35 | 13.18 ▼1.11 | 1.73 ▼0.30 | 40.56 ▼6.19 |
Dashboard /wp-admin | 2,208 ▲20 | 4.81 ▼1.08 | 99.89 ▼5.31 | 43.29 ▲0.19 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.05 ▲0.02 | 33.68 ▼6.73 | 38.08 ▼1.13 |
Add New Post /wp-admin/post-new.php | 1,531 ▼12 | 23.21 ▲5.05 | 670.31 ▲35.87 | 66.51 ▲9.60 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.22 ▼0.02 | 105.60 ▼0.83 | 49.63 ▲1.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/live-ticker-cryptocoin/cryptocoin-live-ticker.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; CryptocoinLiveTickerWidget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_cryptocoinlivetickerwidget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/live-ticker-cryptocoin/cryptocoin-live-ticker.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
live-ticker-cryptocoin/cryptocoin-live-ticker.php 92% from 13 tests
The principal PHP file in "Cryptocoin Live Ticker" v. 1.5.2 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("live-ticker-cryptocoin.php" instead of "cryptocoin-live-ticker.php")
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 detected208 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 34 | 9 | 167 |
CSS | 1 | 12 | 1 | 41 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 5.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin