Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.06ms] Passed 4 tests
This is a short check of server-side resources used by Курс валют ПриватБанка
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.78 ▲4.37 |
Dashboard /wp-admin | 3.34 ▼0.00 | 45.87 ▼12.68 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 44.96 ▲0.41 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 78.05 ▼14.06 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 32.56 ▼1.91 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Курс валют ПриватБанка: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲48 | 14.36 ▲0.01 | 1.71 ▲0.14 | 44.11 ▲2.11 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▼0.03 | 94.95 ▲8.39 | 41.54 ▲2.88 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.04 ▲0.10 | 34.39 ▼0.64 | 32.65 ▼5.29 |
Add New Post /wp-admin/post-new.php | 6,198 ▲4,670 | 18.99 ▼4.03 | 902.61 ▲255.97 | 64.68 ▲16.39 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.00 | 96.10 ▼13.63 | 39.84 ▼12.36 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected 'public' (T_PUBLIC) in wp-content/plugins/exchange-rate-privatbank/includes/core/widgets.php on line 115
- > PHP Parse 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 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: No valid plugin tags found
exchange-rate-privatbank/exchange-rate-privatbank.php 92% from 13 tests
The main PHP script in "Курс валют ПриватБанка" version 2.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 169 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin3,550 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 4 | 35 | 2,262 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 12 | 66 | 136 | 269 |
PHP | 11 | 157 | 117 | 259 |
JSON | 2 | 0 | 0 | 34 |
PO File | 1 | 8 | 8 | 33 |
Sass | 2 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 22 | |
▷ Static methods | 2 | 9.09% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin