WooCommerce PayPal Payments 2.2.1

Does WooCommerce PayPal Payments work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 9.65 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 version6.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 600,000+
WordPress.org page https://wordpress.org/plugins/woocommerce-paypal-payments/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=woocommerce-paypal-payments%2Fwoocommerce-paypal-payments.php&plugin_status=all&paged=1&s&_wpnonce=6b4ce50ad1
Aspect after-activation
HTTP status 200
Load time 0.270 s
Memory usage 2.78 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.162 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.326 s0.281 s-0.045 s2.82 MiB2.84 MiB+ 15.84 KiB
/wp-admin/edit.php0.195 s0.188 s-0.007 s2.85 MiB2.86 MiB+ 15.47 KiB
/wp-admin/post-new.php0.722 s0.539 s-0.183 s5.21 MiB5.23 MiB+ 20.2 KiB
/wp-admin/upload.php0.553 s0.462 s-0.091 s2.77 MiB2.77 MiB+ 576 bytes
/wp-admin/options-writing.php0.212 s0.193 s-0.019 s2.76 MiB2.75 MiB- 7.48 KiB
/wp-admin/media-new.php0.379 s0.237 s-0.142 s2.74 MiB2.75 MiB+ 12.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.181 s-0.006 s2.76 MiB2.77 MiB+ 15.79 KiB
/wp-admin/post-new.php?post_type=page0.559 s0.571 s+0.012 s5.21 MiB5.22 MiB+ 15.79 KiB
/wp-admin/options-discussion.php0.379 s0.371 s-0.008 s2.75 MiB2.75 MiB+ 1.05 KiB
/wp-admin/edit-comments.php0.253 s0.224 s-0.029 s2.78 MiB2.78 MiB- 1.58 KiB
/0.264 s0.188 s-0.076 s3.13 MiB3.14 MiB+ 17.7 KiB
Average 0.366 s0.312 s-0.054 s3.25 MiB3.26 MiB+ 9.65 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
JavaScript
Language % Lines of code Comment lines Files
PHP85.8%29,20716,381389
JavaScript12.3%4,19516668
SVG1.1%363221
Sass0.8%26906
CSS0.0%606
Total 34,040 16,549 490

PHP Code Analysis | More results »

Lines of code 22,989
Total complexity 3,802
Median class complexity 8.0
Median method complexity 1.0
Most complex class WooCommerce\PayPalCommerce\Button\Assets\SmartButton
Most complex function WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::init()
Classes 281
Methods 1,266
Functions 6

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 1

PHP Error Log 1 lines

[24-Aug-2023 16:23:48 UTC] PHP Warning:  Constant PPCP_FLAG_SUBSCRIPTIONS_API already defined in /wp-content/plugins/woocommerce-paypal-payments/woocommerce-paypal-payments.php on line 45
See also: All tests for this plugin