Benchmarks
Plugin footprint Passed 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼278.06ms] Passed 4 tests
A check of server-side resources used by q-invoice Mollie iDeal for Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 40.57 ▲20.40 |
Dashboard /wp-admin | 3.06 ▲0.01 | 37.48 ▼10.89 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 42.01 ▼2.59 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 87.34 ▼1,094.16 |
Media Library /wp-admin/upload.php | 3.00 ▼0.00 | 32.21 ▼4.61 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 267 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by q-invoice Mollie iDeal for Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,702 ▲97 | 16.43 ▲0.50 | 7.62 ▼1.53 | 51.66 ▼5.81 |
Dashboard /wp-admin | 2,956 ▲106 | 5.97 ▲0.16 | 140.88 ▲5.21 | 117.19 ▲19.98 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.68 ▼0.01 | 65.15 ▲0.89 | 92.07 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,853 ▲200 | 19.05 ▲0.22 | 355.07 ▼9.25 | 105.50 ▼2.74 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 5.01 ▲0.01 | 159.94 ▲13.37 | 114.14 ▲3.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% 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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 43× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/customers/create-customer-recurring-payment.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/initialize_with_oauth.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/payments/list-payments.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/shipments/update-shipment.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/payments/return.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/mandates/list-mandates.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/shipments/list-shipments.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/customers/create-customer-payment.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/customers/update-customer.php
- > /wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/subscriptions/cancel-subscription.php
- 197× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/guzzlehttp/guzzle/src/Pool.php:20
- > PHP Warning
require_once(wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/initialize_with_oauth.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/qinvoice-mollie-ideal-for-gravity-forms.php:20
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\Api\\Endpoints\\CollectionEndpointAbstract' not found in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/src/Endpoints/ShipmentEndpoint.php:9
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Warning
require_once(wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Warning
require_once(wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/qinvoice-mollie-ideal-for-gravity-forms/vendor/guzzlehttp/psr7/src/CachingStream.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2 in qinvoice-mollie-ideal-for-gravity-forms/assets to your readme.txt
- Donate link: Please fix this invalid url: ""
qinvoice-mollie-ideal-for-gravity-forms/qinvoice-mollie-ideal-for-gravity-forms.php Passed 13 tests
The main PHP script in "q-invoice Mollie iDeal for Gravity Forms" version 0.0.6 is automatically included on every request by WordPress
56 characters long description:
Accept iDeal (and other) payments for your Gravity Forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin17,030 lines of code in 252 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 227 | 3,063 | 9,296 | 12,731 |
Markdown | 13 | 1,118 | 0 | 3,478 |
JSON | 9 | 0 | 0 | 771 |
PO File | 1 | 7 | 7 | 31 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 15 | |
Traits | 2 | |
Classes | 153 | |
▷ Abstract classes | 5 | 3.27% |
▷ Concrete classes | 148 | 96.73% |
▷ Final classes | 9 | 6.08% |
Methods | 1,016 | |
▷ Static methods | 86 | 8.46% |
▷ Public methods | 810 | 79.72% |
▷ Protected methods | 75 | 7.38% |
▷ Private methods | 131 | 12.89% |
Functions | 151 | |
▷ Named functions | 62 | 41.06% |
▷ Anonymous functions | 89 | 58.94% |
Constants | 161 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 161 | 100.00% |
▷ Public constants | 161 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin