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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.05ms] Passed 4 tests
This is a short check of server-side resources used by Multiple external product URLs for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.19 ▲0.16 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.54 ▼19.25 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.94 ▼4.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.15 ▼4.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 41.31 ▲6.72 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Multiple external product URLs for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲54 | 14.31 ▲0.03 | 1.84 ▲0.19 | 57.37 ▲11.42 |
Dashboard /wp-admin | 2,195 ▲18 | 5.50 ▼0.17 | 87.37 ▼10.12 | 38.85 ▼5.35 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.05 | 43.75 ▲4.96 | 34.80 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 18.05 ▼5.03 | 630.31 ▼5.99 | 65.00 ▲2.00 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.06 | 101.26 ▼8.21 | 42.17 ▼8.07 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/multiple-external-product-urls-for-woocommerce/frontend/templates/shop-page-template.php
- > /wp-content/plugins/multiple-external-product-urls-for-woocommerce/frontend/templates/script-target-blank.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/multiple-external-product-urls-for-woocommerce/includes/class-mepu-woo-activator.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/multiple-external-product-urls-for-woocommerce/admin/templates/woocommerce-external-fields.php:3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/multiple-external-product-urls-for-woocommerce/includes/class-mepu-woo-activator.php on line 13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/multiple-external-product-urls-for-woocommerce/includes/class-mepu-woo-activator.php on line 13
- > PHP Notice
Undefined variable: data in wp-content/plugins/multiple-external-product-urls-for-woocommerce/admin/templates/woocommerce-external-fields.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/multiple-external-product-urls-for-woocommerce/frontend/templates/product-page-template.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2 in multiple-external-product-urls-for-woocommerce/assets to your readme.txt
multiple-external-product-urls-for-woocommerce/mepu-woo.php 85% from 13 tests
"Multiple external product URLs for WooCommerce" version 1.3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("multiple-external-product-urls-for-woocommerce.php" instead of "mepu-woo.php")
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
There were no executable files found in this plugin531 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 87 | 398 | 443 |
JavaScript | 1 | 16 | 0 | 44 |
PO File | 1 | 10 | 12 | 44 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 4.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 13 | 40.62% |
▷ Public methods | 26 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 18.75% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin