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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.16ms] Passed 4 tests
A check of server-side resources used by Multibanco, MB WAY, Credit card and Payshop (IfthenPay) for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.15 ▼2.92 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.63 ▼4.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.94 ▼4.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.98 ▼1.27 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.34 ▲5.06 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 53 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Multibanco, MB WAY, Credit card and Payshop (IfthenPay) for WooCommerce: 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,835 ▲73 | 14.22 ▼0.12 | 2.20 ▲0.04 | 45.65 ▼1.48 |
Dashboard /wp-admin | 2,215 ▲35 | 5.66 ▲0.08 | 94.64 ▼0.28 | 41.19 ▲0.49 |
Posts /wp-admin/edit.php | 2,124 ▲21 | 1.99 ▲0.01 | 41.90 ▲2.68 | 34.22 ▼5.74 |
Add New Post /wp-admin/post-new.php | 1,543 ▲18 | 23.14 ▼0.49 | 690.37 ▲45.39 | 53.15 ▲2.64 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.19 ▼0.03 | 100.59 ▲5.71 | 43.54 ▲1.59 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | 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
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType' not found in wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/woocommerce-blocks/mbway/MBWayIfthenPay.php:9
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType' not found in wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/woocommerce-blocks/payshop/PayshopIfthenPay.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_clear_scheduled_hook() in wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/uninstall.php:3
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType' not found in wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/woocommerce-blocks/multibanco/MultibancoIfthenPay.php:9
- > PHP Fatal error
require_once(): Failed opening required '../includes/tcpdf_barcodes_1d.php' (include_path='.:/usr/share/php') in wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/images/barcode.php on line 3
- > PHP Warning
require_once(../includes/tcpdf_barcodes_1d.php): failed to open stream: No such file or directory in wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/images/barcode.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType' not found in wp-content/plugins/multibanco-ifthen-software-gateway-for-woocommerce/woocommerce-blocks/creditcard/CreditCardIfthenPay.php:9
- > 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 errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
multibanco-ifthen-software-gateway-for-woocommerce/multibanco_ifthen_for_woocommerce.php 77% from 13 tests
"Multibanco, MB WAY, Credit card and Payshop (IfthenPay) for WooCommerce" version 8.8.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 191 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("multibanco-ifthen-software-gateway-for-woocommerce.php" instead of "multibanco_ifthen_for_woocommerce.php")
- Plugin Name: Please shorten the plugin name (currently 71 characters long instead of max. 70)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected7,197 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 492 | 1,205 | 6,596 |
JavaScript | 10 | 47 | 111 | 475 |
CSS | 1 | 1 | 0 | 102 |
SVG | 10 | 1 | 1 | 24 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 110.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 381.00 |
Average method complexity | 5.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 61.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 5 | 55.56% |
Methods | 215 | |
▷ Static methods | 5 | 2.33% |
▷ Public methods | 212 | 98.60% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 1.40% |
Functions | 46 | |
▷ Named functions | 38 | 82.61% |
▷ Anonymous functions | 8 | 17.39% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
12 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/premium_plugins/simple-woocommerce-order-approval-logo.png | 8.17KB | 7.86KB | ▼ 3.76% |
images/premium_plugins/invoicexpress-woocommerce.png | 6.66KB | 6.80KB | 0.00% |
images/premium_plugins/taxonomy-discounts.png | 10.72KB | 6.43KB | ▼ 40.07% |
images/premium_plugins/shop-as-client.png | 6.55KB | 6.57KB | 0.00% |
images/premium_plugins/postcodes.png | 4.89KB | 4.92KB | 0.00% |