Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.55ms] Passed 4 tests
Server-side resources used by Events Manager Pro - Mollie Payments
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.72 ▼6.16 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.06 ▲1.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.62 ▼1.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 98.30 ▲6.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.04 ▲0.55 |
Server storage [IO: ▲1.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 288 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Events Manager Pro - Mollie Payments
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.44 ▲0.07 | 1.62 ▼0.13 | 40.67 ▼3.49 |
Dashboard /wp-admin | 2,206 ▲21 | 5.84 ▲0.98 | 112.28 ▲11.12 | 44.52 ▼1.30 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.00 ▼0.03 | 38.52 ▼2.89 | 33.28 ▼3.41 |
Add New Post /wp-admin/post-new.php | 1,542 ▼2 | 18.39 ▲0.06 | 617.33 ▲8.19 | 54.78 ▲0.93 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▲0.01 | 93.63 ▼8.18 | 41.05 ▼5.88 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
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 fix the following
- 43× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/profiles/update-profile.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/payments/webhook.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/settlements/list-settlements.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/customers/create-customer-first-payment.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/subscriptions/cancel-subscription.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/orders/refund-order-completely.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/payments/list-methods.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/invoices/list-invoices.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/profiles/delete-profile.php
- > /wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/shipments/update-shipment.php
- 197× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Warning
require_once(wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/stonehenge-em-mollie/vendor/guzzlehttp/promises/src/AggregateException.php:7
- > PHP Warning
require_once(wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\Api\\Endpoints\\CollectionEndpointAbstract' not found in wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/src/Endpoints/OrderEndpoint.php:9
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/stonehenge-em-mollie/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:13
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Cookie\\CookieJarInterface' not found in wp-content/plugins/stonehenge-em-mollie/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php:11
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/stonehenge-em-mollie/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: sofort, mollie, apply pay, bancontact, przelewy24...
stonehenge-em-mollie/stonehenge-em-mollie.php Passed 13 tests
The principal PHP file in "Events Manager Pro - Mollie Payments" v. 2.4.4 is loaded by WordPress automatically on each request
75 characters long description:
Adds 18 payment methods and 31 currencies to Events Manager Pro, instantly!
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
Success! There were no dangerous files found in this plugin18,024 lines of code in 267 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 234 | 3,177 | 9,748 | 12,997 |
Markdown | 14 | 1,151 | 0 | 3,534 |
JSON | 10 | 0 | 0 | 877 |
CSS | 4 | 3 | 0 | 324 |
PO File | 1 | 82 | 85 | 250 |
JavaScript | 3 | 3 | 1 | 33 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 18 | |
Traits | 3 | |
Classes | 154 | |
▷ Abstract classes | 5 | 3.25% |
▷ Concrete classes | 149 | 96.75% |
▷ Final classes | 10 | 6.71% |
Methods | 1,056 | |
▷ Static methods | 96 | 9.09% |
▷ Public methods | 859 | 81.34% |
▷ Protected methods | 75 | 7.10% |
▷ Private methods | 122 | 11.55% |
Functions | 148 | |
▷ Named functions | 58 | 39.19% |
▷ Anonymous functions | 90 | 60.81% |
Constants | 167 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 167 | 100.00% |
▷ Public constants | 167 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/mollie-methods.png | 8.33KB | 8.90KB | 0.00% |