Benchmarks
Plugin footprint Passed 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.21MB] [CPU: ▼138.91ms] Passed 4 tests
This is a short check of server-side resources used by Crypto Coin Ticker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.08 | 2,060.67 ▲2,025.10 |
Dashboard /wp-admin | 3.37 ▲0.31 | 46.57 ▲3.87 |
Posts /wp-admin/edit.php | 3.42 ▲0.31 | 46.87 ▲4.90 |
Add New Post /wp-admin/post-new.php | 5.66 ▲0.23 | 89.00 ▼567.53 |
Media Library /wp-admin/upload.php | 3.25 ▲0.24 | 37.84 ▲3.14 |
Settings /wp-admin/admin.php?page=crypto-coin-ticker | 3.22 | 33.23 |
Affiliate Panel /wp-admin/admin.php?page=crypto-coin-ticker-affiliate-panel | 3.22 | 28.93 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Crypto Coin Ticker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,036 ▲440 | 16.58 ▲0.72 | 13.40 ▲5.39 | 54.98 ▲6.91 |
Dashboard /wp-admin | 3,182 ▲251 | 6.28 ▲0.36 | 134.29 ▼6.80 | 127.61 ▲13.00 |
Posts /wp-admin/edit.php | 2,812 ▲73 | 2.69 ▲0.00 | 65.67 ▼0.90 | 99.21 ▲6.91 |
Add New Post /wp-admin/post-new.php | 1,715 ▲43 | 18.87 ▼0.20 | 365.45 ▼1.23 | 111.84 ▼0.77 |
Media Library /wp-admin/upload.php | 1,878 ▲71 | 5.02 ▲0.01 | 156.02 ▼4.23 | 124.32 ▲8.79 |
Settings /wp-admin/admin.php?page=crypto-coin-ticker | 1,658 | 2.21 | 57.28 | 102.54 |
Affiliate Panel /wp-admin/admin.php?page=crypto-coin-ticker-affiliate-panel | 1,096 | 2.34 | 59.95 | 66.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/crypto-coin-ticker/admin/class-crypto-coin-ticker-dashboard-wallet.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/crypto-coin-ticker/admin/partials/crypto-coin-ticker-affiliate-panel.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/crypto-coin-ticker/admin/partials/crypto-coin-ticker-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/crypto-coin-ticker/admin/class-crypto-coin-ticker-dashboard-affiliate.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=crypto-coin-ticker-affiliate-panel
- > Network (severe)
https://zwaply.com/affiliate-login/?username= - Failed to load resource: the server responded with a status of 500 ()
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: price, currency, bitcoin, crypto, ticker
crypto-coin-ticker/crypto-coin-ticker.php 85% from 13 tests
Analyzing the main PHP file in "Crypto Coin Ticker" version 1.0.7
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 222 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
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
There were no executable files found in this plugin8,479 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 37 | 6 | 7,197 |
PHP | 8 | 198 | 533 | 1,080 |
JavaScript | 2 | 22 | 15 | 148 |
Markdown | 1 | 24 | 0 | 54 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 27.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.67% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin