Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.28MB] [CPU: ▼6.38ms] Passed 4 tests
This is a short check of server-side resources used by Mollie Payments for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 40.55 ▲3.50 |
Dashboard /wp-admin | 3.63 ▲0.28 | 46.36 ▼18.40 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 52.01 ▲4.83 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 81.94 ▼9.77 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 36.05 ▼0.85 |
Server storage [IO: ▲2.85MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 555 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Mollie Payments for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲79 | 14.27 ▲0.06 | 2.15 ▲0.55 | 39.66 ▼0.92 |
Dashboard /wp-admin | 2,206 ▲29 | 5.56 ▼0.04 | 84.73 ▼16.98 | 40.71 ▼2.88 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 2.13 ▲0.18 | 40.07 ▲2.47 | 36.78 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.50 ▲0.46 | 691.59 ▼25.02 | 58.24 ▲1.87 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.17 ▼0.04 | 96.79 ▼16.35 | 41.91 ▼6.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
- 55× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/profiles/create-profile.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/orders/list-methods.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/invoices/list-invoices.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/payment-links/list-payment-links.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/captures/get-capture.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/payments/return.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/payments/create-routed-payment-with-future-release-date.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/subscriptions/update-subscription.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/shipments/get-shipment.php
- > /wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/customers/list-customer-payments.php
- 311× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\Api\\Resources\\BaseResource' not found in wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Resources/Invoice.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Mollie\\WooCommerce\\Vendor\\Inpsyde\\Modularity\\Module\\ExecutableModule' not found in wp-content/plugins/mollie-payments-for-woocommerce/src/Subscription/SubscriptionModule.php:20
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\WooCommerce\\PaymentMethods\\AbstractPaymentMethod' not found in wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/Bancontact.php:7
- > PHP Warning
require_once(wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
Uncaught Error: Interface 'Mollie\\WooCommerce\\PaymentMethods\\PaymentMethodI' not found in wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/AbstractPaymentMethod.php:13
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\WooCommerce\\PaymentMethods\\AbstractPaymentMethod' not found in wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/Giftcard.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Mollie\\WooCommerce\\PaymentMethods\\InstructionStrategies\\InstructionStrategyI' not found in wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/InstructionStrategies/DirectdebitInstructionStrategy.php:7
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\WooCommerce\\PaymentMethods\\AbstractPaymentMethod' not found in wp-content/plugins/mollie-payments-for-woocommerce/src/PaymentMethods/Voucher.php:7
- > PHP Warning
require_once(wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/examples/initialize_with_oauth.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
mollie-payments-for-woocommerce/mollie-payments-for-woocommerce.php 92% from 13 tests
The main PHP file in "Mollie Payments for WooCommerce" ver. 7.4.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("3.8" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin26,802 lines of code in 469 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 383 | 5,008 | 12,600 | 25,452 |
SVG | 59 | 0 | 3 | 954 |
JSON | 5 | 0 | 0 | 371 |
JavaScript | 17 | 0 | 0 | 17 |
CSS | 4 | 0 | 0 | 4 |
Markdown | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 47 | |
Interfaces | 23 | |
Traits | 5 | |
Classes | 284 | |
▷ Abstract classes | 9 | 3.17% |
▷ Concrete classes | 275 | 96.83% |
▷ Final classes | 3 | 1.09% |
Methods | 1,543 | |
▷ Static methods | 44 | 2.85% |
▷ Public methods | 1,113 | 72.13% |
▷ Protected methods | 361 | 23.40% |
▷ Private methods | 69 | 4.47% |
Functions | 161 | |
▷ Named functions | 26 | 16.15% |
▷ Anonymous functions | 135 | 83.85% |
Constants | 347 | |
▷ Global constants | 3 | 0.86% |
▷ Class constants | 344 | 99.14% |
▷ Public constants | 332 | 96.51% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
65 PNG files occupy 0.18MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/PayPal_Buttons/de/checkout/pill-black.png | 2.49KB | 1.48KB | ▼ 40.65% |
public/images/PayPal_Buttons/en/checkout/pill-white.png | 2.72KB | 1.64KB | ▼ 39.84% |
public/images/PayPal_Buttons/nl/checkout/rounded-black.png | 2.32KB | 1.30KB | ▼ 43.92% |
public/images/PayPal_Buttons/de/buy/pill-white.png | 2.83KB | 1.88KB | ▼ 33.79% |
public/images/PayPal_Buttons/de/checkout/rounded-golden.png | 2.43KB | 1.53KB | ▼ 37.00% |