Benchmarks
Plugin footprint 82% 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: ▲6.01MB] [CPU: ▲5.27ms] 75% from 4 tests
Server-side resources used by Easy CryptoCurrency Ticker
It is recommended to improve the following
- Extra RAM: The extra memory usage must be under 5MB (currently 6.01MB on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.48 ▲6.02 | 43.07 ▼2.14 |
Dashboard /wp-admin | 9.31 ▲6.01 | 52.43 ▲4.37 |
Posts /wp-admin/edit.php | 9.42 ▲6.07 | 55.28 ▲13.06 |
Add New Post /wp-admin/post-new.php | 11.89 ▲6.01 | 104.57 ▲18.56 |
Media Library /wp-admin/upload.php | 9.23 ▲6.01 | 41.22 ▲5.80 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_wpau_cryptocurrency_ticker |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy CryptoCurrency Ticker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.54 ▼0.89 | 1.51 ▼0.65 | 38.10 ▼13.65 |
Dashboard /wp-admin | 2,206 ▲18 | 4.80 ▼1.08 | 107.19 ▼0.11 | 42.15 ▲0.12 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.06 | 40.75 ▲1.21 | 36.93 ▲4.89 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.33 ▲0.02 | 611.64 ▼92.32 | 53.46 ▼1.78 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.26 ▲0.06 | 96.38 ▼6.33 | 43.20 ▼1.53 |
Uninstaller [IO: ▲10.58MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_wpau_cryptocurrency_ticker
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: cryptocompare, bitcoin, cryptocurrency, quote, litecoin...
cc-ticker/cc-ticker.php 85% from 13 tests
The main PHP file in "Easy CryptoCurrency Ticker" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin573 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 74 | 176 | 412 |
Sass | 1 | 1 | 7 | 84 |
CSS | 1 | 2 | 1 | 58 |
JavaScript | 2 | 2 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 17 | |
▷ Static methods | 9 | 52.94% |
▷ Public methods | 13 | 76.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 23.53% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin