S2 Donation using Stripe 1.0.5

Does S2 Donation using Stripe work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 84.8 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/s2-donation-using-stripe/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=s2-donation-using-stripe%2Finit.php&plugin_status=all&paged=1&s&_wpnonce=842cdb3298
Aspect after-activation
HTTP status 200
Load time 0.301 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

S2 Plugins

Page screenshot: S2 Plugins
URL /wp-admin/admin.php?page=s2-donation
Aspect menu-item
HTTP status 200
Load time 0.167 s
Memory usage 2.84 MiB
JS errors None
Resource errors None

S2 Plugins → Settings

Page screenshot: S2 Plugins → Settings
URL /wp-admin/admin.php?page=s2-donation&tab=settings
Aspect menu-item-tab
HTTP status 200
Load time 0.176 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

S2 Plugins → Mail

Page screenshot: S2 Plugins → Mail
URL /wp-admin/admin.php?page=s2-donation&tab=mail
Aspect menu-item-tab
HTTP status 200
Load time 0.157 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.193 s
Memory usage 2.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.266 s0.271 s+0.005 s2.82 MiB2.86 MiB+ 43.63 KiB
/wp-admin/edit.php0.183 s0.265 s+0.082 s2.86 MiB2.97 MiB+ 107.57 KiB
/wp-admin/post-new.php0.879 s0.933 s+0.054 s5.02 MiB5.16 MiB+ 135.21 KiB
/wp-admin/upload.php0.489 s0.384 s-0.105 s2.7 MiB2.8 MiB+ 106.53 KiB
/wp-admin/options-writing.php0.256 s0.151 s-0.105 s2.71 MiB2.78 MiB+ 74.51 KiB
/wp-admin/media-new.php0.219 s0.158 s-0.061 s2.67 MiB2.78 MiB+ 106.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.207 s+0.015 s2.77 MiB2.81 MiB+ 43.61 KiB
/wp-admin/post-new.php?post_type=page1.285 s0.701 s-0.584 s5.01 MiB5.14 MiB+ 130.8 KiB
/wp-admin/options-discussion.php0.310 s0.254 s-0.056 s2.67 MiB2.78 MiB+ 107.02 KiB
/wp-admin/edit-comments.php0.225 s0.192 s-0.033 s2.78 MiB2.82 MiB+ 42.55 KiB
/0.261 s0.232 s-0.029 s2.65 MiB2.69 MiB+ 34.7 KiB
Average 0.415 s0.341 s-0.074 s3.15 MiB3.23 MiB+ 84.8 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP91.8%2,1991,29427
JavaScript4.6%110232
CSS3.6%87273
Total 2,396 1,344 32

PHP Code Analysis | More results »

Lines of code 1,936
Total complexity 290
Median class complexity 8.0
Median method complexity 2.0
Most complex class S2_Settings_API
Most complex function S2_Donation_Frontend::create_stripe_session()
Classes 15
Methods 106
Functions 20

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 1

PHP Error Log 2 lines

[17-Mar-2021 03:36:49 UTC] PHP Notice:  Undefined index: section in /wp-content/plugins/s2-donation-using-stripe/templates/admin/report-page.php on line 24
[17-Mar-2021 03:36:49 UTC] PHP Notice:  Undefined index: section in /wp-content/plugins/s2-donation-using-stripe/templates/admin/report-page.php on line 30
See also: All tests for this plugin, How to Hide S2 Donation using Stripe Admin Menus