Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲4.48MB] [CPU: ▲25.98ms] 75% from 4 tests
An overview of server-side resources used by Seamless Donations: A Platform for Global Fundraising and Rebuilding using Stripe and PayPal
It is recommended to improve the following
- CPU: The total CPU usage must kept under 500.00ms (currently 790.82ms on /wp-admin/admin.php?page=seamless_donations_tab_settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.56 ▲4.10 | 61.65 ▲22.27 |
Dashboard /wp-admin | 7.95 ▲4.60 | 73.73 ▲12.79 |
Posts /wp-admin/edit.php | 7.98 ▲4.62 | 79.63 ▲34.14 |
Add New Post /wp-admin/post-new.php | 10.49 ▲4.60 | 121.37 ▲38.07 |
Media Library /wp-admin/upload.php | 7.83 ▲4.60 | 64.92 ▲34.73 |
Add New /wp-admin/post-new.php?post_type=funds | 7.88 | 68.27 |
Licenses /wp-admin/admin.php?page=seamless_donations_tab_licenses | 8.13 | 60.11 |
Thank You Page /wp-admin/admin.php?page=seamless_donations_tab_thanks | 8.15 | 63.50 |
Settings /wp-admin/admin.php?page=seamless_donations_tab_settings | 8.42 | 790.82 |
Form Options /wp-admin/admin.php?page=seamless_donations_tab_forms | 8.46 | 77.48 |
Logs /wp-admin/admin.php?page=seamless_donations_tab_logs | 8.17 | 77.49 |
Seamless Donations /wp-admin/admin.php?page=seamless_donations_tab_main | 8.06 | 72.21 |
Funds /wp-admin/edit.php?post_type=funds | 7.88 | 79.87 |
Thank You Templates /wp-admin/admin.php?page=seamless_donations_tab_templates | 8.28 | 65.24 |
Add-ons /wp-admin/admin.php?page=seamless_donations_tab_addons | 8.06 | 66.40 |
Server storage [IO: ▲5.81MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 646 new files
Database: 1 new table, 64 new options
New tables |
---|
wp_seamless_donations_audit |
New WordPress options |
---|
dgx_donate_paypal_server |
dgx_donate_notify_emails |
dgx_donate_stripe_server |
dgx_donate_cron_log |
dgx_donate_form_style |
dgx_donate_email_reply |
dgx_donate_seamless_donations_tab_forms_button_list |
dgx_donate_4013_anon_updated |
dgx_donate_email_list |
dgx_donate_seamless_donations_tab_logs_button_list |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Seamless Donations: A Platform for Global Fundraising and Rebuilding using Stripe and PayPal
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,138 ▲376 | 17.69 ▲3.43 | 28.00 ▲26.28 | 70.50 ▲31.56 |
Dashboard /wp-admin | 2,347 ▲169 | 5.75 ▲0.06 | 101.47 ▼13.43 | 43.09 ▼2.86 |
Posts /wp-admin/edit.php | 2,252 ▲152 | 2.30 ▲0.33 | 42.58 ▲2.85 | 34.69 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,651 ▲106 | 22.11 ▼2.91 | 699.05 ▲81.86 | 39.64 ▼29.19 |
Media Library /wp-admin/upload.php | 1,549 ▲155 | 4.42 ▲0.22 | 99.54 ▼0.97 | 43.63 ▼0.51 |
Add New /wp-admin/post-new.php?post_type=funds | 1,600 | 2.83 | 60.57 | 35.68 |
Licenses /wp-admin/admin.php?page=seamless_donations_tab_licenses | 999 | 1.93 | 34.55 | 28.88 |
Thank You Page /wp-admin/admin.php?page=seamless_donations_tab_thanks | 1,030 | 2.06 | 34.24 | 29.91 |
Settings /wp-admin/admin.php?page=seamless_donations_tab_settings | 1,611 | 2.07 | 31.61 | 35.25 |
Form Options /wp-admin/admin.php?page=seamless_donations_tab_forms | 3,503 | 2.52 | 43.70 | 79.36 |
Logs /wp-admin/admin.php?page=seamless_donations_tab_logs | 1,305 | 4.50 | 85.80 | 40.69 |
Seamless Donations /wp-admin/admin.php?page=seamless_donations_tab_main | 1,559 | 9.22 | 299.04 | 70.62 |
Funds /wp-admin/edit.php?post_type=funds | 1,224 | 2.27 | 40.09 | 32.42 |
Thank You Templates /wp-admin/admin.php?page=seamless_donations_tab_templates | 1,292 | 2.13 | 36.36 | 37.35 |
Add-ons /wp-admin/admin.php?page=seamless_donations_tab_addons | 1,247 | 2.14 | 30.79 | 39.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_seamless_donations_audit
- The uninstall procedure has failed, leaving 64 options in the database
- dgx_donate_payment_processor_choice
- dgx_donate_4013_anon_updated
- dgx_donate_seamless_donations_tab_forms_button_list
- dgx_donate_seamless_donations_tab_templates_button_list
- dgx_donate_email_anon
- dgx_donate_default_country
- dgx_donate_email_name
- dgx_donate_currency
- dgx_donate_log
- dgx_donate_4012_indexes_updated
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/seamless-donations/library/stripe-php/build.php
- > /wp-content/plugins/seamless-donations/library/stripe-php/update_certs.php
- 153× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/seamless-donations/library/stripe-php/lib/Issuing/CardDetails.php:16
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Exception\\OAuth\\OAuthErrorException' not found in wp-content/plugins/seamless-donations/library/stripe-php/lib/Exception/OAuth/InvalidGrantException.php:11
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/seamless-donations/library/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Notice
Undefined variable: argv in wp-content/plugins/seamless-donations/library/stripe-php/build.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/seamless-donations/library/stripe-php/lib/Transfer.php:37
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/seamless-donations/library/stripe-php/lib/Terminal/Location.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/seamless-donations/library/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/seamless-donations/library/stripe-php/lib/Charge.php:61
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\StripeObject' not found in wp-content/plugins/seamless-donations/library/stripe-php/lib/OrderItem.php:16
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/seamless-donations/library/stripe-php/lib/InvoiceItem.php:37
- > 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 take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=seamless_donations_tab_main
- > Javascript (severe) in unknown
http://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js 194:13 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
- Screenshots: Screenshot #1 (The default, mobile-responsive donation form) image not found
seamless-donations/seamless-donations.php Passed 13 tests
The entry point to "Seamless Donations: A Platform for Global Fundraising and Rebuilding using Stripe and PayPal" version 5.2.6 is a PHP file that has certain tags in its header comment area
49 characters long description:
A platform for global fundraising and rebuilding.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
It is important to fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/seamless-donations/library/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 126 | 16,780 | 21,616 | 38,053 |
PHP | 230 | 5,285 | 12,890 | 25,736 |
CSS | 25 | 628 | 1,426 | 8,123 |
JavaScript | 18 | 574 | 800 | 2,376 |
Markdown | 10 | 964 | 0 | 1,888 |
HTML | 3 | 8 | 3 | 264 |
JSON | 4 | 0 | 0 | 152 |
XML | 1 | 0 | 0 | 31 |
Bourne Shell | 1 | 5 | 2 | 27 |
make | 1 | 9 | 0 | 27 |
C | 1 | 7 | 4 | 23 |
YAML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing 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.32 |
Average class complexity | 8.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 5 | |
Traits | 7 | |
Classes | 191 | |
▷ Abstract classes | 17 | 8.90% |
▷ Concrete classes | 174 | 91.10% |
▷ Final classes | 0 | 0.00% |
Methods | 898 | |
▷ Static methods | 243 | 27.06% |
▷ Public methods | 762 | 84.86% |
▷ Protected methods | 104 | 11.58% |
▷ Private methods | 32 | 3.56% |
Functions | 389 | |
▷ Named functions | 378 | 97.17% |
▷ Anonymous functions | 11 | 2.83% |
Constants | 639 | |
▷ Global constants | 6 | 0.94% |
▷ Class constants | 633 | 99.06% |
▷ Public constants | 633 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
20 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
library/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |
css/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png | 6.17KB | 4.18KB | ▼ 32.17% |
library/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
library/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |