Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.16ms] Passed 4 tests
This is a short check of server-side resources used by Crypto Dash Tracker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.66 ▼0.61 |
Dashboard /wp-admin | 3.38 ▲0.04 | 44.18 ▼15.06 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 43.51 ▼0.75 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 78.50 ▼12.22 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.08 ▲3.90 |
Crypto Dash Tracker /wp-admin/options-general.php?page=crypto-dash-tracker | 3.27 | 31.15 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Crypto Dash Tracker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲126 | 13.39 ▼1.16 | 1.88 ▲0.13 | 41.88 ▼0.06 |
Dashboard /wp-admin | 2,250 ▲58 | 5.81 ▲0.86 | 96.69 ▼8.58 | 38.08 ▼2.03 |
Posts /wp-admin/edit.php | 2,095 ▲9 | 2.04 ▲0.02 | 36.94 ▲0.99 | 33.78 ▲2.05 |
Add New Post /wp-admin/post-new.php | 1,528 ▲7 | 18.27 ▼5.07 | 598.93 ▼22.28 | 63.49 ▲14.14 |
Media Library /wp-admin/upload.php | 1,397 ▲18 | 4.30 ▲0.09 | 96.76 ▼2.62 | 43.13 ▼2.04 |
Crypto Dash Tracker /wp-admin/options-general.php?page=crypto-dash-tracker | 857 | 2.02 | 21.88 | 27.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/crypto-dash-tracker/admin/partials/crypto-dash-tracker-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/crypto-dash-tracker/admin/class-crypto-dash-tracker-dashboard-tracker.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: wallet, crypto, currency, coingecko, bitcoin...
crypto-dash-tracker/crypto-dash-tracker.php 85% from 13 tests
The entry point to "Crypto Dash Tracker" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 227 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin466 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 128 | 274 | 293 |
CSS | 1 | 31 | 4 | 130 |
Markdown | 1 | 20 | 0 | 43 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin