WooCommerce PayPal Payments 2.1.0

Does WooCommerce PayPal Payments work with WordPress 6.2.2 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.66 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.2.2
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=7e65f2724d
Aspect after-activation
HTTP status 200
Load time 0.428 s
Memory usage 3.03 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.233 s
Memory usage 2.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.275 s0.253 s-0.022 s3.07 MiB3.09 MiB+ 16.11 KiB
/wp-admin/edit.php0.188 s0.169 s-0.019 s3.1 MiB3.11 MiB+ 15.74 KiB
/wp-admin/post-new.php0.745 s0.947 s+0.202 s5.02 MiB5.04 MiB+ 20.48 KiB
/wp-admin/upload.php0.563 s0.295 s-0.268 s3.02 MiB3.02 MiB+ 848 bytes
/wp-admin/options-writing.php0.262 s0.143 s-0.119 s3.01 MiB3 MiB- 12.41 KiB
/wp-admin/media-new.php0.339 s0.229 s-0.110 s2.99 MiB3 MiB+ 13.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.173 s-0.007 s3.01 MiB3.02 MiB+ 16.06 KiB
/wp-admin/post-new.php?post_type=page0.586 s0.760 s+0.174 s5.01 MiB5.03 MiB+ 16.06 KiB
/wp-admin/options-discussion.php0.209 s0.230 s+0.021 s3 MiB3 MiB+ 1.33 KiB
/wp-admin/edit-comments.php0.206 s0.199 s-0.007 s3.03 MiB3.03 MiB- 1.3 KiB
/0.302 s0.202 s-0.100 s3.03 MiB3.05 MiB+ 20.29 KiB
Average 0.350 s0.327 s-0.023 s3.39 MiB3.4 MiB+ 9.66 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
PHP87.5%28,15815,724382
JavaScript10.5%3,38313559
SVG1.1%363221
Sass0.8%26906
CSS0.0%606
Total 32,179 15,861 474

PHP Code Analysis | More results »

Lines of code 22,035
Total complexity 3,571
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 275
Methods 1,214
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

[13-Jun-2023 15:17:51 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