Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.00MB] [CPU: ▲15.46ms] Passed 4 tests
A check of server-side resources used by Simple Payment Donations & Subscriptions Plugin by Paymattic - Best Payments Plugin for WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.36 ▲2.89 | 51.40 ▲12.51 |
Dashboard /wp-admin | 7.69 ▲4.38 | 73.38 ▲25.08 |
Posts /wp-admin/edit.php | 6.34 ▲2.98 | 68.48 ▲19.31 |
Add New Post /wp-admin/post-new.php | 9.12 ▲3.22 | 105.51 ▲4.92 |
Media Library /wp-admin/upload.php | 6.15 ▲2.92 | 62.77 ▲27.75 |
Server storage [IO: ▲10.93MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 508 new files
Database: 7 new tables, 8 new options
New tables |
---|
wp_wpf_scheduled_actions |
wp_wpf_submission_activities |
wp_wpf_submissions |
wp_wpf_meta |
wp_wpf_order_transactions |
wp_wpf_order_items |
wp_wpf_subscriptions |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
fluentform_payment_settings_stripe |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
wppayform_confirmation_pages |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple Payment Donations & Subscriptions Plugin by Paymattic - Best Payments Plugin for WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,014 ▲228 | 14.71 ▲0.30 | 1.57 ▼0.29 | 25.04 ▼16.35 |
Dashboard /wp-admin | 2,381 ▲204 | 5.61 ▼0.09 | 83.08 ▼6.72 | 76.55 ▲34.46 |
Posts /wp-admin/edit.php | 2,255 ▲155 | 2.02 ▲0.05 | 35.43 ▲1.64 | 33.67 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,773 ▲236 | 20.95 ▲2.82 | 682.24 ▲54.01 | 41.03 ▼36.32 |
Media Library /wp-admin/upload.php | 1,554 ▲151 | 4.20 ▲0.00 | 103.22 ▲5.64 | 63.04 ▲20.05 |
Reports /wp-admin/admin.php?page=wppayform.php#/reports | 1,588 | 9.49 | 261.24 | 40.41 |
Customers /wp-admin/admin.php?page=wppayform.php#/customers | 1,574 | 9.32 | 242.52 | 34.07 |
All Forms /wp-admin/admin.php?page=wppayform.php#/ | 1,661 | 10.27 | 119.47 | 86.69 |
Entries /wp-admin/admin.php?page=wppayform.php#/entries | 1,715 | 9.83 | 144.92 | 135.71 |
Support & Debug /wp-admin/admin.php?page=wppayform.php#/support | 1,984 | 9.86 | 100.79 | 110.78 |
Payment Gateway /wp-admin/admin.php?page=wppayform.php#/gateways/stripe | 2,360 | 10.24 | 104.92 | 103.88 |
Settings /wp-admin/wppayform.php?page=wppayform_settings | 26 | 0.42 | 0.08 | 12.75 |
Create Form /wp-admin/admin.php?page=wppayform.php#/new-form | 3,488 | 12.20 | 114.56 | 107.33 |
Integrations /wp-admin/admin.php?page=wppayform.php#/integrations | 1,890 | 9.78 | 99.52 | 94.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables detected upon uninstall: 7 tables
- wp_wpf_submissions
- wp_wpf_scheduled_actions
- wp_wpf_order_transactions
- wp_wpf_subscriptions
- wp_wpf_meta
- wp_wpf_submission_activities
- wp_wpf_order_items
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- wppayform_confirmation_pages
- fluentform_payment_settings_stripe
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-payment-form/app/Views/receipt/custom_css.php
- > /wp-content/plugins/wp-payment-form/app/Views/admin/notice/deactivate-form.php
- 102× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'WPPayForm\\Framework\\Database\\ConnectionInterface' not found in wp-content/plugins/wp-payment-form/vendor/wpfluent/framework/src/WPFluent/Database/Query/WPDBConnection.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/wp-payment-form/app/Views/admin/menu.php:1
- > PHP Fatal error
Uncaught Error: Class 'WPPayForm\\Framework\\Database\\Orm\\Relations\\Relation' not found in wp-content/plugins/wp-payment-form/vendor/wpfluent/framework/src/WPFluent/Database/Orm/Relations/BelongsTo.php:10
- > PHP Fatal error
Trait 'WPPayForm\\Framework\\Support\\MacroableTrait' not found in wp-content/plugins/wp-payment-form/vendor/wpfluent/framework/src/WPFluent/Database/Query/Builder.php on line 21
- > PHP Fatal error
Uncaught Error: Interface 'WPPayForm\\Framework\\Database\\Orm\\Scope' not found in wp-content/plugins/wp-payment-form/vendor/wpfluent/framework/src/WPFluent/Database/Orm/SoftDeletingScope.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPPayForm\\Framework\\Database\\Orm\\Relations\\HasOneOrMany' not found in wp-content/plugins/wp-payment-form/vendor/wpfluent/framework/src/WPFluent/Database/Orm/Relations/HasOne.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPPayForm\\Framework\\Support\\Collection' not found in wp-content/plugins/wp-payment-form/vendor/wpfluent/framework/src/WPFluent/Database/Orm/Collection.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/wp-payment-form/app/Views/admin/show_review.php:2
- > PHP Fatal error
Uncaught Error: Class 'WPPayForm\\Framework\\Database\\Orm\\Relations\\HasOneOrMany' not found in wp-content/plugins/wp-payment-form/vendor/wpfluent/framework/src/WPFluent/Database/Orm/Relations/MorphOneOrMany.php:9
- > PHP Notice
Undefined variable: js_files in wp-content/plugins/wp-payment-form/app/Views/frameless/footer.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/wppayform.php?page=wppayform_settings
- > Network (severe)
wp-admin/wppayform.php?page=wppayform_settings - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: stripe payments, payment form, paypal, payments, donations...
wp-payment-form/wp-payment-form.php Passed 13 tests
The primary PHP file in "Simple Payment Donations & Subscriptions Plugin by Paymattic - Best Payments Plugin for WP" version 4.4.4 is used by WordPress to initiate all plugin functionality
105 characters long description:
Create and Accept Payments in minutes with Stripe, PayPal & other top gateways with built-in form builder
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin62,541 lines of code in 415 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 278 | 6,792 | 12,711 | 35,153 |
JavaScript | 30 | 3,180 | 941 | 24,005 |
CSS | 14 | 6 | 47 | 1,858 |
SVG | 88 | 1 | 5 | 1,370 |
JSON | 4 | 0 | 0 | 154 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 14.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 251.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 42 | |
Interfaces | 16 | |
Traits | 12 | |
Classes | 211 | |
▷ Abstract classes | 12 | 5.69% |
▷ Concrete classes | 199 | 94.31% |
▷ Final classes | 0 | 0.00% |
Methods | 2,418 | |
▷ Static methods | 371 | 15.34% |
▷ Public methods | 1,927 | 79.69% |
▷ Protected methods | 398 | 16.46% |
▷ Private methods | 93 | 3.85% |
Functions | 158 | |
▷ Named functions | 13 | 8.23% |
▷ Anonymous functions | 145 | 91.77% |
Constants | 101 | |
▷ Global constants | 9 | 8.91% |
▷ Class constants | 92 | 91.09% |
▷ Public constants | 92 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
45 PNG files occupy 1.24MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/forms/demo_form.png | 22.10KB | 7.07KB | ▼ 68.02% |
assets/images/vendor/intl-tel-input/build/flags.png | 69.20KB | 23.42KB | ▼ 66.16% |
assets/images/integrations/sendinblue.png | 9.76KB | 10.20KB | 0.00% |
assets/images/document.png | 4.58KB | 3.56KB | ▼ 22.23% |
assets/images/integrations/webhook.png | 4.44KB | 4.61KB | 0.00% |