WooCommerce PayPal Payments 2.2.2

Does WooCommerce PayPal Payments work with WordPress 6.3.1 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.1
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=5fe7bbfe5d
Aspect after-activation
HTTP status 200
Load time 0.293 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.210 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.427 s0.336 s-0.091 s2.82 MiB2.84 MiB+ 16.23 KiB
/wp-admin/edit.php0.231 s0.208 s-0.023 s2.85 MiB2.87 MiB+ 15.87 KiB
/wp-admin/post-new.php0.883 s0.648 s-0.235 s5.21 MiB5.23 MiB+ 20.6 KiB
/wp-admin/upload.php0.619 s0.429 s-0.190 s2.77 MiB2.77 MiB+ 984 bytes
/wp-admin/options-writing.php0.253 s0.188 s-0.065 s2.76 MiB2.76 MiB- 7.08 KiB
/wp-admin/media-new.php0.323 s0.249 s-0.074 s2.74 MiB2.75 MiB+ 13.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.227 s0.206 s-0.021 s2.76 MiB2.77 MiB+ 16.19 KiB
/wp-admin/post-new.php?post_type=page0.651 s0.616 s-0.035 s5.21 MiB5.22 MiB+ 16.19 KiB
/wp-admin/options-discussion.php0.304 s0.250 s-0.054 s2.75 MiB2.75 MiB+ 1.45 KiB
/wp-admin/edit-comments.php0.455 s0.211 s-0.244 s2.78 MiB2.78 MiB- 1.18 KiB
/0.401 s0.202 s-0.199 s3.13 MiB3.14 MiB+ 13.77 KiB
Average 0.434 s0.322 s-0.112 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.9%29,33716,418389
JavaScript12.3%4,19516668
SVG1.1%363221
Sass0.8%26906
CSS0.0%606
Total 34,170 16,586 490

PHP Code Analysis | More results »

Lines of code 23,118
Total complexity 3,829
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,269
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

[29-Aug-2023 18:11:35 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