Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.58ms] Passed 4 tests
Server-side resources used by Cryptocurrency Converter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.32 ▼4.65 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.79 ▼5.60 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 47.51 ▲3.66 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.22 ▲4.84 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.58 ▲4.27 |
Cryptocurrency Converter /wp-admin/options-general.php?page=cryptocurrency-converter | 3.27 | 33.67 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Cryptocurrency Converter
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.39 ▼1.19 | 1.71 ▼0.61 | 39.15 ▼5.51 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▼0.03 | 97.64 ▼14.31 | 40.57 ▼4.88 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.04 | 39.42 ▲4.04 | 35.65 ▼1.89 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 18.45 ▼4.68 | 603.62 ▲9.40 | 65.58 ▲0.14 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.18 ▼0.02 | 99.54 ▲0.94 | 42.68 ▲0.23 |
Cryptocurrency Converter /wp-admin/options-general.php?page=cryptocurrency-converter | 24,518 | 3.34 | 148.64 | 43.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 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)
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/cryptocurrency-converter/cryptocurrency-converter.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: currency exchange, exchange rates, cryptocurrency converter, currency converter, bitcoin...
cryptocurrency-converter/cryptocurrency-converter.php 92% from 13 tests
"Cryptocurrency Converter" version 0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected625 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 73 | 22 | 371 |
JavaScript | 4 | 18 | 8 | 132 |
CSS | 2 | 0 | 4 | 73 |
SVG | 1 | 0 | 0 | 49 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
6 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/peter_river.png | 0.20KB | 0.08KB | ▼ 58.62% |
assets/images/pomegranate.png | 0.20KB | 0.08KB | ▼ 58.62% |
assets/images/pumpkin.png | 0.20KB | 0.08KB | ▼ 58.42% |
assets/images/green_sea.png | 0.20KB | 0.08KB | ▼ 58.62% |
assets/images/orange.png | 0.20KB | 0.08KB | ▼ 58.62% |