Benchmarks
Plugin footprint 65% 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.95MB] [CPU: ▲4.17ms] Passed 4 tests
A check of server-side resources used by Mollie Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.67 | 49.12 ▲8.45 |
Dashboard /wp-admin | 4.38 ▲1.08 | 53.84 ▲4.03 |
Posts /wp-admin/edit.php | 4.40 ▲1.04 | 55.06 ▲8.93 |
Add New Post /wp-admin/post-new.php | 7.03 ▲1.14 | 94.27 ▼4.72 |
Media Library /wp-admin/upload.php | 4.26 ▲1.03 | 44.49 ▲12.34 |
Add-ons /wp-admin/edit.php?post_type=mollie-forms&page=add-ons | 4.18 | 42.15 |
All Forms /wp-admin/edit.php?post_type=mollie-forms | 4.30 | 45.83 |
Registrations /wp-admin/edit.php?post_type=mollie-forms&page=registrations | 4.19 | 41.98 |
Registration /wp-admin/admin.php?page=registration | 4.18 | 37.36 |
Add New /wp-admin/post-new.php?post_type=mollie-forms | 4.62 | 59.48 |
Server storage [IO: ▲0.29MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: 8 new tables, 7 new options
New tables |
---|
wp_mollie_forms_customers |
wp_mollie_forms_subscriptions |
wp_mollie_forms_registrations |
wp_mollie_forms_registration_price_options |
wp_mollie_forms_price_options |
wp_mollie_forms_discount_codes |
wp_mollie_forms_registration_fields |
wp_mollie_forms_payments |
New WordPress options |
---|
mollie-forms_version |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Mollie Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲80 | 14.27 ▼0.44 | 2.13 ▲0.36 | 44.72 ▲0.84 |
Dashboard /wp-admin | 2,238 ▲61 | 5.74 ▲0.09 | 88.41 ▼0.56 | 39.38 ▼1.40 |
Posts /wp-admin/edit.php | 2,156 ▲56 | 2.22 ▲0.22 | 38.76 ▼3.73 | 32.58 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 22.90 ▼0.26 | 601.70 ▲4.26 | 34.59 ▼25.82 |
Media Library /wp-admin/upload.php | 1,452 ▲52 | 4.22 ▲0.02 | 98.55 ▲2.88 | 43.36 ▼0.02 |
Add-ons /wp-admin/edit.php?post_type=mollie-forms&page=add-ons | 835 | 1.79 | 26.20 | 28.61 |
All Forms /wp-admin/edit.php?post_type=mollie-forms | 1,117 | 2.30 | 33.83 | 29.44 |
Registrations /wp-admin/edit.php?post_type=mollie-forms&page=registrations | 965 | 1.81 | 29.23 | 25.32 |
Registration /wp-admin/admin.php?page=registration | 811 | 1.80 | 25.42 | 22.89 |
Add New /wp-admin/post-new.php?post_type=mollie-forms | 5,594 | 11.85 | 387.58 | 101.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables detected upon uninstall: 8 tables
- wp_mollie_forms_registrations
- wp_mollie_forms_registration_fields
- wp_mollie_forms_discount_codes
- wp_mollie_forms_registration_price_options
- wp_mollie_forms_customers
- wp_mollie_forms_subscriptions
- wp_mollie_forms_payments
- wp_mollie_forms_price_options
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- mollie-forms_version
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mollie-forms/mollie-forms.php
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: method in wp-content/plugins/mollie-forms/templates/metaboxes/paymentMethod.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/mollie-forms/templates/metaboxes/paymentMethod.php:15
- > PHP Notice
Undefined variable: method in wp-content/plugins/mollie-forms/templates/metaboxes/paymentMethod.php on line 12
- > PHP Notice
Undefined variable: method in wp-content/plugins/mollie-forms/templates/metaboxes/paymentMethod.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mollie-forms/templates/metaboxes/discountCodes.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/mollie-forms/classes/RegistrationsTable.php:5
- > PHP Notice
Trying to get property 'id' of non-object in wp-content/plugins/mollie-forms/templates/metaboxes/paymentMethod.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mollie-forms/templates/admin/registration.php:2
- > PHP Notice
Trying to get property 'id' of non-object in wp-content/plugins/mollie-forms/templates/metaboxes/paymentMethod.php on line 12
- > PHP Notice
Trying to get property 'id' of non-object in wp-content/plugins/mollie-forms/templates/metaboxes/paymentMethod.php on line 11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
mollie-forms/mollie-forms.php Passed 13 tests
Analyzing the main PHP file in "Mollie Forms" version 2.6.2
103 characters long description:
Create registration forms with payment methods of Mollie. One-time and recurring payments are possible.
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
Success! There were no dangerous files found in this plugin4,841 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 605 | 545 | 4,694 |
CSS | 1 | 6 | 0 | 82 |
JavaScript | 1 | 13 | 0 | 65 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 48.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 135.00 |
Average method complexity | 6.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 71 | 78.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 21.11% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.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
No PNG files were detected