Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.06MB] [CPU: ▼146.75ms] Passed 4 tests
Analyzing server-side resources used by WooCommerce Prices in Other Currencies Checker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 34.98 ▲4.24 |
Dashboard /wp-admin | 2.83 ▼0.23 | 23.42 ▼20.36 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 42.73 ▲0.15 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 89.66 ▼559.05 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 27.29 ▼7.73 |
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
This is an overview of browser requirements for WooCommerce Prices in Other Currencies Checker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,689 ▲93 | 15.87 ▼0.01 | 8.45 ▼1.38 | 44.48 ▼0.43 |
Dashboard /wp-admin | 2,970 ▲39 | 5.88 ▼0.05 | 130.26 ▼7.43 | 111.04 ▲0.69 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▲0.01 | 61.86 ▼0.21 | 83.44 ▼10.00 |
Add New Post /wp-admin/post-new.php | 1,504 ▼168 | 18.49 ▼0.61 | 359.65 ▼22.56 | 103.00 ▼2.06 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.01 ▼0.01 | 154.45 ▲7.48 | 118.23 ▲5.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-prices-in-other-currencies-checker/woocommerce-prices-in-other-currencies.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
2 plugin tags: woocommerce, currency
woocommerce-prices-in-other-currencies-checker/woocommerce-prices-in-other-currencies.php 85% from 13 tests
The main PHP script in "WooCommerce Prices in Other Currencies Checker" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woocommerce-prices-in-other-currencies-checker.php" instead of "woocommerce-prices-in-other-currencies.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 183 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected35 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 4 | 18 | 35 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 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
There were not PNG files found in your plugin