Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲3.63MB] [CPU: ▲17.83ms] Passed 4 tests
A check of server-side resources used by Kudos Donations - Easy donations and payments with Mollie
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.11 ▲3.65 | 63.00 ▲19.20 |
Dashboard /wp-admin | 6.94 ▲3.63 | 69.33 ▲11.70 |
Posts /wp-admin/edit.php | 6.98 ▲3.63 | 70.33 ▲22.11 |
Add New Post /wp-admin/post-new.php | 9.67 ▲3.78 | 118.59 ▲18.30 |
Media Library /wp-admin/upload.php | 6.86 ▲3.63 | 65.77 ▲32.15 |
Transactions /wp-admin/admin.php?page=kudos-transactions | 6.97 | 64.24 |
Tools /wp-admin/admin.php?page=kudos-tools | 6.89 | 65.77 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 7.02 | 64.90 |
Campaigns /wp-admin/admin.php?page=kudos-campaigns | 6.98 | 57.56 |
Settings /wp-admin/admin.php?page=kudos-settings | 6.87 | 58.52 |
Donors /wp-admin/admin.php?page=kudos-donors | 6.93 | 58.04 |
Subscriptions /wp-admin/admin.php?page=kudos-subscriptions | 6.96 | 60.93 |
Server storage [IO: ▲3.83MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 953 new files
Database: 8 new tables, 30 new options
New tables |
---|
wp_kudos_subscriptions |
wp_actionscheduler_actions |
wp_actionscheduler_logs |
wp_actionscheduler_groups |
wp_actionscheduler_claims |
wp_kudos_log |
wp_kudos_donors |
wp_kudos_transactions |
New WordPress options |
---|
_kudos_return_message_enable |
widget_theysaidso_widget |
_kudos_return_message_title |
_kudos_custom_return_enable |
schema-ActionScheduler_StoreSchema |
_kudos_smtp_enable |
_kudos_disable_object_cache |
_kudos_theme_colors |
_kudos_show_intro |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Kudos Donations - Easy donations and payments with Mollie: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,001 ▲266 | 15.03 ▲0.42 | 19.99 ▲18.21 | 42.99 ▼2.20 |
Dashboard /wp-admin | 2,268 ▲79 | 4.92 ▼0.03 | 114.46 ▼6.27 | 41.68 ▼4.05 |
Posts /wp-admin/edit.php | 2,151 ▲62 | 2.05 ▲0.03 | 34.31 ▼5.18 | 31.58 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,552 ▲16 | 23.38 ▲0.05 | 681.85 ▲63.21 | 38.72 ▼7.98 |
Media Library /wp-admin/upload.php | 1,450 ▲68 | 4.14 ▼0.21 | 101.11 ▲3.34 | 42.72 ▲2.60 |
Transactions /wp-admin/admin.php?page=kudos-transactions | 1,152 | 1.93 | 32.08 | 27.76 |
Tools /wp-admin/admin.php?page=kudos-tools | 907 | 2.06 | 26.54 | 27.26 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,296 | 1.85 | 26.30 | 29.22 |
Campaigns /wp-admin/admin.php?page=kudos-campaigns | 1,090 | 1.84 | 28.29 | 25.64 |
Settings /wp-admin/admin.php?page=kudos-settings | 957 | 6.86 | 165.87 | 34.68 |
Donors /wp-admin/admin.php?page=kudos-donors | 1,027 | 1.72 | 27.97 | 26.74 |
Subscriptions /wp-admin/admin.php?page=kudos-subscriptions | 1,096 | 1.86 | 28.79 | 28.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 8 tables in the database
- wp_kudos_donors
- wp_actionscheduler_claims
- wp_kudos_transactions
- wp_actionscheduler_groups
- wp_actionscheduler_actions
- wp_kudos_log
- wp_actionscheduler_logs
- wp_kudos_subscriptions
- Zombie WordPress options were found after uninstall: 31 options
- _kudos_return_message_enable
- _kudos_disable_object_cache
- _kudos_donate_modal_in_footer
- schema-ActionScheduler_StoreSchema
- action_scheduler_migration_status
- _kudos_debug_mode
- widget_recent-posts
- _kudos_donations_version
- _kudos_return_message_text
- action_scheduler_lock_async-request-runner
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 50× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/orders/cancel-order-lines.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/settlements/list-settlements.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/customers/list-customer-payments.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/payments/create-payment.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/customers/create-customer-first-payment.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/orders/update-order.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/customers/create-customer.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/customers/update-customer.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/mandates/list-mandates.php
- > /wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/shipments/update-shipment.php
- 611× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Error\\Error' not found in wp-content/plugins/kudos-donations/vendor/twig/twig/src/Error/SyntaxError.php:20
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_Schema' not found in wp-content/plugins/kudos-donations/vendor/woocommerce/action-scheduler/classes/schema/ActionScheduler_LoggerSchema.php:10
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\Api\\Endpoints\\CollectionEndpointAbstract' not found in wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/src/Endpoints/BalanceEndpoint.php:10
- > PHP Warning
require_once(wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/examples/initialize.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\Api\\Exceptions\\ApiException' not found in wp-content/plugins/kudos-donations/vendor/mollie/mollie-api-php/src/Exceptions/IncompatiblePlatform.php:5
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/kudos-donations/vendor/twig/twig/src/Node/Expression/ParentExpression.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Log\\LoggerInterface' not found in wp-content/plugins/kudos-donations/vendor/monolog/monolog/src/Monolog/Logger.php:34
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/kudos-donations/vendor/twig/twig/src/Node/Expression/Binary/SpaceshipBinary.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Error\\Error' not found in wp-content/plugins/kudos-donations/vendor/twig/twig/src/Sandbox/SecurityError.php:21
- > PHP Fatal error
Uncaught Error: Interface 'DI\\Definition\\Resolver\\DefinitionResolver' not found in wp-content/plugins/kudos-donations/vendor/php-di/php-di/src/Definition/Resolver/EnvironmentVariableResolver.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 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
5 plugin tags: donation, ideal, mollie, payment, credit card
kudos-donations/kudos-donations.php 77% from 13 tests
The principal PHP file in "Kudos Donations - Easy donations and payments with Mollie" v. 3.1.6 is loaded by WordPress automatically on each request
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Requires PHP: Required version does not match the one declared in readme.txt ("7.2.9" instead of "7.2")
- Requires at least: Required version does not match the one declared in readme.txt ("5.6" instead of "5.5")
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected57,763 lines of code in 899 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 825 | 12,375 | 29,826 | 52,121 |
Markdown | 28 | 837 | 0 | 2,089 |
JSON | 19 | 0 | 0 | 2,037 |
Twig | 13 | 136 | 25 | 1,176 |
YAML | 3 | 47 | 33 | 197 |
SVG | 2 | 0 | 0 | 110 |
XML | 1 | 4 | 2 | 15 |
reStructuredText | 1 | 8 | 5 | 10 |
JavaScript | 5 | 0 | 1 | 6 |
CSS | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 210)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 303.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 210.00 |
Code structure | ||
---|---|---|
Namespaces | 95 | |
Interfaces | 63 | |
Traits | 6 | |
Classes | 663 | |
▷ Abstract classes | 47 | 7.09% |
▷ Concrete classes | 616 | 92.91% |
▷ Final classes | 69 | 11.20% |
Methods | 3,742 | |
▷ Static methods | 313 | 8.36% |
▷ Public methods | 2,870 | 76.70% |
▷ Protected methods | 559 | 14.94% |
▷ Private methods | 313 | 8.36% |
Functions | 264 | |
▷ Named functions | 153 | 57.95% |
▷ Anonymous functions | 111 | 42.05% |
Constants | 336 | |
▷ Global constants | 14 | 4.17% |
▷ Class constants | 322 | 95.83% |
▷ Public constants | 288 | 89.44% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.25MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/guide-mollie-api.png | 104.34KB | 28.78KB | ▼ 72.42% |
dist/images/guide-welcome.png | 30.09KB | 12.10KB | ▼ 59.78% |
dist/images/logo-colour-40.png | 2.22KB | 0.70KB | ▼ 68.61% |
dist/images/guide-button.png | 24.82KB | 10.56KB | ▼ 57.46% |
dist/images/guide-test-live.png | 20.96KB | 10.65KB | ▼ 49.18% |