Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼5.62ms] Passed 4 tests
This is a short check of server-side resources used by CURCY - Multi Currency for WooCommerce - The best free currency exchange plugin - Run smoothly on WooCommerce 8.x
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 41.07 ▲0.33 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.82 ▼1.93 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 45.61 ▲4.59 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 86.89 ▼20.68 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.29 ▼0.18 |
Server storage [IO: ▲3.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 163 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
woo_multi_currency_params |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
CURCY - Multi Currency for WooCommerce - The best free currency exchange plugin - Run smoothly on WooCommerce 8.x: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 14.47 ▲0.09 | 1.76 ▼0.00 | 42.97 ▲0.13 |
Dashboard /wp-admin | 2,218 ▲27 | 5.89 ▲0.97 | 107.05 ▲4.00 | 44.16 ▲7.21 |
Posts /wp-admin/edit.php | 2,080 ▼9 | 2.00 ▼0.02 | 34.69 ▼7.00 | 31.42 ▼3.99 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.11 ▲0.09 | 665.14 ▲66.00 | 52.41 ▲5.01 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.22 ▼0.05 | 98.43 ▼4.07 | 43.76 ▼0.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- woo_multi_currency_params
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
woo-multi-currency/woo-multi-currency.php 92% from 13 tests
The main PHP script in "CURCY - Multi Currency for WooCommerce - The best free currency exchange plugin - Run smoothly on WooCommerce 8.x" version 2.2.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.0.0" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected29,588 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 1,546 | 458 | 11,079 |
PHP | 67 | 1,412 | 1,904 | 10,753 |
SVG | 5 | 0 | 14 | 4,013 |
CSS | 28 | 414 | 168 | 2,482 |
Sass | 2 | 123 | 0 | 791 |
PO File | 1 | 177 | 346 | 470 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 27.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 177.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 64 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 64 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 467 | |
▷ Static methods | 26 | 5.57% |
▷ Public methods | 433 | 92.72% |
▷ Protected methods | 13 | 2.78% |
▷ Private methods | 21 | 4.50% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
18 PNG files occupy 0.10MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
images/select2.png | 0.60KB | 0.99KB | 0.00% |
css/images/cal_logo.png | 2.12KB | 0.97KB | ▼ 54.53% |
css/images/flags-64.png | 62.55KB | 61.24KB | ▼ 2.09% |
css/images/ui-icons_ef8c08_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |