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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.42ms] Passed 4 tests
A check of server-side resources used by WooCommerce Recargo de Equivalencia
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.09 ▼11.30 |
Dashboard /wp-admin | 3.34 ▼0.01 | 47.63 ▼17.70 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.28 ▼0.65 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.47 ▼12.03 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.18 ▲0.17 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Recargo de Equivalencia
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.64 ▼1.14 | 1.65 ▼0.11 | 41.53 ▼0.22 |
Dashboard /wp-admin | 2,224 ▲18 | 5.86 ▼0.05 | 96.86 ▼9.34 | 45.69 ▲6.49 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.97 ▼0.02 | 36.81 ▼0.10 | 37.34 ▲4.18 |
Add New Post /wp-admin/post-new.php | 1,545 ▲5 | 23.49 ▲5.11 | 626.94 ▼41.36 | 51.98 ▼4.50 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.26 ▼0.03 | 97.01 ▼7.13 | 43.16 ▼3.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woo-recargo-de-equivalencia/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: tax, recargo de equivalencia, impuesto, woocommerce
woo-recargo-de-equivalencia/woocommerce-recargo-de-equivalencia.php 77% from 13 tests
The main PHP script in "WooCommerce Recargo de Equivalencia" version 1.6.24 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-recargo-de-equivalencia.php" instead of "woocommerce-recargo-de-equivalencia.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected249 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 75 | 61 | 249 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
4 PNG files occupy 0.13MB with 0.08MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 30.39KB | 13.59KB | ▼ 55.28% |
screenshot-1.png | 41.33KB | 15.26KB | ▼ 63.08% |
screenshot-2.png | 27.13KB | 12.66KB | ▼ 53.35% |
screenshot-4.png | 34.95KB | 13.31KB | ▼ 61.93% |