China Payments Plugin 2.2

Does China Payments Plugin work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 724.94 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.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/wp-stripe-global-payments/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

China Payments ‹ Test site — WordPress

Page screenshot: China Payments ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wpstripeglobal
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-stripe-global-payments%2Fwpstripeglobal.php&plugin_status=all&paged=1&s&_wpnonce=2c08ba817f
Aspect after-activation
HTTP status 200
Load time 2.143 s
Memory usage 4.03 MiB
JS errors None
Resource errors None

China Payments

Page screenshot: China Payments
URL /wp-admin/admin.php?page=wpstripeglobal
Aspect menu-item
HTTP status 200
Load time 0.161 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

China Payments → Affiliation

Page screenshot: China Payments → Affiliation
URL /wp-admin/admin.php?page=wpstripeglobal-affiliation
Aspect menu-item
HTTP status 200
Load time 0.451 s
Memory usage 4.03 MiB
JS errors None
Resource errors None

China Payments → Contact Us

Page screenshot: China Payments → Contact Us
URL /wp-admin/admin.php?page=wpstripeglobal-contact
Aspect menu-item
HTTP status 200
Load time 0.225 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

China Payments → Support Forum

Page screenshot: China Payments → Support Forum
URL https://wordpress.org/support/plugin/wp-stripe-global-payments/
Requested URL /wp-admin/admin.php?page=wpstripeglobal-wp-support-forum
Aspect menu-item
HTTP status 200
Load time 0.939 s
Memory usage N/A
JS errors None
Resource errors None

China Payments → Upgrade  ➤

Page screenshot: China Payments → Upgrade  ➤
URL /wp-admin/admin.php?page=wpstripeglobal-pricing
Aspect menu-item
HTTP status 200
Load time 0.986 s
Memory usage 3.71 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.297 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.294 s0.479 s+0.185 s3.08 MiB3.88 MiB+ 818.22 KiB
/wp-admin/edit.php0.168 s0.234 s+0.066 s3.11 MiB3.91 MiB+ 820.24 KiB
/wp-admin/post-new.php0.766 s0.991 s+0.225 s5.27 MiB6.03 MiB+ 779.15 KiB
/wp-admin/upload.php0.553 s0.329 s-0.224 s3.03 MiB3.67 MiB+ 655.84 KiB
/wp-admin/options-writing.php0.236 s0.166 s-0.070 s3.02 MiB3.65 MiB+ 641.01 KiB
/wp-admin/media-new.php0.240 s0.215 s-0.025 s3.01 MiB3.65 MiB+ 658.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.218 s+0.045 s3.04 MiB3.69 MiB+ 662.98 KiB
/wp-admin/post-new.php?post_type=page1.100 s0.741 s-0.359 s5.26 MiB6.02 MiB+ 781.82 KiB
/wp-admin/options-discussion.php0.304 s0.412 s+0.108 s3 MiB3.65 MiB+ 658.14 KiB
/wp-admin/edit-comments.php0.209 s0.249 s+0.040 s3.04 MiB3.84 MiB+ 815.49 KiB
/0.290 s0.225 s-0.065 s2.91 MiB3.58 MiB+ 683.3 KiB
Average 0.394 s0.387 s-0.007 s3.43 MiB4.14 MiB+ 724.94 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
PO File
Language % Lines of code Comment lines Files
PHP50.7%37,62317,540136
PO File27.8%20,60211,85126
SVG7.6%5,66766
JavaScript5.9%4,38968024
Sass4.1%3,0328042
CSS3.9%2,8733516
JSON0.0%2801
Markdown0.0%2601
Total 74,240 30,192 252

PHP Code Analysis | More results »

Lines of code 28,344
Total complexity 6,508
Median class complexity 18.0
Median method complexity 2.0
Most complex class Freemius
Most complex function wpstripeglobal_form()
Classes 55
Methods 1,295
Functions 172

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.

Options wp_options 64

PHP Error Log 5 lines

[30-Jul-2021 23:39:13 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 179
[30-Jul-2021 23:39:14 UTC] PHP Notice:  Undefined index: code in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 913
[30-Jul-2021 23:39:14 UTC] PHP Notice:  Undefined index: code in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 913
[30-Jul-2021 23:39:15 UTC] PHP Notice:  Undefined index: code in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 913
[30-Jul-2021 23:39:15 UTC] PHP Notice:  Undefined index: code in /wp-content/plugins/wp-stripe-global-payments/_inc/wpstripeglobal.options.php on line 913
See also: All tests for this plugin, How to Hide the "China Payments" Admin Menu