Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼297.36ms] Passed 4 tests
An overview of server-side resources used by Exchange Rates Today
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.42 | 57.34 ▲31.40 |
Dashboard /wp-admin | 3.44 ▲0.04 | 36.35 ▲3.06 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 47.66 ▲8.89 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 93.05 ▼1,202.06 |
Media Library /wp-admin/upload.php | 3.32 ▲0.03 | 24.63 ▲0.68 |
Курс сегодня /wp-admin/admin.php?page=dynamic_price | 3.29 | 23.03 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Exchange Rates Today
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,753 ▲31 | 15.62 ▲0.43 | 5.68 ▼0.90 | 2.23 ▲0.24 |
Dashboard /wp-admin | 2,881 ▲27 | 6.12 ▼0.11 | 116.68 ▼21.75 | 159.25 ▼23.45 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.36 ▲0.12 | 65.78 ▲1.06 | 144.30 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,668 ▲7 | 18.18 ▲1.87 | 425.47 ▼16.07 | 160.04 ▲1.59 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.52 ▲0.00 | 141.28 ▼11.72 | 195.54 ▼27.85 |
Курс сегодня /wp-admin/admin.php?page=dynamic_price | 1,005 | 2.41 | 57.49 | 140.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/exchange-rates-today/exchange-rates-today.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: price, woocommerce, exchange rates
exchange-rates-today/exchange-rates-today.php 92% from 13 tests
The entry point to "Exchange Rates Today" version 1.7 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 301 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
Good job! No executable or dangerous file extensions detected63 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 16 | 63 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin