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.12MB] [CPU: ▼0.02ms] Passed 4 tests
An overview of server-side resources used by WP Currency Exchange Rates
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 36.84 ▼1.06 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.83 ▼0.35 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.65 ▲0.20 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 90.38 ▲1.13 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 35.20 ▲2.00 |
Currency Exchange Rates /wp-admin/options-general.php?page=wp-currency-exchange-rates | 3.31 | 38.60 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
alg_currency_exchange_rates_version |
alg_cer_cron_data |
widget_alg_currency_exchange_rates_wp_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Currency Exchange Rates
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.23 ▼1.05 | 4.30 ▲2.67 | 39.79 ▼5.57 |
Dashboard /wp-admin | 2,210 ▲18 | 4.88 ▼0.01 | 112.27 ▼0.43 | 43.39 ▲1.00 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.05 | 40.21 ▼1.54 | 36.15 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 18.49 ▲0.95 | 596.08 ▼95.80 | 60.15 ▲8.97 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.21 ▲0.00 | 97.61 ▼4.25 | 43.65 ▼0.48 |
Currency Exchange Rates /wp-admin/options-general.php?page=wp-currency-exchange-rates | 832 | 2.03 | 28.14 | 41.61 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- can_compress_scripts
- widget_alg_currency_exchange_rates_wp_widget
- alg_currency_exchange_rates_version
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- alg_cer_cron_data
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: currency exchange rates, currency, exchange rates
wp-currency-exchange-rates/wp-currency-exchange-rates.php Passed 13 tests
The entry point to "WP Currency Exchange Rates" version 1.2.0 is a PHP file that has certain tags in its header comment area
38 characters long description:
Currency exchange rates for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin523 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 88 | 370 | 523 |
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.47 |
Average class complexity | 12.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected