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.01MB] [CPU: ▼6.58ms] Passed 4 tests
A check of server-side resources used by Comparatore Prezzi WooCommerce - Generatore Data Feed XML e CSV per WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.03 ▼2.50 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.74 ▼17.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.88 ▼1.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.83 ▼4.99 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.45 ▲0.66 |
Server storage [IO: ▲2.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Comparatore Prezzi WooCommerce - Generatore Data Feed XML e CSV per WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.33 ▼1.06 | 1.65 ▼0.03 | 41.46 ▲2.98 |
Dashboard /wp-admin | 2,209 ▲24 | 5.85 ▼0.05 | 107.93 ▲7.51 | 42.54 ▼1.28 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.04 | 39.90 ▼0.37 | 37.66 ▲2.91 |
Add New Post /wp-admin/post-new.php | 1,514 ▼14 | 17.45 ▼0.96 | 628.48 ▲22.53 | 60.87 ▲13.48 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.28 ▲0.06 | 103.58 ▲7.71 | 45.05 ▲0.43 |
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 did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/comparatore-prezzi-woocommerce/comparatore-prezzi-woocommerce-free.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comparatore-prezzi-woocommerce/admin/cpw-admin-functions.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comparatore-prezzi-woocommerce/admin/cpw-admin-brand.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comparatore-prezzi-woocommerce/admin/cpw-admin-ajax.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comparatore-prezzi-woocommerce/public/csv/cpw-public-csv.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/comparatore-prezzi-woocommerce/admin/cpw-admin-menu.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% 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
6 plugin tags: trovaprezzi, drezzy, shoppydoo, trova prezzi, plugin woocommerce...
comparatore-prezzi-woocommerce/comparatore-prezzi-woocommerce-free.php 69% from 13 tests
The main PHP script in "Comparatore Prezzi WooCommerce - Generatore Data Feed XML e CSV per WooCommerce" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("comparatore-prezzi-woocommerce.php" instead of "comparatore-prezzi-woocommerce-free.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 79 characters long)
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 plugin17,004 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 13,870 |
PHP | 7 | 445 | 22 | 1,674 |
SVG | 1 | 0 | 0 | 542 |
CSS | 4 | 47 | 18 | 541 |
JavaScript | 5 | 51 | 11 | 377 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 48 | |
▷ Named functions | 48 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo_tp.png | 8.28KB | 2.92KB | ▼ 64.66% |
assets/img/moneybag.png | 0.89KB | 0.78KB | ▼ 12.54% |